By the Sum Rule, the derivative of with respect to is .

Evaluate .

Differentiate using the chain rule, which states that is where and .

To apply the Chain Rule, set as .

The derivative of with respect to is .

Replace all occurrences of with .

Since is constant with respect to , the derivative of with respect to is .

Differentiate using the Power Rule which states that is where .

Multiply by .

Move to the left of .

Evaluate .

Since is constant with respect to , the derivative of with respect to is .

The derivative of with respect to is .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Factor.

Factor by grouping.

Reorder terms.

For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .

Factor out of .

Rewrite as plus

Apply the distributive property.

Multiply by .

Factor out the greatest common factor from each group.

Group the first two terms and the last two terms.

Factor out the greatest common factor (GCF) from each group.

Factor the polynomial by factoring out the greatest common factor, .

Remove unnecessary parentheses.

Divide each term in by .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Divide by .

If any individual factor on the left side of the equation is equal to , the entire expression will be equal to .

Set the first factor equal to and solve.

Set the first factor equal to .

Add to both sides of the equation.

Take the inverse cosine of both sides of the equation to extract from inside the cosine.

The exact value of is .

The cosine function is positive in the first and fourth quadrants. To find the second solution, subtract the reference angle from to find the solution in the fourth quadrant.

Subtract from .

Find the period.

The period of the function can be calculated using .

Replace with in the formula for period.

Solve the equation.

The absolute value is the distance between a number and zero. The distance between and is .

Divide by .

The period of the function is so values will repeat every radians in both directions.

, for any integer

, for any integer

Set the next factor equal to and solve.

Set the next factor equal to .

Subtract from both sides of the equation.

Divide each term by and simplify.

Divide each term in by .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Move the negative in front of the fraction.

Take the inverse cosine of both sides of the equation to extract from inside the cosine.

The exact value of is .

The cosine function is negative in the second and third quadrants. To find the second solution, subtract the reference angle from to find the solution in the third quadrant.

Simplify .

To write as a fraction with a common denominator, multiply by .

Write each expression with a common denominator of , by multiplying each by an appropriate factor of .

Combine.

Multiply by .

Combine the numerators over the common denominator.

Simplify the numerator.

Multiply by .

Subtract from .

Find the period.

The period of the function can be calculated using .

Replace with in the formula for period.

Solve the equation.

The absolute value is the distance between a number and zero. The distance between and is .

Divide by .

The period of the function is so values will repeat every radians in both directions.

, for any integer

, for any integer

The final solution is all the values that make true.

, for any integer

Consolidate the answers.

, for any integer

, for any integer

Replace the variable with in the expression.

Simplify the result.

Simplify each term.

Multiply .

Combine and .

Multiply by .

Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because sine is negative in the third quadrant.

The exact value of is .

Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.

The exact value of is .

Cancel the common factor of .

Factor out of .

Cancel the common factor.

Rewrite the expression.

Rewrite as .

To write as a fraction with a common denominator, multiply by .

Write each expression with a common denominator of , by multiplying each by an appropriate factor of .

Combine.

Multiply by .

Combine the numerators over the common denominator.

Simplify the numerator.

Multiply by .

Subtract from .

Move the negative in front of the fraction.

The final answer is .

The horizontal tangent lines on function are .

The result can be shown in multiple forms.

Exact Form:

Decimal Form:

Find the Horizontal Tangent Line sin(2x)-2sin(x)