Mathematical Methods · Unit 2 · Topic 2

Logarithms and logarithmic functions

Define logarithms as indices, use the log laws and change of base, solve exponential and logarithmic equations, graph and transform logarithmic functions, and model with decibels, the Richter scale and pH.

  • 8 lessons
  • 2 h 21 min of lessons
  • 14 worked examples
  • 12 hours in the syllabus
0 of 8

Start here

Logarithms as indices

Lesson 1 of 8 · 16 min

Start the topic

Lessons

8
  1. Logarithms as indices (up next)

    Understand a logarithm as the index that answers "what power of a gives b?", convert between index and log form, and evaluate logs exactly.

  2. The logarithm laws

    Derive the product, quotient and power laws from the index laws, and use them to expand, condense and evaluate logarithmic expressions.

  3. Change of base and your calculator

    Use the change of base rule to evaluate any logarithm with the log or ln key, and to simplify logs with different bases exactly.

  4. Solving exponential equations with logs

    Solve equations with the unknown in the index by isolating the power and taking logs, giving exact answers and rounded ones, with and without technology.

  5. The graph of y=log⁡a(x)y = \log_a(x)

    Recognise the shape and key features of y=log⁡a(x)y = \log_a(x) for a>1a > 1, its asymptote, intercept and domain, and see it as the reflection of y=axy = a^x in the line y=xy = x.

  6. Transforming and sketching log graphs

    Determine the effect of aa, hh and kk on y=log⁡a(x−h)+ky = \log_a(x - h) + k, find its asymptote, domain and intercepts, sketch it, and find the rule from a graph.

  7. Solving logarithmic equations

    Solve equations with the unknown inside a logarithm by combining logs and converting to index form, rejecting solutions outside the domain, with and without technology.

  8. Logarithmic scales and models

    Use decibels, the Richter scale and pH to calculate and compare quantities that span many powers of ten, and use logs to solve growth, decay and logarithmic models.

  9. Topic quiz

    Ten questions across the topic, from foundation to complex unfamiliar. Your results feed your mastery.

About this topic

23=82^3 = 8 answers the question "what is 22 cubed?". A logarithm answers the reverse question: "what power of 22 gives 88?". The answer, 33, is written log⁡2(8)\log_2(8). Logarithms are indices, so everything you know about indices turns into a law for logs.

With logs you can finally solve equations like 3×1.08x=103 \times 1.08^x = 10 exactly, which needed a graph in the last topic. You will graph y=log⁡a(x)y = \log_a(x) as the reflection of y=axy = a^x, move it around with y=log⁡a(x−h)+ky = \log_a(x - h) + k, solve equations with the unknown inside a log, and see why scientists measure sound in decibels, earthquakes on the Richter scale and acidity as pH: each one is a logarithm that squeezes an enormous range of numbers onto a short scale.

Before you start

Builds on Exponential functions and Functions and relations.

  • The index laws, including negative and fractional indices: a−n=1ana^{-n} = \frac{1}{a^n} and a1n=ana^{\frac{1}{n}} = \sqrt[n]{a}.
  • Graphs of exponential functions y=r(x−h)+ky = r^{(x-h)} + k and their asymptotes.
  • Inverse functions, and the reflection of a graph in the line y=xy = x.
  • Solving quadratic equations by factorising and with the quadratic formula.

What QCAA says you need to know8 dot points

Logarithms and logarithmic laws

5 hours
  • Define logarithms as indices, where ax=ba^x = b is equivalent to x=log⁡a(b)x = \log_a(b), and convert between both forms.LessonLogarithms as indices
  • Use logarithmic laws and definitions: log⁡a(x)+log⁡a(y)=log⁡a(xy)\log_a(x) + \log_a(y) = \log_a(xy); log⁡a(x)−log⁡a(y)=log⁡a(xy)\log_a(x) - \log_a(y) = \log_a\left(\frac{x}{y}\right); log⁡a(xn)=nlog⁡a(x)\log_a(x^n) = n\log_a(x); log⁡a(x)=log⁡b(x)log⁡b(a)\log_a(x) = \frac{\log_b(x)}{\log_b(a)}; log⁡a(a)=1\log_a(a) = 1; log⁡a(1)=0\log_a(1) = 0LessonsLogarithms as indicesThe logarithm lawsChange of base and your calculator
  • Solve equations involving indices using logarithms, with and without technology.LessonsSolving exponential equations with logsLogarithmic scales and models

Logarithmic functions

7 hours

Subject matter from the Mathematical Methods General senior syllabus 2025 v1.3 (opens in a new tab), CC BY 4.0 © State of Queensland (QCAA).

The focus areas you can practise on their own. Each one maps to dot points above.

  • Logarithms as indices

    Convert between index and log form, and evaluate logs using the definition, including log_a(1) = 0 and log_a(a) = 1.

    Practise
  • Using the log laws

    Expand, condense and evaluate expressions with the product, quotient and power laws.

    Practise
  • Change of base

    Rewrite a log in another base, evaluate any log on a calculator, and simplify products of logs.

    Practise
  • Exponential equations with logs

    Solve equations with the unknown in the index by taking logs, giving exact or rounded answers.

    Practise
  • Features of log graphs

    Domain, range, asymptote, intercept and shape of y = log_a(x), and its link to y = a^x.

    Practise
  • Transforming log graphs

    The effect of a, h and k on y = log_a(x − h) + k, and finding the rule from a graph.

    Practise
  • Sketching log graphs

    Sketch logarithmic functions with the asymptote, intercepts and a key point labelled.

    Practise
  • Solving log equations

    Solve equations with the unknown inside a log, checking every solution against the domain.

    Practise
  • Decibels, Richter and pH

    Use logarithmic scales to calculate and compare sound levels, earthquake magnitudes and acidity.

    Practise
  • Modelling with logs

    Use logarithms to answer questions about growth, decay and logarithmic models, and judge reasonableness.

    Practise

