Skip to content
Marlbridge

Study Guides

IB DP Mathematics: Analysis and Approaches – Rational, exponential and logarithmic functions, solving equations and transformations Study Guide

IB DP Maths AA study guide to rational, exponential and log functions, solving equations and graph transformations, with worked examples.

Level
IB
Topic
Rational, exponential and logarithmic functions, solving equations and transformations
Updated

Aligned to International Baccalaureate IB Diploma Programme Mathematics: Analysis and Approaches (DP Mathematics: Analysis and Approaches), First assessment 2021. Official subject brief .

Syllabus page (what it covers and how it is assessed): IB Diploma Programme Mathematics: Analysis and Approaches.

Syllabus points this page covers

DP Mathematics: Analysis and Approaches

  • 2.8 The reciprocal function and rational functions
  • 2.9 Exponential and logarithmic functions
  • 2.10 Solving equations graphically and analytically
  • 2.11 Transformations of graphs

Found an error? Report a correction.

Need help with this topic? Request a free trial class for IB Diploma Programme Mathematics: Analysis and Approaches (DP Mathematics: Analysis and Approaches).

This study guide teaches the rational, exponential and logarithmic functions, solving equations and transformations unit of IB Diploma Programme Mathematics: Analysis and Approaches. It is aligned to the IB Mathematics: analysis and approaches guide, first assessment 2021, syllabus sections 2.8, 2.9, 2.10 and 2.11. All of this content is common to SL and HL. It follows the IB guide for first assessment 2021, which remains the examined syllabus until the new course is first assessed in May 2029, so it applies to the May and November 2026, 2027 and 2028 sessions.

The Functions strand overview gives the big picture in a few paragraphs. This page goes section by section, with the detail you need to answer exam questions. When you have worked through it, use the revision notes for final-week recall and the practice questions to test yourself. The IB DP Maths AA course hub and the printable syllabus checklist show where the unit sits in the course.

What this unit covers

Section What you must be able to do SL/HL
2.8 Sketch y = 1/x and use its self-inverse nature; sketch f(x) = (ax + b)/(cx + d) with all asymptotes and axis intercepts SL and HL
2.9 Sketch y = aˣ, y = eˣ, y = logₐ x and y = ln x; use aˣ = e^(x ln a) and logₐ aˣ = x = a^(logₐ x); treat exponential and log functions as inverses SL and HL
2.10 Solve equations analytically and graphically; use technology where no analytic method exists; apply this to real-life models SL and HL
2.11 Apply translations, reflections and stretches, alone and in sequence, and know that order matters SL and HL

The guide states that transformations of the form f(ax + b) are not required at SL. HL students meet them later, in the AHL functions content.

2.8 The reciprocal function and rational functions

The reciprocal function y = 1/x

f(x) = 1/x is defined for x ≠ 0. Its graph has two branches: one in the first quadrant and one in the third. The vertical asymptote is x = 0 and the horizontal asymptote is y = 0. There are no intercepts with the axes.

The function is self-inverse: f⁻¹(x) = f(x). You can show this in one line:

f(f(x)) = 1/(1/x) = x

Graphically, a function and its inverse are reflections of each other in y = x. Because 1/x is its own inverse, its graph is symmetric about the line y = x.

Rational functions f(x) = (ax + b)/(cx + d)

For c ≠ 0, the graph is a hyperbola with two asymptotes:

  • Vertical asymptote: x = −d/c (where the denominator is zero).
  • Horizontal asymptote: y = a/c (divide top and bottom by x and let x → ±∞).

The intercepts come straight from the formula:

  • y-intercept: put x = 0, giving y = b/d (if d ≠ 0).
  • x-intercept: put the numerator equal to zero, giving x = −b/a (if a ≠ 0).

The guide says sketches should include all horizontal and vertical asymptotes and any intercepts with the axes. Draw the asymptotes as dashed lines and label each one with its equation.

Worked example 1

Sketch f(x) = (2x + 5)/(x + 1), x ≠ −1.

Vertical asymptote:   x + 1 = 0  →  x = −1
Horizontal asymptote: y = 2/1    →  y = 2
y-intercept:          f(0) = 5/1 = 5          →  (0, 5)
x-intercept:          2x + 5 = 0 → x = −5/2    →  (−2.5, 0)

