log(tan(x) + cot(x)) -------------------- sin(a)
log(tan(x) + cot(x))/sin(a)
The derivative of a constant times a function is the constant times the derivative of the function.
Let .
The derivative of is .
Then, apply the chain rule. Multiply by :
Differentiate term by term:
Rewrite the function to be differentiated:
Apply the quotient rule, which is:
and .
To find :
The derivative of sine is cosine:
To find :
The derivative of cosine is negative sine:
Now plug in to the quotient rule:
There are multiple ways to do this derivative.
Rewrite the function to be differentiated:
Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
The result of the chain rule is:
Rewrite the function to be differentiated:
Apply the quotient rule, which is:
and .
To find :
The derivative of cosine is negative sine:
To find :
The derivative of sine is cosine:
Now plug in to the quotient rule:
The result is:
The result of the chain rule is:
So, the result is:
Now simplify:
The answer is:
2 2 tan (x) - cot (x) ------------------------ (tan(x) + cot(x))*sin(a)
2 / 2 2 \ \tan (x) - cot (x)/ / 2 \ / 2 \ - -------------------- + 2*\1 + cot (x)/*cot(x) + 2*\1 + tan (x)/*tan(x) cot(x) + tan(x) ------------------------------------------------------------------------ (cot(x) + tan(x))*sin(a)
/ 3 \ | 2 2 / 2 2 \ / 2 2 \ // 2 \ / 2 \ \| |/ 2 \ / 2 \ \tan (x) - cot (x)/ 2 / 2 \ 2 / 2 \ 3*\tan (x) - cot (x)/*\\1 + cot (x)/*cot(x) + \1 + tan (x)/*tan(x)/| -2*|\1 + cot (x)/ - \1 + tan (x)/ - -------------------- - 2*tan (x)*\1 + tan (x)/ + 2*cot (x)*\1 + cot (x)/ + -------------------------------------------------------------------| | 2 cot(x) + tan(x) | \ (cot(x) + tan(x)) / ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- (cot(x) + tan(x))*sin(a)