Question
Question: Find the derivative of the following: (i) \(\sin x\cos x\)...
Find the derivative of the following:
(i) sinxcosx
Solution
Hint: For solving this question we will use some standard results differentiation of y=sinx , y=cosx and then apply the product rule of differentiation to differentiate the given term with respect to x correctly.
Complete step-by-step solution -
Given:
We have to find the derivative of y=sinxcosx with respect to x .
Now, before we proceed we should know the following formulas and concepts of trigonometry and differential calculus:
1. If y=f(x)⋅g(x) , then dxdy=dxd(f(x)⋅g(x))=f′(x)⋅g(x)+f(x)⋅g′(x). This is also known as the product rule of differentiation.
2. If y=sinx , then dxdy=dxd(sinx)=cosx.
3. If y=cosx , then dxdy=dxd(cosx)=−sinx.
Now, we will use the above-mentioned formulas and concepts to differentiate y=sinxcosx with respect to x.
Now, let y=sinxcosx=f(x)⋅g(x) . Where, f(x)=sinx and g(x)=cosx.
Now, as f(x)=sinx so, we can write its differentiation with respect to x from the formula written in the second point. Then,
f(x)=sinx⇒f′(x)=dxd(sinx)⇒f′(x)=cosx....................(1)
Now, as g(x)=cosx so, we can write its differentiation with respect to x from the formula written in the above points. Then,
g(x)=cosx⇒g′(x)=dxd(cosx)⇒g′(x)=−sinx............(2)
Now, as per our assumption y=sinxcosx=f(x)⋅g(x) so, we can use the product rule of differential calculus to write the derivative of y=sinxcosx with respect to x . Then,
y=sinxcosx=f(x)⋅g(x)⇒dxdy=dxd(sinxcosx)=dxd(f(x)⋅g(x))⇒dxdy=dxd(sinxcosx)=f′(x)⋅g(x)+f(x)⋅g′(x)
Now, substituting f′(x)=cosx from equation (1) and g′(x)=−sinx from equation (2) in the above equation. Then,
dxdy=dxd(sinxcosx)=f′(x)⋅g(x)+f(x)⋅g′(x)⇒dxdy=dxd(sinxcosx)=cosx⋅g(x)−sinx⋅f(x)
Now, as per our assumption f(x)=sinx and g(x)=cosx . Then,
dxdy=dxd(sinxcosx)=cosx⋅g(x)−sinx⋅f(x)⇒dxdy=dxd(sinxcosx)=cosx⋅cosx−sinx⋅sinx⇒dxdy=dxd(sinxcosx)=cos2x−sin2x
Now, as we will use the formula cos2θ=cos2θ−sin2θ in the above equation. Then,
dxdy=dxd(sinxcosx)=cos2x−sin2x⇒dxdy=dxd(sinxcosx)=cos2x
Thus, dxdy=cos2x will be the derivative of a given function with respect to x
Note: Here, the student should know how to apply the product rule of differentiation to find the differentiation of functions of the form y=f(x)⋅g(x) . Moreover, we could also write y=sinxcosx=2sin2x and after that, we will find the derivative of the function y=2sin2x with respect to x ,i.e. dxdy=dxd(2sin2x)=21dxd(sin2x) . Then, we can write 21dxd(sin2x)=cos2x to write the final answer correctly.