aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Stay in the loop

Study tips, product updates, and early access to new features.

aimnova.

AI-powered IB study platform with personalised plans, instant feedback, and examiner-style marking.

IB Subjects
  • All IB Subjects
  • IB Diploma
  • IB ESS
  • IB Economics
  • IB Business Management
  • IB Math AI
  • IB Math AA
Question Banks
  • ESS Question Bank
  • Economics Question Bank
  • Business Management Question Bank
  • Math AI Question Bank
  • Math AA Question Bank
Predicted Topics 2026
  • ESS Predictions 2026
  • Economics Predictions 2026
  • Business Management Predictions 2026
  • Math AI Predictions 2026
  • Math AA Predictions 2026

Study Resources

  • Free Study Notes
  • Mock Exams
  • Revision Guide
  • Flashcards
  • Exam Skills
  • Command Terms
  • Past Paper Feedback
  • Grade Calculator
  • Exam Timetable 2026

Company

  • Features
  • Pricing
  • About Us
  • Blog
  • Contact
  • Terms
  • Privacy
  • Cookies

© 2026 Aimnova. All rights reserved.

Made with 💜 for IB students worldwide

v0.1.894
NotesMath AI HLTopic 2.7Composite functions
Back to Math AI HL Topics
2.7.11 min read

Composite functions

IB Mathematics: Applications and Interpretation • Unit 2

IB exam ready

Study like the top scorers do

Access a smart study planner, AI tutor, and exam vault — everything you need to hit your target grade.

Start Free Trial

Contents

  • Do the inside first: f(g(x))
  • Order matters — and reading composites in context
A machine plugged into a machine: Picture two machines on a conveyor belt. The number goes into the inner machine g first, and whatever comes out is dropped straight into the outer machine f.

That chain is written (f∘g)(x) = f(g(x)) — read it right-to-left: g first, then f.

The small circle ∘ just means 'composed with'. To evaluate, work from the inside out: compute g(x), then apply f to that result.
Composite: apply the inner function g, then the outer function f.

IB-style question — evaluate a composite

A factory's profit depends on output through f(x) = 3x − 5, and output depends on staff through g(x) = x² + 1.

Find (f∘g)(2).

Step by step

  1. Do the inside g first: substitute x = 2 into g.
  2. Feed that result into the outer function f.

Final answer

(f∘g)(2) = 10 — the result of running 2 through g and then f.

IB-style question — build the formula

With f(x) = 3x − 5 and g(x) = x² + 1, find an expression for (f∘g)(x).

Step by step

  1. Start from the definition: f∘g means f of g(x).
  2. Wherever f has its input, put the whole inner expression x² + 1.
  3. Expand and simplify.

Final answer

(f∘g)(x) = 3x² − 2. Check: at x = 2 this gives 3(4) − 2 = 10, matching above.

f∘g is usually NOT g∘f: Swapping the order changes the answer, because you change which machine runs first.

Think of a shop sale: one machine takes 20% off (multiply by 0.8) and another adds \$5 delivery (add 5). Taking 20% off then adding delivery is not the same total as adding delivery then taking 20% off the bigger amount.

In the exam this shows up as 'which order is cheaper / better?' — you compute both composites and compare, then interpret the result in words.

IB-style question — which order is cheaper?

A chair costs $200. A store offers a discount d(x) = 0.8x (20% off) and a voucher v(x) = x − 30 ($30 off).

Is it cheaper to apply the discount first or the voucher first?

Step by step

  1. Discount first, then voucher: (v∘d)(200) = v(0.8 × 200).
  2. Voucher first, then discount: (d∘v)(200) = d(200 − 30).
  3. Compare the two final prices.

Final answer

Apply the discount first: $130 versus $136. The 20% comes off a larger amount, so taking the percentage off first saves more.

IB-style question — composite from a table

A function is given by a table: g(1) = 4, g(4) = 2, g(2) = 5, and f(2) = 7, f(5) = 1, f(4) = 3.

Find (f∘g)(1) and (f∘g)(2).

Step by step

  1. (f∘g)(1): inner first, g(1) = 4, then f(4).
  2. (f∘g)(2): g(2) = 5, then f(5).

Final answer

(f∘g)(1) = 3 and (f∘g)(2) = 1 — read g first, then look that output up in f.

Try an IB Exam Question — Free AI Feedback

Test yourself on Composite functions. Write your answer and get instant AI feedback — just like a real IB examiner.

Given f(x) = 4x − 1 and g(x) = 2 − x, find (f∘g)(3). [2 marks]

Related Math AI HL Topics

Continue learning with these related topics from the same unit:

2.1.1Gradient and y-intercept
2.1.2Writing the equation of a straight line
2.1.3Parallel and perpendicular lines
2.1.4Linear models in context
View all Math AI HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Math AI HL

Previous
2.6.3Interpolation, extrapolation, and validity
Next
Inverse functions2.7.2

11 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start Free TrialView All Math AI HL Topics