BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyThe High School: physics from the very first step

Exponentials and logarithms

Growth and decay by a fixed factor in each step, doubling time and half-life, the logarithm as the question "which power?", its laws, and how logarithms solve for an exponent.

You need this first

Full reading path (5 pages)
  1. Powers of ten and scientific notation (hs-0)
  2. Units and the SI system (hs-0)
  3. Solving and rearranging formulas (hs-0)
  4. Graphs, straight lines and slope (hs-0)
  5. Quadratics and power laws (hs-0)
On this page · 7 sections
  1. Growth and decay by a factor
  2. Logarithms
  3. The laws of logarithms
  4. The graph of the logarithm
  5. The number e and natural logarithms
  6. Logarithmic scales
  7. Summary

Some quantities grow by adding the same amount in each step: a car at steady speed covers the same distance every second. Others grow by multiplying by the same factor: a population of cells that doubles every hour, money earning interest on its interest. The second kind is exponential growth, and it soon outruns any steady increase. Its reverse, exponential decay, describes radioactive atoms and much else. Logarithms are the tool for asking how many steps such growth or decay takes.

Growth and decay by a factor#

If a quantity starts at aa and is multiplied by a factor bb in each step, then after xx steps it is

Exponential function
y=a bxy = a\,b^{x}
In words

y equals a b to the power x

Source: Siyavula, Mathematics Grade 10, Chapter 6: Functions, 6.5 Exponential functions, Sec. 6.5, Functions of the form y = ab^x + q (with q = 0)

If b>1b > 1 the quantity grows; if bb is between 0 and 1 it decays. A growth of 30% per step means a factor b=1.30b = 1.30; a loss of 20% per step means b=0.80b = 0.80. This is the same idea as Siyavula's growth formula: final value = initial value × (1 + growth rate)^(number of periods).

Worked example

Algae on a pond

A patch of algae covers 50 m² of a pond and grows by 30% each week. How large is it after 6 weeks?

The factor

Growing by 30% means multiplying by 1.30 each week.

Six steps

50×1.306=50×4.83=24150 \times 1.30^{6} = 50 \times 4.83 = 241 m². The area has almost quintupled.

Compare with steady growth

If the patch instead grew by a fixed 15 m² each week (30% of the starting 50 m²), it would cover only 50+6×15=14050 + 6 \times 15 = 140 m². Exponential growth pulls further ahead every week.

Exponential growth (factor 1.30 per week) and linear growth (15 m² per week), both from 50 m², computed from their formulas. They start together; after 12 weeks the exponential reaches about 1160 m² against 230 m².

Doubling time and half-life. For exponential growth, the time to double is always the same, wherever you start: that is a quick test for exponential behaviour. For decay, the time to halve is the half-life. After one half-life half is left, after two a quarter, after nn half-lives (12)n(\tfrac12)^{n}.

Logarithms#

Exponential growth raises the question: how many steps until the algae cover 1000 m²? That means solving 1.30x=201.30^{x} = 20 for an exponent, and the rules of earlier lessons cannot do it. The logarithm is defined exactly for this:

Definition of the logarithm
y=log⁡bx⟺x=by(b>0, b≠1, x>0)y = \log_{b} x \quad\Longleftrightarrow\quad x = b^{y} \qquad (b > 0,\ b \ne 1,\ x > 0)
In words

y equals log sub b x is equivalent to x equals b to the power y (b greater than 0, b is not equal to 1, x greater than 0)

In words: log⁡bx\log_{b} x is the power you must raise bb to, to get xx. So log⁡28=3\log_{2} 8 = 3 because 23=82^{3} = 8. The logarithm undoes the exponential, as a square root undoes squaring.

The most common base is 10, written just log⁡\log. The logarithm base 10 of a number is its power of ten from lesson 0.1: log⁡1000=3\log 1000 = 3, log⁡1=0\log 1 = 0, log⁡0.01=−2\log 0.01 = -2. For numbers between the powers, it gives a decimal: log⁡2≈0.301\log 2 \approx 0.301, because 100.301≈210^{0.301} \approx 2. Exponents need not be whole numbers: you met 101/2=10≈3.1610^{1/2} = \sqrt{10} \approx 3.16 in lesson 0.6, and a calculator gives any decimal power, such as 100.30110^{0.301}, in the same way. A decimal power lies between the whole powers on either side of it. Only positive numbers have a logarithm, since no power of a positive base is zero or negative.

