Solving Exponential and Logarithmic Equations for the ESAT

Updated July 2026

This lesson covers the techniques required to solve equations involving indices and logarithms, specifically focusng on the form ax=ba^x = b. You will learn to use the laws of logarithms to manipulate expressions, handle quadratic forms using substitution, and provide exact solutions to complex algebraic problems.

Core concept

A logarithm is the inverse of an index, defined by the relationship ab=cb=logaca^b = c \Leftrightarrow b = \log_a c. Equations of the form ax=ba^x = b are solved by taking logarithms of both sides and applying log laws to isolate the unknown power.

Foundations of Logarithms

Logarithms are closely related to indices: they are the inverse of indices. Instead of raising a base to a power to find a result, a logarithm tells you what power a base must be raised to in order to reach a specific number. Before the invention of calculators, logarithms were essential for simplifying complex calculations with large numbers.

Consider base 10 examples:

  1. log1010=1\log_{10} 10 = 1 because 101=1010^1 = 10.
  2. log10100=2\log_{10} 100 = 2 because 102=10010^2 = 100.
  3. log101000=3\log_{10} 1000 = 3 because 103=100010^3 = 1000.
  4. log1027=1.431363764\log_{10} 27 = 1.431363764\dots because 101.431363764=2710^{1.431363764\dots} = 27.

We can use other bases, such as base 2:

  1. log232=5\log_2 32 = 5 because 25=322^5 = 32.
  2. log212=1\log_2 \frac{1}{2} = -1 because 21=122^{-1} = \frac{1}{2}.

General definition: logac=b\log_a c = b is equivalent to ab=ca^b = c. There are three critical conditions for this relationship in standard mathematics:

  • The base must be positive: a>0a > 0 and a1a \neq 1.
  • You can only take the log of a positive number: c>0c > 0.
  • The result of a log can be any number: bb can be positive, negative, or zero.

Logarithms and Graphs

The relationship between exponentials and logarithms is clearly visible when graphed. Using base 2 as an example, we can see the exponential growth of y=2xy = 2^x.

img-47.jpeg

The function 2x2^x maps a value from the xx axis to the yy axis. If we start on the yy axis and trace back to find the corresponding xx value, we are performing the log operation: ylog2yy \to \log_2 y. By swapping the xx and yy axes, we produce the graph of y=log2xy = \log_2 x.

img-48.jpeg

Note that the graph is only defined for x>0x > 0. It crosses the xx axis at 1 because 20=12^0 = 1, which means log21=0\log_2 1 = 0.

Laws of Logarithms

You must be able to use the following laws to manipulate equations:

  1. The Product Law: logax+logay=loga(xy)\log_a x + \log_a y = \log_a(xy). This is derived from alogax+logay=alogaxalogay=xy=aloga(xy)a^{\log_a x + \log_a y} = a^{\log_a x} a^{\log_a y} = xy = a^{\log_a(xy)}. Note that alogax=xa^{\log_a x} = x by definition.
  2. The Quotient Law: logaxlogay=loga(xy)\log_a x - \log_a y = \log_a \left(\frac{x}{y}\right). This is derived from alogaxlogay=alogaxalogay=xya^{\log_a x - \log_a y} = \frac{a^{\log_a x}}{a^{\log_a y}} = \frac{x}{y}.
  3. The Power Law: klogax=loga(xk)k \log_a x = \log_a(x^k). This is derived from aklogax=(alogax)k=xka^{k \log_a x} = (a^{\log_a x})^k = x^k.
  4. Reciprocal Case: loga1x=logax\log_a \frac{1}{x} = -\log_a x.
  5. Identity Case: logaa=1\log_a a = 1 because a1=aa^1 = a.

Solving ax=ba^x = b

To solve equations where the variable is in the index, we take logs of both sides. Most log values are irrational, so we often leave answers in exact form rather than rounding to decimals.

Example: Solve 52x=275^{2x} = 27

