Question
Question: Find the derivative of the following function: \(\left( {x + \cos x} \right)\left( {x - \tan x} \r...
Find the derivative of the following function:
(x+cosx)(x−tanx)
Solution
Hint: In this question apply the product rule of differentiation which is given as dxd(uv)=udxdv+vdxdu later on in the solution apply the differentiation property of cos x, tan x and x which is given as dxd(cosx)=−sinx and dxd(tanx)=sec2x and dxdx=1 so use these concepts to reach the solution of the question.
Complete step-by-step answer:
Let
y=(x+cosx)(x−tanx)
Now differentiate it w.r.t. x we have,
⇒dxdy=dxd[(x+cosx)(x−tanx)]
Now here we use product rule of differentiate which is given as
dxd(uv)=udxdv+vdxdu so use this property in above equation we have,
⇒dxdy=(x+cosx)dxd(x−tanx)+(x−tanx)dxd(x+cosx)
Now as we know that differentiation of dxd(cosx)=−sinx and dxd(tanx)=sec2x and dxdx=1 so use this property in above equation we have,
⇒dxdy=(x+cosx)(1−sec2x)+(x−tanx)(1−sinx)
Now simplify it we have,
⇒dxdy=(x+cosx)−sec2x(x+cosx)+(x−tanx)−(x−tanx)sinx
⇒dxdy=(x+cosx)−xsec2x−secx+(x−tanx)−xsinx+tanxsinx
Now take x coefficients together so we have,
⇒dxdy=x(2−sinx−sec2x)+cosx−secx−tanx+tanxsinx
So this is the required differentiation.
Note – Whenever we face such types of questions the key concept is always recall the formula of product rule of differentiation, formula of cos x, tan x and x differentiation which is stated above then first apply the product rule as above then use the property of differentiation of cos x, tan x and x as above and simplify we will get the required answer.