Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 10 Maths Advanced Logarithms and Polynomials

Logarithm Graphs

20 practice questions 2 video lessons Theory + worked examples

The graph of \(y=\log_a x\) is the reflection of the exponential graph \(y=a^x\) in the line \(y=x\). For \(a \gt 1\) it increases, passes through \((1,0)\) and has the \(y\)-axis as a vertical asymptote. In NSW Year 10 Advanced maths you match logarithm graphs to equations and describe reflections and translations (NESA outcome MA5‑LOG‑P‑01).

You will match log graphs to their equations, including reflections and shifts, using the asymptote and domain to rule options out. You will find the base from a point on the curve, find asymptotes and intercepts of shifted graphs, and see which bases give a decreasing graph. Harder questions find unknown constants from two points, find where two log graphs meet, and link logs whose bases are a number and its square. It is part of Year 10 Advanced Logarithms and Polynomials.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Logarithm Graphs - Video - Logarithms - Graphing Exponential and Logarithmic Functions Watch
  • Logarithm Graphs - Video - Graphing Exponentials & Logs Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The graph of \(y = \log_a x\) passes through \((1, 0)\), has the \(y\)-axis as a vertical asymptote and exists only for \(x \gt 0\). This Year 10 Advanced maths page covers increasing and decreasing log graphs, reflections and translations, intercepts, the link with \(y = a^x\), and finding an equation from a graph.

For a base \(a \gt 1\), the graph of \(y = \log_a x\) passes through \((1, 0)\) and \((a, 1)\). It is increasing, rising more and more slowly. As \(x\) gets close to \(0\), \(y\) heads down without limit, so the \(y\)-axis is a vertical asymptote.

The domain is \(x \gt 0\), because you can only take the log of a positive number. The range is all real numbers.

For a base between \(0\) and \(1\), such as \(\log_{0.5} x\), the graph still passes through \((1, 0)\) but is decreasing.

\(y = \log_a x\) and \(y = a^x\) undo each other. Their graphs are reflections in the line \(y = x\).

To find the asymptote and domain of any log graph, set the number inside the log equal to zero (asymptote) or greater than zero (domain).

This comes up if you are heading for Advanced or Extension maths in Years 11 and 12.

The graph of y = log base 2 of x and its reflection y = 2 to the xy = log base 2 of x passes through (1, 0) and (4, 2), rises slowly and has the y-axis as a vertical asymptote. Its reflection in the dashed line y = x is y = 2 to the power x, through (0, 1) and (2, 4). x y 2 4 2 4 O (4, 2) (2, 4) y = log2 x y = 2x y = x
A log graph and its exponential are reflections in \(y = x\): every point \((a, b)\) becomes \((b, a)\).
Reflections of y = log base 2 of xFour small graphs. y = log base 2 of x through (2, 1). y = minus log base 2 of x is its reflection in the x-axis, through (2, minus 1). y = log base 2 of minus x is its reflection in the y-axis, through (minus 2, 1). y = minus log base 2 of minus x is reflected in both axes, through (minus 2, minus 1). x y y = logβ‚‚ x (2, 1) x y y = βˆ’logβ‚‚ x (2, βˆ’1) x y y = logβ‚‚(βˆ’x) (βˆ’2, 1) x y y = βˆ’logβ‚‚(βˆ’x) (βˆ’2, βˆ’1)
A minus sign outside the log flips the graph upside down. A minus sign on the \(x\) inside flips it left to right.

Transformations of \(y = \log_a x\) (with \(h, k \gt 0\)):

EquationChange to the graphAsymptoteDomain
\(y = -\log_a x\)reflect in the \(x\)-axis\(x = 0\)\(x \gt 0\)
\(y = \log_a(-x)\)reflect in the \(y\)-axis\(x = 0\)\(x \lt 0\)
\(y = \log_a(x - h)\)shift right \(h\)\(x = h\)\(x \gt h\)
\(y = \log_a(x + h)\)shift left \(h\)\(x = -h\)\(x \gt -h\)
\(y = \log_a x + k\)shift up \(k\)\(x = 0\)\(x \gt 0\)
\(y = \log_a(h - x)\)reflect in \(y\)-axis, then shift right \(h\)\(x = h\)\(x \lt h\)
\[y = \log_a x \;\Longleftrightarrow\; x = a^y \qquad \text{inverse: } y = a^x\]
y=logax⇔x=ay
Increasing or decreasing. \(\log_a x\) increases when \(a \gt 1\) and decreases when \(0 \lt a \lt 1\). A minus sign in front reverses this.
Related bases. If \(\log_9 x = k\) then \(x = 9^k = 3^{2k}\), so \(\log_3 x = 2k\). In general \(\log_{a^2} x = \dfrac{1}{2}\log_a x\). This lets you combine logs with related bases, such as base \(3\) and base \(9\).

