Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
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 :
Differentiate term by term:
Apply the power rule: goes to
The derivative of the constant is zero.
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 :
Differentiate term by term:
Apply the power rule: goes to
The derivative of the constant is zero.
The result is:
The result of the chain rule is:
Now plug in to the quotient rule:
The result of the chain rule is:
Now simplify:
The answer is:
4 / 2 \ tan (x + 2)*\5 + 5*tan (x + 2)/
3 / 2 \ / 2 \ 10*tan (2 + x)*\1 + tan (2 + x)/*\2 + 3*tan (2 + x)/
/ 2 \
2 / 2 \ | 4 / 2 \ 2 / 2 \|
10*tan (2 + x)*\1 + tan (2 + x)/*\2*tan (2 + x) + 6*\1 + tan (2 + x)/ + 13*tan (2 + x)*\1 + tan (2 + x)//