aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesMath AI HLTopic 2.7Composite functions
Back to Math AI HL Topics
2.7.13 min read

Composite functions (Math AI HL)

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

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.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime
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 FreeView All Math AI HL Topics