How to sketch a log graph

  1. Asymptote: set the number inside the log equal to \(0\) and solve. Draw it as a dashed vertical line.
  2. Domain: the number inside the log is greater than \(0\). The graph lies on that side of the asymptote.
  3. Intercepts: let \(y = 0\) and solve in index form for the \(x\)-intercept; let \(x = 0\) for the \(y\)-intercept if \(0\) is in the domain.
  4. Direction: decide whether it rises or falls (base, minus signs), plot one more point, and draw the curve hugging the asymptote.

Matching and finding equations

  1. Choosing from options: use the asymptote first to cut the list down, then the direction, then test one marked point.
  2. Unknown base: substitute a point into \(y = \log_a x\) and change to index form, \(a^y = x\). The base must be positive.
  3. Two unknowns: the asymptote often gives one of them directly; otherwise substitute two points and solve the pair of equations (Example 3).
  4. Translations: left or right changes the \(x\) inside the log; up or down adds outside it.
  5. Intersections: set the two expressions equal. Write any whole number as a log of the same base, combine into one log on each side, then equate the numbers inside.
  6. How many meeting points: an increasing graph and a decreasing graph can cross at most once. Find one point that is on both and that is the only one.
Example 1 β€” Sketching a translated log graph
Sketch \(y = \log_2(x + 3) - 1\), showing the asymptote, the domain and both intercepts.
Solution

Start from \(y = \log_2 x\). The \(+3\) inside moves it \(3\) left; the \(-1\) outside moves it \(1\) down.

Asymptote and domain. The number inside the log must be positive.

\(x + 3\)\(\gt\)\(0\)
\(x\)\(\gt\)\(-3\)
x+3>0

Asymptote \(\boldsymbol{x = -3}\), domain \(\boldsymbol{x \gt -3}\).

\(x\)-intercept. Let \(y = 0\).

\(\log_2(x + 3)\)\(=\)\(1\)
\(x + 3\)\(=\)\(2^1\)
\(x\)\(=\)\(\mathbf{-1}\)
log2(x+3)=1

\(y\)-intercept. Let \(x = 0\): \(y = \log_2 3 - 1 = 0.5849\ldots \approx \mathbf{0.58}\).

Sketch of y = log base 2 of (x + 3) minus 1The curve rises from near the dashed asymptote x = minus 3, crosses the x-axis at (minus 1, 0) and the y-axis at about (0, 0.58), then keeps rising slowly. x y 4 2 3 O (βˆ’1, 0) (0, 0.58) x = βˆ’3
Example 2 β€” Finding the equation from a graph
The graph shown has the form \(y = \log_2(k - x)\). Find \(k\) and check the equation against the marked points.
A log graph with asymptote x = 4A curve that exists only to the left of the dashed asymptote x = 4. It falls from left to right, through (minus 4, 3), (0, 2) and (3, 0), and drops steeply near x = 4. x y βˆ’4 3 4 1 2 3 O (3, 0) (0, 2) (βˆ’4, 3) x = 4
Solution

The graph exists only for \(x \lt 4\), so the number inside the log is positive exactly when \(x \lt 4\).

\(k - x\)\(\gt\)\(0\)
\(x\)\(\lt\)\(k\)
\(k\)\(=\)\(\mathbf{4}\)
y=log2(4−x)

Check each point in \(y = \log_2(4 - x)\):

\(x = 3:\ \log_2 1\)\(=\)\(0\)
\(x = 0:\ \log_2 4\)\(=\)\(2\)
\(x = -4:\ \log_2 8\)\(=\)\(3\)
log24=2

The \(-x\) reflects \(y = \log_2 x\) in the \(y\)-axis, so the graph falls from left to right. A graph like this one is not \(y = -\log_2(x - 4)\): that graph lives to the right of \(x = 4\).

Example 3 β€” Finding the base and a shift

