Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Advanced (2026) Exponential and Logarithmic Functions

Solving Equations with Logarithms

20 practice questions 1 video lesson Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Solving Equations with Logarithms - Video - Solving Exponential Equations With Different Bases Using Logarithms Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Logarithms solve equations that equating indices cannot. This Year 11 Mathematics Advanced page shows how to solve \(a^{x}=b\) by taking logarithms of both sides or writing \(x=\log_{a}b\), giving exact and approximate answers; how to solve logarithmic equations with the log laws and index form while checking the domain; and how to handle different bases on each side and quadratic-type equations with a substitution.

When both sides of an exponential equation are not powers of the same base, as in \(3^{x}=40\), use logarithms. Either write the equation in logarithmic form, \(x=\log_{3}40\), or take logarithms of both sides and use the power law to bring the index down: \(\log 3^{x}=\log 40\) gives \(x\log 3=\log 40\). Both give \(x=\dfrac{\log 40}{\log 3}\). Here \(\log\) means \(\log_{10}\).

\(x=\log_{3}40\) is the exact answer. A calculator gives the approximate answer \(x\approx3.36\). Keep the full calculator value through the working and round only at the end.

A logarithmic equation has the unknown inside a logarithm, as in \(\log_{2}x+\log_{2}(x-3)=2\). Use the laws of logarithms to write each side as a single logarithm, then either

  • change to index form: \(\log_{a}M=k\) gives \(M=a^{k}\), or
  • equate the arguments: \(\log_{a}M=\log_{a}N\) gives \(M=N\).

The number inside a logarithm (its argument) must be positive, so every logarithmic equation has a domain. Combining logarithms can introduce values outside it, so check each solution in the original equation and reject any that make an argument zero or negative.

Two facts undo a logarithm or a power: \(\log_{a}a^{x}=x\) and \(a^{\log_{a}x}=x\). So \(\log_{7}7^{2x}=2x\) and \(4^{\log_{4}9}=9\).

The graph of y = 3 to the x meets y = 15The curve y equals 3 to the power x crosses the horizontal line y equals 15 at one point. Its x-coordinate, log base 3 of 15, is about 2.46: 15 is not a whole-number power of 3, so a logarithm gives the solution. x y −2 −1 1 2 3 5 10 y = 15 y = 3ˣ x = log₃ 15 ≈ 2.46
\(15\) is not a whole-number power of \(3\), so \(3^{x}=15\) is solved with a logarithm: \(x=\log_{3}15=\dfrac{\log 15}{\log 3}\approx2.46\).
Checking solutions against the domainA number line from minus 3 to 7. The values allowed by both logarithms, x greater than 3, are shaded with an open circle at 3. The candidate x equals minus 1 is outside this region and is rejected; x equals 4 is inside and is accepted. Need x > 0 and x − 3 > 0, so x > 3 −3 −2 −1 0 1 2 3 4 5 6 7 x = −1 rejected x = 4 ✓ log₂ x + log₂(x − 3) = 2 gives x² − 3x − 4 = 0, so x = 4 or x = −1
Find the domain first. Only solutions inside it are kept: \(x=-1\) would need \(\log_{2}(-1)\), which does not exist.

Exponential equations:

\[a^{x}=b\iff x=\log_{a}b=\dfrac{\log b}{\log a}\]
a to the x equals b if and only if x equals log base a of b, which equals log b over log a

Taking logarithms of both sides (power law):

\[\log a^{x}=x\log a\]
log of a to the x equals x times log a

Logarithmic equations (\(M,N>0\)):

FormGivesExample
\(\log_{a}M=k\)\(M=a^{k}\)\(\log_{5}x=3\Rightarrow x=125\)
\(\log_{a}M=\log_{a}N\)\(M=N\)\(\log(2x)=\log 18\Rightarrow x=9\)
\(\log_{a}a^{x}\)\(x\)\(\log_{2}2^{-5}=-5\)
\(a^{\log_{a}x}\)\(x\)\(10^{\log 0.7}=0.7\)
Equating arguments. Solve \(\log(2x+3)-\log x=\log 5\). Use the quotient law:
\(\log\dfrac{2x+3}{x}\)\(=\)\(\log 5\)
\(\dfrac{2x+3}{x}\)\(=\)\(5\)
\(2x+3\)\(=\)\(5x\)
\(3\)\(=\)\(3x\)
\(x\)\(=\)\(1\)
Check: \(x=1>0\), so \(\log x\) and \(\log(2x+3)\) are both defined. \(\therefore\ x=1\).
log of 2x plus 3 over x equals log 5, so 2x plus 3 equals 5x and x equals 1
Showing a result with change of base. To show \(\log_{3}x=2\log_{9}x\), change the base of \(\log_{9}x\) to \(3\):
\(\log_{9}x\)\(=\)\(\dfrac{\log_{3}x}{\log_{3}9}=\dfrac{\log_{3}x}{2}\)
\(\text{RHS}\)\(=\)\(2\times\dfrac{\log_{3}x}{2}\)
\(\)\(=\)\(\log_{3}x=\text{LHS}\)
log base 9 of x equals log base 3 of x over 2, so 2 log base 9 of x equals log base 3 of x
A substitution for a logarithm. Solve \((\log x)^{2}-\log x^{2}-3=0\). The power law gives \(\log x^{2}=2\log x\). Let \(m=\log x\):
\(m^{2}-2m-3\)\(=\)\(0\)
\((m-3)(m+1)\)\(=\)\(0\)
\(\log x=3\Rightarrow x=10^{3}=1000\); \(\log x=-1\Rightarrow x=10^{-1}=0.1\). Both are positive, so \(x=1000\) or \(x=0.1\). The same steps work for any base, for example \(\ln x=k\) gives \(x=e^{k}\).
m squared minus 2m minus 3 equals 0, so log x equals 3 or minus 1, giving x equals 1000 or 0.1

