← Back to subjects
0
IB Diploma Mathematics: Analysis & Approaches SL · Functions
Mini-Lesson

Functions

This mini-lesson covers SL Functions: notation, domain & range, composite and inverse functions, transformations of graphs, and the key families — quadratic, rational, exponential and logarithmic.

Answer the questions as you go and collect ⭐ stars. Press Start when ready.

Notation

Functions, domain & range

A function f maps each input x to exactly one output f(x). The domain is the set of allowed inputs; the range is the set of outputs produced.

f: x ↦ f(x)e.g. f(x) = 2x² − 3x + 1 gives f(3) = 2(9) − 9 + 1 = 10

Vertical line test: a graph is a function only if every vertical line meets it at most once.

Quick check

Range of a parabola

?What is the range of f(x) = x² with domain all real x?
Composite

Composite functions

Applying one function then another gives a composite. (f ∘ g)(x) = f(g(x)) — do g first.

Worked example

f(x) = 2x + 1, g(x) = x². Then (f ∘ g)(3) = f(g(3)) = f(9) = 2(9) + 1 = 19.

Order matters: in general f ∘ g ≠ g ∘ f.

Calculate

Evaluate a function

Given f(x) = 2x² − 3x + 1, find f(3).
Hint: 2(3)² − 3(3) + 1 = 18 − 9 + 1.
Inverse

Inverse functions

The inverse f⁻¹ undoes f: f⁻¹(f(x)) = x. It exists when f is one-to-one. To find it, swap x and y and make y the subject.

Worked example

f(x) = 3x − 5 ⇒ x = 3y − 5 ⇒ y = (x + 5)/3, so f⁻¹(x) = (x + 5)/3. Check f⁻¹(7) = 12/3 = 4.

Graphically: f⁻¹ is the reflection of f in the line y = x.

Quick check

Which transformation?

?Compared with y = f(x), the graph of y = f(x − 2) is:
Calculate

Composite value

If f(x) = 2x + 1 and g(x) = x², find (f ∘ g)(3).
Hint: do g first: g(3) = 9, then f(9) = 2(9) + 1.
Transformations

Transformations of graphs

Starting from y = f(x):

  • y = f(x) + a — translate up a; y = f(x − b) — translate right b.
  • y = p·f(x) — vertical stretch factor p; y = f(qx) — horizontal stretch factor 1/q.
  • y = −f(x) — reflect in the x-axis; y = f(−x) — reflect in the y-axis.

Inside vs outside: changes inside f( ) act on x (horizontal, and "backwards"); changes outside act on y (vertical).

Sort it

Which transformation is it?

Tap a mapping, then the transformation it describes.

↔ Translation

⤢ Stretch

🪞 Reflection

Quadratics

Quadratic functions

A quadratic f(x) = ax² + bx + c has a parabola graph. Useful forms and facts:

x = (−b ± √Δ) / 2a,   Δ = b² − 4acΔ > 0: two roots · Δ = 0: one · Δ < 0: none

The vertex (turning point) is at x = −b/2a. Completing the square gives y = a(x − h)² + k with vertex (h, k).

Calculate

Inverse value

For f(x) = 3x − 5, find f⁻¹(7).
Hint: f⁻¹(x) = (x + 5)/3, so (7 + 5)/3.
Quick check

Graph of the inverse

?The graph of f⁻¹ is obtained from the graph of f by reflecting in which line?
Rational

Rational functions & asymptotes

A rational function is a ratio of polynomials. The reciprocal f(x) = 1/x has a vertical asymptote at x = 0 and a horizontal asymptote at y = 0.

f(x) = (ax + b)/(cx + d)vertical asymptote where denominator = 0; horizontal asymptote y = a/c
Calculate

Discriminant

Find the discriminant Δ = b² − 4ac of 2x² + 3x − 5.
Hint: b² − 4ac = 3² − 4(2)(−5) = 9 + 40.
Match it

Match each function to a key feature

Tap a statement on the left, then its matching partner on the right.

Function
Key feature
Exp & log

Exponential & logarithmic functions

f(x) = aˣ (a > 0) models growth/decay; it has a horizontal asymptote y = 0 and passes through (0, 1). Its inverse is g(x) = logₐx.

y = aˣ ⇔ x = logₐythe exponential and log graphs are reflections in y = x
Calculate

Minimum value

Find the minimum value of f(x) = x² − 6x + 5. (Vertex at x = −b/2a = 3.)
Hint: substitute x = 3: 9 − 18 + 5.
Quick check

No real roots

?A quadratic has discriminant Δ = b² − 4ac < 0. How many real roots does it have?
Strategy

Working with functions

Always state the domain — it can restrict the range and decide whether an inverse exists. Sketch key features: intercepts, asymptotes, vertices.

Exam habit: for composites, substitute the inner function whole and simplify carefully; for inverses, verify with one value.

Recap

The big ideas to know

Notation: f(x) is one output per input; state the domain

Composite: (f∘g)(x) = f(g(x)) — inner function first

Inverse: swap x and y; reflection in y = x; needs one-to-one

Transformations: +a up, −b right, p·f stretch, −f reflect

Quadratics: Δ = b²−4ac decides roots; vertex at x = −b/2a

You've worked through the whole topic. Press Finish to see your score.

🏆

Mini-lesson complete!

⭐⭐⭐

You've worked through Functions for IB Diploma Mathematics: Analysis & Approaches SL. 🎉

Your stars: 0 / 0

Next: test yourself in the Evaluate stage Confidence Quiz, then lock it in with Verify.

📣 Smashed it? Share your score

Challenge a mate to beat your stars, or show a parent how you got on.

→ Back to all subjects