Home / AS & A Level Mathematics 9709 / Logarithmic and exponential functions
Cambridge International AS & A Level Mathematics 9709 · Pure Mathematics 3

Logarithmic and exponential functions

Logarithms as indices and the laws of logarithms; the functions ex and lnx, their graphs and their relationship as inverses; solving equations and inequalities with the unknown in an index; and using logarithms to reduce y=kxn and y=k(ax) to straight lines.

3.2Paper 3: Pure Mathematics 3Free lesson
What the syllabus says

3.2 (Paper 3)

  • understand the relationship between logarithms and indices, and use the laws of logarithms (excluding change of base)
  • understand the definition and properties of ex and lnx, including their relationship as inverse functions and their graphs
  • use logarithms to solve equations and inequalities in which the unknown appears in indices
  • use logarithms to transform a given relationship to linear form, and hence determine unknown constants by considering the gradient and/or intercept.

Notes and examples

  • Including knowledge of the graph of y=ekx for both positive and negative values of k.
  • e.g. 2x<5, 3×23x−1<5, 3x+1=42x−1.
  • e.g. y=kxn gives lny=lnk+nlnx which is linear in lnx and lny. y=k(ax) gives lny=lnk+xlna which is linear in x and lny.

Quoted from the Cambridge International AS and A Level Mathematics 9709 syllabus (2026-2027 and 2028-2030 editions, which share this content).

Logarithms and indices Paper 3

A logarithm is an index. The statement
logax=y⟺ay=x(a>0,a≠1,x>0)
says that logax is the power to which a must be raised to give x. So log232=5 because 25=32, and log100.01=−2 because 10−2=0.01. Since ay is always positive, the logarithm of zero or of a negative number is not defined.

Two values follow at once: logaa=1 (as a1=a) and loga1=0 (as a0=1).

The laws of logarithms are the laws of indices rewritten. If x=am and y=an then xy=am+n, so the logarithm of a product is the sum of the logarithms:

  • loga(xy)=logax+logay
  • loga(xy)=logax−logay
  • loga(xk)=klogax, for any real k, including loga1x=−logax and logax=12logax.

There is no law for loga(x+y), and logaxlogay is not logaxy. Changing the base of a logarithm is not needed on this paper.

Solving logarithmic equations. Use the laws to collect each side into a single logarithm, then remove the logarithm by writing the index form. Finally check each answer in the original equation: any value that makes the argument of a logarithm zero or negative must be rejected.

Worked example 1 Paper 3

Solve the equation 2log3x−log3(x−2)=2.

  1. Power law, then quotient law: log3x2−log3(x−2)=log3x2x−2.

  2. So log3x2x−2=2, which means x2x−2=32=9.

  3. x2=9x−18, so x2−9x+18=0 and (x−3)(x−6)=0.

  4. Check: both x=3 and x=6 make x and x−2 positive, so both are valid.

Answer: x=3 or x=6

Check yourself Paper 3

Solve the equation log2(x+5)−log2(x−1)=3.

Answer it in the portal, where your answer is checked as you type →

The exponential function and the natural logarithm Paper 3

The number e=2.71828… is the base for which the curve y=ex has gradient exactly 1 where it crosses the y-axis; in fact its gradient at every point equals its height. The exponential function ex is defined for every real x, and:

  • ex>0 for every x, so the graph lies above the x-axis;
  • it is increasing, passes through (0,1), and approaches 0 as x→−∞, so y=0 is an asymptote.

The natural logarithm is the logarithm to base e: lnx=logex. It obeys all the laws above, and it is the inverse of ex:
ln(ex)=x for every x,elnx=x for x>0
Because they are inverse functions, the graph of y=lnx is the reflection of y=ex in the line y=x. So y=lnx is defined only for x>0, passes through (1,0), increases slowly without limit, and has the y-axis as an asymptote. Every point (a,b) on one curve matches the point (b,a) on the other.

The graph of y=ekx. Every such curve passes through (0,1) and has y=0 as an asymptote.

  • For k>0 it is increasing: exponential growth, steeper for larger k.
  • For k<0 it is decreasing: exponential decay. y=e−x is the reflection of y=ex in the y-axis.

A curve like y=3e−2x+1 is y=e−2x stretched by factor 3 parallel to the y-axis and translated up 1: it crosses the y-axis at 4 and has asymptote y=1.

xy−3−2−11234−3−2−112340y = e^xy = ln xy = x(0, 1)(1, 0)

y=ex and y=lnx are reflections of each other in y=x.

xy−3−2−11231234560y = e^(0.5x)y = e^(-x)(0, 1)

Positive k gives growth; negative k gives decay. Both pass through (0,1).

Worked example 2 Paper 3

(a) Solve the equation e2x−5ex+6=0, giving exact answers.
(b) Solve the equation ln(x+1)=2, giving an exact answer.

  1. (a) e2x=(ex)2, so with u=ex this is u2−5u+6=0.

  2. (u−2)(u−3)=0, so ex=2 or ex=3.

  3. Take natural logarithms: x=ln2 or x=ln3.

  4. (b) Apply the inverse, e to the power of each side: x+1=e2, so x=e2−1.

Answer: (a) x=ln2 or x=ln3 (b) x=e2−1

Check yourself Paper 3

Solve the equation ln(3x)=2, giving an exact answer.

Answer it in the portal, where your answer is checked as you type →

Equations and inequalities with the unknown in an index Paper 3