Any base can be used to take logarithms of both sides (\(\log\) or \(\ln\)); the final answer is the same.

How to solve \(a^{x}=b\) with logarithms

  1. Isolate the power: divide by any number multiplying it.
  2. Take logarithms of both sides (or write in logarithmic form). Use the power law: \(\log a^{x+1}=(x+1)\log a\).
  3. Solve for \(x\). The exact answer contains logarithms; evaluate it at the end and round as asked.

How to solve a logarithmic equation

  1. Find the domain: every argument must be positive.
  2. Combine with the product, quotient and power laws so each side is a single logarithm (or a number).
  3. Remove the logarithm: \(\log_{a}M=k\) gives \(M=a^{k}\); \(\log_{a}M=\log_{a}N\) gives \(M=N\).
  4. Solve the resulting equation (often a quadratic).
  5. Check each answer against the domain and reject any that fail.

Different bases on each side

  1. Take logarithms of both sides and bring down the indices with the power law.
  2. Expand, collect the \(x\) terms on one side and factorise out \(x\).
  3. Divide to get \(x\), then evaluate.

Quadratic-type equations

  1. Substitute \(y=a^{x}\) (so \(a^{2x}=y^{2}\)) and factorise the quadratic.
  2. Solve \(a^{x}=y\) for each root: equate indices if \(y\) is a power of \(a\), otherwise use \(x=\log_{a}y\). Reject \(y\le0\).
Example 1 — Exact and approximate answers
Solve, giving answers correct to \(2\) decimal places:
(a) \(3^{x}=40\) (also give the exact answer)
(b) \(4\times7^{2x-1}=100\)
Solution

(a) Take logarithms of both sides:

\(3^{x}\)\(=\)\(40\)
\(x\log 3\)\(=\)\(\log 40\)
\(x\)\(=\)\(\dfrac{\log 40}{\log 3}\)
\(\)\(=\)\(3.3577\ldots\)
\(\)\(\approx\)\(3.36\)
x log 3 equals log 40, so x equals log 40 over log 3, about 3.36

Exact answer: \(\boldsymbol{x=\log_{3}40}\); approximate answer: \(\boldsymbol{x\approx3.36}\).

(b) Isolate the power, then rewrite in logarithmic form:

\(7^{2x-1}\)\(=\)\(25\)
\(2x-1\)\(=\)\(\log_{7}25\)
\(2x-1\)\(=\)\(\dfrac{\log 25}{\log 7}=1.6541\ldots\)
\(2x\)\(=\)\(2.6541\ldots\)
\(x\)\(=\)\(1.3270\ldots\)
\(\)\(\approx\)\(\boldsymbol{1.33}\)
7 to the 2x minus 1 equals 25, so 2x minus 1 equals log 25 over log 7, and x is about 1.33
Example 2 — A logarithmic equation
Solve \(\log_{6}(x+1)+\log_{6}(x-4)=1\).
Solution

Domain: need \(x+1>0\) and \(x-4>0\), so \(x>4\).

Use the product law, then write in index form:

\(\log_{6}(x+1)(x-4)\)\(=\)\(1\)
\((x+1)(x-4)\)\(=\)\(6^{1}\)
\(x^{2}-3x-4\)\(=\)\(6\)
\(x^{2}-3x-10\)\(=\)\(0\)
\((x-5)(x+2)\)\(=\)\(0\)
(x plus 1)(x minus 4) equals 6, so x squared minus 3x minus 10 equals 0, and (x minus 5)(x plus 2) equals 0

\(x=5\) or \(x=-2\)

