Solveeit Logo

Question

Question: How can I find the derivative of \(y = {e^x}\) from first principles?...

How can I find the derivative of y=exy = {e^x} from first principles?

Explanation

Solution

We need to plug this function into the definition of the derivative, (1), and do some algebra. First plug the function into the definition of the derivative. Next, make factors of numerator by taking common terms out. Next, take ex{e^x} out of the limit and use the property of exponential function in limits to find the desired result.

Formula used: Definition of the Derivative from First Principles:
The derivative of f(x)f\left( x \right) with respect to xx is the function f(x)f'\left( x \right) and is defined as,
f(x)=limh0f(x+h)f(x)hf'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{f\left( {x + h} \right) - f\left( x \right)}}{h}...........…(1)

Complete step-by-step solution:
First plug the function into the definition of the derivative.
f(x)=limh0f(x+h)f(x)hf'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{f\left( {x + h} \right) - f\left( x \right)}}{h}
y(x)=limh0ex+hexh\Rightarrow y'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{{e^{x + h}} - {e^x}}}{h}
y(x)=limh0exehexh\Rightarrow y'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{{e^x} \cdot {e^h} - {e^x}}}{h}
Take ex{e^x} common in the numerator, we get
y(x)=limh0ex(eh1)h\Rightarrow y'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{{e^x}\left( {{e^h} - 1} \right)}}{h}
Now, the ex{e^x} is not affected by the limit since it doesn’t have any hh’s in it and so is a constant as far as the limit is concerned. We can therefore factor this out of the limit. This gives,
y(x)=exlimh0eh1h\Rightarrow y'\left( x \right) = {e^x}\mathop {\lim }\limits_{h \to 0} \dfrac{{{e^h} - 1}}{h}
We know that ee is the unique positive number for which limh0eh1h=1\mathop {\lim }\limits_{h \to 0} \dfrac{{{e^h} - 1}}{h} = 1.
So, y(x)=ex×1y'\left( x \right) = {e^x} \times 1
Multiply ex{e^x} with 11, we get
y(x)=exy'\left( x \right) = {e^x}

Therefore, the derivative of y=exy = {e^x} is, y(x)=exy'\left( x \right) = {e^x}.

Additional Information: Here, notice that the limit we’ve got, y(x)=exlimh0eh1hy'\left( x \right) = {e^x}\mathop {\lim }\limits_{h \to 0} \dfrac{{{e^h} - 1}}{h} is exactly the definition of the derivative of f(x)=exf\left( x \right) = {e^x} at x=0x = 0 , i.e., f(0)f'\left( 0 \right). Therefore, the derivative becomes,
f(x)=f(0)exf'\left( x \right) = f'\left( 0 \right){e^x}

Note: We can also use the power series of exponential function to find the derivative of y=exy = {e^x}.
Power Series of Exponential function:
ex=1+x+x22!+x33!+x44!+...{e^x} = 1 + x + \dfrac{{{x^2}}}{{2!}} + \dfrac{{{x^3}}}{{3!}} + \dfrac{{{x^4}}}{{4!}} + ...
Now, differentiate it with respect to xx.
ddx(ex)=ddx(1+x+x22!+x33!+x44!+...)\dfrac{d}{{dx}}\left( {{e^x}} \right) = \dfrac{d}{{dx}}\left( {1 + x + \dfrac{{{x^2}}}{{2!}} + \dfrac{{{x^3}}}{{3!}} + \dfrac{{{x^4}}}{{4!}} + ...} \right)
Now, use property ddx[f(x)±g(x)]=ddxf(x)±ddxg(x)\dfrac{d}{{dx}}\left[ {f\left( x \right) \pm g\left( x \right)} \right] = \dfrac{d}{{dx}}f\left( x \right) \pm \dfrac{d}{{dx}}g\left( x \right).
ddx(ex)=ddx(1)+ddx(x)+ddx(x22!)+ddx(x33!)+ddx(x44!)+...\Rightarrow \dfrac{d}{{dx}}\left( {{e^x}} \right) = \dfrac{d}{{dx}}\left( 1 \right) + \dfrac{d}{{dx}}\left( x \right) + \dfrac{d}{{dx}}\left( {\dfrac{{{x^2}}}{{2!}}} \right) + \dfrac{d}{{dx}}\left( {\dfrac{{{x^3}}}{{3!}}} \right) + \dfrac{d}{{dx}}\left( {\dfrac{{{x^4}}}{{4!}}} \right) + ...
Now, use property ddx[kf(x)]=kddxf(x)\dfrac{d}{{dx}}\left[ {kf\left( x \right)} \right] = k\dfrac{d}{{dx}}f\left( x \right).
ddx(ex)=ddx(1)+ddx(x)+12!ddx(x2)+13!ddx(x3)+14!ddx(x4)+...\Rightarrow \dfrac{d}{{dx}}\left( {{e^x}} \right) = \dfrac{d}{{dx}}\left( 1 \right) + \dfrac{d}{{dx}}\left( x \right) + \dfrac{1}{{2!}}\dfrac{d}{{dx}}\left( {{x^2}} \right) + \dfrac{1}{{3!}}\dfrac{d}{{dx}}\left( {{x^3}} \right) + \dfrac{1}{{4!}}\dfrac{d}{{dx}}\left( {{x^4}} \right) + ...
Now, use property dxndx=nxn1,n1\dfrac{{d{x^n}}}{{dx}} = n{x^{n - 1}},n \ne - 1.
ddx(ex)=0+1+12×2x+13×2!×3x2+14×3!×4x3+...\Rightarrow \dfrac{d}{{dx}}\left( {{e^x}} \right) = 0 + 1 + \dfrac{1}{2} \times 2x + \dfrac{1}{{3 \times 2!}} \times 3{x^2} + \dfrac{1}{{4 \times 3!}} \times 4{x^3} + ...
ddx(ex)=1+x+x22!+x33!+x44!+...\Rightarrow \dfrac{d}{{dx}}\left( {{e^x}} \right) = 1 + x + \dfrac{{{x^2}}}{{2!}} + \dfrac{{{x^3}}}{{3!}} + \dfrac{{{x^4}}}{{4!}} + ...
ddx(ex)=ex\Rightarrow \dfrac{d}{{dx}}\left( {{e^x}} \right) = {e^x}
Therefore, the derivative of y=exy = {e^x} is, y(x)=exy'\left( x \right) = {e^x}.