How to Differentiate Exponential Functions

Begin with a general exponential function., Take the natural logarithm of both sides., Eliminate the exponent., Differentiate both sides and simplify., Simplify to solve for the derivative., Interpret the final result., Choose the special example...

19 Steps 7 min read Advanced

Step-by-Step Guide

  1. Step 1: Begin with a general exponential function.

    Begin with a basic exponential function using a variable as the base.

    By calculating the derivative of the general function in this way, you can use the solution as model for a full family of similar functions.y=ax{\displaystyle y=a^{x}}
  2. Step 2: Take the natural logarithm of both sides.

    You need to manipulate the function to help find a standard derivative in terms of the variable x{\displaystyle x}.

    This begins by taking the natural logarithm of both sides, as follows: ln⁡y=ln⁡ax{\displaystyle \ln y=\ln a^{x}} , Using the rules of logarithms, this equation can be simplified to eliminate the exponent.

    The exponent within the logarithm function can be removed as a multiple in front of the logarithm, as follows: ln⁡y=xln⁡a{\displaystyle \ln y=x\ln a} , The next step is to differentiate each side with respect to x{\displaystyle x}.

    Because a{\displaystyle a} is a constant, then ln⁡a{\displaystyle \ln a} is also a constant.

    The derivative of x{\displaystyle x} simplifies to 1, and the term disappears.

    The steps are as follows: ln⁡y=xln⁡a{\displaystyle \ln y=x\ln a} ddxln⁡y=ddxxln⁡a{\displaystyle {\frac {d}{dx}}\ln y={\frac {d}{dx}}x\ln a} 1ydydx=ln⁡addxx{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=\ln a{\frac {d}{dx}}x} 1ydydx=ln⁡a∗1{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=\ln a*1} 1ydydx=ln⁡a{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=\ln a} , Multiply both sides by y to isolate the derivative.

    Using basic steps of algebra, multiply both sides of this equation by y{\displaystyle y}.

    This will isolate the derivative of y{\displaystyle y} on the left side of the equation.

    Then recall that y=ax{\displaystyle y=a^{x}}, so substitute that value on the right side of the equation.

    The steps look like this: 1ydydx=ln⁡a{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=\ln a} dydx=yln⁡a{\displaystyle {\frac {dy}{dx}}=y\ln a} dydx=axln⁡a{\displaystyle {\frac {dy}{dx}}=a^{x}\ln a} , Recalling that the original function was the exponential function y=ax{\displaystyle y=a^{x}}, this solution shows that the derivative of the general exponential function is axln⁡a{\displaystyle a^{x}\ln a}.

    This can be expanded for any value of a{\displaystyle a}, as in the following examples: ddx2x=2xln⁡2{\displaystyle {\frac {d}{dx}}2^{x}=2^{x}\ln 2} ddx3x=3xln⁡3{\displaystyle {\frac {d}{dx}}3^{x}=3^{x}\ln 3} ddx10x=10xln⁡10{\displaystyle {\frac {d}{dx}}10^{x}=10^{x}\ln 10} , The prior section showed how to differentiate the general case of an exponential function with any constant as the base.

    Next, select the special case where the base is the exponential constant e{\displaystyle e}.e{\displaystyle e} is the mathematical constant that is approximately equal to
    2.718.

    For this derivation, select the special function y=ex{\displaystyle y=e^{x}}. , Recall, from the prior section, that the derivative of a general exponential function ax{\displaystyle a^{x}} is axln⁡a{\displaystyle a^{x}\ln a}.

    Apply this result to the special function ex{\displaystyle e^{x}} as follows:y=ex{\displaystyle y=e^{x}} dydx=ddxex{\displaystyle {\frac {dy}{dx}}={\frac {d}{dx}}e^{x}} dydx=exln⁡e{\displaystyle {\frac {dy}{dx}}=e^{x}\ln e} , Recall that the natural logarithm is based on the special constant e{\displaystyle e}.

    Therefore, the natural logarithm of e{\displaystyle e} is just
    1.

    This simplifies the derivative result as follows:dydx=exln⁡e{\displaystyle {\frac {dy}{dx}}=e^{x}\ln e} dydx=ex∗1{\displaystyle {\frac {dy}{dx}}=e^{x}*1} dydx=ex{\displaystyle {\frac {dy}{dx}}=e^{x}} , This proof leads to the special case that the derivative of the function ex{\displaystyle e^{x}} is that very function itself.

    Thus:ddxex=ex{\displaystyle {\frac {d}{dx}}e^{x}=e^{x}} , For this example, you will find the general derivative of functions that have e{\displaystyle e} raised to an exponent, when the exponent itself is a function of x{\displaystyle x}.As an example, consider the function y=e2x+3{\displaystyle y=e^{2x+3}}. , This solution is going to involve the chain rule of derivatives.

    Recall that the chain rule applies when you have one function, u(x){\displaystyle u(x)} nested inside another, f(x){\displaystyle f(x)}, as you have here.

    The chain rule states:dydx=dydu∗dudx{\displaystyle {\frac {dy}{dx}}={\frac {dy}{du}}*{\frac {du}{dx}}} In summary, you will define the exponent as a separate function u(x){\displaystyle u(x)}.

    For this example, the exponent is the nested function u(x){\displaystyle u(x)}.

    Thus, for this example: y=eu{\displaystyle y=e^{u}}, and u=2x+3{\displaystyle u=2x+3} , The chain rule requires you to find the derivatives of both functions y{\displaystyle y} and u{\displaystyle u}.

    The resulting derivative is then the product of those two.The two separate derivatives are: dydu=ddxeu=eu{\displaystyle {\frac {dy}{du}}={\frac {d}{dx}}e^{u}=e^{u}}. (Remember that the derivative of ex{\displaystyle e^{x}} is ex{\displaystyle e^{x}}.) dudx=ddx(2x+3)=2{\displaystyle {\frac {du}{dx}}={\frac {d}{dx}}(2x+3)=2} After finding the two separate derivatives, combine them to find the derivative of the original function: dydx=dydu∗dudx{\displaystyle {\frac {dy}{dx}}={\frac {dy}{du}}*{\frac {du}{dx}}} ddxe2x+3=e(2x+3)∗2=2e(2x+3){\displaystyle {\frac {d}{dx}}e^{2x+3}=e^{(2x+3)}*2=2e^{(2x+3)}} , Select another example, y=esin⁡x{\displaystyle y=e^{\sin x}}.Define the nested function.

    In this case, u=sin⁡x{\displaystyle u=\sin x}.

    Find the derivatives of the functions y{\displaystyle y} and u{\displaystyle u}. dydu=eu{\displaystyle {\frac {dy}{du}}=e^{u}} dudx=cos⁡x{\displaystyle {\frac {du}{dx}}=\cos x} Combine using the chain rule: y=esin⁡x{\displaystyle y=e^{\sin x}} dydx=dydu∗dudx{\displaystyle {\frac {dy}{dx}}={\frac {dy}{du}}*{\frac {du}{dx}}} ddxesin⁡x=eu∗cos⁡x=esin⁡xcos⁡x{\displaystyle {\frac {d}{dx}}e^{\sin x}=e^{u}*\cos x=e^{\sin x}\cos x} , For this special example, sometimes called the “power tower,” choose the function such that:y=xx{\displaystyle y=x^{x}} , As before, the solution here begins with the natural logarithm of each side of the equation:ln⁡y=ln⁡(xx){\displaystyle \ln y=\ln(x^{x})} ln⁡y=xln⁡x{\displaystyle \ln y=x\ln x} , On the right side of this equation, you will need to apply the product rule of derivatives.

    Recall that the product rule states that if y=f(x)∗g(x){\displaystyle y=f(x)*g(x)}, then y′=f∗g′+f′∗g{\displaystyle y^{\prime }=f*g^{\prime }+f^{\prime }*g}.ln⁡y=xln⁡x{\displaystyle \ln y=x\ln x} 1ydydx=x∗1x+1∗ln⁡x{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=x*{\frac {1}{x}}+1*\ln x} 1ydydx=1+ln⁡x{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=1+\ln x} ,, Recall from the first step that the function is y=xx{\displaystyle y=x^{x}}.

    Replacing this term in place of y{\displaystyle y} is the last step to find the derivative.dydx=y∗(1+ln⁡x){\displaystyle {\frac {dy}{dx}}=y*(1+\ln x)} dydx=xx(1+ln⁡x){\displaystyle {\frac {dy}{dx}}=x^{x}(1+\ln x)} ddxxx=xx+xxln⁡x{\displaystyle {\frac {d}{dx}}x^{x}=x^{x}+x^{x}\ln x}
  3. Step 3: Eliminate the exponent.

  4. Step 4: Differentiate both sides and simplify.

  5. Step 5: Simplify to solve for the derivative.

  6. Step 6: Interpret the final result.

  7. Step 7: Choose the special example.

  8. Step 8: Use the proof of the general exponential function derivative.

  9. Step 9: Simplify the result.

  10. Step 10: Interpret the final result.

  11. Step 11: Define your function.

  12. Step 12: Define the variable u{\displaystyle u}.

  13. Step 13: Apply the chain rule.

  14. Step 14: Practice another example of e{\displaystyle e} with a functional exponent.

  15. Step 15: Define the function.

  16. Step 16: Find the natural logarithm of each side.

  17. Step 17: Take the derivative of each side of the equation.

  18. Step 18: Multiply each side by y. Isolate the derivative term on the right by multiplying both sides of the equation by y.1ydydx=1+ln⁡x{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=1+\ln x} dydx=y∗(1+ln⁡x){\displaystyle {\frac {dy}{dx}}=y*(1+\ln x)}

  19. Step 19: Replace the original value of y.

