Question
Question: How do you differentiate \(\sin x.\cos x\)?...
How do you differentiate sinx.cosx?
Solution
We are given a product of two different trigonometric functions to be differentiated. Therefore, we must have prior knowledge of the derivatives of sine and cosine of a function. The derivatives of sine and cosine functions are different, therefore the both the terms cannot be treated as one. Hence, we shall differentiate the given function using the product rule of differentiation.
Complete step by step answer:
We use the product rule of differentiation where more than one variable is present in one term to be differentiated. We first differentiate one variable and keep the other ones unchanged, then we add another term in which we keep the first variable unchanged and differentiate the other variable.
Applying this rule, we get
dxd(sinx.cosx)=(dxdsinx)cosx+sinx.dxdcosx
We know that the derivative of sinx with respect to x is cosx and the derivative of cosx with respect to x is −sinx. Hence, substituting these values, we get
⇒dxd(sinx.cosx)=(cosx)cosx+sinx(−sinx)
⇒dxd(sinx.cosx)=cos2x+(−sin2x)
⇒dxd(sinx.cosx)=cos2x−sin2x
From the basic trigonometric identities, we also know that cos2θ=cos2θ−sin2θ. Since, we also have similar terms, therefore, we shall substitute the values as:
⇒dxd(sinx.cosx)=cos2x
Therefore, the derivative of sinx.cosx is equal to cos2x.
Note: Another method of solving this problem was by using the basic trigonometric identity of twice the angle of sine function. It is given as sin2x=2sinxcosx. We would have explicitly multiplied and divided the given term by 2. Then we could have applied this property and differentiated the term 2sin2x by using the chain rule of differentiation to first differentiate the sine function and then the angle given.