Use the intercepts to place the branches. (−2.5, 0) is left of x = −1 and below y = 2, so the left branch sits in the bottom-left region formed by the asymptotes. (0, 5) is right of x = −1 and above y = 2, so the right branch sits in the top-right region.

You can also see this as a transformation of 1/x. Dividing out gives

(2x + 5)/(x + 1) = 2 + 3/(x + 1)

so the graph is y = 1/x stretched vertically by scale factor 3, then translated 1 left and 2 up. This link to section 2.11 is named in the guide.

Graph of y = 1/x with one branch in the first quadrant and one in the third, and asymptotes x = 0 and y = 0. A dashed line y = x is a mirror line: the point (2, 1/2) on the curve reflects to (1/2, 2), also on the curve, so the function is its own inverse.
y = 1/x is symmetric about y = x, which is the graphical sign that it is its own inverse.
Graph of y = (2x + 5)/(x + 1) with dashed vertical asymptote x = -1 and dashed horizontal asymptote y = 2. The branch on the right passes through (0, 5); the branch on the left passes through (-2.5, 0). The function also equals 2 + 3/(x + 1).
Find the asymptotes and the two intercepts first, then place each branch in the region its intercept lies in.

2.9 Exponential and logarithmic functions

Exponential graphs

For f(x) = aˣ with a > 0:

  • Domain: all real x. Range: y > 0.
  • y-intercept (0, 1). Horizontal asymptote y = 0.
  • If a > 1 the graph increases (growth). If 0 < a < 1 it decreases (decay).

f(x) = eˣ is the special case a = e ≈ 2.718. It is the base used for continuous growth and for calculus.

Logarithmic graphs

For f(x) = logₐ x with x > 0 (and a > 0, a ≠ 1):

  • Domain: x > 0. Range: all real y.
  • x-intercept (1, 0). Vertical asymptote x = 0.
  • f(x) = ln x is the case a = e.

Relationships you must use

aˣ = e^(x ln a)
logₐ aˣ = x        and        a^(logₐ x) = x      (a, x > 0, a ≠ 1)

The second line says that y = aˣ and y = logₐ x undo each other. They are inverse functions. So the graph of y = logₐ x is the reflection of y = aˣ in y = x. The domain of one is the range of the other, and the horizontal asymptote y = 0 becomes the vertical asymptote x = 0.

Worked example 2

Let f(x) = 2ˣ.

(a) Write f(x) in the form e^(kx).

2ˣ = e^(x ln 2), so k = ln 2 ≈ 0.693

(b) Find f⁻¹(x) and state its domain.

f⁻¹(x) = log₂ x, domain x > 0 (the range of f)

(c) Evaluate f⁻¹(8), log₂ 2⁷ and 2^(log₂ 5).

f⁻¹(8) = log₂ 8 = 3      log₂ 2⁷ = 7      2^(log₂ 5) = 5

Writing aˣ as e^(x ln a) is how you compare growth models with different bases, and it is the form you will differentiate in the calculus unit.

Graphs of 2 to the x, e to the x and (1/2) to the x. All pass through (0, 1) and have horizontal asymptote y = 0. The first two grow and the third decays. A dashed curve e to the (x ln 2) lies exactly on top of 2 to the x.
Every y = aˣ passes through (0, 1) and approaches y = 0; a > 1 grows, 0 < a < 1 decays, and aˣ = e^(x ln a).

2.10 Solving equations analytically and graphically

The guide expects both routes. On Paper 1 (no technology) you must solve by algebra. On Paper 2 (technology required) you can also use your GDC, and some equations can only be solved that way.

Analytic method: disguised quadratics

An equation with e^(2x) and eˣ is a quadratic in u = eˣ, because e^(2x) = (eˣ)².

Worked example 3 (by hand)

Solve e^(2x) + eˣ − 6 = 0.

Let u = eˣ:           u² + u − 6 = 0
Factorise:            (u + 3)(u − 2) = 0
So                    u = −3  or  u = 2
eˣ > 0 for all x, so eˣ = −3 has no solution.
eˣ = 2                x = ln 2

