← Pre-Calculus 12 · All tools

Logarithms

BC Pre-Calculus 12 · Logarithms · Explore, practise, and master logs as the inverse of exponents.

Free learning tool. No account, no sign-in. Just open and play.

Logarithm Explorer

Drag the sliders and watch the graph change. The general form is y = a · logB(x − h) + k. A logarithm is an exponent: logB(x) answers “B to what power gives x?”

y = 1 · log_2(x − 0) + 0

parent logB(x)    transformed graph    inverse y = Bˣ

What each parameter does

Key points and their images

A point (x, y) on the parent graph maps to (x + h, a·y + k) on the transformed graph. The vertical asymptote moves with h: the graph only exists for x > h.

Point on logB(x)Image point

Worked Examples

Read the steps, then cover the answer and try each one yourself first.

Each click replaces all three examples with a fresh set.

Example 1 — Stretch and shift a log graph

Describe the transformations that map y = log2(x) onto y = 2·log2(x − 3) + 1.

  1. a = 2: vertical stretch by a factor of 2.
  2. h = 3: translate 3 units right (asymptote moves to x = 3).
  3. k = 1: translate 1 unit up.
  4. Check: the point (1, 0) maps to (1 + 3, 2 · 0 + 1) = (4, 1). ✔

Red dot: the check point from the steps.

Example 2 — Reflection and compression

Describe the transformations that map y = log2(x) onto y = −½·log2(x + 2) − 3.

  1. a = −½: vertical compression by a factor of ½, plus a reflection in the x-axis.
  2. h = −2: translate 2 units left (asymptote moves to x = −2).
  3. k = −3: translate 3 units down.
  4. Check: the point (1, 0) maps to (1 + (−2), −½ · 0 + (−3)) = (−1, −3). ✔

Red dot: the check point from the steps.

Example 3 — Reflection with a new base

Describe the transformations that map y = log3(x) onto y = −log3(x − 1) + 2.

  1. a = −1: reflection in the x-axis.
  2. h = 1: translate 1 unit right (asymptote moves to x = 1).
  3. k = 2: translate 2 units up.
  4. Check: the point (1, 0) maps to (1 + 1, −1 · 0 + 2) = (2, 2). ✔

Red dot: the check point from the steps.

Practice Generator

Fresh questions every time — the numbers change, so you cannot just memorize answers. Hint first, try it, then check the full solution.

Score: 0 / 0

Press “New question” to start.

Your mistakes (saved in this browser only)

Questions you got wrong are listed here so you can review them. Nothing leaves your computer.

Printable Worksheet

Make a paper worksheet from this chapter's questions — pick a topic, generate a set, and print it (or save it as a PDF). The questions come from the same generator as the Practice Generator above, with the same answers.

Tip: a mixed set always includes at least one graph-reading question. In the print dialog, choose “Save as PDF” to keep a copy.

One-Page Summary

Log lawWhat it says
Product lawlogB(M·N) = logB(M) + logB(N). Multiplying inside becomes adding outside.
Quotient lawlogB(M/N) = logB(M) − logB(N). Dividing inside becomes subtracting outside.
Power lawlogB(Mp) = p·logB(M). An exponent inside becomes a coefficient outside.
Change of baselogB(M) = log(M)log(B). Any base can be rewritten with a base your calculator has.
Inverse pairy = logB(x) and y = Bˣ undo each other; their graphs mirror across y = x. Key points swap: (1, 0) ↔ (0, 1), (B, 1) ↔ (1, B).
Domain & asymptotelogB(x) only exists for x > 0; the graph has a vertical asymptote at x = 0. For y = a·logB(x − h) + k, the domain is x > h and the asymptote is x = h.

Common mistakes