Exponential and Logarithmic Functions


Exponential and Logarithmic Functions

Michael
Today we’re connecting exponential functions, their derivatives, and natural logarithms. Let’s begin with the defining feature of an exponential function: the variable appears in the exponent. In the basic form, we write f(x) = b^x, where b is a constant base.

Maria
So the variable’s location is the clue. In 16^x, the x is in the exponent, so it’s exponential; the base could be 16, the square root of 2, or one eighth.

Michael
Exactly. And to work with these functions, we’ll rely on familiar exponent rules. When multiplying powers with the same base, add the exponents: b^m times b^n equals b^(m+n). When dividing powers with the same base, subtract: b^m divided by b^n equals b^(m−n).

Maria
And there’s the power-to-a-power rule: raise b^m to the n power, and multiply the exponents. So (b^m)^n equals b^(mn). That one is especially useful when the exponent itself has a power.

Michael
Let’s use that to rewrite several exponentials with base 2. Since 16 equals 2^4, we can write 16^x as (2^4)^x, which becomes 2^(4x). In the form 2^(kx), the value of k here is 4.

Maria
For the square root of 2, remember that a square root is the same as a one-half power. So (√2)^x is (2^(1/2))^x, and the power-to-a-power rule gives 2^(x/2). We’ve changed the base without changing the value.

Michael
And one eighth can be rewritten using a negative exponent. Since 8 is 2^3, one eighth is 2^−3. Therefore, (1/8)^x becomes (2^−3)^x, or 2^−3x.

Maria
The reason to rewrite everything with a common base is that then the exponent rules become easy to apply. Here’s a slightly longer example: 16^x divided by 2 times 2^−4x.

Michael
First rewrite 16^x as 2^4x. In the denominator, 2 is 2^1, so 2 times 2^−4x becomes 2^(1−4x), because multiplication means adding those exponents.

Maria
Now both the numerator and denominator have base 2, so subtract the denominator’s exponent from the numerator’s: 4x − (1 − 4x). Be careful to distribute the minus sign. That gives 4x − 1 + 4x, or 8x − 1, so the whole expression is 2^(8x−1).

Michael
That same common-base idea helps solve exponential equations. If the bases are already equal, set the exponents equal. For 9^(4x) = 9^12, we get 4x = 12, so x = 3.

Maria
If the bases look different, see whether you can rewrite one of them. For 7^(2−4x) = 49, recognize that 49 is 7^2. Now the bases match, so 2 − 4x = 2, which gives −4x = 0 and x = 0.

Michael
Next is the natural exponential function, f(x) = e^x. The number e is approximately 2.718, and like pi, it’s irrational: its decimal expansion doesn’t repeat. The remarkable derivative property is that the derivative of e^x is e^x itself.

Maria
That makes e^x especially useful in calculus: its rate of change has the same form as the function. The only function whose derivative is itself is the zero function, the horizontal line f(x) = 0, as well as e^x among the nonzero examples discussed here.

Michael
Let’s practice with a function that includes ordinary terms and an exponential term: f(x) = (3/5)x − 8/5 − (2/5)e^x. Differentiate each term separately. The derivative of (3/5)x is 3/5, the constant −8/5 has derivative zero, and the derivative of e^x is e^x.

Maria
The constant factor in front of e^x stays in place, so the result is f′(x) = 3/5 − (2/5)e^x. This is a good reminder that constants multiply the derivative; they don’t disappear.

Michael
Now consider f(x) = √(e^x − 1). Rewrite the square root as a one-half power: (e^x − 1)^(1/2). Then use the chain rule: differentiate the outside power, keep the inside, and multiply by the derivative of the inside.

Maria
The derivative of the outside gives one-half times (e^x − 1)^(−1/2), and the derivative of the inside, e^x − 1, is e^x. So f′(x) = e^x divided by 2√(e^x − 1). The negative one-half power is what puts the square root in the denominator.

Michael
That’s an instance of the general chain rule for exponentials: if u is a differentiable function of x, then the derivative of e^u is e^u times du/dx. You keep the exponential and multiply by the derivative of its exponent.

Maria
For example, take y = −4e^(−3x). The outside factor −4 stays, and differentiating the exponent −3x gives −3. So y′ = (−4)(−3)e^(−3x), which simplifies to 12e^(−3x).

Michael
The exponent can be a polynomial, too. For y = e^(x^3−5x^2), differentiate the exponent to get 3x^2 − 10x, then multiply by the unchanged exponential. Thus y′ = (3x^2 − 10x)e^(x^3−5x^2).

Maria
Sometimes we put the derivative of the exponent out front, as we just did, but it’s the same chain-rule idea either way. The essential move is to multiply e^u by the derivative of u.

