Exponential Log and Inverse Functions
Exponential, logarithmic, and inverse functions are where calculus moves beyond polynomial behavior. Exponentials model quantities whose rate of change is proportional to the current amount. Logarithms undo exponential growth and convert multiplication into addition. Inverse functions reverse input-output roles, so their derivatives explain how rates change when a relationship is solved in the opposite direction.
These functions appear in growth and decay, compound interest, radioactive half-life, pH, sound intensity, population models, and change of scale. They also support many integration techniques and differential equations later in calculus.
Definitions
The natural exponential function is the unique function satisfying
For a positive base ,
The natural logarithm is the inverse of :
Logarithm laws follow from exponent laws:
An inverse function reverses a one-to-one function. If , then . The graphs of and are reflections across the line . A function is one-to-one if no horizontal line meets its graph more than once.
For inverse trigonometric functions, the original trigonometric functions must be restricted to intervals where they are one-to-one. For example, is the inverse of restricted to .
Key results
The core derivative formulas are
With the chain rule,
where for the logarithm.
The derivative of an inverse function is
provided . A proof sketch uses . Differentiating gives
so
Exponential growth and decay have the form
If , the quantity grows. If , it decays. The derivative is
so the rate of change is proportional to the current amount. The doubling time for is
and the half-life for is
Logarithmic differentiation is useful for products, quotients, and variable exponents. If for , then , so
Inverse trigonometric derivative formulas include
The domains are part of the result. The derivative of is real only for .
The change-of-base formula is often the simplest way to move between logarithms:
Since is a constant, differentiating gives . This is also why natural logarithms dominate calculus: base removes the extra constant from the derivative.
Logarithmic scales compress multiplicative change. If a quantity is multiplied by , its common logarithm increases by . If a quantity is multiplied by , its natural logarithm increases by . This is why logarithms are used for pH, decibels, earthquake magnitude, and data spanning many orders of magnitude. Calculus on a logarithmic scale often turns relative change into ordinary change:
The expression is the relative growth rate. If it is constant, the model is exponential. If it varies with time, the model may still be analyzed by integrating the relative growth rate.
Inverse-function derivatives have a geometric meaning. If the graph of has a steep tangent at , then the reflected graph of has a shallow tangent at . Slopes become reciprocals because reflection across swaps horizontal and vertical changes. This interpretation also explains why creates trouble: the reciprocal slope would be infinite, so the inverse has a vertical tangent or fails to be a differentiable function there.
In applications, exponential models should be checked against assumptions. Continuous compounding assumes growth occurs at every instant, not only once per year. Radioactive decay uses exponential behavior because each atom has a constant probability of decay per unit time. A population may grow approximately exponentially for a while, but limited resources eventually make a logistic or other constrained model more realistic.
Solving exponential equations usually means isolating the exponential expression and then taking logarithms. Solving logarithmic equations usually means combining logarithms carefully and then exponentiating. Each step must preserve the domain. For example, an equation involving automatically requires , and any solution outside that domain must be rejected even if it appears after algebraic manipulation.
The constant also appears as a limiting growth factor:
This limit connects continuous growth with increasingly frequent compounding. If interest at annual rate is compounded times per year, the growth factor over one year is
As increases without bound, the factor approaches . This is why is the natural continuous compounding model.
For inverse trigonometric functions, remember that the output is an angle in a restricted interval. The statement is not listing every angle whose sine is ; it gives the principal value in . Calculus formulas for inverse trigonometric derivatives rely on those principal branches.
Growth comparisons are another reason these functions are central. For large positive , exponential functions eventually outgrow every power , while logarithms grow more slowly than every positive power . These facts are often summarized by limits such as
for fixed and . They help estimate series, improper integrals, and algorithms.
They also explain why graph scales matter: exponential curves may look flat and then suddenly steep on ordinary axes, while logarithmic axes reveal multiplicative patterns more evenly across large ranges of data.
This matters in modeling, estimation, and asymptotic comparison.
Visual
| Function | Domain | Range | Derivative | Typical model |
|---|---|---|---|---|
| continuous growth | ||||
| base- scaling | ||||
| inverse growth scale | ||||
| angle from slope | ||||
| all real in model | positive | growth or decay |
Worked example 1: differentiate exponential and logarithmic expressions
Problem. Differentiate
on its domain.
Method.
- Find the domain. The exponential is defined for all real , but the logarithm requires
- Identify a product:
- Differentiate using the chain rule:
- Differentiate :
- Apply the product rule:
- Substitute:
Checked answer. A factored form is
Worked example 2: exponential decay and half-life
Problem. A substance has mass grams at time and decays continuously with half-life years. Find the model and the mass after years.
Method.
- Use the model
-
The initial mass gives .
-
Half-life means :
- Divide by :
- Take natural logs:
- Since ,
- The model is
- Evaluate at :
Checked answer. Numerically, , so
The answer is reasonable because years is half-lives, so the mass should be divided by .
The rate at can also be interpreted:
Using , the mass is decreasing at about
grams per year at that instant. The rate is smaller than it was initially because the remaining mass is smaller.
Code
from math import exp, log
def decay_model(initial_mass, half_life, t):
k = -log(2) / half_life
return initial_mass * exp(k * t)
for years in [0, 12, 24, 30]:
print(years, round(decay_model(80, 12, years), 4))
Common pitfalls
- Writing . Logarithms turn products into sums, not sums into sums.
- Forgetting domain restrictions such as for .
- Treating as . Inverse function notation is not reciprocal notation.
- Using the inverse derivative formula when . The inverse may have a vertical tangent or fail to be differentiable.
- Dropping the chain-rule factor in derivatives such as or .
- Confusing half-life with the decay constant. The decay constant is , not itself.
Connections
- Functions and Models: exponentials, logarithms, and inverses are major model families.
- Differentiation Rules: these functions expand the derivative rule set.
- Integration Techniques and Improper Integrals: logarithms often appear from integrating and rational functions.
- Sequences and Series: exponential and logarithmic comparisons help classify growth rates.