Solveeit Logo

Question

Question: Find the derivative and the double derivative of the given function \[y = \ln x + {e^x}\]. A.\[\df...

Find the derivative and the double derivative of the given function y=lnx+exy = \ln x + {e^x}.
A.1xex&1x2ex\dfrac{1}{x} - {e^x}\& \dfrac{1}{{{x^2}}} - {e^x}
B.1x+ex&1x2ex\dfrac{1}{x} + {e^x}\& \dfrac{1}{{{x^2}}} - {e^x}
C.1x+ex&\-1x2ex\dfrac{1}{x} + {e^x}\& \- \dfrac{1}{{{x^2}}} - {e^x}
D.1x+ex&\-1x2+ex\dfrac{1}{x} + {e^x}\& \- \dfrac{1}{{{x^2}}} + {e^x}

Explanation

Solution

Hint : In this question we have to find the derivative of the two terms which are in the sum here we will find the derivative of the two terms of the function together and then we will again differentiate the obtained derivative of the function.
First derivative y=dydxy' = \dfrac{{dy}}{{dx}}
Second derivative y=d2ydx2y'' = \dfrac{{{d^2}y}}{{d{x^2}}}

Complete step-by-step answer :
Given the function
y=lnx+exy = \ln x + {e^x}
The function has two terms in hence we can write this as

y=dydx =d(lnx+ex)dx =d(lnx)dx+d(ex)dx \Rightarrow y' = \dfrac{{dy}}{{dx}} \\\ = \dfrac{{d\left( {\ln x + {e^x}} \right)}}{{dx}} \\\ = \dfrac{{d\left( {\ln x} \right)}}{{dx}} + \dfrac{{d\left( {{e^x}} \right)}}{{dx}} \\\

We know
d(lnx)dx=1x\Rightarrow \dfrac{{d\left( {\ln x} \right)}}{{dx}} = \dfrac{1}{x}
d(ex)dx=1.ex=ex\Rightarrow \dfrac{{d\left( {{e^x}} \right)}}{{dx}} = 1.{e^x} = {e^x}
So the derivative of this function will be

y=d(lnx)dx+d(ex)dx =1x+ex \Rightarrow y' = \dfrac{{d\left( {\ln x} \right)}}{{dx}} + \dfrac{{d\left( {{e^x}} \right)}}{{dx}} \\\ = \dfrac{1}{x} + {e^x} \\\

Now we need to again differentiate the above function since we to find the double derivative of the given function whose first derivative is y=1x+exy' = \dfrac{1}{x} + {e^x}
We can write this function for its second derivative as
y=dydx=d(1x+ex)dx\Rightarrow y'' = \dfrac{{dy'}}{{dx}} = \dfrac{{d\left( {\dfrac{1}{x} + {e^x}} \right)}}{{dx}}
Now since we know the differentiation of an inverse function x is written as
d(1x)dx=d(x1)dx=x11=x2=1x2\Rightarrow \dfrac{{d\left( {\dfrac{1}{x}} \right)}}{{dx}} = \dfrac{{d\left( {{x^{ - 1}}} \right)}}{{dx}} = - {x^{ - 1 - 1}} = - {x^{ - 2}} = - \dfrac{1}{{{x^2}}}
Hence the differentiation of the above function yy'will be equal to

y=dydx =d(1x)dx+d(ex)dx =1x2+ex[d(ex)dx=ex] \Rightarrow y'' = \dfrac{{dy'}}{{dx}} \\\ = \dfrac{{d\left( {\dfrac{1}{x}} \right)}}{{dx}} + \dfrac{{d\left( {{e^x}} \right)}}{{dx}} \\\ = - \dfrac{1}{{{x^2}}} + {e^x}\left[ {\because \dfrac{{d\left( {{e^x}} \right)}}{{dx}} = {e^x}} \right] \\\

Hence the second differentiation of the given function y=lnx+exy = \ln x + {e^x}as1x2+ex - \dfrac{1}{{{x^2}}} + {e^x}
Hence the first derivative of the function is y=1x+exy' = \dfrac{1}{x} + {e^x}and second derivative is y=1x2+exy'' = - \dfrac{1}{{{x^2}}} + {e^x}
So, the correct answer is “Option D”.

Note : The derivative of a function y=f(x) of whose variable is x is the measure of rate at which the value y of the function changes with respect to the change of the variable x. Students must note that the second derivative is used to find the nature of the function x whether they are maxima or minima and if the second derivative of the function is zero then the point is the inflection point.