When the unknown is in an index, take logarithms of both sides, using any base (usually ln, or log10). The power law brings the index down:
3x+1=42x−1 gives
(x+1)ln3=(2x−1)ln4
which is linear in x. Collect the x terms and divide. Keep logarithms exact until the last line, then use a calculator.

When the equation has terms such as 22x and 2x, it is a quadratic in disguise: put u=2x, so 22x=u2 and 2x+1=2u. Solve for u, and remember that u=2x must be positive, so a negative root gives no solution.

Inequalities. ln is an increasing function, so taking logarithms of both sides of an inequality keeps its direction: 2x<5 gives xln2<ln5, and since ln2>0, x<ln5ln2=2.32. The danger comes next: dividing by a negative logarithm reverses the inequality. The logarithm of any number between 0 and 1 is negative, so this happens with 0.8n, 12, or ln2−ln3. Such inequalities often appear in context, asking for the least whole number of years or steps.

Worked example 3 Paper 3

(a) Solve the equation 52x−1=3x+2, giving your answer correct to 3 significant figures.
(b) The value of a machine is V=4000×0.8n dollars, n years after it is bought. Find the smallest whole number of years after which the value is less than 1000 dollars.

  1. (a) Take logarithms: (2x−1)ln5=(x+2)ln3.

  2. Collect x terms: x(2ln5−ln3)=2ln3+ln5, so x=2ln3+ln52ln5−ln3=ln45ln253=1.80 (3 s.f.).

  3. (b) 4000×0.8n<1000, so 0.8n<0.25 and nln0.8<ln0.25.

  4. ln0.8<0, so dividing by it reverses the inequality: n>ln0.25ln0.8=6.21.

  5. The smallest whole number is n=7. Check: 4000×0.86=1048.6 and 4000×0.87=838.9.

Answer: (a) x=1.80 (b) 7 years

Check yourself Paper 3

The solution of the inequality 5×32x+1>40 is x>a. Find a, correct to 3 significant figures.

Answer it in the portal, where your answer is checked as you type →

Reducing a relationship to linear form Paper 3

Experimental data that follow a power law or an exponential law plot as a curve, but taking logarithms turns either into a straight line, whose gradient and intercept give the constants.

  • Power law y=kxn: lny=lnk+nlnx. Plot lny against lnx: a straight line with gradient n and intercept lnk on the lny axis.
  • Exponential law y=k(ax): lny=lnk+xlna. Plot lny against x: a straight line with gradient lna and intercept lnk.

Compare with Y=mX+c to see which variables go on the axes. The vertical intercept is lnk, not k, so k=ec; and in the exponential law the gradient is lna, so a=em. Logarithms to base 10 work in the same way, with 10c in place of ec.

The gradient comes from two points on the line: read them carefully from the axes, which are lnx and lny, not x and y. If the line is given by its equation, such as lny=0.8+1.5lnx, read off n=1.5 and lnk=0.8 directly.

xln y1234567123450(2, 3.10)(6, 4.30)

A straight line of lny against x means y=k(ax).

Worked example 4 Paper 3

The variables x and y satisfy y=k(ax), where k and a are constants. The graph of lny against x is a straight line passing through the points (2,3.10) and (6,4.30), as shown in the diagram. Find the values of k and a, correct to 3 significant figures.

  1. Taking logarithms: lny=lnk+xlna, a line with gradient lna and intercept lnk.

  2. Gradient: lna=4.30−3.106−2=0.3, so a=e0.3=1.35 (3 s.f.).

  3. Intercept: 3.10=lnk+2(0.3), so lnk=2.5 and k=e2.5=12.2 (3 s.f.).

Answer: k=12.2, a=1.35

Check yourself Paper 3

The variables x and y satisfy lny=0.8+1.5lnx. Given that y=kxn, write down n and find k, correct to 3 significant figures.

Answer it in the portal, where your answer is checked as you type →

Key points Paper 3

  • logax=y⟺ay=x; logaa=1 and loga1=0.

  • log(xy)=logx+logy, logxy=logx−logy, logxk=klogx.

  • lnx and ex are inverse functions: their graphs reflect in y=x. lnx is defined only for x>0.

  • y=ekx passes through (0,1) with asymptote y=0: growth for k>0, decay for k<0.

  • To solve for an unknown index, take logarithms; with a2x and ax, substitute u=ax>0.

  • Dividing an inequality by a negative logarithm, such as ln0.8, reverses it.

  • y=kxn: lny against lnx has gradient n. y=k(ax): lny against x has gradient lna. Both have intercept lnk.

Where marks are lost Paper 3

  • Writing log(x+2) as logx+log2, or log8log2 as log4.

  • Not rejecting a solution that makes the argument of a logarithm zero or negative.

  • Keeping a negative root of u=ex or u=2x: these are always positive.

  • Forgetting to reverse the inequality after dividing by a negative logarithm.

  • Rounding ln values early, so the final answer is wrong at 3 significant figures.

  • Giving k as the intercept itself instead of eintercept, or a as the gradient instead of egradient.

  • Reading a point off a lny against lnx graph as if the axes were x and y.

Related AS & A Level Mathematics 9709 lessons

All AS & A Level Mathematics 9709 lessons →

An original lesson written to the Cambridge International AS & A Level Mathematics 9709 syllabus (2026 to 2027 and 2028 to 2030). The worked examples and questions are our own, not Cambridge questions. Back to every AS & A Level Mathematics 9709 lesson.