Graphing Logarithmic Functions — Cheat sheet
CHEAT SHEET · FREE
Choose “Save as PDF” in the print dialog.
On this page
The shape
y=logax: domain x>0, range every real y, vertical asymptote x=0.
| Base | Shape |
|---|
| a>1 | rises, slowly and forever |
| 0<a<1 | falls, slowly and forever |
The two are mirror images in the x-axis, because log1/ax=−logax.
Three points fix the curve
(a1,−1),
(1,0),
(a,1)
For y=log2x: (21,−1), (1,0), (2,1). Plot them, follow the shape, done.
(1,0) is on every logarithm graph, whatever the base.
Reflection in y = x
| y=ax | y=logax |
|---|
| domain | every real x | x>0 |
| range | y>0 | every real y |
| asymptote | horizontal, y=0 | vertical, x=0 |
| passes through | (0,1) | (1,0) |
Every row is the row above with the coordinates swapped.
Shifts
y=loga(x−h)+k
- asymptote x=h, domain x>h — the inside constant moves the wall
- +k lifts the curve and leaves the wall alone
Method for a shifted graph
Take f(x)=log2(x−3)+1:
- Wall where the argument is zero: x=3, so domain x>3
- Argument =1 at x=4: f(4)=0+1=1
- Argument =2 at x=5: f(5)=1+1=2
- Base above 1, so it rises from the wall through (4,1) and (5,2)
Traps
- A negative height never means a negative x. log3x=−2 gives x=91, not −9.
- Heights are negative exactly on 0<x<1.
- The curve is unbounded below near the wall, but never crosses it.
- log2x gains one unit of height each time x doubles.