Grade by GradeEssential student suppliesSign in
C. Content · Pre-calculus 12: Transformations, Exponents and Logarithms, Series, Polynomials, Rational Functions and Trigonometry

Logarithms: Meaning, Evaluating and Graphing

BC PREC 12: logarithmsAbout 75 minutes
Learning goals
  • I can switch between exponential form and logarithmic form.
  • I can evaluate logarithms with different bases, including common and natural logarithms.
  • I can graph y = log_c x as the inverse of y = c^x, with transformations.

Words to know

logarithm
log_c x is the exponent you put on c to get x. log_c x = y means c^y = x.
common logarithm
A logarithm with base 10, written log x.
natural logarithm
A logarithm with base e, written ln x.
vertical asymptote
A line x = h that a graph gets closer to but never reaches.
change of base
log_c x = log x / log c, which lets a calculator evaluate any base.

A logarithm is an exponent

Ask: "2 to what power gives 32?" The answer, 5, is a logarithm: log_2 32 = 5.

In general, for c > 0, c ≠ 1 and x > 0:

log_c x = y means exactly the same as c^y = x.

The base of the log is the base of the power, and the log itself is the exponent. You can only take the log of a positive number, because c^y is always positive.

Exponential formLogarithmic formIn words
2^5 = 32log_2 32 = 52 to the 5 is 32
3^(-2) = 1/9log_3 (1/9) = -23 to the -2 is 1/9
10^3 = 1000log 1000 = 3common log (base 10)
e^2 ≈ 7.389ln 7.389 ≈ 2natural log (base e)
5^0 = 1log_5 1 = 0the log of 1 is always 0
4^(3/2) = 8log_4 8 = 3/2√4 = 2, then 2^3 = 8
The same facts in exponential and logarithmic form.
Worked example

Example 1: Evaluate without a calculator

Evaluate log_3 81, log_2 (1/8), log 0.01 and log_9 27.

  1. 3^4 = 81, so log_3 81 = 4.
  2. 2^(-3) = 1/8, so log_2 (1/8) = -3.
  3. 10^(-2) = 0.01, so log 0.01 = -2.
  4. Write both as powers of 3: 9^y = 27 means 3^(2y) = 3^3, so y = 3/2.

4, -3, -2 and 3/2

Worked example

Example 2: Different bases on a calculator

Evaluate log_3 20 to three decimal places, and estimate log_2 50 first.

  1. Change of base: log_3 20 = log 20 / log 3 ≈ 1.3010/0.4771 ≈ 2.727.
  2. Check: 3^2.727 ≈ 20 ✓
  3. Estimate: 2^5 = 32 and 2^6 = 64, so log_2 50 is between 5 and 6.
  4. Calculator: log 50 / log 2 ≈ 5.644 ✓ (it is between 5 and 6).

log_3 20 ≈ 2.727 and log_2 50 ≈ 5.644

The graph of y = log_c x

y = log_c x is the inverse of y = c^x, so its graph is the reflection of y = c^x in the line y = x. Every point (x, y) on y = 2^x becomes (y, x) on y = log_2 x.

For c > 1:

  • domain x > 0, range all real numbers;
  • vertical asymptote x = 0;
  • x-intercept (1, 0), and it passes through (c, 1);
  • it rises slowly to the right.
xy-2246-2246y = 2^xy = log_2 xy = x
y = 2^x (thin) and y = log_2 x (thick) are reflections of each other in y = x (dashed). The points (0, 1), (1, 2), (2, 4) on the exponential match (1, 0), (2, 1), (4, 2) on the logarithm.
Worked example

Example 3: A transformed logarithm

Sketch y = log_2(x - 3) + 1. Give its asymptote, domain and x-intercept.

  1. Mapping rule: (x, y) → (x + 3, y + 1).
  2. (1, 0) → (4, 1); (2, 1) → (5, 2); (4, 2) → (7, 3).
  3. The asymptote x = 0 moves to x = 3, so the domain is x > 3.
  4. x-intercept: log_2(x - 3) = -1, so x - 3 = 2^(-1) = 0.5 and x = 3.5.

Asymptote x = 3, domain x > 3, x-intercept 3.5

Say it as a question

Read log_c x out loud as "c to what power gives x?" For log_5 125 ask "5 to what power is 125?" The answer is 3. This works for fractions too: "2 to what power is 1/16?" is -4.

Hands-on activity

Make a power table

Fold a page into two columns. On the left, list powers of 2 from 2^(-3) to 2^10 (1/8 up to 1024). On the right, rewrite each as a logarithm, such as log_2 1024 = 10. Use your table to estimate log_2 300 (between 8 and 9), then check with change of base (about 8.229).

Just for fun

Odd fact: the Scottish mathematician John Napier published the first tables of logarithms in 1614. Before calculators, astronomers and navigators used log tables to turn long multiplications into additions, saving hours of work.

Your turn

1

Write 3^4 = 81 in logarithmic form.

2

Write log_5 125 = 3 in exponential form.

3

Evaluate log_2 64, log 0.01 and ln 1.

4

Evaluate log_9 27.

5

Solve log_x 49 = 2 for x.

6

State the domain and asymptote of y = log(x + 4) - 2.

More practice

1

Evaluate log_7 50 to three decimal places.

2

Between which two whole numbers is log_3 100?

3

Write the inverse of y = 5^x.

4

Find the x-intercept of y = log_2(x - 3) + 1.

5

Simplify 10^(log 7).

Check your understanding

Quiz

1.

What is log_4 64?

2.

Which is the exponential form of log_2 (1/8) = -3?

3.

What is the vertical asymptote of y = log_3(x + 2)?

4.

What is ln e^5?

5.

To three decimal places, log_6 30 is:

For parents and teachers

How to help: Ask your teen to turn every log into a question: "base to what power gives this number?" Practise with powers they already know.

Common mistakes:

  • Writing log_2 8 = 4 (confusing the exponent with 8/2).
  • Trying to take the log of 0 or a negative number.
  • Using log 2 / log 50 instead of log 50 / log 2 for change of base.
  • Forgetting that the asymptote of a log graph is vertical.