Learn in your language
Skip to content
IGCSE · Cambridge (CIE) · 0980

Functions, domains, inverses and composition

Track the order of input–output rules and state where they are valid.

Section E2.13 only · Functions, inverses and composition

Algebra and graphs pathway · Cambridge 0980 (9–1) · E2.13

Extended only. This is the separate 9–1 qualification 0980. Cambridge intends Core for grades 4–1 and Extended for grades 9–5; the eligible award bands are grades 5–1 for the Core papers and grades 9–3 for the Extended papers.

Before you begin

  • Substitute expressions and rearrange a formula.
  • Understand squares, roots and denominator restrictions.

Work on paper. Try each question before revealing help, and explain why your method works.

Quick readiness check

For f(x) = 4x − 3, what is f(2)?

What you will learn

  • Use function notation with a stated domain and range.
  • Find an inverse by reversing a one-to-one rule.
  • Form composite functions in the stated order.
gf(3): apply f first, then gfg(3): apply g first, then f37493919f: 2x + 1g: x²g: x²f: 2x + 1
With f(x) = 2x + 1 and g(x) = x², input 3 goes through f to 7, then through g to 49. Reversing the order gives 3 through g to 9, then through f to 19. Cambridge gf(x) means g(f(x)).

A function assigns one output to each allowed input

For f(x) = 3x − 4, f(2) = 2. The notation f(2) means apply the rule to input two; it is not f multiplied by two. The domain is the permitted input set and the range is the output set actually reached. If the domain is 0 ≤ x ≤ 2, the range of this increasing rule is −4 ≤ f(x) ≤ 2.

An algebraic formula can impose restrictions: f(x) = 1/(x − 2) cannot accept x = 2, and f(x) = √x requires x ≥ 0 for real outputs. A domain may be narrower still when the problem states it. For f(x) = x² with −2 ≤ x ≤ 3, the range is 0 to 9; substituting only the two endpoints would miss the minimum at zero.

An inverse undoes a one-to-one rule

To invert f(x) = 3x − 4, write y = 3x − 4 and solve x = (y + 4)/3. Rename the inverse input to x, giving f⁻¹(x) = (x + 4)/3. The notation f⁻¹ does not mean 1/f. Check f⁻¹(f(x)) = x and f(f⁻¹(x)) = x on the appropriate domains.

The unrestricted square rule is not one-to-one because two and negative two both map to four. If its domain is x ≥ 0, its inverse is √x, and the inverse's domain is the original non-negative range. If the original domain were x ≤ 0, its inverse would instead use −√x. Stating the restriction prevents an inverse rule from returning two outputs for one input.

Composition applies the inside function first

In Cambridge notation gf(x) = g(f(x)): apply f first, then g. If f(x) = 2x + 1 and g(x) = x², gf(x) = (2x + 1)² while fg(x) = 2x² + 1. At x = 3, the first order gives 49 and the reverse gives 19. Composition usually depends on the order and is not multiplication of outputs.

Replace every occurrence of the outer function's input with the complete inner expression, using brackets. For f(x) = 3/(x + 1) and g(x) = x², fg(x) = 3/(x² + 1). First ensure an actual input is allowed by the inner rule and its output is allowed by the outer rule. This course does not require students to derive domains and ranges of composite functions as a separate assessed technique.

Pause and explain

In gf(x) = g(f(x)), which rule acts first?

Put the idea to work

Worked example

For f(x) = 2x + 1 and g(x) = x², find gf(x), fg(x) and f⁻¹(x).

Show the worked solution
  1. Apply f before g: gf(x) = (2x + 1)².
  2. Apply g before f: fg(x) = 2x² + 1.
  3. Rearrange y = 2x + 1 to obtain f⁻¹(x) = (x − 1)/2.

Answer gf(x) = (2x + 1)²; fg(x) = 2x² + 1; f⁻¹(x) = (x − 1)/2

Try a topic test