The laws of logarithms#

Because logarithms are powers, the laws of exponents become laws of logarithms. Multiplying numbers adds their powers, so:

Laws of logarithms
log⁡(xy)=log⁡x+log⁡y,log⁡xy=log⁡x−log⁡y,log⁡(xn)=nlog⁡x\log(xy) = \log x + \log y, \qquad \log\frac{x}{y} = \log x - \log y, \qquad \log\left(x^{n}\right) = n \log x
In words

log (x y) equals log x plus log y, log x over y equals log x minus log y, log (x to the power n ) equals n log x

Source: Siyavula, Mathematics Grade 12, Chapter 2: Functions, 2.8 Enrichment: more on logarithms, Sec. 2.8, Laws of logarithms (the power law is in Sec. 2.6)

They hold for any base, as long as all logarithms use the same one. (Siyavula treats the first two as enrichment; they follow from bp bq=bp+qb^{p}\,b^{q} = b^{p+q} and bp/bq=bp−qb^{p}/b^{q} = b^{p-q}.) The third law is the one that solves for an exponent: it brings the exponent down in front.

Worked example

When does the algae cover 1000 m²?

Starting from 50 m² and growing by 30% per week, when does the algae cover 1000 m²?

Set up the equation

50×1.30x=100050 \times 1.30^{x} = 1000, so 1.30x=201.30^{x} = 20.

Take the logarithm of both sides

log⁡(1.30x)=log⁡20\log(1.30^{x}) = \log 20, and by the third law xlog⁡1.30=log⁡20x \log 1.30 = \log 20.

Divide

x=log⁡20log⁡1.30=1.3010.1139=11.4x = \dfrac{\log 20}{\log 1.30} = \dfrac{1.301}{0.1139} = 11.4 weeks.

Check

1.3011.4≈201.30^{11.4} \approx 20, and the graph above passes 1000 m² between weeks 11 and 12. (The same method gives a half-life: for decay by 20% per hour, 0.80x=0.50.80^{x} = 0.5 gives x=log⁡0.5/log⁡0.80≈3.1x = \log 0.5 / \log 0.80 \approx 3.1 hours.)

Dividing in the last step of that example, log⁡20/log⁡1.30\log 20 / \log 1.30, is an instance of the change-of-base rule: a logarithm in any base can be computed from logarithms in base 10.

Change of base
log⁡bx=log⁡xlog⁡b\log_{b} x = \frac{\log x}{\log b}
In words

log sub b x equals log x over the quantity log b

The graph of the logarithm#

Since the logarithm undoes the exponential, its graph is the graph of 10x10^{x} mirrored in the line y=xy = x: every point (p,q)(p, q) on one becomes (q,p)(q, p) on the other. The logarithm grows ever more slowly, passes through (1,0)(1, 0) because log⁡1=0\log 1 = 0, and does not exist for x≤0x \le 0.

y=10xy = 10^x and y=log⁡xy = \log x, computed from the functions: each is the mirror image of the other in the dashed line y=xy = x. The logarithm crosses the xx-axis at x=1x = 1 and exists only for positive xx.

The number e and natural logarithms#

One base appears everywhere in science: the number e≈2.718e \approx 2.718. The logarithm with base ee is the natural logarithm, written ln⁡x\ln x, so ln⁡x=log⁡ex\ln x = \log_{e} x. Calculators have both a LOG key (base 10) and an LN key (base ee); either works for solving equations like the one above, as long as you use the same one on both sides.

Why ee? Growth that happens smoothly all the time, rather than in steps, is written most simply as a power of ee. You will see in calculus why ee is the natural choice: the curve y=exy = e^{x} rises, at every point, at a rate equal to its own height.

Logarithmic scales#

