← Back to High School Math

Exponential & Logarithmic Functions

High School Math · Algebra 2Preview

1. Introduction

Exponential and logarithmic functions describe the mathematics of multiplicative change — the kind of change where a quantity grows or shrinks by a fixed factor over equal steps of time. Money in a savings account, a population of bacteria, the cooling of a cup of coffee, the decay of a radioactive sample, the loudness of sound, the acidity of a solution, the brightness of stars — all of these are most naturally described with exponentials and their inverses, logarithms.

The reason these functions feel different from lines is that lines change by a constant amount (add the same number each step) while exponentials change by a constant ratio (multiply by the same number each step). That difference is enormous: multiply by 22 repeatedly and you get 1,2,4,8,16,32,1, 2, 4, 8, 16, 32, \dots, an explosion that quickly outruns any straight line. Understanding this "constant percentage" behavior is the heart of the topic.

A logarithm is simply the question "what exponent do I need?" turned into a function. Because exponentials and logarithms are inverses, they undo each other, and that fact is the master key for solving equations in which the unknown sits up in an exponent. In this article we build both functions, derive every logarithm rule from the laws of exponents, learn the change-of-base formula, study growth and decay models, and develop a reliable toolkit for solving exponential and logarithmic equations — including how to spot and reject extraneous solutions.

You have already seen exponentials in sequences (2n2^n) and in scientific notation (3.2×1063.2 \times 10^6). Logarithms complete the picture by letting us solve for the exponent when the base and result are known — the exact operation needed for half-life problems, earthquake magnitudes, and any question of the form "how long until…?"

2. Core Concepts

2.1 The exponential function

An exponential function has the form

f(x)=abx,b>0, b1,f(x) = a\,b^{x}, \qquad b > 0,\ b \neq 1,

where bb is the base and a=f(0)a = f(0) is the initial value. We require b>0b > 0 so that bxb^x is defined for all real xx, and b1b \neq 1 because 1x=11^x = 1 is just a constant.

The base controls the shape:

  • If b>1b > 1, the function grows: as xx increases, bxb^x increases, faster and faster.
  • If 0<b<10 < b < 1, the function decays: as xx increases, bxb^x shrinks toward zero.

The defining feature is a constant multiplicative rate of change: increasing xx by 11 always multiplies the output by bb, because bx+1=bbxb^{x+1} = b \cdot b^{x}. Every exponential graph passes through (0,a)(0, a) and has the xx-axis as a horizontal asymptote (it approaches but never reaches y=0y = 0 for a0a \neq 0).

2.2 Exponent laws (the foundation)

Every logarithm rule is a mirror of an exponent law. Memorize these first:

bmbn=bm+n,bmbn=bmn,(bm)n=bmn,b^{m} \cdot b^{n} = b^{m+n}, \qquad \frac{b^{m}}{b^{n}} = b^{m-n}, \qquad (b^{m})^{n} = b^{mn}, b0=1,bn=1bn,b1/n=bn.b^{0} = 1, \qquad b^{-n} = \frac{1}{b^{n}}, \qquad b^{1/n} = \sqrt[n]{b}.

These laws are what make it possible to rewrite 8=238 = 2^3, 81=3481 = 3^4, and 16=2416 = 2^4 — the key step in "matching bases."

2.3 The natural base ee

One base is so convenient it gets its own letter: e2.71828e \approx 2.71828, the natural base. It arises from continuous growth: if a quantity grows continuously at rate rr, its size after time tt is P0ertP_0 e^{rt}. The function exe^x has a uniquely clean rate of change (its slope at any point equals its height), which is why calculus prefers it. For now, treat ee as just a particular base between 22 and 33.

2.4 Logarithms as inverse questions

A logarithm answers: "to what power must I raise the base to get this number?" Formally,

logby=x    bx=y.\log_b y = x \iff b^{x} = y.

So log28=3\log_2 8 = 3 because 23=82^3 = 8, and log101000=3\log_{10} 1000 = 3 because 103=100010^3 = 1000. The logarithm with base 1010 is the common log, often written log\log; the logarithm with base ee is the natural log, written ln\ln.

Because logb\log_b is the inverse of bxb^x, the two compose to the identity:

blogbx=x(x>0),logb ⁣(bx)=x  (all x).b^{\log_b x} = x \quad (x > 0), \qquad \log_b\!\left(b^{x}\right) = x \ \ (\text{all } x).

This inverse relationship is exactly what lets us "bring an exponent down" when solving equations.

2.5 Domain, range, and asymptotes

For f(x)=bxf(x) = b^x the domain is all real numbers and the range is y>0y > 0 — an exponential output is always positive. Inverting swaps these: for g(x)=logbxg(x) = \log_b x the domain is x>0x > 0 and the range is all real numbers. This is why the argument of a logarithm must be strictly positive: you can never take the log of zero or a negative number (within the real numbers), because no real power of a positive base produces them. The graph of logbx\log_b x has a vertical asymptote at x=0x = 0.

2.6 Deriving the logarithm rules from exponent laws