We need \(x>4\), so reject \(x=-2\) (it would need \(\log_{6}(-1)\)).

\(\therefore\ \boldsymbol{x=5}\). Check: \(\log_{6}6+\log_{6}1=1+0=1\).

Example 3 — Substitution with a logarithm answer
By letting \(y=2^{x}\), solve \(4^{x}-4\times2^{x}-21=0\). Give any non-integer answer correct to \(2\) decimal places.
Solution

\(4^{x}=(2^{x})^{2}=y^{2}\), so:

\(y^{2}-4y-21\)\(=\)\(0\)
\((y-7)(y+3)\)\(=\)\(0\)
y squared minus 4y minus 21 equals 0, so (y minus 7)(y plus 3) equals 0

\(y=7\) or \(y=-3\)

\(2^{x}=-3\) has no solution, since \(2^{x}>0\).

\(2^{x}\)\(=\)\(7\)
\(x\)\(=\)\(\log_{2}7=\dfrac{\log 7}{\log 2}\)
\(\)\(=\)\(2.8073\ldots\)
\(\)\(\approx\)\(\boldsymbol{2.81}\)
2 to the x equals 7, so x equals log base 2 of 7, about 2.81

\(\therefore\ x=\log_{2}7\approx2.81\)

Example 4 — Different bases on each side
Solve \(2^{x+3}=5^{x}\), giving your answer correct to \(2\) decimal places.
Solution

Take logarithms of both sides and use the power law:

\(\log 2^{x+3}\)\(=\)\(\log 5^{x}\)
\((x+3)\log 2\)\(=\)\(x\log 5\)
\(x\log 2+3\log 2\)\(=\)\(x\log 5\)
\(3\log 2\)\(=\)\(x\log 5-x\log 2\)
\(3\log 2\)\(=\)\(x(\log 5-\log 2)\)
\(x\)\(=\)\(\dfrac{3\log 2}{\log 5-\log 2}\)
\(\)\(=\)\(2.2694\ldots\)
\(\)\(\approx\)\(\boldsymbol{2.27}\)
(x plus 3) log 2 equals x log 5, so x equals 3 log 2 over (log 5 minus log 2), about 2.27

Keep brackets round \(x+3\) when you bring the index down: it multiplies the whole of \(\log 2\).

Common pitfalls

Isolate the power before taking logarithms. \(5\times2^{x}=60\) is not \(10^{x}=60\). Divide by \(5\) first: \(2^{x}=12\).
\(\dfrac{\log 40}{\log 3}\) is not \(\log\dfrac{40}{3}\). A quotient of logarithms is evaluated as a division on the calculator; it is not the quotient law.
The laws do not split sums. \(\log(x+2)\) is not \(\log x+\log 2\). Combine logarithms with the laws; the inside of a single logarithm stays together.
Check the domain. After combining, \(\log_{2}x(x-3)=2\) has the solutions \(x=4\) and \(x=-1\), but \(x=-1\) makes \(\log_{2}x\) undefined in the original equation. Always check in the original, not the combined, equation.
Powers of a positive base are positive. In a substitution, \(2^{x}=-3\) (or \(2^{x}=0\)) has no solution, so that root is rejected.
Round once, at the end. In \(2x-1=1.6541\ldots\), carry the full value forward. Rounding \(1.65\) early can change the final decimal place.

Frequently asked questions

How do you solve an exponential equation using logarithms?

Isolate the power, then take logarithms of both sides and use the power law. For \(3^{x}=40\), \(x\log 3=\log 40\), so \(x=\dfrac{\log 40}{\log 3}\approx3.36\). The exact answer is \(x=\log_{3}40\).

How do you solve a logarithmic equation?

Use the log laws to write each side as a single logarithm. Then change to index form (\(\log_{a}M=k\) gives \(M=a^{k}\)) or equate the arguments (\(\log_{a}M=\log_{a}N\) gives \(M=N\)). Solve, then check every answer is in the domain.

Why do you have to check answers to log equations?

A logarithm is only defined for positive numbers. Combining logarithms can create solutions that make an original argument zero or negative, so those solutions must be rejected.

How do you solve an equation with different bases on each side?

Take logarithms of both sides, bring the indices down with the power law, expand, collect the \(x\) terms and factorise. For \(2^{x+3}=5^{x}\), \(x=\dfrac{3\log 2}{\log 5-\log 2}\approx2.27\).

What does exact answer mean for a log equation?

The exact answer keeps the logarithm unevaluated, for example \(x=\log_{2}7\). A decimal from the calculator, such as \(2.81\), is an approximate answer.

Does it matter which log you take of both sides?

No. Base \(10\) logarithms (\(\log\)) and natural logarithms (\(\ln\)) give the same final answer, because the ratio of two logarithms is the same in every base.