Question
Question: Differentiate \( f(x) = x\cos x \) using the product rule...
Differentiate f(x)=xcosx using the product rule
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 ‘ uv ’ method, where we keep u as constant and differentiate v , then keep v as constant and differentiate u 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)=xcosx
Let’s consider the ‘ uv ’ method, take u=x and v=cosx , the formula is uv=uv′+vu′ , where u′ and v′ are the derivatives of u and v . Now let’s consider uv′ , which implies,
xdxd(cosx)=x(−sinx) (1) … (1)
In equation (1) we Kept x as constant and differentiated cosx and when we took the derivative of cosx , we got (−sinx) and then we differentiated x and we got (1) . Now considering vu′ , which implies,
cosxdxd(x)=cosx(1) … (2)
In equation (2), we kept cosx as constant and differentiated x , and hence we got was cosx (1) ,
Now adding (1) and (2), we get,
dxd(xcosx)=−xsinx+cosx
Rearranging the terms, we get,
dxd(xcosx)=cosx−xsinx
Hence this is our required solution.
So, the correct answer is “cosx−xsinx”.
Note : Whenever there is a “ ′ ”in the superscript of a letter it means, it is in the differential form. Mostly we use dxd to represent a differential equation, but when we have some complex equation we represent as u′ , in case u 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.