Michael
Now let’s combine exponential differentiation with the quotient rule. Suppose f(x) = 6e^(4x)/(8x − 1). The numerator’s derivative is 24e^(4x), by the chain rule, and the denominator’s derivative is 8.

Maria
The quotient rule gives the denominator times the derivative of the numerator, minus the numerator times the derivative of the denominator, all over the denominator squared. That is [(8x − 1)24e^(4x) − 6e^(4x)·8] divided by (8x − 1)^2.

Michael
To simplify, factor 24e^(4x) out of the numerator. The remaining expression is (8x − 1) − 2, or 8x − 3. So f′(x) = 24e^(4x)(8x − 3)/(8x − 1)^2.

Maria
Factoring is especially helpful after the quotient rule: it turns a long numerator into something easier to read and check. And notice we used several tools together—chain rule, quotient rule, and algebra.

Michael
Here’s an application of derivatives as rates of change. A work of art bought in 1980 for $25,000 has estimated value v(t) = 25,000e^(t/10) dollars after t years. At t = 0, the exponential factor is 1, so the model starts at the stated $25,000.

Maria
To find the rate at which its value is changing, differentiate with respect to t. The derivative of e^(t/10) is e^(t/10) times 1/10, so v′(t) = 2,500e^(t/10). The derivative measures the rate of change in dollars per year.

Michael
The question asks for the rate in 2010, which is 30 years after 1980, so substitute t = 30. That gives v′(30) = 2,500e^3, approximately $50,213.84 per year. That’s the model’s estimated appreciation rate in 2010.

Maria
We can also recognize a simple pattern in certain differential equations. If the derivative of a function equals a constant k times the function itself—that is, y′ = ky—then the solutions have the form y = Ce^(kx), where C is a constant.

Michael
For y′ = −4y, k is −4, so all solutions are y = Ce^(−4x). The negative sign belongs in the exponent. If we had an initial value, we could use it to determine the particular value of C; without one, we leave C general.

Maria
We can check the result by differentiating: y′ = −4Ce^(−4x). The right-hand side of the original equation, −4y, is also −4Ce^(−4x), so the proposed solution satisfies the equation.

Michael
Now let’s turn to natural logarithms. The natural log, written ln, is a logarithm with base e. Its basic log properties work just like those of other logarithms: ln(ab) = ln(a) + ln(b), ln(a/b) = ln(a) − ln(b), and ln(a^k) = k ln(a).

Maria
And each property works in both directions. For example, addition of logs corresponds to multiplication inside one log, while subtraction corresponds to division. So ln 8 + ln 3 − ln 6 combines to ln((8·3)/6), which simplifies to ln 4.

Michael
For the power rule in reverse, take (1/3)ln 8. Move the one-third inside as an exponent: this is ln(8^(1/3)). The cube root of 8 is 2, so the expression becomes ln 2.

Maria
The natural log and the exponential function with base e are inverse functions, meaning they undo each other. So ln(e^x) = x, and e^(ln x) = x, wherever those expressions are defined.

Michael
That makes ln(e^7) straightforward: the log and exponential undo each other, leaving 7. But in e^(3 ln x), they aren’t immediately next to each other because of the 3.

Maria
Use the logarithm power rule to rewrite 3 ln x as ln(x^3). Then the expression is e^(ln(x^3)), and the inverse functions cancel, leaving x^3.

Michael
Natural logs also let us solve exponential equations when we can’t easily rewrite both sides with a common base. If e^x = 6, take the natural log of both sides. The left becomes ln(e^x) = x, so x = ln 6.

Maria
For e^(3x) = 12, take ln of both sides as well. That gives 3x = ln 12, so x = (ln 12)/3, or one-third ln 12. Don’t multiply one-third into 12; if you want, the power rule lets you rewrite the answer as ln(12^(1/3)).

Michael
Finally, the derivative rule for natural logs follows the chain rule. If u depends on x, then the derivative of ln(u) is (1/u)(du/dx)—in words, put the inside function in the denominator and multiply by its derivative.

Maria
For ln(4x) + ln 5, the second term is constant, so its derivative is zero. For the first term, use u = 4x: its derivative is (1/(4x))·4, which simplifies to 1/x.

Michael
And for ln(x^2 − 5x + 7), the inside is a polynomial. Its derivative is 2x − 5, so the result is (2x − 5)/(x^2 − 5x + 7). That’s the same pattern: derivative of the inside over the inside.

Maria
So we’ve connected the whole toolkit: identify exponential functions by their variable exponent, use exponent rules and common bases to simplify or solve, differentiate exponentials with the chain rule, and use natural-log properties, inverses, and derivatives to handle logarithmic expressions and equations.

Ask anything
We've read this whole study set, so questions about it get the best answers.