Worked examples14

All 14

Common mistakes

Reading the definition backwards

log⁡2(8)=3\log_2(8) = 3 means 23=82^3 = 8. The base stays the base and the log is the index. It does not mean 32=83^2 = 8 or 83=28^3 = 2.

Splitting the log of a sum

log⁡(x+y)≠log⁡(x)+log⁡(y)\log(x + y) \neq \log(x) + \log(y). The product law is about a product: log⁡(xy)=log⁡(x)+log⁡(y)\log(xy) = \log(x) + \log(y). A log of a sum cannot be split.

Dividing logs instead of subtracting

log⁡(x)log⁡(y)≠log⁡(x)−log⁡(y)\frac{\log(x)}{\log(y)} \neq \log(x) - \log(y). The quotient law is log⁡(xy)=log⁡(x)−log⁡(y)\log\left(\frac{x}{y}\right) = \log(x) - \log(y). A quotient of two logs is a change of base: log⁡(x)log⁡(y)=log⁡y(x)\frac{\log(x)}{\log(y)} = \log_y(x).

Squaring the log instead of the argument

log⁡(x2)=2log⁡(x)\log(x^2) = 2\log(x), but (log⁡(x))2\left(\log(x)\right)^2 is something else. The power law only applies to a power inside the log.

Change of base upside down

log⁡3(20)=log⁡(20)log⁡(3)\log_3(20) = \frac{\log(20)}{\log(3)}, with the argument on top. Estimate to check: 32=93^2 = 9 and 33=273^3 = 27, so log⁡3(20)\log_3(20) is between 22 and 33.

Taking logs before isolating the power

In 5×2x=405 \times 2^x = 40, divide by 55 first: 2x=82^x = 8. Writing 10x=4010^x = 40 or log⁡(5×2x)=xlog⁡(10)\log(5 \times 2^x) = x\log(10) is wrong, because 5×2x≠10x5 \times 2^x \neq 10^x.

Keeping a solution outside the domain

The argument of a log must be positive. After solving log⁡2(x)+log⁡2(x−2)=3\log_2(x) + \log_2(x - 2) = 3 you get x=4x = 4 or x=−2x = -2, but log⁡2(−2)\log_2(-2) is undefined, so only x=4x = 4 is a solution. Check every answer in the original equation.

Moving the asymptote the wrong way

y=log⁡2(x+3)y = \log_2(x + 3) has asymptote x=−3x = -3, not x=3x = 3, because x+3=x−(−3)x + 3 = x - (-3) gives h=−3h = -3. Changing kk moves the graph up or down but never moves the vertical asymptote.

Treating a log scale as linear

A magnitude 77 earthquake is not "a bit more" than a magnitude 55: its amplitude is 107−5=10010^{7-5} = 100 times larger. Differences on a log scale are ratios of the original quantity.

Forgetting to flip an inequality

log⁡(0.85)\log(0.85) is negative. When you divide both sides of nlog⁡(0.85)<log⁡(0.3)n\log(0.85) < \log(0.3) by it, the inequality reverses: n>log⁡(0.3)log⁡(0.85)n > \frac{\log(0.3)}{\log(0.85)}.

Exam tips

  1. The definition of a logarithm, the log laws and the change of base rule are on the formula sheet. Learn when each one applies, including the conditions: base a>0a > 0, a≠1a \neq 1, and positive arguments.

  2. In Paper 1 (technology-free), leave answers exact unless told otherwise: x=log⁡3(7)x = \log_3(7), x=log⁡(7)log⁡(3)x = \frac{\log(7)}{\log(3)} and x=1+log⁡2(5)x = 1 + \log_2(5) are all exact.

  3. In Paper 2, write the exact form first, then evaluate it and round only at the end: "x=log⁡(20)log⁡(3)≈2.727x = \frac{\log(20)}{\log(3)} \approx 2.727 (3 d.p.)".

  4. Name the law you use in "show that" and "simplify" questions, e.g. "by the power law, log⁡2(9)=2log⁡2(3)\log_2(9) = 2\log_2(3)". One law per line makes your working easy to follow and to mark.

  5. For any log equation, check each solution in the original equation and reject values that make an argument zero or negative. Say why you reject them.

  6. A sketch of y=log⁡a(x−h)+ky = \log_a(x - h) + k needs the asymptote x=hx = h drawn dashed and labelled, the intercepts as coordinates, and a curve that gets steeper near the asymptote and keeps rising slowly to the right.

  7. In context questions, answer the question asked: "how many times more intense" wants a ratio, not a difference, and "after how many years" usually wants a whole number found by rounding up.

  8. Check reasonableness with an estimate: log⁡2(50)\log_2(50) must be between 55 and 66 because 25=322^5 = 32 and 26=642^6 = 64.

Where this shows up

  • Acoustics: sound intensity level in decibels. Every 1010 dB step is ten times the intensity, which is why hearing protection is rated in dB.

  • Seismology: the Richter and moment magnitude scales compare earthquakes whose shaking differs by factors of millions.

  • Chemistry: pH measures acidity, from battery acid near pH 00 to drain cleaner near pH 1414.

  • Astronomy: the apparent magnitude of stars is a logarithmic scale of brightness.

  • Finance and science: finding how long an investment takes to double, or a drug or isotope takes to decay, means solving an exponential equation with logs.

  • Computing: binary search and many sorting algorithms take time proportional to log⁡2(n)\log_2(n), which is why they handle millions of items quickly.

  • Music: each octave doubles the frequency, so pitch is a logarithm (base 2) of frequency.

Save your progress with a free account