The log rules are not new magic — they are the exponent laws viewed through the inverse. Let M=bmM = b^{m} and N=bnN = b^{n}, so by definition m=logbMm = \log_b M and n=logbNn = \log_b N.

  • Product rule. Since MN=bmbn=bm+nMN = b^{m}b^{n} = b^{m+n}, taking logb\log_b gives logb(MN)=m+n=logbM+logbN\log_b(MN) = m + n = \log_b M + \log_b N.
  • Quotient rule. Since MN=bmn\dfrac{M}{N} = b^{m-n}, we get logb ⁣(MN)=mn=logbMlogbN\log_b\!\left(\dfrac{M}{N}\right) = m - n = \log_b M - \log_b N.
  • Power rule. Since Mk=(bm)k=bmkM^{k} = (b^{m})^{k} = b^{mk}, we get logb(Mk)=mk=klogbM\log_b(M^{k}) = mk = k\log_b M.

These three identities — turning products into sums, quotients into differences, and powers into coefficients — are the workhorses of the whole topic.

2.7 Change of base

Calculators usually have only log\log (base 1010) and ln\ln (base ee). To compute any other base, use the change-of-base formula:

logbx=logcxlogcb\log_b x = \frac{\log_c x}{\log_c b}

for any valid new base cc. Derivation: let y=logbxy = \log_b x, so by=xb^{y} = x. Take logc\log_c of both sides: ylogcb=logcxy\log_c b = \log_c x, hence y=logcxlogcby = \dfrac{\log_c x}{\log_c b}. In practice we pick c=10c = 10 or c=ec = e, e.g. log27=ln7ln21.94590.69312.807\log_2 7 = \dfrac{\ln 7}{\ln 2} \approx \dfrac{1.9459}{0.6931} \approx 2.807.

2.8 Growth and decay models

Real-world exponential change follows two standard templates:

  • Discrete (periodic) growth: A(t)=A0(1+r)tA(t) = A_0(1 + r)^{t}, where A0A_0 is the initial amount and rr is the growth rate per period. A 12%12\% annual increase means r=0.12r = 0.12, so each year multiplies by 1.121.12.
  • Continuous growth: A(t)=A0ektA(t) = A_0 e^{kt}, where kk is the continuous rate.
  • Decay: replace rr with a negative value or use 0<b<10 < b < 1. A 12%12\% annual decay means multiply by 0.880.88 each year: A(t)=A0(0.88)tA(t) = A_0(0.88)^{t}.

The half-life t1/2t_{1/2} of a decaying quantity satisfies A0bt1/2=A02A_0 \cdot b^{t_{1/2}} = \dfrac{A_0}{2}, so bt1/2=12b^{t_{1/2}} = \dfrac{1}{2}.

2.9 The graph of y=logbxy = \log_b x

The logarithm graph is the reflection of y=bxy = b^x across the line y=xy = x. Key features: it passes through (1,0)(1, 0) because logb1=0\log_b 1 = 0, and through (b,1)(b, 1) because logbb=1\log_b b = 1. It rises slowly for b>1b > 1 and falls slowly for 0<b<10 < b < 1. Unlike exponentials, log graphs have no horizontal asymptote but do have a vertical asymptote at x=0x = 0.

2.10 Extraneous solutions in log equations

Solving a log equation often requires condensing, which implicitly assumes every argument is positive. Algebra afterward can produce values that violate this assumption. Always substitute back into the original equation and reject any solution that makes an argument 0\le 0.

Even when no squaring is involved, the algebra of combining logarithms can introduce candidate values outside the domain. Treat domain checking as a mandatory final step, not an optional afterthought.

2.11 Compound interest connection

If you deposit PP at annual rate rr compounded nn times per year, the balance after tt years is

A=P(1+rn)nt.A = P\left(1 + \frac{r}{n}\right)^{nt}.

As nn \to \infty (continuous compounding), this becomes A=PertA = Pe^{rt}. The limit derivation uses the famous fact that (1+1n)ne\left(1 + \dfrac{1}{n}\right)^{n} \to e.

Example: 50005000 at 4%4\% compounded monthly for 1010 years gives A=5000(1+0.0412)1205000(1.4908)7454A = 5000\left(1 + \dfrac{0.04}{12}\right)^{120} \approx 5000(1.4908) \approx 7454.

2.12 pH and the decibel scale

Logarithmic scales compress enormous ranges into manageable numbers. pH is defined as pH=log[H+]\text{pH} = -\log[\text{H}^+], so each unit decrease in pH means ten times more acidity. The decibel level of sound is β=10log ⁣(II0)\beta = 10\log\!\left(\dfrac{I}{I_0}\right), where II is intensity and I0I_0 is a reference level. Doubling intensity adds only about 33 dB, not double the decibels — a consequence of the log scale.

Continue reading with Premium

Upgrade to read the full article and unlock all Premium features.

Free

  • Unlimited practice — all difficulties
  • 3 hints / day
  • Community solutions
  • 2 timed mocks / month

Premium

  • Full article + all 57+ theory guides
  • Unlimited hints on practice problems
  • Unlimited timed mock exams & PDF worksheets
Log in