James's Math Hub
← Pre-Calc & Calculus

Lesson 4 / 5 · 12 min read

Exponentials & Logarithms

Growth, decay, and the function that turns multiplication into addition.

Exponential functions

An exponential function has the form f(x)=a⋅bxf(x) = a \cdot b^x where b>0b > 0 and b≠1b \neq 1.

  • If b>1b > 1, ff grows fast (compound interest, population growth).
  • If 0<b<10 < b < 1, ff decays toward zero (radioactive decay, cooling).

The most useful base is Euler's number e≈2.71828e \approx 2.71828. The function f(x)=exf(x) = e^x is the unique exponential whose slope equals its value at every point.

What is a logarithm?

A logarithm is the inverse of an exponential. log⁡b(y)=x\log_b(y) = x asks: "to what power do I raise bb to get yy?"

log⁡b(y)=x  ⟺  bx=y\log_b(y) = x \iff b^x = y

Examples.

  • log⁡2(8)=3\log_2(8) = 3 because 23=82^3 = 8.
  • log⁡10(1000)=3\log_{10}(1000) = 3 because 103=100010^3 = 1000.
  • ln⁡(e5)=5\ln(e^5) = 5 — ln⁡\ln is shorthand for log⁡e\log_e.

Log rules (the three you must know)

log⁡(xy)=log⁡(x)+log⁡(y)\log(xy) = \log(x) + \log(y) log⁡ ⁣(xy)=log⁡(x)−log⁡(y)\log\!\left(\frac{x}{y}\right) = \log(x) - \log(y) log⁡(xk)=klog⁡(x)\log(x^k) = k \log(x)

Each rule turns a harder operation (multiply, divide, power) into an easier one (add, subtract, multiply). Pre-calculator, this is how engineers did long multiplications.

Solving exponential equations

To solve for an exponent, take a log of both sides.

Example. 3x=81  ⟹  x=log⁡381=43^x = 81 \implies x = \log_3 81 = 4.

Example with ee. e2x=7  ⟹  2x=ln⁡7  ⟹  x=ln⁡72≈0.973e^{2x} = 7 \implies 2x = \ln 7 \implies x = \frac{\ln 7}{2} \approx 0.973.

Solving log equations

Exponentiate to undo the log.

Example. ln⁡(x)=3  ⟹  x=e3≈20.09\ln(x) = 3 \implies x = e^3 \approx 20.09.

Example. log⁡2(x+1)=5  ⟹  x+1=25=32  ⟹  x=31\log_2(x + 1) = 5 \implies x + 1 = 2^5 = 32 \implies x = 31.

Key takeaways

  • bx=y  ⟺  log⁡b(y)=xb^x = y \iff \log_b(y) = x. Logs and exponentials are inverse operations.
  • ln⁡=log⁡e\ln = \log_e, the natural log.
  • The log rules turn products into sums, quotients into differences, powers into multiplication.
  • To isolate an unknown exponent, take a log of both sides.