Question
Question: How do you differentiate \(y=2\cos ecx+5\cos x\)...
How do you differentiate y=2cosecx+5cosx
Solution
The derivative of the above trigonometric function can be found out in 3 steps. In step1, we find the derivative of the cosine function. In step2, we find the derivative of a cosecant function. In step3, we substitute the derivatives of cosine and cosecant in the function y to get the derivative of the given function.
Complete step-by-step solution:
In the above question, we are supposed to find the derivative of the y. The derivative of the trigonometric function y can be found by using three steps.
Step1:
The derivative of the cosine function:
The derivative of the cosine function is the negative of the sine function.
The derivative of the cosine function is given by,
⇒dxd(cosx)=(−sinx)
Step2:
The derivative of the cosecant function:
From trigonometry,
We know thatcosecx=sinx1
⇒dxd(cosecx)=dxd(sinx1)
According to the formula of derivatives,
⇒dxd(vu)=(v)2(dxd(u)×v−u×dxd(v))
Where u and v are any differentiable functions.
Following the same,
We get
⇒dxd(cosecx)=(sinx)2(dxd(1)×sinx−1×dxd(sinx))
The derivative of any constant results in a zero.
dxd(1)=0
The derivative of the sine function is the cosine function.
dxd(sinx)=cosx
Upon substituting we get,
⇒dxd(cosecx)=(sinx)2(0×sinx−1×cosx)
Now evaluate further.
⇒dxd(cosecx)=−(sinx)2(1×cosx)
The above expression can be written as
⇒dxd(cosecx)=sinx(−cosx)×sinx1
The cotangent function in trigonometry is the ratio of cosine and sine functions.
sinxcosx=cotx
The inverse of the sine function is the cosecant function.
sinx1=cosecx
Substituting the same,
⇒dxd(cosecx)=−cotx×cosecx
Step3:
We need to find out the derivative of the function y.
The derivative of the function y is denoted bydxdy.
⇒y=2cosecx+5cosx
Differentiating on both sides,
⇒dxdy=dxd(2cosecx+5cosx)
⇒dxdy=dxd(2cosecx)+dxd(5cosx)
Now bring the constant outside.
⇒dxdy=2×dxd(cosecx)+5×dxd(cosx)
Substituting the derivatives of the trigonometric functions from step 1 and step 2,
⇒dxdy=2×((−cotx)×cosecx)+5×(−sinx)
⇒dxdy=−2cotxcosecx−5sinx
Hence, the derivative of the given function y is −2cotxcosecx−5sinx.
Note: The derivatives of all trigonometric functions should be known to solve this question easily. The basic relations between the trigonometric functions likecotx in terms of sinxand cosx is to be remembered to derive the derivative of the given function.