Detailed Guide

Begin with a basic exponential function using a variable as the base.

By calculating the derivative of the general function in this way, you can use the solution as model for a full family of similar functions.y=ax{\displaystyle y=a^{x}}

You need to manipulate the function to help find a standard derivative in terms of the variable x{\displaystyle x}.

This begins by taking the natural logarithm of both sides, as follows: ln⁡y=ln⁡ax{\displaystyle \ln y=\ln a^{x}} , Using the rules of logarithms, this equation can be simplified to eliminate the exponent.

The exponent within the logarithm function can be removed as a multiple in front of the logarithm, as follows: ln⁡y=xln⁡a{\displaystyle \ln y=x\ln a} , The next step is to differentiate each side with respect to x{\displaystyle x}.

Because a{\displaystyle a} is a constant, then ln⁡a{\displaystyle \ln a} is also a constant.

The derivative of x{\displaystyle x} simplifies to 1, and the term disappears.

The steps are as follows: ln⁡y=xln⁡a{\displaystyle \ln y=x\ln a} ddxln⁡y=ddxxln⁡a{\displaystyle {\frac {d}{dx}}\ln y={\frac {d}{dx}}x\ln a} 1ydydx=ln⁡addxx{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=\ln a{\frac {d}{dx}}x} 1ydydx=ln⁡a∗1{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=\ln a*1} 1ydydx=ln⁡a{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=\ln a} , Multiply both sides by y to isolate the derivative.

