Solveeit Logo

Question

Question: How do you differentiate \(\sin x.\cos x\)?...

How do you differentiate sinx.cosx\sin x.\cos x?

Explanation

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
ddx(sinx.cosx)=(ddxsinx)cosx+sinx.ddxcosx\dfrac{d}{dx}\left( \sin x.\cos x \right)=\left( \dfrac{d}{dx}\sin x \right)\cos x+\sin x.\dfrac{d}{dx}\cos x
We know that the derivative of sinx\sin x with respect to x is cosx\cos x and the derivative of cosx\cos x with respect to x is sinx-\sin x. Hence, substituting these values, we get
ddx(sinx.cosx)=(cosx)cosx+sinx(sinx)\Rightarrow \dfrac{d}{dx}\left( \sin x.\cos x \right)=\left( \cos x \right)\cos x+\sin x\left( -\sin x \right)
ddx(sinx.cosx)=cos2x+(sin2x)\Rightarrow \dfrac{d}{dx}\left( \sin x.\cos x \right)={{\cos }^{2}}x+\left( -{{\sin }^{2}}x \right)
ddx(sinx.cosx)=cos2xsin2x\Rightarrow \dfrac{d}{dx}\left( \sin x.\cos x \right)={{\cos }^{2}}x-{{\sin }^{2}}x
From the basic trigonometric identities, we also know that cos2θ=cos2θsin2θ\cos 2\theta ={{\cos }^{2}}\theta -{{\sin }^{2}}\theta . Since, we also have similar terms, therefore, we shall substitute the values as:
ddx(sinx.cosx)=cos2x\Rightarrow \dfrac{d}{dx}\left( \sin x.\cos x \right)=\cos 2x
Therefore, the derivative of sinx.cosx\sin x.\cos x is equal to cos2x\cos 2x.

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\sin 2x=2\sin x\cos x. We would have explicitly multiplied and divided the given term by 2. Then we could have applied this property and differentiated the term sin2x2\dfrac{\sin 2x}{2} by using the chain rule of differentiation to first differentiate the sine function and then the angle given.