Give the exact answer ln 2 unless the question asks for a decimal. The rejection line earns credit: say why you reject −3.

Graphical method with technology

Some equations mix function types, such as ln(x + 3) = x − 1. No algebraic rearrangement isolates x. Instead:

  1. Enter y₁ = ln(x + 3) and y₂ = x − 1.
  2. Use the intersect tool, or graph y = ln(x + 3) − x + 1 and find its zeros.
  3. Check the window. The log graph only exists for x > −3, so look close to that asymptote as well as further right.

Worked example 4 (GDC)

Solve ln(x + 3) = x − 1.

Intersections at x = −2.98 and x = 2.75 (3 s.f.)

The first root is very close to the asymptote x = −3. A default window can hide it, so state that you checked for a second intersection.

Real-life models

Exponential models often lead to an equation you solve with logs.

Worked example 5

The concentration of a drug in the blood is C = 12e^(−0.2t) mg per litre, t hours after a dose. Find when C = 3.

12e^(−0.2t) = 3
e^(−0.2t) = 0.25
−0.2t = ln 0.25
t = 5 ln 4 = 6.93 hours (3 s.f.)

Check the answer makes sense: the concentration has halved twice, and it halves roughly every 3.47 hours.

Graph of y = e to the x. The line y = 2 meets the curve at x = ln 2, about 0.693. The line y = -3 lies below the whole curve and never meets it, because e to the x is always positive. So u = e to the x equals 2 is the only valid root.
In e^(2x) + eˣ − 6 = 0, u = eˣ = −3 is rejected because eˣ is always positive.
Graph of y = ln(x + 3), existing only for x greater than -3, and the line y = x - 1. They intersect at x = -2.98, very close to the vertical asymptote x = -3, and at x = 2.75.
Graph both sides and find the intersections; the first root sits just right of the asymptote x = −3, so check your window.
Decay curve of C = 12e to the minus 0.2t against time in hours. It starts at 12, falls to 6 at about 3.47 hours and to 3 at about 6.93 hours, which is 5 ln 4. The concentration has halved twice.
Solving 12e^(−0.2t) = 3 gives t = 5 ln 4 ≈ 6.93 hours, which is two halvings of 3.47 hours.

2.11 Transformations of graphs

The six basic transformations

Equation Transformation of y = f(x) Point (x, y) maps to
y = f(x) + b Translation b units vertically (x, y + b)
y = f(x − a) Translation a units horizontally (x + a, y)
y = −f(x) Reflection in the x-axis (x, −y)
y = f(−x) Reflection in the y-axis (−x, y)
y = p f(x) Vertical stretch, scale factor p (x, py)
y = f(qx) Horizontal stretch, scale factor 1/q (x/q, y)

Changes inside the bracket act on x and work “the opposite way”: f(x − 3) moves the graph 3 right, and f(2x) halves every x-coordinate.

Order matters

Start from y = x². Stretch vertically by factor 2, then translate 5 down: y = 2x² − 5. Do it the other way round (translate 5 down, then stretch by 2) and you get y = 2(x² − 5) = 2x² − 10. For vertical changes, do stretches and reflections before translations if you want y = p f(x) + b.

Worked example 6

The graph of y = f(x) has a maximum at (2, 5), an x-intercept at (−1, 0) and a horizontal asymptote y = 1.

For y = 2f(x − 3) + 1: translate 3 right, stretch vertically by 2, then translate 1 up.

(2, 5)  →  (5, 5)  →  (5, 10)  →  (5, 11)
(−1, 0) →  (2, 0)  →  (2, 0)   →  (2, 1)
y = 1   →  y = 1   →  y = 2    →  y = 3

For y = f(2x): halve the x-coordinates. The maximum moves to (1, 5) and the intercept to (−0.5, 0). The asymptote y = 1 does not change.

For y = −f(x): the maximum becomes a minimum at (2, −5), and the asymptote becomes y = −1.

Worked example 7: transforming eˣ and ln x

(a) Describe how y = eˣ maps to y = 4 − 2eˣ, and find the asymptote and intercepts.

Vertical stretch, scale factor 2:   y = 2eˣ
Reflection in the x-axis:           y = −2eˣ
Translation 4 units up:             y = 4 − 2eˣ
Asymptote: y = 0 → y = 4
y-intercept: 4 − 2 = 2        x-intercept: eˣ = 2, x = ln 2

