Question
Question: Find \[\dfrac{{{d}^{2}}y}{d{{x}^{2}}}\] \[y=x\cos x\]...
Find dx2d2y
y=xcosx
Solution
Hint:If u and v are two differentiable functions of x then dxd(uv)=u×dxdv+v×dxduand this formula is called product rule. In this problem u and v are two differentiable functions of x so apply the product rule. Here they asked us to find the dx2d2yso we have to apply the product rule two times then we will get the required answer.
Complete step-by-step answer:
Given that y=xcosx
We have to find dx2d2y
We know that the formula for dxd(uv)is given by dxd(uv)=v×dxdu+u×dxdv
Now apply the above formula we will get,
dxdy=x(−sinx)+cosx(1)
dxdy=−xsinx+cosx. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (1)
Now again apply derivative to it then we will get the second derivative or double derivative.
dx2d2y=dxd(dxdy)
dx2d2y=dxd(−xsinx+cosx). . . . . . . . . . . . . . . . . . . . . . . . . . . (2)
dx2d2y=dxd(−xsinx)+dxd(cosx). . . . . . . . . . . . . . . . . . . . . . (3)
dx2d2y=−x(cosx)+sinx(−1)−sinx. . . . . . . . . . . . . . . . . . . . .(4)
dx2d2y=−xcosx−2sinx
Note:In the above problem in the equation (3) we have used the formula that is for dxd(u+v)=dxdu+dxdvand this formula is also called as sum rule. The derivative of sinxis cosxand the derivative of cosxis −sinx. So we should be keen on basic trigonometric formulas and their derivative formulas for doing this problem. Carefully do the basic mathematical operations like addition, subtraction then we will get the required answer.