girgit.org

Continuity and Differentiability

Faster than any polynomial: exponential and logarithmic functions

The big ideaThe exponential function \( b^x \) (with \( b \gt 1 \)) grows faster than any polynomial, and the logarithm \( \log_b x \) is its undo button: \( \log_b a = x \) exactly when \( b^x = a \).

In simple words

Some things grow by adding the same amount each step. Others grow by doubling each step. Doubling starts slow but soon leaves everything else far behind. The log asks the reverse question: how many times do I have to multiply to reach this number?

So far you have met polynomials, rational functions and trigonometric functions. This lesson adds a new pair: exponential functions and logarithmic functions. Many facts here are stated without full proofs; the proofs need more advanced maths.

Something that grows faster than any power

The graphs of \( x, x^2, x^3, x^4 \) get steeper as the power goes up: for \( x \gt 1 \), the same step in x gives a bigger rise for a higher power. Going from \( x = 1 \) to \( x = 2 \), \( x^{10} \) rises from 1 to 1024 while \( x^5 \) only reaches 32. So higher degree means faster growth.

Is there anything that beats every power of x? Yes: \( 2^x \). Compare it with \( x^{10} \):

\( x \)\( x^{10} \)\( 2^x \)
10\( 10^{10} \)about \( 10^3 \)
60about \( 6 \times 10^{17} \)about \( 1.2 \times 10^{18} \)
100\( 10^{20} \)about \( 1.3 \times 10^{30} \)

\( x^{10} \) wins at first, but \( 2^x \) catches up (somewhere just below \( x = 59 \)) and then runs away for ever. The same happens against \( x^{100} \) or any power: the exponential always overtakes in the end.

Try it: run the race yourself, and raise the power to see if the exponential still wins.

The exponential function

For a base \( b \gt 1 \), the exponential function is \( y = b^x \). Its main features:

  1. Domain: all real numbers \( \mathbf{R} \).
  2. Range: all positive real numbers. \( b^x \) is never 0 or negative.
  3. It always passes through \( (0, 1) \), since \( b^0 = 1 \).
  4. It is always increasing: the graph rises from left to right.
  5. For large negative x, \( b^x \) is very close to 0: on the left the graph creeps along just above the x-axis but never touches it.

Base 10 gives the common exponential function \( 10^x \). The most important base, though, is a number called \( e \):

\[ e = 1 + \frac{1}{1!} + \frac{1}{2!} + \frac{1}{3!} + \dots \approx 2.718 \]

This sum lies between 2 and 3. \( y = e^x \) is the natural exponential function. We will soon see what makes it "natural".

The logarithm: the undo button

Let \( b \gt 1 \). The logarithm of a to base b is x if \( b^x = a \). We write \( \log_b a = x \).

  • \( 3^4 = 81 \), so \( \log_3 81 = 4 \).
  • \( 10^{-2} = 0.01 \), so \( \log_{10} 0.01 = -2 \).
  • \( 64 = 2^6 = 8^2 \), so \( \log_2 64 = 6 \) and \( \log_8 64 = 2 \).

As a function, \( \log_b : \mathbf{R}^+ \to \mathbf{R} \), \( x \mapsto \log_b x \). Base 10 gives common logarithms; base \( e \) gives natural logarithms, often written \( \ln x \). In this chapter, \( \log x \) always means \( \log_e x \).

Features of \( \log_b x \) for \( b \gt 1 \):

  1. Domain: positive reals \( \mathbf{R}^+ \). You cannot take the log of 0 or a negative number.
  2. Range: all real numbers.
  3. It always passes through \( (1, 0) \).
  4. It is always increasing.
  5. As x comes down towards 0, \( \log x \) drops below any number you name: the graph runs down along the y-axis in the fourth quadrant, never touching it.
  6. The graphs of \( y = e^x \) and \( y = \log x \) are mirror images in the line y = x, as any function and its inverse are.

Try it: move a point on \( b^x \) and watch its mirror move on the log.

The rules for logs

Laws of logarithms (base b > 1, positive inputs)

  • Product: \( \log_b(pq) = \log_b p + \log_b q \)
  • Quotient: \( \log_b \frac{x}{y} = \log_b x - \log_b y \)
  • Power: \( \log_b p^n = n\log_b p \) (true for any real n)
  • Change of base: \( \log_a p = \dfrac{\log_b p}{\log_b a} \)

Why the product law holds. Say \( \log_b p = \beta \) and \( \log_b q = \gamma \), so \( p = b^\beta \) and \( q = b^\gamma \). Then \( pq = b^{\beta}b^{\gamma} = b^{\beta + \gamma} \), so \( \log_b(pq) = \beta + \gamma \). Putting \( q = p \) gives \( \log_b p^2 = 2\log_b p \), and repeating gives the power law.

Why change of base holds. Say \( \log_a p = \alpha \) and \( \log_b a = \gamma \), so \( p = a^\alpha \) and \( a = b^\gamma \). Then \( p = (b^\gamma)^\alpha = b^{\gamma\alpha} \), so \( \log_b p = \alpha\gamma \), and \( \alpha = \frac{\log_b p}{\gamma} \).

Guess first: is e^(log x) = x for every x?

Log undoes exp, so guess: is \( e^{\log x} = x \) true for all real x?

See what happens
Only for \( x \gt 0 \). For \( x \le 0 \), \( \log x \) is not defined at all, so the left side does not exist. For \( x \gt 0 \), put \( y = e^{\log x} \); taking log gives \( \log y = \log x \cdot \log e = \log x \), so \( y = x \). Always check the domain before using an identity.

Try it. (a) Find \( \log_5 125 \) and \( \log_{4} 2 \). (b) Write \( \log \frac{x^3}{\sqrt{x + 1}} \) using the log laws. (c) Use change of base to write \( \log_{2} 7 \) with natural logs.

Answer
(a) \( 5^3 = 125 \), so 3; \( 4^{1/2} = 2 \), so \( \frac{1}{2} \). (b) \( 3\log x - \frac{1}{2}\log(x + 1) \), for \( x \gt 0 \). (c) \( \frac{\log 7}{\log 2} \).

Words to know

Exponential function
\( y = b^x \) with \( b \gt 1 \): always positive, always increasing.
e
The number \( 1 + \frac{1}{1!} + \frac{1}{2!} + \dots \approx 2.718 \).
Natural exponential
\( y = e^x \).
Logarithm \( \log_b a \)
The power you raise b to, to get a.
Natural logarithm
Log to base e, written \( \ln x \) or (in this chapter) \( \log x \).
Common logarithm
Log to base 10.

What is \( \log_2 \frac{1}{8} \)?

  1. 3
  2. −3
  3. It is not defined

Which is true of \( y = \log x \) (base e)?

  1. Its graph passes through \( (0, 1) \)
  2. Its graph passes through \( (1, 0) \)
  3. Its domain is all real numbers

For large x, which is bigger: \( x^{50} \) or \( 1.1^x \)?

  1. \( x^{50} \), always
  2. \( 1.1^x \), eventually
  3. They stay equal