(b) For y = ln(x − 2) + 1, the asymptote x = 0 moves to x = 2, so the domain is x > 2. The x-intercept solves ln(x − 2) = −1, giving x = 2 + e⁻¹ ≈ 2.37.

The parabola y = x squared with two transformed copies. Stretching by factor 2 then translating 5 down gives y = 2x squared minus 5 with vertex (0, -5). Translating 5 down then stretching by 2 gives y = 2x squared minus 10 with vertex (0, -10). The order changes the answer.
Stretch before you translate: 2x² − 5 and 2x² − 10 are different graphs.
Graph of y = e to the x, the dashed curve y = -2e to the x after a vertical stretch of factor 2 and a reflection in the x-axis, and the final curve y = 4 - 2e to the x after moving 4 units up. The asymptote moves from y = 0 to y = 4. The final curve crosses the y-axis at (0, 2) and the x-axis at (ln 2, 0).
Stretch, reflect, then translate: the asymptote y = 0 ends at y = 4.
The graph of y = ln x with asymptote x = 0 and intercept (1, 0), and y = ln(x - 2) + 1, moved 2 right and 1 up. The asymptote becomes x = 2, so the domain is x greater than 2; (1, 0) moves to (3, 1) and the x-intercept is 2 + e to the minus 1, about 2.37.
Inside changes move x: the asymptote x = 0 becomes x = 2 and the domain becomes x > 2.

Common errors

  • Giving the horizontal asymptote of (ax + b)/(cx + d) as y = b/d. That is the y-intercept. The asymptote is y = a/c.
  • Leaving asymptotes off a sketch, or drawing a branch that crosses a vertical asymptote.
  • Keeping u = −3 (or any negative value) as a solution of eˣ = u.
  • Writing ln(x + 3) and forgetting that x > −3, so you miss or invent solutions.
  • Moving f(x − 3) left instead of right, or doubling rather than halving x-coordinates for f(2x).
  • Applying a vertical translation before a stretch when the equation is y = p f(x) + b.
  • Using transformations of the form f(ax + b) at SL. The guide lists them as not required at SL.
  • Giving only a GDC answer on a “show that” or “find the exact value” part.

Next steps

Condense this into the revision notes, then try the practice set. For paper structure and timing, read the exam preparation guide. The syllabus guide and subject guide cover the whole course.

Frequently asked questions

How do you write aˣ in base e? Use aˣ = e^(x ln a). This lets you compare growth models with different bases and is the form used in calculus.

Does the order of graph transformations matter? Yes. Stretching y = x² vertically by 2 and then translating 5 down gives y = 2x² − 5, but translating first and then stretching gives a different graph. Apply transformations in the order stated.

How do you find the asymptotes of a rational function like (ax + b)/(cx + d)? Set the denominator cx + d = 0 for the vertical asymptote, x = −d/c. For the horizontal asymptote, divide top and bottom by x and let x → ±∞, giving y = a/c.

What happens to an asymptote under a transformation? Track it like any key feature. A horizontal stretch such as y = f(2x) does not move a horizontal asymptote, while a reflection y = −f(x) changes y = 1 to y = −1.

When must you solve an equation graphically? When equations mix function types, such as ln(x + 3) = x − 1, no algebraic rearrangement isolates x, so use a GDC on Paper 2 to find the intersections.

Official syllabus

International Baccalaureate Organization, Diploma Programme, Mathematics: analysis and approaches guide, first assessment 2021 (published February 2019, updated November 2020), sections SL 2.8, 2.9, 2.10 and 2.11.

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.

Subjects (optional, up to 6)

Choose a qualification to see its subjects.

Related resources

Related articles

Studying this with a teacher

Working through Mathematics: Analysis and Approaches IB?

This page is free and stays free. If you would rather be taught it, Marlbridge runs Mathematics: Analysis and Approaches classes one-to-one, online in your own time zone. The first trial class is free. WhatsApp replies within an hour (8am–11pm Pakistan time, every day); email the same day.

IB Mathematics: Analysis and Approaches teachers at Marlbridge