Choose Easy, Normal or Difficult. Save your answers and open worked review after finishing.

Test this topic →

From guided practice to a new situation

Write your answer and reasoning first. Use a hint only if you are stuck. The model solution is for self-checking; your written work is not automatically marked.

1 · Guided

For f(x) = 5x + 2, find f(−1) and f⁻¹(x).

Give me a hint

Undo adding two, then multiplying by five.

Compare my reasoning
  1. f(−1) = 5(−1) + 2 = −3.
  2. From y = 5x + 2, rearrange x = (y − 2)/5.
  3. Thus f⁻¹(x) = (x − 2)/5; applying it to −3 returns −1.

f(−1) = −3; f⁻¹(x) = (x − 2)/5

Look for these in your work

  • Substituted the signed input correctly.
  • Checked the inverse using the original output.
2 · Independent

For f(x) = x − 4 and g(x) = 3x², find gf(x) and fg(x), then evaluate both at x = 2.

Give me a hint

Replace the outer rule's input with the complete inner expression.

Compare my reasoning
  1. gf(x) = 3(x − 4)², so gf(2) = 12.
  2. fg(x) = 3x² − 4, so fg(2) = 8.
  3. The different results confirm that changing the order changes this composite.

gf(x) = 3(x − 4)²; fg(x) = 3x² − 4; gf(2) = 12, fg(2) = 8

Look for these in your work

  • Kept the correct composition order.
  • Bracketed the expression before squaring.
3 · Transfer

A sensor calibration uses f(x) = 2x + 6 on raw readings 0 ≤ x ≤ 10. State its calibrated range, inverse, and the raw reading corresponding to calibrated output 18.

Give me a hint

The increasing rule maps the domain endpoints to its range endpoints.

Compare my reasoning
  1. Outputs run from f(0) = 6 to f(10) = 26.
  2. The inverse is f⁻¹(y) = (y − 6)/2, defined for calibrated readings 6 ≤ y ≤ 26.
  3. For y = 18, the raw reading is (18 − 6)/2 = 6, within its allowed input interval.

Range [6, 26]; inverse (y − 6)/2; raw reading 6

Look for these in your work

  • Kept the original domain and inverse domain distinct.
  • Checked the recovered reading is allowed.

Common mistakes

  • Reading f(x) as multiplication.
  • Confusing an inverse function with a reciprocal.
  • Applying composite functions in the opposite order.
Recall without your notes

What can you explain now?

For f(x) = x² on x ≥ 0, give its range and inverse.

Compare with the explanation

Range y ≥ 0; f⁻¹(x) = √x on x ≥ 0

The non-negative domain makes squaring one-to-one. Its non-negative outputs form the inverse's domain.

After trying it yourself, choose your next review. This is your self-assessment.

Your review choice appears on Today. Sign in to sync it across devices.

Make it stick

Build two simple functions and apply them in both orders to the same input. Find an inverse for one and state its permitted inputs.

If you needed the solution, close it and solve the problem again from a blank page. A correct answer is stronger when you can explain the reason for each step.

Keep learning Mathematics (9-1)

Course scope and assessment

StudyForA maps the 72 Core and Extended section entries in Cambridge IGCSE Mathematics (9–1) 0980 to original teaching and staged practice. This route covers the 2025–2027 syllabus and the 2028–2030 Version 2 syllabus; Cambridge says the 2028 update makes no significant changes affecting teaching, while its assessment overview is updated. The course keeps the 9–1 grading and paper rules separate from 0580. Questions and written work are self-checked, not Cambridge-graded; this is not a timed mock or an official grade, and subject-teacher review remains pending. 0980 is available in June and November in Administrative Zone 3 and for centres in Oman and the UAE. Confirm the exam series and your centre's entry eligibility with Cambridge and your exams officer.

StudyForA · Learn with understanding

Original teaching content and links to official sources. Check your exam year and qualification before using a resource.