When quantities range over many powers of ten, scientists often plot their logarithms instead. On a logarithmic scale, equal steps along the axis multiply the value by the same factor: each step from one mark to the next might be a factor of 10. An exponential curve becomes a straight line when you plot the logarithm of yy against xx, because log⁡(a bx)=log⁡a+xlog⁡b\log(a\,b^{x}) = \log a + x \log b is linear in xx with slope log⁡b\log b. And a power law y=kxny = kx^{n} (lesson 0.6) becomes a straight line when you plot log⁡y\log y against log⁡x\log x, with slope nn. That is how physicists find the power in a power law from measurements.

Summary#

  • Exponential change multiplies by the same factor each step: y=a bxy = a\,b^{x}, growth for b>1b > 1 and decay for 0<b<10 < b < 1. Doubling time and half-life stay the same throughout.
  • log⁡bx\log_{b} x is the power that turns bb into xx: y=log⁡bxy = \log_{b} x means x=byx = b^{y}. log⁡\log is base 10, ln⁡\ln is base e≈2.718e \approx 2.718.
  • log⁡(xy)=log⁡x+log⁡y\log(xy) = \log x + \log y, log⁡(x/y)=log⁡x−log⁡y\log(x/y) = \log x - \log y, log⁡(xn)=nlog⁡x\log(x^{n}) = n\log x.
  • To solve for an exponent, take the logarithm of both sides and bring the exponent down.
  • On logarithmic axes, exponentials and power laws become straight lines.

Symbols on this page

Show the 16 symbols used here
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
⟺\Longleftrightarrow if and only if.
If and only if: each statement implies the other. Say it: “is equivalent to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
ln⁡\ln natural logarithm.
Natural logarithm (base e ≈ 2.718). Say it: “log”.
log⁡\log logarithm.
Logarithm; log₁₀ is the base-10 logarithm. Say it: “log”.
aa a.
The starting value of an exponential, y = a bˣ. Say it: “a”.
kk k.
The constant in a power law y = kxⁿ. Say it: “k”.
xx x.
The number of steps (the exponent); in the logarithm laws, any positive number. Say it: “x”.
yy y.
The value of the growing or decaying quantity, y = a bˣ; in the logarithm, the power. Say it: “y”.
nn n.
A power (in log xⁿ = n log x), or a number of half-lives. Say it: “n”.
ee e.
The number e ≈ 2.718, the base of the natural logarithm ln. Say it: “e”.
bb b.
The growth factor per step (b > 1 growth, 0 < b < 1 decay); in log_b, the base of the logarithm. Say it: “b”.
qq q.
A second exponent, in b^p b^q = b^(p+q); in the graph section, the second coordinate of a point (p, q). Say it: “q”.
pp p.
An exponent, in b^p b^q = b^(p+q); in the graph section, the first coordinate of a point (p, q). Say it: “p”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 8 words used here

New here

logarithm.
The power to which a fixed base must be raised to give a number: log₁₀ 1000 = 3 because 10³ = 1000.
natural logarithm.
The logarithm to base e, about 2.718, written ln x: the power to which e must be raised to give x.

Also used

initial condition.
The state of a system at the starting time, such as its position and speed, which picks out one solution of its equation. Explained in Introduction to first-order systems.
graph.
The picture of a function: the curve y = f(x) for one variable, or the surface z = f(x, y) for two. Explained in Graphs, straight lines and slope.
linear.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
power law.
A relation in which one quantity is proportional to another raised to a fixed power, such as y ∝ x³. Explained in Quadratics and power laws.
inflation.
A proposed burst of enormously fast expansion in the first tiny fraction of a second, which made the universe smooth and flat. Explained in Inflation.

Academic

theory.
An organised body of ideas, laws and methods about a subject: a tested explanation of nature, or a branch or method of mathematics.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. A population of 200 grows by 50% each year. How large is it after 3 years?
  2. What is log⁡100.001\log_{10} 0.001?
  3. Which is equal to log⁡50+log⁡2\log 50 + \log 2?
  4. A substance has a half-life of 6 hours. What fraction is left after 24 hours?
  5. Solve 3x=503^{x} = 50.
0 of 5 answered

Flashcards

1 / 5