Solveeit Logo

Question

Question: How do you find the first and second derivative of \(y=2\ln \left( x \right)\)?...

How do you find the first and second derivative of y=2ln(x)y=2\ln \left( x \right)?

Explanation

Solution

The differentiation of the given function y=2ln(x)y=2\ln \left( x \right) will be defined as f(x){{f}^{'}}\left( x \right) and f(x){{f}^{''}}\left( x \right) respectively where y=f(x)=2ln(x)y=f\left( x \right)=2\ln \left( x \right). We differentiate the given function y=2ln(x)y=2\ln \left( x \right) with xx. The differentiated forms are ddx[ln(x)]=1x\dfrac{d}{dx}\left[ \ln \left( x \right) \right]=\dfrac{1}{x} and ddx[1x]=1x2\dfrac{d}{dx}\left[ \dfrac{1}{x} \right]=\dfrac{-1}{{{x}^{2}}}. We use those forms and keep the constants as it is.

Complete step by step answer:
In case of finding any derivative, we have to differentiate the given function y=2ln(x)y=2\ln \left( x \right) with xx. Let’s assume that y=f(x)=2ln(x)y=f\left( x \right)=2\ln \left( x \right). The given function is a function of xx.
The first derivative is dydx=ddx[f(x)]\dfrac{dy}{dx}=\dfrac{d}{dx}\left[ f\left( x \right) \right]. It’s also defined as f(x){{f}^{'}}\left( x \right).
The differentiated form of ln(x)\ln \left( x \right) is ddx[ln(x)]=1x\dfrac{d}{dx}\left[ \ln \left( x \right) \right]=\dfrac{1}{x}. The constant remains as it is.
There is a function af(x)af\left( x \right) where aa is a constant. If we are going to differentiate the function the formula remains as ddx[af(x)]=addx[f(x)]\dfrac{d}{dx}\left[ af\left( x \right) \right]=a\dfrac{d}{dx}\left[ f\left( x \right) \right].
Therefore, the first derivative of y=2ln(x)y=2\ln \left( x \right) is f(x)=ddx[2ln(x)]=2x{{f}^{'}}\left( x \right)=\dfrac{d}{dx}\left[ 2\ln \left( x \right) \right]=\dfrac{2}{x}.
Now we need to find the second derivative.
The second derivative is ddx[f(x)]\dfrac{d}{dx}\left[ {{f}^{'}}\left( x \right) \right]. It’s also defined as f(x){{f}^{''}}\left( x \right).
The differentiation of constants has been discussed before.
The differentiated form of 1x\dfrac{1}{x} is ddx[1x]=1x2\dfrac{d}{dx}\left[ \dfrac{1}{x} \right]=\dfrac{-1}{{{x}^{2}}}. The constant remains as it is.
Therefore, the second derivative of f(x)=2x{{f}^{'}}\left( x \right)=\dfrac{2}{x} is f(x)=ddx[2x]=2x2{{f}^{''}}\left( x \right)=\dfrac{d}{dx}\left[ \dfrac{2}{x} \right]=\dfrac{-2}{{{x}^{2}}}.
The first and second derivative of the given function y=2ln(x)y=2\ln \left( x \right) is 2x\dfrac{2}{x} and 2x2\dfrac{-2}{{{x}^{2}}} respectively.

Note: The second derivative can also be expressed as d2ydx2=ddx(dydx)\dfrac{{{d}^{2}}y}{d{{x}^{2}}}=\dfrac{d}{dx}\left( \dfrac{dy}{dx} \right). The differentiation ddx[1x]=1x2\dfrac{d}{dx}\left[ \dfrac{1}{x} \right]=\dfrac{-1}{{{x}^{2}}} has been done following the rule of exponent where ddx[xn]=nxn1\dfrac{d}{dx}\left[ {{x}^{n}} \right]=n{{x}^{n-1}}. Here the value of n was -1 as x1=1x{{x}^{-1}}=\dfrac{1}{x}.