Skip to content
Study Hall
Lesson 3 of 4Exponential & Logarithmic Functions
Unit 3 · Lesson 3 of 4

Graphs of Logarithmic Functions

is the inverse of , so it is that graph reflected in the line — turning the horizontal asymptote into a vertical one at .

4 min read11 practice questionsInteractiveAsk AI about this →

Key things to remember

  1. 1 is the inverse of ; its graph is the reflection of in the line .
  2. 2Parent function: domain , range , vertical asymptote , -intercept , and it passes through .
  3. 3Transformed form: — same parameter roles as every other function family.
  4. 4The vertical asymptote moves to ; the vertical shift does not move it.
  5. 5Domain of a transformed logarithm: solve . It is when and when .
  6. 6For , has no maximum and no horizontal asymptote — it rises forever, just very slowly.

You do not need to plot a logarithmic function point by point, because you already know what it looks like. A logarithm undoes an exponential, which makes the inverse function of — and the graph of any inverse is the original reflected in the line . Every feature of the logarithmic graph is a feature of the exponential graph with its coordinates swapped.

-2246y = 2ˣy = log₂ xy = x (mirror line)They undo each other2ˣ = y ⟺ log₂ y = xlog₂(2ˣ) = x2^(log₂ x) = x(0,1) ↔ (1,0)(1,2) ↔ (2,1)(2,4) ↔ (4,2)2ˣ: D = ℝ, R = y > 0log₂ x: D = x > 0, R = ℝdomain and rangeswap tooReflecting in y = x swaps every (a, b) for (b, a) — that reflection is exactly what taking an inverse does.
Fig 1Reflecting the exponential curve in the line y = x produces the logarithmic curve; the asymptote turns from horizontal to vertical.

Swapping the columns

To get points on , take points on and swap the coordinates. This is not a trick — it is exactly what taking an inverse means: the input and output trade places.

Point on Point on Reason
Swapping coordinates turns the y-intercept (0, 1) into the x-intercept (1, 0).
12345678-3-2-1123(½, −1)(1, 0)(2, 1)(4, 2)(8, 3)x = 0 is a vertical asymptoteas x → 0⁺, y → −∞ (2^(big negative) is tiny, never 0)x-intercept (1, 0)every log passes here: b⁰ = 1y = log₂ x— it answers "2 to what power gives x?"Domain: {x ∈ ℝ | x > 0}you can never take the log of 0 or of a negativeRange: {y ∈ ℝ}the output is unbounded both waysIt rises forever but ever more slowly: to gain 1 more in y you must multiply x by 2 again (1 → 2 → 4 → 8 → 16…).No x-value is ever 0 or less, so there is no left half of this graph at all.
Fig 2The anatomy of y = log b of x: a vertical asymptote at x = 0, an x-intercept at (1, 0), and slow unbounded growth to the right.

Key features of the parent function

  • Domain: . The argument of a logarithm must be positive, so the graph lives entirely to the right of the -axis.
  • Range: all real numbers, . This is the exponential's range and domain "all reals" swapping places.
  • Vertical asymptote at — the reflection of the exponential's horizontal asymptote . The curve dives downward forever as approaches 0 from the right.
  • -intercept at for every base, because always. There is no -intercept, since is not in the domain.
  • Passes through , because — this is how you read the base off a graph.
  • For the function increases forever, but more and more slowly. It has no upper bound and no horizontal asymptote — it just takes a very long time to get anywhere.
AExponential y = bˣ
  • Domain: all real numbers
  • Range: y > 0
  • Horizontal asymptote y = 0
  • y-intercept (0, 1)
  • Grows explosively fast
BLogarithmic y = log_b x
  • Domain: x > 0
  • Range: all real numbers
  • Vertical asymptote x = 0
  • x-intercept (1, 0)
  • Grows unboundedly but very slowly

Transformations

Logarithmic functions transform using the same framework as every other function family you have met. Nothing new has to be memorized — but the asymptote is vertical now, so it is , not , that moves it.

ParameterEffectMoves the asymptote?
aVertical stretch or compression by |a|; reflection in the x-axis if a < 0.No
kHorizontal stretch or compression by 1/|k|; reflection in the y-axis if k < 0.No
dHorizontal translation: d units right if d > 0, left if d < 0.Yes — to x = d
cVertical translation: c units up if c > 0, down if c < 0.No
Loading interactive…
Drag the parameters and watch the vertical asymptote follow d while the vertical shift c slides the curve without moving it.
How a transformation moves the asymptote
For an exponential, the vertical shift moved the horizontal asymptote. For a logarithm it is the opposite: the horizontal shift moves the vertical asymptote, from to . A vertical shift slides the curve up or down but leaves the asymptote exactly where it was, because the curve still plunges at the same -value. The fastest reliable way to find the domain is then to ignore the transformation vocabulary entirely and just demand that the argument be positive: solve . If that gives and the curve sits to the right of its asymptote; if it gives and the curve has been flipped to the left of it.
Factor before you read off the parameters
An argument like hides its parameters. Factor out the coefficient of first: , which reveals and . Reading straight off an unfactored expression is a guaranteed way to get the asymptote wrong.
VideoGraphs a transformed logarithm two ways: by applying the shifts and reflections to the parent graph, and by rewriting it in exponential form and plotting points, identifying the vertical asymptote along the way.Watch on YouTube

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
State the domain, range, asymptote, and two points on .
Example 2
For , describe the transformations, state the asymptote and domain, and find the -value where .
Example 3
Find the asymptote and domain of , and state which side of the asymptote the graph lies on.
Example 4
The graph of is stretched vertically by a factor of 2, then translated 6 units left and 5 units down. Write the equation and state the new domain.

Where marks get lost

  • Giving the asymptote of as or . The asymptote of a logarithmic graph is vertical, so it must be written as .
  • Writing the domain as for every logarithm, even after a translation. Always solve "argument " for the actual function in front of you.
  • Assuming the graph always sits to the right of its asymptote. When the graph is reflected in the -axis and sits to the left, as in .
  • Reading off an unfactored argument: in the asymptote is not . Factor first — — so the asymptote is .
  • Thinking the curve levels off or has a maximum because it looks flat on a calculator screen. It keeps climbing forever; reaches 6 only when is a million.

Flashcards 8

Relationship between and
Domain of
Range of
Asymptote of
+ 4 more

Practice

1
State the equation of the asymptote of .
2
What is the domain of ?
3
Find the value of on the graph of when .
4
What is the range of (with )?
5
State the domain of .
6
The graph of passes through the point . Find .
7
For , find when .
8
Which transformation moves the vertical asymptote of ?
9
State the asymptote of .
10
Match each feature of to the corresponding feature of .
Horizontal asymptote y = 0
y-intercept (0, 1)
Domain: all real numbers
Range: y > 0
Passes through (1, b)
11
Order the steps to find the domain and asymptote of .
  1. 1Read off the parameters: k = −3 and d = 2
  2. 2Solve 6 − 3x > 0 to get the domain x < 2
  3. 3State the asymptote as x = d, so x = 2
  4. 4Factor the coefficient of x out of the argument: 6 − 3x = −3(x − 2)

Spot a mistake on this page? Let us know