Differentiate Exponential Functions
Exponential functions are a special category of functions that involve exponents that are variables or functions. Using some of the basic rules of calculus, you can begin by finding the derivative of a basic functions like <math>a^x</math>. This then provides a form that you can use for any numerical base raised to a variable exponent. Expanding this work, you can also find the derivative of functions where the exponent is itself a function. Finally, you will see how to differentiate the “power tower,” a special function in which the exponent matches the base.
Contents
Steps
Differentiating General Exponential Functions
- 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.
- <math>y = a^{x}</math>
- Take the natural logarithm of both sides. You need to manipulate the function to help find a standard derivative in terms of the variable <math>x</math>. This begins by taking the natural logarithm of both sides, as follows:
- <math>\ln y = \ln a^{x}</math>
- Eliminate the exponent. 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:
- <math>\ln y = x \ln a</math>
- Differentiate both sides and simplify. The next step is to differentiate each side with respect to <math>x</math>. Because <math>a</math> is a constant, then <math>\ln a</math> is also a constant. The derivative of <math>x</math> simplifies to 1, and the term disappears. The steps are as follows:
- <math>\ln y = x \ln a</math>
- <math>\frac{d}{dx}\ln y=\frac{d}{dx}x \ln a</math>
- <math>\frac{1}{y}\frac{dy}{dx}=\ln a \frac{d}{dx}x</math>
- <math>\frac{1}{y}\frac{dy}{dx}=\ln a* 1</math>
- <math>\frac{1}{y}\frac{dy}{dx}=\ln a</math>
- Simplify to solve for the derivative. Multiply both sides by y to isolate the derivative. Using basic steps of algebra, multiply both sides of this equation by <math>y</math>. This will isolate the derivative of <math>y</math> on the left side of the equation. Then recall that <math>y=a^x</math>, so substitute that value on the right side of the equation. The steps look like this:
- <math>\frac{1}{y}\frac{dy}{dx}=\ln a</math>
- <math>\frac{dy}{dx}=y \ln a</math>
- <math>\frac{dy}{dx}=a^x \ln a</math>
- Interpret the final result. Recalling that the original function was the exponential function <math>y=a^x</math>, this solution shows that the derivative of the general exponential function is <math>a^x \ln a</math>.
- This can be expanded for any value of <math>a</math>, as in the following examples:
- <math>\frac{d}{dx}2^x=2^x \ln 2</math>
- <math>\frac{d}{dx}3^x=3^x \ln 3</math>
- <math>\frac{d}{dx}10^x=10^x \ln 10</math>
- This can be expanded for any value of <math>a</math>, as in the following examples:
Extending the Proof for the Derivative of ex
- Choose the special example. 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 <math>e</math>.
- <math>e</math> is the mathematical constant that is approximately equal to 2.718.
- For this derivation, select the special function <math>y=e^x</math>.
- Use the proof of the general exponential function derivative. Recall, from the prior section, that the derivative of a general exponential function <math>a^x</math> is <math>a^x \ln a</math>. Apply this result to the special function <math>e^x</math> as follows:
- <math>y=e^x</math>
- <math>\frac{dy}{dx}=\frac{d}{dx} e^x</math>
- <math>\frac{dy}{dx}=e^x \ln e</math>
- Simplify the result. Recall that the natural logarithm is based on the special constant <math>e</math>. Therefore, the natural logarithm of <math>e</math> is just 1. This simplifies the derivative result as follows:
- <math>\frac{dy}{dx}=e^x \ln e</math>
- <math>\frac{dy}{dx}=e^x *1</math>
- <math>\frac{dy}{dx}=e^x</math>
- Interpret the final result. This proof leads to the special case that the derivative of the function <math>e^x</math> is that very function itself. Thus:
- <math>\frac{d}{dx} e^x=e^x</math>
Finding the Derivative of e with a Functional Exponent
- Define your function. For this example, you will find the general derivative of functions that have <math>e</math> raised to an exponent, when the exponent itself is a function of <math>x</math>.
- As an example, consider the function <math>y=e^{2x+3}</math>.
- Define the variable <math>u</math>. This solution is going to involve the chain rule of derivatives. Recall that the chain rule applies when you have one function, <math>u(x)</math> nested inside another, <math>f(x)</math>, as you have here. The chain rule states:
- <math>\frac{dy}{dx}=\frac{dy}{du}*\frac{du}{dx}</math>
- In summary, you will define the exponent as a separate function <math>u(x)</math>.
- For this example, the exponent is the nested function <math>u(x)</math>. Thus, for this example:
- <math>y=e^u</math>, and
- <math>u=2x+3</math>
- Apply the chain rule. The chain rule requires you to find the derivatives of both functions <math>y</math> and <math>u</math>. The resulting derivative is then the product of those two.
- The two separate derivatives are:
- <math>\frac{dy}{du}=\frac{d}{dx}e^u=e^u</math>. (Remember that the derivative of <math>e^x</math> is <math>e^x</math>.)
- <math>\frac{du}{dx}=\frac{d}{dx}(2x+3)=2</math>
- After finding the two separate derivatives, combine them to find the derivative of the original function:
- <math>\frac{dy}{dx}=\frac{dy}{du}*\frac{du}{dx}</math>
- <math>\frac{d}{dx}e^{2x+3}=e^{(2x+3)}*2=2e^{(2x+3)}</math>
- The two separate derivatives are:
- Practice another example of <math>e</math> with a functional exponent. Select another example, <math>y=e^{\sin x}</math>.
- Define the nested function. In this case, <math>u=\sin x</math>.
- Find the derivatives of the functions <math>y</math> and <math>u</math>.
- <math>\frac{dy}{du}=e^u</math>
- <math>\frac{du}{dx}=\cos x</math>
- Combine using the chain rule:
- <math>y=e^{\sin x}</math>
- <math>\frac{dy}{dx}=\frac{dy}{du}*\frac{du}{dx}</math>
- <math>\frac{d}{dx}e^{\sin x}=e^u*\cos x=e^{\sin x}\cos x</math>
Finding the Derivative of xx
- Define the function. For this special example, sometimes called the “power tower,” choose the function such that:
- <math>y=x^x</math>
- Find the natural logarithm of each side. As before, the solution here begins with the natural logarithm of each side of the equation:
- <math>\ln y=\ln(x^x)</math>
- <math>\ln y=x \ln x</math>
- Take the derivative of each side of the equation. 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 <math>y=f(x)*g(x)</math>, then <math>y^{\prime}=f*g^{\prime}+f^{\prime}*g</math>.
- <math>\ln y=x \ln x</math>
- <math>\frac{1}{y}\frac{dy}{dx}=x*\frac{1}{x}+1*\ln x</math>
- <math>\frac{1}{y}\frac{dy}{dx}=1+\ln x</math>
- Multiply each side by y. Isolate the derivative term on the right by multiplying both sides of the equation by y.
- <math>\frac{1}{y}\frac{dy}{dx}=1+\ln x</math>
- <math>\frac{dy}{dx}=y*(1+\ln x)</math>
- Replace the original value of y. Recall from the first step that the function is <math>y=x^x</math>. Replacing this term in place of <math>y</math> is the last step to find the derivative.
- <math>\frac{dy}{dx}=y*(1+\ln x)</math>
- <math>\frac{dy}{dx}=x^x(1+\ln x)</math>
- <math>\frac{d}{dx}x^x=x^x+x^x \ln x</math>
Tips
- If you don't understand logarithms, check out How to Understand Logarithms.
Related Articles
- Differentiate Polynomials
- Do Implicit Differentiation
- Take Derivatives in Calculus
- Work out the Determinant of a Matrix
- Integrate by Substitution
Sources and Citations
- http://www.themathpage.com/acalc/exponential.htm#expo
- ↑ http://www.themathpage.com/acalc/exponential.htm#expon
- ↑ http://www.themathpage.com/acalc/exponential.htm#variable-exp
- ↑ http://www.sosmath.com/calculus/diff/der04/der04.html
- ↑ http://www.slideshare.net/leingang/lesson-16-derivatives-of-exponential-and-logarithmic-functions