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.
a = 2: vertical stretch by a factor of 2.
h = 3: translate 3 units right (asymptote moves to x = 3).
k = 1: translate 1 unit up.
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.
a = −½: vertical compression by a factor of ½, plus a reflection in the x-axis.
h = −2: translate 2 units left (asymptote moves to x = −2).
k = −3: translate 3 units down.
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.
a = −1: reflection in the x-axis.
h = 1: translate 1 unit right (asymptote moves to x = 1).
k = 2: translate 2 units up.
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.
None yet. Good luck!
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.