Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Analysis and Approaches
  3. ›2 Functions
  4. ›2.9 Exponential and logarithmic functions

IB Mathematics: Analysis and Approaches · Topic 2 · Functions

2.9 Exponential and logarithmic functions

Sketch exponential and logarithmic graphs, convert between their forms, solve simple equations and state each function’s domain and range.

  • 5 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5Exponential functions multiply by a constant factor
  1. 1Exponential functions multiply by a constant factor
  2. 2The number e gives the natural exponential function
  3. 3A logarithm reverses an exponential by giving the power
  4. 4Logarithmic graphs are reflections of exponential graphs
  5. 5Convert to the other form to solve simple equations
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: Exponential functions multiply by a constant factor

A bacterial culture that doubles every hour grows slowly at first, then very quickly. Starting from 1 unit, the amounts are 1, 2, 4, 8 and 16. Each step multiplies by the same factor.

An exponential function has the form f(x)=axf(x)=a^xf(x)=ax, where a>0a>0a>0 and a≠1a\neq1a=1. The variable sits in the power, not in the base. If a>1a>1a>1 the function grows, and if 0<a<10<a<10<a<1 it decays.

Every graph of this form passes through (0,1)(0,1)(0,1), because a0=1a^0=1a0=1. Each curve gets ever closer to the xxx-axis without touching it. A line that a curve approaches in this way is an asymptote. Here the asymptote is y=0y=0y=0.

Common mistake

An exponential graph never crosses the xxx-axis. The output axa^xax is always positive, so there is no xxx-intercept.

Key terms · tap one for its definition

exponential function

An exponential function is a function of the form f(x)=axf(x)=a^xf(x)=ax with a>0a>0a>0 and a≠1a\neq1a=1, in which the variable is in the power.

asymptote

An asymptote is a line that a curve approaches arbitrarily closely as xxx or yyy tends to infinity or to a fixed value.

Part 1 done

2

Part 2 of 5: The number e gives the natural exponential function

Growth models often rely on one base in particular. This base is the constant e, where e≈2.718e\approx2.718e≈2.718. The function f(x)=exf(x)=e^xf(x)=ex is the natural exponential function.

Its graph has the same shape as other growth curves. It passes through (0,1)(0,1)(0,1) and has the asymptote y=0y=0y=0. At every point its gradient equals its height, which suits processes that grow continuously. This is why eee appears so often in models of growth and decay.

Models often take the form y=Aekxy=Ae^{kx}y=Aekx. A positive kkk gives growth and a negative kkk gives decay. The constant AAA is the value of yyy when x=0x=0x=0.

Worked example

Evaluating an exponential model

A sample of a radioactive substance has mass m=50e−0.2tm=50e^{-0.2t}m=50e−0.2t grams, where ttt is the time in hours. Calculate the mass after 5 hours.
  1. 1
    Write the model: m=50e−0.2tm=50e^{-0.2t}m=50e−0.2t.
  2. 2
    Substitute t=5t=5t=5: m=50e−1m=50e^{-1}m=50e−1.
  3. 3
    Evaluate the power: e−1≈0.3679e^{-1}\approx0.3679e−1≈0.3679.
  4. 4
    Multiply: m≈50×0.3679=18.4m\approx50\times0.3679=18.4m≈50×0.3679=18.4.

Answer: The mass after 5 hours is about 18.4 g18.4\,\mathrm{g}18.4g.

Key term

e

The constant eee is the irrational number 2.71828…2.71828\ldots2.71828…, and the function exe^xex has a gradient equal to its own value at every point.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the logarithmic form of 34=813^4=8134=81.
Show answer and explanation

Answer: B · Worked explanation

The base 3 stays the base, and the power 4 becomes the value of the logarithm. So 34=813^4=8134=81 becomes log⁡381=4\log_3 81=4log3​81=4. The form log⁡481=3\log_4 81=3log4​81=3 swaps the base and the power, which changes the meaning. Always check a conversion by raising the base to the proposed power and confirming the result.
3

Part 3 of 5: A logarithm reverses an exponential by giving the power

Exponentials turn a power into a value. Sometimes you need the reverse. If 2x=82^x=82x=8, you want the power of 2 that gives 8. The answer is 3, and a logarithm records exactly this power.

