Solveeit Logo

Question

Question: Differentiate \( f(x) = x\cos x \) using the product rule...

Differentiate f(x)=xcosxf(x) = x\cos x using the product rule

Explanation

Solution

Hint : Only if you know the calculus, you are able to solve this problem. Here, we have to use the product rule, which is also called as ‘ uvuv ’ method, where we keep uu as constant and differentiate vv , then keep vv as constant and differentiate uu and finally add both. That’s it...!

Complete step-by-step answer :
Knowing calculus is the primary important in solving many complicated problems in Mathematics. To solve the complex problems, we have to be thorough with the basics, so solve more basic problems like this to master calculus.
Let’s consider the given equation,
f(x)=xcosxf(x) = x\cos x
Let’s consider the ‘ uvuv ’ method, take u=xu = x and v=cosxv = \cos x , the formula is uv=uv+vuuv = uv' + vu' , where uu' and vv' are the derivatives of uu and vv . Now let’s consider uvuv' , which implies,
xddx(cosx)=x(sinx)x\dfrac{{d}}{{dx}}(cos x) = x( - \sin x) (1)(1) … (1)
In equation (1) we Kept xx as constant and differentiated cosx\cos x and when we took the derivative of cosx\cos x , we got (sinx)( - \sin x) and then we differentiated xx and we got (1)(1) . Now considering vuvu' , which implies,
cosxddx(x)=cosx(1)cos x \dfrac{{d}}{{dx}}(x) = \cos x(1) … (2)
In equation (2), we kept cosx\cos x as constant and differentiated xx , and hence we got was cosx\cos x (1)(1) ,
Now adding (1) and (2), we get,
ddx(xcosx)=xsinx+cosx\dfrac{{d}}{{dx}}(x\cos x )= - x\sin x + \cos x
Rearranging the terms, we get,
ddx(xcosx)=cosxxsinx\dfrac{{d}}{{dx}}(x\cos x ) = \cos x - x\sin x
Hence this is our required solution.
So, the correct answer is “cosxxsinx\cos x - x\sin x”.

Note : Whenever there is a “ ' ”in the superscript of a letter it means, it is in the differential form. Mostly we use ddx\dfrac{{d}}{{dx}} to represent a differential equation, but when we have some complex equation we represent as uu' , in case uu is in the differential form. Before learning calculus, be thorough with the concept called functions, calculus is the application of the function. So, to build your basic level, you must know What a function means.