Question
Question: If \[y=\dfrac{\log x}{x}\], show that \[\dfrac{d^{2}y}{dx^{2}} =\dfrac{2\log x-3}{x^{3}}\]....
If y=xlogx, show that dx2d2y=x32logx−3.
Solution
Hint: In this question it is given a function y=xlogx, we have to find the second order derivative of y, i.e, dx2d2y.
So to find the solution we have to differentiate y wrt x, so for this we need to know that if a function is in the form of y=vu then derivative of ‘y’ is
dxdy=v2vdxdu−udxdv......(1)
Where u and v are the function of x.
Complete step-by-step answer:
So here the given function is,
y=xlogx......................(2)
Now differentiating the above equation w.r.t ‘x’ we get,
dxdy=dxd(xlogx)...........(3)
So this function is in the form of vu where u=logx and v=x.
So we can apply the formula (1) in the equation (3),
dxdy=x2xdxd(logx)−logxdxd(x)
Now as we know that dxd(logx)=x1 and dxd(x)=1.
So by using these formulas the above differential equation can be written as,
dxdy=x2x⋅x1−logx⋅1
⇒dxdy=x21−logx............(4)
Now again we are going to differentiate equation (4) w.r.t ‘x’
[where the equation is in the form of vu , u=1−logx and v=x2]
dx2d2y=dxd(x21−logx)
⇒dx2d2y=(x2)2x2dxd(1−logx)−(1−logx)dxd(x2) [using formula (1)]
⇒dx2d2y=x4x2(dxd(1)−dxd(logx))−(1−logx)2x [since, dxd(xn)=nxn−1]
⇒dx2d2y=x4x2(0−x1)−2(1−logx)x [since, derivative of constant term is zero]
⇒dx2d2y=x4−x2⋅x1−2x+2xlogx
⇒dx2d2y=x4−x−2x+2xlogx
⇒dx2d2y=x4−3x+2xlogx
⇒dx2d2y=x4x(−3+2logx) [by taking x common from the numerator]
⇒dx2d2y=x3(−3+2logx) [canceling x from the numerator and denominator]
⇒dx2d2y=x32logx−3
Hence this is our required solution.
Note: While solving this type of question you need to know that derivative of any constant term is always zero but when a constant is there with a variable, i.e, for a constant coefficient, then this constant term goes outside of the derivative. Also while derivation you have to keep in mind that if a logarithmic function has ‘e’ in its base then only this function can be differentiable but in the given question they didn’t mentioned about that, so here is another information is that in most of the case when base is ‘e’ then they usually do not mention or do not write in the base.