Exponential and logarithmic functions
Grain on a chessboard, a loan, radioactive decay and the decibel scale — one pair of functions describes them all. See what the graph of y = bˣ looks like and why y = log_b x is its mirror image, how solving an exponential equation comes down to comparing exponents, and where the domain of a logarithm comes from.
Before you start
This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:
- PowersA power is shorthand for multiplying the same factor by itself. Learn the base and the exponent, the laws of exponents, powers of a product and of a quotient, zero and negative exponents, the monotonicity of exponentiation, and scientific notation.
- LogarithmsA logarithm answers the question of which power a base has to be raised to in order to give a number. Learn the definition of log_a b, the conditions on the base and the argument, the common and natural logarithms, and the four properties that turn multiplication into addition.
- Transforming a graphOne curve, four moves: up, sideways, mirrored in an axis and stretched. See how a change in the formula turns into a movement of the curve, why f(x − 2) shifts the graph to the right rather than the left, and how a plain sine becomes y = a·sin(bx + c) with any amplitude and period you like.
Where this is used
Real situations where you count exactly the way this lesson teaches:
- Carbon-14 datingThe half-life of carbon-14 is 5730 years, so N(t) = N₀·(1/2)^(t/5730). An archaeologist measures 25% of the original isotope content in a find and solves (1/2)^(t/5730) = 0.25, that is t/5730 = 2 — the sample is 11,460 years old. At 12.5% it would come out at 17,190 years: each further halving is one more full period.
- Noise level in decibelsThe decibel scale is logarithmic: L = 10·log₁₀(I/I₀). A conversation with an intensity a billion times the hearing threshold measures 90 dB, and two such conversations at once measure not 180 dB but 93 dB, because doubling the intensity adds 10·log₁₀2 ≈ 3 dB. An acoustician designing a hall computes exactly this logarithm; the [decibel converter](/en/decibels) handles the quick conversions.
- Continuous compounding at a bankA deposit of 20,000 zloty at 4% a year with continuous compounding grows as K(t) = 20000·e^(0.04t). After 5 years that is 24,428 zloty, and the question "when will it grow by half" is the equation e^(0.04t) = 1.5, so t = ln 1.5 / 0.04 ≈ 10.1 years. Without a logarithm that answer cannot be computed at all, only guessed at.
- The pH of a solutionpH = −log₁₀[H⁺], so a solution with a hydrogen-ion concentration of 10⁻³ mol/l has pH 3. Orange juice at pH 3.5 is exactly 10 times less acidic than vinegar at pH 2.5, although only one step separates them on the scale — a food technologist reads a factor out of that single step, not a difference.
All formulas
The exponential function
domain: \mathbb{R}, range: (0,\ \infty)
The logarithmic function
domain: (0,\ \infty), range: \mathbb{R}
Mutually inverse
each one undoes what the other does
Exponential equation
one-to-one — which is why the exponents may be compared
Logarithmic equation
given x_1 > 0 and x_2 > 0
Radioactive decay
T — the half-life
The legend of the inventor of chess says he asked for grain: one on the first square, two on the second, four on the third and so on. The sixty-fourth square carries grains — more than humanity has produced in its entire history. That is not an exaggeration but an exponential function.
The exponential function
The variable stands in the exponent, not in the base — which is what separates from . The conditions on the base are not whims:
- , because for a negative base a rational exponent stops existing among the reals — has no value;
- , because for every , so the graph would be a horizontal line.
| property | ||
|---|---|---|
| domain | ||
| range | ||
| monotonicity | increasing | decreasing |
| common point | ||
| asymptote |
The range is the positive numbers and nothing else. A power of a positive base is never zero and never negative — for very small exponents it only shrinks, approaching the horizontal asymptote .
Shifts
The formula reads like any other graph transformation: a translation by . One consequence is worth remembering: the asymptote travels with the curve, so after the shift it sits at rather than at .
The logarithmic function
A logarithm is the operation inverse to raising to a power — answers "to what power must be raised to give ". Written as a function:
The domain is the positive numbers only, and this follows straight from the paragraph above: since a power of a positive base is always positive, there is no exponent that would give or a negative number. So there is nothing there to take a logarithm of.
The two functions are mutually inverse, which we write as two identities:
A reflection in the line swaps the coordinates — and that is the whole content of being inverse, treated at length in composition and inverse functions. The asymptotes and the two sets swap roles as well:
| domain | ||
| range | ||
| special point | ||
| asymptote | horizontal | vertical |
Exponential equations
The core curriculum solves these through the properties of the functions rather than with an apparatus of their own. The key property is being one-to-one:
Two equal powers of the same base must have equal exponents — because an exponential function is strictly monotone, so two different arguments cannot produce the same value. The whole method is therefore: bring both sides to the same base and compare the exponents.
When a common base cannot be found, you take a logarithm of both sides — and that is exactly the moment the pair of functions starts working together.
Logarithmic equations
Here the key is the definition of a logarithm itself:
together with — just as above — the one-to-one property, which turns into .
Domain assumptions are written down before solving, not after. The argument of a logarithm must be positive, so the work starts with an inequality.
The domain is sometimes the question in its own right. For we need , that is : the domain is the interval . Mind the sign — a negative coefficient flips the inequality.
Why this is everywhere
Exponential growth turns up wherever the increase is proportional to the amount present: money under compound interest, a bacterial population, the number of cases early in an epidemic. Exponential decay turns up wherever the loss is proportional to what is left: radioactive decay, coffee cooling, a drug clearing from the blood.
where is the half-life — the time after which half remains. After two such periods a quarter is left, after three an eighth.
Logarithms, in turn, serve to compress a scale: decibels, pH, earthquake magnitude and stellar magnitude are all logarithmic scales. Thanks to them a thousandfold difference in intensity fits into three marks instead of a thousand.
Practice
The set checks three skills: an exponential equation (bring to a common base, compare exponents), a logarithmic equation (apply the definition, then check the assumption) and the domain of a logarithm, which you type as an inequality, e.g. x > 3. Evaluating a single power or logarithm is practised in the numbers branch — here the subject is the functions, not the individual operation.
Practice
Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.
Common mistakes
- Confusing with — in the first the variable is the exponent, in the second the base, and they grow in completely different ways.
- Hunting for a zero of an exponential function — there is none; is always positive, and is an asymptote.
- Taking a logarithm of zero or of a negative number — the domain of a logarithm is the positive numbers only.
- Skipping the assumptions in a logarithmic equation — the arithmetic can produce a number outside the domain, and it must then be rejected.
- Flipping the inequality for a positive coefficient — in the condition is , not ; the sign flips only when dividing by a negative number.
- Believing has the asymptote — the upward shift carries the asymptote with it, so it sits at .
Formula card
Topic: Exponential and logarithmic functions
The exponential function
domain: \mathbb{R}, range: (0,\ \infty)
The logarithmic function
domain: (0,\ \infty), range: \mathbb{R}
Mutually inverse
each one undoes what the other does
Exponential equation
one-to-one — which is why the exponents may be compared
Logarithmic equation
given x_1 > 0 and x_2 > 0
Radioactive decay
T — the half-life
