Differentiate term by term:
Rewrite the function to be differentiated:
Apply the quotient rule, which is:
and .
To find :
Let .
The derivative of sine is cosine:
Then, apply the chain rule. Multiply by :
The derivative of a constant times a function is the constant times the derivative of the function.
Apply the power rule: goes to
So, the result is:
The result of the chain rule is:
To find :
Let .
The derivative of cosine is negative sine:
Then, apply the chain rule. Multiply by :
The derivative of a constant times a function is the constant times the derivative of the function.
Apply the power rule: goes to
So, the result is:
The result of the chain rule is:
Now plug in to the quotient rule:
Let .
Then, apply the chain rule. Multiply by :
The derivative of a constant times a function is the constant times the derivative of the function.
Apply the power rule: goes to
So, the result is:
The result of the chain rule is:
The result is:
Now simplify:
The answer is:
2 2 24 + 3*tan (3*x) + 21*tan (21*x)
// 2 \ / 2 \ \ 18*\\1 + tan (3*x)/*tan(3*x) + 49*\1 + tan (21*x)/*tan(21*x)/
/ 2 2 \ |/ 2 \ / 2 \ 2 / 2 \ 2 / 2 \| 54*\\1 + tan (3*x)/ + 343*\1 + tan (21*x)/ + 2*tan (3*x)*\1 + tan (3*x)/ + 686*tan (21*x)*\1 + tan (21*x)//