In symbols, ax=ba^x=bax=b is equivalent to x=log⁡abx=\log_a bx=loga​b, where a>0a>0a>0, a≠1a\neq1a=1 and b>0b>0b>0. The two statements say the same thing in different forms.

Two bases have special names. Base 10 gives log⁡10x\log_{10}xlog10​x, which many calculators label log. Base eee gives log⁡ex\log_e xloge​x, written ln⁡x\ln xlnx and called the natural logarithm.

Matching exponential and logarithmic forms

Exponential formLogarithmic form
23=82^3=823=8log⁡28=3\log_2 8=3log2​8=3
102=10010^2=100102=100log⁡10100=2\log_{10}100=2log10​100=2
e0=1e^0=1e0=1ln⁡1=0\ln1=0ln1=0
5−1=155^{-1}=\frac{1}{5}5−1=51​log⁡515=−1\log_5\frac{1}{5}=-1log5​51​=−1
Exponential form
23=82^3=823=8
Logarithmic form
log⁡28=3\log_2 8=3log2​8=3
Exponential form
102=10010^2=100102=100
Logarithmic form
log⁡10100=2\log_{10}100=2log10​100=2
Exponential form
e0=1e^0=1e0=1
Logarithmic form
ln⁡1=0\ln1=0ln1=0
Exponential form
5−1=155^{-1}=\frac{1}{5}5−1=51​
Logarithmic form
log⁡515=−1\log_5\frac{1}{5}=-1log5​51​=−1

Exam tip

When converting, the base stays the base. The power becomes the value of the logarithm. Check by raising the base to your answer.

Key terms · tap one for its definition

logarithm

The logarithm log⁡ab\log_a bloga​b is the power to which the base aaa must be raised to give bbb, defined for a>0a>0a>0, a≠1a\neq1a=1 and b>0b>0b>0.

natural logarithm

The natural logarithm ln⁡x\ln xlnx is the logarithm to base eee, so ln⁡x=log⁡ex\ln x=\log_e xlnx=loge​x for x>0x>0x>0.

Part 3 done

4

Part 4 of 5: Logarithmic graphs are reflections of exponential graphs

Because a logarithm undoes an exponential, g(x)=log⁡axg(x)=\log_a xg(x)=loga​x is the inverse function of f(x)=axf(x)=a^xf(x)=ax. Reflecting the graph of one in the line y=xy=xy=x gives the graph of the other.

Reflection swaps the xxx and yyy coordinates. So (0,1)(0,1)(0,1) becomes (1,0)(1,0)(1,0), and the asymptote y=0y=0y=0 becomes x=0x=0x=0. The logarithm graph has xxx-intercept (1,0)(1,0)(1,0) and a vertical asymptote along the yyy-axis.

Figure 1. The two curves are mirror images of each other in the line y = x. Notice how the intercepts and asymptotes swap.

These swaps decide the domain and the range. The inputs of axa^xax are all real numbers and its outputs are positive. For log⁡ax\log_a xloga​x the two roles are exchanged.

Features of y=axy=a^xy=ax and y=log⁡axy=\log_a xy=loga​x for a>1a>1a>1

Featurey=axy=a^xy=axy=log⁡axy=\log_a xy=loga​x
Domainall real xxxx>0x>0x>0
Rangey>0y>0y>0all real yyy
Intercept(0,1)(0,1)(0,1)(1,0)(1,0)(1,0)
Asymptotey=0y=0y=0x=0x=0x=0
Feature
Domain
y=axy=a^xy=ax
all real xxx
y=log⁡axy=\log_a xy=loga​x
x>0x>0x>0
Feature
Range
y=axy=a^xy=ax
y>0y>0y>0
y=log⁡axy=\log_a xy=loga​x
all real yyy
Feature
Intercept
y=axy=a^xy=ax
(0,1)(0,1)(0,1)
y=log⁡axy=\log_a xy=loga​x
(1,0)(1,0)(1,0)
Feature
Asymptote
y=axy=a^xy=ax
y=0y=0y=0
y=log⁡axy=\log_a xy=loga​x
x=0x=0x=0

Common mistake

