Resources For Teachers For Tutors For Students & Parents Pricing
Year 11 Methods (Unit 1 & 2) Exponential Functions And Logarithms

Graphs Of Logarithm Functions

20 practice questions 1 video lesson Theory + worked examples

Understand the graphs of logarithm functions for Queensland Year 11 Mathematical Methods (QCAA). A logarithm graph rises slowly and is the reflection of an exponential graph in the line y equals x.

You will learn to sketch the curve, locate its vertical asymptote and intercept, state the domain and range, and describe the effect of the parameters that shift the graph — with applications such as decibels and the Richter scale.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Graphs Of Logarithm Functions - Video - Graphs of logarithmic functions Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

In Year 11 Mathematical Methods (QCAA, Unit 2), the graph of \(y=\log_a x\) (with \(a>1\)) is an increasing curve that rises slowly, passes through \((1,0)\), and has a vertical asymptote at \(x=0\). This page describes those qualitative features, the effect of the parameters \(h\) and \(k\) in \(y=\log_a(x-h)+k\), how to find the \(x\)-intercept, and the reflection of \(y=a^{x}\) in the line \(y=x\).

The logarithm function \(y=\log_a x\) (for a base \(a>1\)) is the inverse of the exponential \(y=a^{x}\). It is defined only for \(x>0\), is always increasing, and grows more and more slowly as \(x\) increases. Every such graph passes through \((1,0)\) because \(\log_a 1=0\).

The line \(x=0\) is a vertical asymptote: as \(x\) approaches \(0\) from the right the curve plunges downwards without ever touching the \(y\)-axis. For the transformed curve \(y=\log_a(x-h)+k\), the parameter \(h\) shifts everything right, so the asymptote becomes \(x=h\), the domain is \(x>h\), and the parameter \(k\) shifts the curve up. The range is always all real numbers.

Because \(y=\log_a x\) and \(y=a^{x}\) are inverses, each graph is the reflection of the other in the line \(y=x\).

The asymptote is the key feature. For \(y=\log_a(x-h)+k\) the vertical asymptote is \(x=h\) and the domain is \(x>h\); to find the \(x\)-intercept set \(y=0\) and solve.
The graph of y equals log base 2 of xAn increasing curve through (1,0), (2,1) and (4,2) with a vertical asymptote at x equals 0. x y (1,0)
\(y=\log_2 x\): increasing, through \((1,0)\), with the asymptote \(x=0\) (red dashed).
The graph of y equals log base 2 of x minus 2A log curve shifted right, with its vertical asymptote at x equals 2 and x-intercept at (3,0). x y (3,0)
\(y=\log_2(x-2)\): the parameter \(h=2\) moves the asymptote to \(x=2\).

General transformed logarithm function (\(a>1\)):

\[y=\log_a(x-h)+k\]
y=loga(x-h)+k

Vertical asymptote and domain:

\[x=h\qquad \text{domain } x>h\qquad \text{range all real } y\]
x=h

Passes through the point where the log is zero, i.e. \(x-h=1\):

\[\big(h+1,\ k\big)\]
(h+1,k)
Inverse relationship: \(y=\log_a x\) is the reflection of \(y=a^{x}\) in the line \(y=x\); the exponential’s horizontal asymptote \(y=0\) becomes the logarithm’s vertical asymptote \(x=0\).

How to sketch or analyse \(y=\log_a(x-h)+k\)

  1. Asymptote: set the argument to zero, \(x-h=0\), so the vertical asymptote is \(x=h\) and the domain is \(x>h\).
  2. Key point: the log is zero when \(x-h=1\), giving the point \((h+1,\,k)\); plot one or two more values to show the slow rise.
  3. \(x\)-intercept: set \(y=0\), isolate the logarithm, then rewrite in index form to solve for \(x\).
Example 1 — Features of y = log_2 x
State the vertical asymptote, the domain, and one point on \(y=\log_2 x\), then describe its shape.
Solution

Asymptote — the argument is \(x\), so set it to zero:

\(x\)\(=\)\(0\)

The vertical asymptote is the line \(x=0\) (the \(y\)-axis), so the domain is \(x>0\).

A point — the log is zero when the argument is \(1\):

\(\log_2 1\)\(=\)\(0\)

So the curve passes through \((1,0)\); it is increasing and rises slowly (e.g. \((2,1)\), \((4,2)\)).

