Question
Question: How do you differentiate \(\left( {\cos x} \right)\left( {\sin x} \right)\)?...
How do you differentiate (cosx)(sinx)?
Solution
We will first divide and multiply the given expression by 2, then we will use the fact that sin2θ=2sinθcosθ. Thus, we have simplified expressions which can be easily differentiated.
Complete step by step solution:
We are given that we are required to differentiate (cosx)(sinx).
Let us assume that f(x)=(cosx)(sinx).
Now, multiplying and dividing the given function by 2, we will then obtain the following equation with us:-
⇒f(x)=22sinxcosx
Now, since we know that we have a formula given by sin2θ=2sinθcosθ for any θ∈R.
Using this, we will obtain the following equation with us:-
⇒f(x)=2sin2x
Now, differentiating both the sides of the above equation, we will then obtain the following equation with us:-
\Rightarrow \dfrac{d}{{dx}}\left\\{ {f(x)} \right\\} = \dfrac{d}{{dx}}\left( {\dfrac{{\sin 2x}}{2}} \right)
Simplifying the above equation, we will then obtain the following equation with us:-
⇒f′(x)=21cos2x×2
Simplifying the right hand side of the above equation further, we will then obtain the following equation with us:-
⇒f′(x)=cos2x
Thus, we have the required answer with us.
Note:
The students must note that we have used the fact that the differentiation of sine of any angle is given by cosine of it which can be written in the form of equation as follows:-
⇒dxd(sinθ)=cosθ
Now, we have just added up the chain rule in this fact as well which states that, if we have f (g (x)), then its differentiation is given by the following expression:-
⇒dxd(f(g(x)))=f′(g(x)).g′(x)
Here, just replace f (x) by sin x and g (x) by 2x ad thus, we have the equation required as done in the above solution.
Alternate Way:
We can use the chain rule of differentiation as well which states that if we have two functions u(x) and v(x), then the differentiation of their product is given by the following expression:-
\Rightarrow \dfrac{d}{{dx}}\left\\{ {u\left( x \right).v\left( x \right)} \right\\} = v\left( x \right)\dfrac{d}{{dx}}\left\\{ {u\left( x \right)} \right\\} + u\left( x \right)\dfrac{d}{{dx}}\left\\{ {v\left( x \right)} \right\\}
Replacing u(x) by sin x and v(x) by cos x, thus we get:-
\Rightarrow \dfrac{d}{{dx}}\left\\{ {\sin x.\cos x} \right\\} = \cos x\dfrac{d}{{dx}}\left\\{ {\sin x} \right\\} + \sin x\dfrac{d}{{dx}}\left\\{ {\cos x} \right\\}
\Rightarrow \dfrac{d}{{dx}}\left\\{ {\sin x.\cos x} \right\\} = {\cos ^2}x - {\sin ^2}x
\Rightarrow \dfrac{d}{{dx}}\left\\{ {\sin x.\cos x} \right\\} = \cos 2x