You cannot take the logarithm of zero or of a negative number. The function log⁡ax\log_a xloga​x is defined only for x>0x>0x>0.

Key terms · tap one for its definition

inverse function

An inverse function reverses the input-output pairs of a function on a domain where each output has one input.

domain

A function’s domain is the set of inputs where the function is defined.

range

A function’s range is the set of outputs that the function takes as its input varies over the domain.

Part 4 done

Quick check

One question on the part you just read

Easy

State the domain of f(x)=log⁡2xf(x)=\log_2 xf(x)=log2​x.
Show answer and explanation

Answer: A · Worked explanation

A logarithm is defined only for positive inputs, because no power of 2 gives zero or a negative number. Including x=0x=0x=0 fails for the same reason. All real numbers is the domain of the exponential 2x2^x2x, not of its inverse.
5

Part 5 of 5: Convert to the other form to solve simple equations

Now use both forms to solve equations. Choose the form that makes the unknown easiest to isolate. The inverse relationship does the work. The statements log⁡aax=x\log_a a^x=xloga​ax=x and alog⁡ax=xa^{\log_a x}=xaloga​x=x show that each function undoes the other.

  • Isolate the exponential or logarithmic term.
  • Convert to the other form.
  • Solve the resulting equation.
  • Check that the quantity inside every logarithm is positive.

Worked example

Solving an exponential equation

Solve 3e2x=153e^{2x}=153e2x=15. Give the answer to 3 significant figures.
  1. 1
    Divide both sides by 3: e2x=5e^{2x}=5e2x=5.
  2. 2
    Convert to logarithmic form: 2x=ln⁡52x=\ln52x=ln5.
  3. 3
    Divide by 2: x=ln⁡52x=\frac{\ln5}{2}x=2ln5​.
  4. 4
    Evaluate: ln⁡5≈1.6094\ln5\approx1.6094ln5≈1.6094, so x≈0.805x\approx0.805x≈0.805.

Answer: x≈0.805x\approx0.805x≈0.805

For 2x=202^x=202x=20, take ln⁡\lnln of both sides. This gives xln⁡2=ln⁡20x\ln2=\ln20xln2=ln20, so x=ln⁡20ln⁡2≈4.32x=\frac{\ln20}{\ln2}\approx4.32x=ln2ln20​≈4.32. Keep the exact form until the final step, then round.

For log⁡3(x+1)=2\log_3(x+1)=2log3​(x+1)=2, convert to x+1=32=9x+1=3^2=9x+1=32=9. Then x=8x=8x=8. The quantity x+1=9x+1=9x+1=9 is positive, so the answer is valid.

Go deeperThe laws of logarithms

Three laws combine logarithms of the same base: log⁡ax+log⁡ay=log⁡a(xy)\log_a x+\log_a y=\log_a(xy)loga​x+loga​y=loga​(xy), log⁡ax−log⁡ay=log⁡axy\log_a x-\log_a y=\log_a\frac{x}{y}loga​x−loga​y=loga​yx​ and log⁡axn=nlog⁡ax\log_a x^n=n\log_a xloga​xn=nloga​x.