Asymptote \(x=0\), domain \(x>0\), through \((1,0)\); increasing and slow.

y equals log base 2 of x with asymptote x equals 0Increasing log curve through (1,0), (2,1), (4,2); vertical asymptote at x equals 0. x y
x=0
Example 2 — x-intercept of a shifted-down graph
Find the \(x\)-intercept of \(y=\log_3 x-2\).
Solution

Set \(y=0\) and isolate the logarithm:

\(0\)\(=\)\(\log_3 x-2\)
\(\log_3 x\)\(=\)\(2\)

Rewrite in index form and equate:

\(x\)\(=\)\(3^{2}\)
\(x\)\(=\)\(9\)

\(x\)-intercept at \((9,\,0)\) (asymptote still \(x=0\)).

y equals log base 3 of x minus 2 with x-intercept at 9Log curve shifted down two units, meeting the x-axis at (9,0) with a vertical asymptote at x equals 0. x y (9,0)
(9,0)
Example 3 — A horizontal shift
For \(y=\log_2(x-1)\), state the asymptote and domain, and find the \(x\)-intercept.
Solution

Asymptote — set the argument to zero:

\(x-1\)\(=\)\(0\)
\(x\)\(=\)\(1\)

Vertical asymptote \(x=1\), so the domain is \(x>1\).

\(x\)-intercept — set \(y=0\), then use index form:

\(\log_2(x-1)\)\(=\)\(0\)
\(x-1\)\(=\)\(2^{0}=1\)
\(x\)\(=\)\(2\)

Asymptote \(x=1\), domain \(x>1\), \(x\)-intercept \((2,\,0)\).

y equals log base 2 of x minus 1 with asymptote x equals 1Log curve shifted right one unit, with vertical asymptote at x equals 1 and x-intercept at (2,0). x y (2,0)
(2,0)
Example 4 — Both parameters, h and k
For \(y=\log_5(x+4)-1\), state the asymptote and domain, and find the \(x\)-intercept.
Solution

Asymptote — set the argument to zero (here \(h=-4\)):

\(x+4\)\(=\)\(0\)
\(x\)\(=\)\(-4\)

Vertical asymptote \(x=-4\), so the domain is \(x>-4\).

\(x\)-intercept — set \(y=0\), isolate the log, then index form:

\(0\)\(=\)\(\log_5(x+4)-1\)
\(\log_5(x+4)\)\(=\)\(1\)
\(x+4\)\(=\)\(5^{1}=5\)
\(x\)\(=\)\(1\)

Asymptote \(x=-4\), domain \(x>-4\), \(x\)-intercept \((1,\,0)\).

y equals log base 5 of x plus 4 minus 1 with asymptote x equals negative 4Log curve shifted left four and down one, with vertical asymptote at x equals negative 4 and x-intercept at (1,0). x y (1,0)
(1,0)

Common pitfalls

Putting the asymptote in the wrong place. For \(y=\log_a(x-h)+k\) the asymptote is \(x=h\) — the value that makes the argument zero — not \(x=0\) once the graph is shifted.
Thinking a log graph has a maximum or levels off. It keeps rising for all \(x>h\); the range is all real numbers. It is the exponential that has a horizontal asymptote.
Confusing domain and range. The domain is restricted (\(x>h\)); the range is unrestricted. It is the reverse of the exponential graph.

Frequently asked questions

What does the graph of y = log_a x look like for a greater than 1?

An increasing curve that rises slowly, passes through \((1,0)\), and has a vertical asymptote at \(x=0\); the domain is \(x>0\).

Where is the vertical asymptote of y = log_a(x - h) + k?

At \(x=h\) — the value of \(x\) that makes the argument \(x-h\) equal to zero. The domain is \(x>h\).

How do you find the x-intercept of a logarithm graph?

Set \(y=0\), isolate the logarithm, then rewrite it in index form and solve for \(x\).

What is the domain and range of y = log_a x?

The domain is \(x>0\) and the range is all real numbers, because the curve keeps rising without bound.

How is the log graph related to the exponential graph?

\(y=\log_a x\) is the inverse of \(y=a^{x}\), so it is the reflection of the exponential curve in the line \(y=x\).

Does a logarithm graph ever reach or cross its asymptote?

No. The curve gets closer and closer to the vertical asymptote \(x=h\) but never touches or crosses it.