Approach 1 (Base 5): Take log5\log_5 of both sides: log552x=log527\log_5 5^{2x} = \log_5 27. Since 27=3327 = 3^3, we have 2x=log5332x = \log_5 3^3. Using the power law: 2x=3log532x = 3 \log_5 3. Dividing by 2: x=32log53x = \frac{3}{2} \log_5 3.

Approach 2 (Base 3): Take log3\log_3 of both sides: log352x=log327\log_3 5^{2x} = \log_3 27. Using the power law: 2xlog35=32x \log_3 5 = 3 (since log327=3\log_3 27 = 3). Dividing: x=32log35x = \frac{3}{2 \log_3 5}.

Equations Reducible to Linear or Quadratic Form

Some equations require algebraic manipulation before they can be solved. A common type is the hidden quadratic, such as 25x3×5x+2=025^x - 3 \times 5^x + 2 = 0.

Recognise that 25x=(52)x=(5x)225^x = (5^2)^x = (5^x)^2. If we let u=5xu = 5^x, the equation becomes u23u+2=0u^2 - 3u + 2 = 0. Factoring gives (u2)(u1)=0(u-2)(u-1) = 0, so u=2u = 2 or u=1u = 1. Substituting back: 5x=25^x = 2 (so x=log52x = \log_5 2) or 5x=15^x = 1 (so x=0x = 0).

The Change of Base Formula

While questions requiring the change of base formula specifically will not be set, it is useful for your mathematical toolkit. It allows you to convert from base aa to base cc: logab=logcblogca\log_a b = \frac{\log_c b}{\log_c a}

Derivation: Let p=logabp = \log_a b, so ap=ba^p = b. Take logc\log_c of both sides: logcap=logcb\log_c a^p = \log_c b. This gives plogca=logcbp \log_c a = \log_c b, so p=logcblogcap = \frac{\log_c b}{\log_c a}. A special case occurs when c=bc = b, leading to: logab=1logba\log_a b = \frac{1}{\log_b a}.

Key takeaways

  • The definition logac=b\log_a c = b is identical to ab=ca^b = c and is only defined for c>0c > 0.
  • Use the Power Law klogax=loga(xk)k \log_a x = \log_a(x^k) to move variables out of the exponent.
  • Exact solutions involve keeping logs in the final expression rather than calculating decimal approximations.
  • Complex exponential equations can often be solved by identifying a hidden quadratic through substitution.
Tips

When solving hidden quadratics, always check if your solutions for the substituted variable (e.g., u=5xu = 5^x) are positive. If you find u=2u = -2, then 5x=25^x = -2 has no real solution, and you must discard it.

Cautions

A very common error is to assume log(x+y)=logx+logy\log(x+y) = \log x + \log y. This is false. The correct law is log(xy)=logx+logy\log(xy) = \log x + \log y. Always double check that you are applying laws to products or quotients, not sums.

Insight

Logarithms grow extremely slowly compared to linear or polynomial functions. This is the opposite of exponential growth, which is why logarithmic scales are used to represent data that spans many orders of magnitude, such as the Richter scale for earthquakes or pH in chemistry.

Frequently asked questions

Can the base of a logarithm be negative?

No. In the context of the ESAT and standard school mathematics, we only use a positive base a>0a > 0 where a1a \neq 1. Using a negative base would lead to undefined values for many inputs.

What should I do if an equation has different bases, like 3x=2x+13^x = 2^{x+1}?

Take the logarithm of both sides using a common base, such as log10\log_{10}. This allows you to use the power law to bring the xx and x+1x+1 down, resulting in a linear equation: xlog3=(x+1)log2x \log 3 = (x+1) \log 2.

Why is the logarithm of 0 undefined?

If we look at the graph of y=logaxy = \log_a x, the curve has a vertical asymptote at x=0x = 0. In terms of indices, there is no power bb such that ab=0a^b = 0, as long as aa is positive.

Ready to test your knowledge?

You've reached the end of this section. Start a practice session to solidify your understanding and master this topic.