Using basic steps of algebra, multiply both sides of this equation by y{\displaystyle y}.

This will isolate the derivative of y{\displaystyle y} on the left side of the equation.

Then recall that y=ax{\displaystyle y=a^{x}}, so substitute that value on the right side of the equation.

The steps look like this: 1ydydx=ln⁡a{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=\ln a} dydx=yln⁡a{\displaystyle {\frac {dy}{dx}}=y\ln a} dydx=axln⁡a{\displaystyle {\frac {dy}{dx}}=a^{x}\ln a} , Recalling that the original function was the exponential function y=ax{\displaystyle y=a^{x}}, this solution shows that the derivative of the general exponential function is axln⁡a{\displaystyle a^{x}\ln a}.

This can be expanded for any value of a{\displaystyle a}, as in the following examples: ddx2x=2xln⁡2{\displaystyle {\frac {d}{dx}}2^{x}=2^{x}\ln 2} ddx3x=3xln⁡3{\displaystyle {\frac {d}{dx}}3^{x}=3^{x}\ln 3} ddx10x=10xln⁡10{\displaystyle {\frac {d}{dx}}10^{x}=10^{x}\ln 10} , The prior section showed how to differentiate the general case of an exponential function with any constant as the base.

Next, select the special case where the base is the exponential constant e{\displaystyle e}.e{\displaystyle e} is the mathematical constant that is approximately equal to
2.718.

For this derivation, select the special function y=ex{\displaystyle y=e^{x}}. , Recall, from the prior section, that the derivative of a general exponential function ax{\displaystyle a^{x}} is axln⁡a{\displaystyle a^{x}\ln a}.

Apply this result to the special function ex{\displaystyle e^{x}} as follows:y=ex{\displaystyle y=e^{x}} dydx=ddxex{\displaystyle {\frac {dy}{dx}}={\frac {d}{dx}}e^{x}} dydx=exln⁡e{\displaystyle {\frac {dy}{dx}}=e^{x}\ln e} , Recall that the natural logarithm is based on the special constant e{\displaystyle e}.

Therefore, the natural logarithm of e{\displaystyle e} is just
1.

This simplifies the derivative result as follows:dydx=exln⁡e{\displaystyle {\frac {dy}{dx}}=e^{x}\ln e} dydx=ex∗1{\displaystyle {\frac {dy}{dx}}=e^{x}*1} dydx=ex{\displaystyle {\frac {dy}{dx}}=e^{x}} , This proof leads to the special case that the derivative of the function ex{\displaystyle e^{x}} is that very function itself.