(i) The graph of \(y = \log_a x\) passes through \(\left(\dfrac{1}{8},\ -3\right)\). Find \(a\).
(ii) The graph of \(y = \log_a(x + b)\), where \(a \gt 1\), passes through \((1,\ 1)\) and \((13,\ 2)\). Find \(a\) and \(b\).
Solution

(i) Substitute the point and change to index form.

\(-3\)\(=\)\(\log_a \dfrac{1}{8}\)
\(a^{-3}\)\(=\)\(\dfrac{1}{8} = 2^{-3}\)
\(a\)\(=\)\(\mathbf{2}\)
a−3=18⇒a=2

(ii) Each point gives an equation in index form.

\(1 = \log_a(1 + b)\)\(\Rightarrow\)\(a = 1 + b\)
\(2 = \log_a(13 + b)\)\(\Rightarrow\)\(a^2 = 13 + b\)

Substitute \(b = a - 1\) into the second equation.

\(a^2\)\(=\)\(13 + a - 1\)
\(a^2 - a - 12\)\(=\)\(0\)
\((a - 4)(a + 3)\)\(=\)\(0\)
\(a\)\(=\)\(\mathbf{4} \quad (a \gt 1)\)
\(b\)\(=\)\(4 - 1 = \mathbf{3}\)
a2−a−12=0⇒a=4,b=3

Check: \(\log_4 4 = 1\) and \(\log_4 16 = 2\).

Example 4 β€” Where two log graphs meet

(i) Find the point where \(y = \log_3 x\) and \(y = \log_3(x - 6) + 1\) intersect.
(ii) The graph of \(y = \log_3 x\) is reflected in the line \(y = x\). Write the equation of the image and the image of the intersection point.
Solution

(i) Write \(1\) as \(\log_3 3\) and combine the right-hand side into one log.

\(\log_3 x\)\(=\)\(\log_3(x - 6) + \log_3 3\)
\(\log_3 x\)\(=\)\(\log_3\big(3(x - 6)\big)\)
\(x\)\(=\)\(3x - 18\)
\(x\)\(=\)\(9\)
\(y\)\(=\)\(\log_3 9 = 2\)
x=3(x−6)⇒x=9

The graphs meet at \(\mathbf{(9,\ 2)}\). Check: \(\log_3 3 + 1 = 2\).

(ii) Reflecting in \(y = x\) swaps \(x\) and \(y\).

\(x\)\(=\)\(\log_3 y\)
\(y\)\(=\)\(\boldsymbol{3^x}\)
y=3x

The point \((9,\ 2)\) becomes \(\mathbf{(2,\ 9)}\). Check: \(3^2 = 9\).

Common pitfalls

Inside versus outside. \(\log_2(x - 3)\) moves the graph \(3\) right, and \(\log_2 x - 3\) moves it \(3\) down. The asymptote only moves when the inside changes.
The curve never touches the asymptote. Draw it getting closer and closer to the dashed line without crossing it, and never draw any of the graph on the other side.
Two different minus signs. \(-\log_2 x\) is a flip in the \(x\)-axis; \(\log_2(-x)\) is a flip in the \(y\)-axis and lives where \(x \lt 0\).
Check a point. After choosing an equation, substitute a marked point. Two options often share an asymptote but give different \(y\)-values.

Frequently asked questions

What does the graph of a log function look like?

For a base greater than \(1\), it passes through \((1, 0)\), rises slowly to the right and drops steeply towards the \(y\)-axis, which is a vertical asymptote. It only exists for \(x \gt 0\).

How do you find the asymptote of a log graph?

Set the number inside the log equal to zero and solve. For \(y = \log_2(x - 5)\) the asymptote is \(x = 5\). Adding or subtracting outside the log does not move it.

What is the domain of a logarithmic function?

The values of \(x\) that make the number inside the log positive. For \(y = \log_3(x + 4)\) the domain is \(x \gt -4\).

When is a log graph decreasing?

When the base is between \(0\) and \(1\), such as \(\log_{0.5} x\), or when there is a minus sign in front of a log with a base greater than \(1\).

How are log graphs and exponential graphs related?

\(y = \log_a x\) and \(y = a^x\) are inverse functions, so their graphs are reflections of each other in the line \(y = x\). A point \((p, q)\) on one becomes \((q, p)\) on the other.