They follow from the laws of exponents, because a logarithm is a power. Use them to write a sum of logarithms as one logarithm before you convert to exponential form.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Describe[3 marks]

    Describe the graph of y=2xy=2^xy=2x, including its intercept, its asymptote and its behaviour as xxx increases.

    Show mark schemeHide mark scheme

    Model answer

    The graph crosses the yyy-axis at (0,1)(0,1)(0,1) and never crosses the xxx-axis. It has the horizontal asymptote y=0y=0y=0. As xxx increases, yyy grows rapidly.

    • 1 mark for stating the yyy-intercept (0,1)(0,1)(0,1)
    • 1 mark for stating the asymptote y=0y=0y=0
    • 1 mark for stating that the function increases, with yyy growing faster as xxx increases
  2. 2.Write down[1 mark]

    Write down the logarithmic form of 53=1255^3=12553=125.

    Show mark schemeHide mark scheme

    Model answer

    log⁡5125=3\log_5 125=3log5​125=3

    • 1 mark for writing log⁡5125=3\log_5 125=3log5​125=3
  3. 3.State[2 marks]

    State the domain and the range of y=ln⁡xy=\ln xy=lnx.

    Show mark schemeHide mark scheme

    Model answer

    The domain is x>0x>0x>0 and the range is all real numbers.

    • 1 mark for stating the domain x>0x>0x>0
    • 1 mark for stating that the range is all real numbers
  4. 4.Determine[3 marks]

    Determine the value of xxx in 4ex=204e^{x}=204ex=20. Give the answer to 3 significant figures.

    Show mark schemeHide mark scheme

    Model answer

    Dividing by 4 gives ex=5e^x=5ex=5. Converting gives x=ln⁡5≈1.61x=\ln5\approx1.61x=ln5≈1.61.

    • 1 mark for dividing both sides by 4 to obtain ex=5e^x=5ex=5
    • 1 mark for converting to x=ln⁡5x=\ln5x=ln5
    • 1 mark for giving x≈1.61x\approx1.61x≈1.61
  5. 5.Explain[3 marks]

    Explain why the graphs of y=3xy=3^xy=3x and y=log⁡3xy=\log_3 xy=log3​x are reflections of each other in the line y=xy=xy=x.

    Show mark schemeHide mark scheme

    Model answer

    The logarithm is the inverse function of the exponential. An inverse swaps the input and output of each point. Swapping xxx and yyy coordinates reflects a graph in y=xy=xy=x.

    • 1 mark for stating that the functions are inverses of each other
    • 1 mark for stating that an inverse swaps inputs and outputs
    • 1 mark for linking the swap of xxx and yyy coordinates to reflection in y=xy=xy=x
  6. 6.Calculate[2 marks]

    Calculate m=50e−0.2tm=50e^{-0.2t}m=50e−0.2t grams when t=10t=10t=10 hours. Give the answer to 3 significant figures.

    Show mark schemeHide mark scheme

    Model answer

    m=50e−2≈50×0.1353=6.77 gm=50e^{-2}\approx50\times0.1353=6.77\,\mathrm{g}m=50e−2≈50×0.1353=6.77g.

    • 1 mark for substituting t=10t=10t=10 to obtain 50e−250e^{-2}50e−2
    • 1 mark for obtaining 6.77 g6.77\,\mathrm{g}6.77g

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·State[1 mark]

State the range of f(x)=exf(x)=e^xf(x)=ex.
Show answer and explanation

Answer: D · Worked explanation

The output exe^xex is always positive, but it never reaches zero because the graph approaches y=0y=0y=0 without touching it. Including 0 is wrong since ex=0e^x=0ex=0 has no solution. The value 1 is only the yyy-intercept, not the lowest output. Remember that the range of an exponential equals the domain of its inverse.
4.

Medium·Calculate[1 mark]

Calculate log⁡5125\log_5 125log5​125.
Show answer and explanation

Answer: C · Worked explanation

Since 53=1255^3=12553=125, the power needed is 3. The value 25 comes from dividing 125 by 5 instead of finding the power. The value 120 comes from subtracting 5, which has no link to logarithms. Reading the logarithm as a question about powers makes the answer easy to check, since 5×5×5=1255\times5\times5=1255×5×5=125.
5.

Medium·Calculate[2 marks]

A population is modelled by P=200e0.03tP=200e^{0.03t}P=200e0.03t, where PPP is the number of individuals and ttt is the time in years. Calculate PPP when t=10t=10t=10, to 3 significant figures.
Show answer and explanation

Answer: B · Worked explanation

P=200e0.3≈200×1.3499≈270P=200e^{0.3}\approx200\times1.3499\approx270P=200e0.3≈200×1.3499≈270. The value 206 is the population when t=1t=1t=1, found by using e0.03e^{0.03}e0.03. The value 4020 comes from computing e3e^{3}e3 instead of e0.3e^{0.3}e0.3. Check that the exponent is 0.03×10=0.30.03\times10=0.30.03×10=0.3 before using the calculator. Using the wrong exponent is the usual cause of an answer far from the expected size.
6.

Medium·Determine[2 marks]

Determine the value of xxx for which 2x=122^x=122x=12, to 3 significant figures.
Show answer and explanation

Answer: A · Worked explanation

Taking natural logarithms gives xln⁡2=ln⁡12x\ln2=\ln12xln2=ln12, so x=ln⁡12ln⁡2≈3.58x=\frac{\ln12}{\ln2}\approx3.58x=ln2ln12​≈3.58. The value 6.00 comes from dividing 12 by 2, which treats 2x2^x2x as 2x2x2x. The value 0.279 comes from inverting the fraction. Round to three significant figures only after finding the full calculator value.
7.

Medium·Determine[1 mark]

Determine the value of xxx in log⁡2(x−3)=4\log_2(x-3)=4log2​(x−3)=4.
Show answer and explanation

Answer: D · Worked explanation

Converting gives x−3=24=16x-3=2^4=16x−3=24=16, so x=19x=19x=19. The value 13 comes from subtracting 3 from 16 instead of adding it. The value 11 comes from computing 2×4+32\times4+32×4+3, which treats the logarithm as a product. Check: log⁡216=4\log_2 16=4log2​16=4, and 16+3=1916+3=1916+3=19 matches the answer.
8.

Hard·Identify[2 marks]

The point (a,b)(a,b)(a,b) lies on the graph of y=3xy=3^xy=3x. Identify the point that lies on the graph of y=log⁡3xy=\log_3 xy=log3​x.
Show answer and explanation

Answer: C · Worked explanation

From 3a=b3^a=b3a=b we get log⁡3b=a\log_3 b=alog3​b=a, so the point is (b,a)(b,a)(b,a). This matches reflection in y=xy=xy=x, which swaps the coordinates. The point (−a,b)(-a,b)(−a,b) is a reflection in the yyy-axis, which does not give an inverse. In general, an inverse swaps the roles of input and output, so every coordinate pair is reversed.
9.

Hard·Determine[2 marks]

The graph of y=log⁡axy=\log_a xy=loga​x passes through (9,2)(9,2)(9,2), where a>0a>0a>0 and a≠1a\neq1a=1. Determine aaa.
Show answer and explanation

Answer: B · Worked explanation

Converting log⁡a9=2\log_a 9=2loga​9=2 gives a2=9a^2=9a2=9. A positive base means a=3a=3a=3. The value 4.5 comes from dividing 9 by 2, and 81 comes from squaring 9 instead of taking its square root. Check: log⁡39=2\log_3 9=2log3​9=2, which matches the given point. The base must be positive, so the negative root -3 is rejected.
10.

Hard·Determine[2 marks]

Determine how many real solutions the equation 3x=−93^x=-93x=−9 has.
Show answer and explanation

Answer: A · Worked explanation

The output 3x3^x3x is always positive, so it can never equal -9. Converting would need log⁡3(−9)\log_3(-9)log3​(−9), which is undefined. The value x=2x=2x=2 gives 9 and x=−2x=-2x=−2 gives 19\frac{1}{9}91​, so they only look plausible if the sign is ignored. This is because the exponential is positive for every real xxx, so its range excludes all negative values.

Keep going

Next topic2.10 Solving equationsPrevious topic2.8 Reciprocal and rational functions

More in Topic 2 · Functions

  1. 2.5Composite and inverse functionsNotes · 10 questions
  2. 2.6Quadratic functionsNotes · 10 questions
  3. 2.7Quadratic equations and inequalitiesNotes · 10 questions
  4. 2.8Reciprocal and rational functionsNotes · 10 questions
  5. 2.9Exponential and logarithmic functionsNotes · 10 questions
  6. 2.10Solving equationsNotes · 10 questions
  7. 2.11Transformations of graphsNotes · 10 questions
  8. 2.12Polynomial functionsNotes · 10 questions· HL only
  9. 2.13Rational functionsNotes · 10 questions· HL only

All IB Mathematics: Analysis and Approaches topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1Exponential functions multiply by a constant factor
  2. 2The number e gives the natural exponential function
  3. 3A logarithm reverses an exponential by giving the power
  4. 4Logarithmic graphs are reflections of exponential graphs
  5. 5Convert to the other form to solve simple equations
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe

Exponential and logarithmic graphs

y-202468-202468x
  • y = 2ˣ
  • y = log₂ x
  • y = x
  • (0, 1)
  • (1, 0)