Thus:ddxex=ex{\displaystyle {\frac {d}{dx}}e^{x}=e^{x}} , For this example, you will find the general derivative of functions that have e{\displaystyle e} raised to an exponent, when the exponent itself is a function of x{\displaystyle x}.As an example, consider the function y=e2x+3{\displaystyle y=e^{2x+3}}. , This solution is going to involve the chain rule of derivatives.

Recall that the chain rule applies when you have one function, u(x){\displaystyle u(x)} nested inside another, f(x){\displaystyle f(x)}, as you have here.

The chain rule states:dydx=dydu∗dudx{\displaystyle {\frac {dy}{dx}}={\frac {dy}{du}}*{\frac {du}{dx}}} In summary, you will define the exponent as a separate function u(x){\displaystyle u(x)}.

For this example, the exponent is the nested function u(x){\displaystyle u(x)}.

Thus, for this example: y=eu{\displaystyle y=e^{u}}, and u=2x+3{\displaystyle u=2x+3} , The chain rule requires you to find the derivatives of both functions y{\displaystyle y} and u{\displaystyle u}.

The resulting derivative is then the product of those two.The two separate derivatives are: dydu=ddxeu=eu{\displaystyle {\frac {dy}{du}}={\frac {d}{dx}}e^{u}=e^{u}}. (Remember that the derivative of ex{\displaystyle e^{x}} is ex{\displaystyle e^{x}}.) dudx=ddx(2x+3)=2{\displaystyle {\frac {du}{dx}}={\frac {d}{dx}}(2x+3)=2} After finding the two separate derivatives, combine them to find the derivative of the original function: dydx=dydu∗dudx{\displaystyle {\frac {dy}{dx}}={\frac {dy}{du}}*{\frac {du}{dx}}} ddxe2x+3=e(2x+3)∗2=2e(2x+3){\displaystyle {\frac {d}{dx}}e^{2x+3}=e^{(2x+3)}*2=2e^{(2x+3)}} , Select another example, y=esin⁡x{\displaystyle y=e^{\sin x}}.Define the nested function.

In this case, u=sin⁡x{\displaystyle u=\sin x}.

Find the derivatives of the functions y{\displaystyle y} and u{\displaystyle u}. dydu=eu{\displaystyle {\frac {dy}{du}}=e^{u}} dudx=cos⁡x{\displaystyle {\frac {du}{dx}}=\cos x} Combine using the chain rule: y=esin⁡x{\displaystyle y=e^{\sin x}} dydx=dydu∗dudx{\displaystyle {\frac {dy}{dx}}={\frac {dy}{du}}*{\frac {du}{dx}}} ddxesin⁡x=eu∗cos⁡x=esin⁡xcos⁡x{\displaystyle {\frac {d}{dx}}e^{\sin x}=e^{u}*\cos x=e^{\sin x}\cos x} , For this special example, sometimes called the “power tower,” choose the function such that:y=xx{\displaystyle y=x^{x}} , As before, the solution here begins with the natural logarithm of each side of the equation:ln⁡y=ln⁡(xx){\displaystyle \ln y=\ln(x^{x})} ln⁡y=xln⁡x{\displaystyle \ln y=x\ln x} , On the right side of this equation, you will need to apply the product rule of derivatives.

Recall that the product rule states that if y=f(x)∗g(x){\displaystyle y=f(x)*g(x)}, then y′=f∗g′+f′∗g{\displaystyle y^{\prime }=f*g^{\prime }+f^{\prime }*g}.ln⁡y=xln⁡x{\displaystyle \ln y=x\ln x} 1ydydx=x∗1x+1∗ln⁡x{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=x*{\frac {1}{x}}+1*\ln x} 1ydydx=1+ln⁡x{\displaystyle {\frac {1}{y}}{\frac {dy}{dx}}=1+\ln x} ,, Recall from the first step that the function is y=xx{\displaystyle y=x^{x}}.

Replacing this term in place of y{\displaystyle y} is the last step to find the derivative.dydx=y∗(1+ln⁡x){\displaystyle {\frac {dy}{dx}}=y*(1+\ln x)} dydx=xx(1+ln⁡x){\displaystyle {\frac {dy}{dx}}=x^{x}(1+\ln x)} ddxxx=xx+xxln⁡x{\displaystyle {\frac {d}{dx}}x^{x}=x^{x}+x^{x}\ln x}

About the Author

V

Virginia Myers

Enthusiastic about teaching crafts techniques through clear, step-by-step guides.

55 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: