Question
Question: Differentiate the following function with respect to x. \(\left( 1+{{x}^{2}} \right)\cos x.\)...
Differentiate the following function with respect to x.
(1+x2)cosx.
Explanation
Solution
Hint: when we have to differentiate product of two continuous functions we usedxd[f(x)g(x)]=f(x)dxdg(x)+g(x)dxdg(x)
Complete step-by-step answer:
Now let us assume here f(x)=1+x2 and g(x)=cosx
So we can write ⇒dxd[(1+x2)cosx]=(1+x2)dxd(cosx)+cosxdxd(1+x2)⇒dxd[(1+x2)cosx]=(1+x2)(−sinx)+cosx(0+2x)
As we know that
dxdcosx=−sinxdxd(constant)=0dxdxn=nxn−1dxd[f(x)+g(x)]=dxd[f(x)]+dxd[g(x)]
So we can write
dxd[(1+x2)cosx]=−sinx−x2sinx+2xcosx
Note: Here we can take g(x)=(1+x2) andf(x)=cosx, the result will be the same. Order is not important when we differentiate the product of two continuous functions.