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
  • IB Physics
  • IB Biology
  • IB Chemistry
  • IB History
  • IB History (2028+)
  • IB Global Politics
  • IB Psychology
  • IB Philosophy
  • IB Geography
  • IB Spanish B
  • IB German B
  • IB Italian B
  • IB French B
  • IB English B
  • IB English A Lang & Lit
  • IB Spanish A Lang & Lit
  • IB French A Lang & Lit
Question Banks
  • ESS Question Bank
  • Economics Question Bank
  • Business Management Question Bank
  • Math AI Question Bank
  • Math AA Question Bank
  • Physics Question Bank
  • Biology Question Bank
  • Chemistry Question Bank
  • History Question Bank
  • History (2028+) Question Bank
  • Global Politics Question Bank
  • Psychology Question Bank
  • Philosophy Question Bank
  • Geography Question Bank
  • Spanish B Question Bank
  • German B Question Bank
  • Italian B Question Bank
  • French B Question Bank
  • English B Question Bank
  • English A Lang & Lit Question Bank
  • Spanish A Lang & Lit Question Bank
  • French A Lang & Lit Question Bank
Predicted Topics 2026
  • ESS Predictions 2026
  • Economics Predictions 2026
  • Business Management Predictions 2026
  • Math AI Predictions 2026
  • Math AA Predictions 2026
  • Physics Predictions 2026
  • Geography Predictions 2026
  • Spanish B Predictions 2026
  • German B Predictions 2026
  • Italian B Predictions 2026
  • French B Predictions 2026
  • English B 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.1506
NotesMath AATopic 2.5Composite functions
Back to Math AA Topics
2.5.12 min read

Composite functions

IB Mathematics: Analysis and Approaches • Unit 2

Smart study tools

Turn reading into results

Move beyond passive notes. Answer real exam questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  • What a composite is
  • Evaluate a composite at a number
  • Form the composite expression
  • Solve composites & find an unknown
  • Composites from a table — the exam question
Inner function first: A composite (f∘g)(x) = f(g(x)) means: do the inner function g first, then feed its output into f.

Read it right-to-left — "f of g of x."
Order matters: In general f∘g ≠ g∘f.

Which function is on the inside changes the answer, so always apply the inner one first.
A machine into a machine: Picture two machines in a row: x goes into g, g's output goes into f.

(f∘g) is "g, then f".

A composite is two machines in a row: the inner function g runs first, then the outer f. Here g adds 3, then f squares, so f(g(x)) = (x + 3)². Pick an input or press play and watch the value pass through g, then f.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Unlock free for 7 days

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 free for 7 days:

  • 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 your 7-day free trial Full access to Aimnova Pro · cancel anytime
Work inside-out: To find (f∘g)(a): compute g(a) first, then put that answer into f.

IB-style question — a number in

f(x) = 2x + 1 and g(x) = x².

Find (f∘g)(3) and (g∘f)(3).

Step by step

  1. (f∘g)(3): inner first, g(3) = 9, then f(9).
  2. (g∘f)(3): now f(3) = 7, then g(7).

Final answer

(f∘g)(3) = 19, but (g∘f)(3) = 49 — order matters!

One number at a time: Don't try to do both functions at once — evaluate the inner one to a single number, then the outer one.

Practice with real exam questions

Answer exam-style questions and get AI feedback that shows you exactly what examiners want to see in a full-marks response.

Try Practice Free7-day free trial • No card required
Substitute the whole inner function: To get (f∘g)(x), replace every x in f with the entire expression g(x) (in brackets), then simplify.

IB-style question — build both composites

f(x) = 2x + 1 and g(x) = x².

Find (f∘g)(x) and (g∘f)(x).

Step by step

  1. (f∘g)(x): put g(x) = x² into f.
  2. (g∘f)(x): put f(x) = 2x + 1 into g.

Final answer

(f∘g)(x) = 2x² + 1 ≠ (g∘f)(x) = 4x² + 4x + 1.

Use brackets: When the inner function goes into a square or a product, wrap it in brackets: (2x + 1)², not 2x + 1².
Build it, then solve or match: Form the composite expression, then either solve an equation in it, or match coefficients to find an unknown function or constant.

IB-style question — solve a composite equation

f(x) = 3x − 2 and g(x) = x + 5.

Solve (f∘g)(x) = 10.

Step by step

  1. Form the composite.
  2. Set equal to 10 and solve.

Final answer

x = −1.

IB-style question — find f from a composite

g(x) = x².

The linear function f(x) = ax + b is such that (f∘g)(x) = 2x² − 3.

Find a and b, and hence write down f(x).

Step by step

  1. Write the composite as f acting on the inner function, then put in g(x) = x².
  2. f(x) = ax + b means “multiply the input by a, then add b”. Here the input is x², so replace every x in ax + b with x².
  3. This composite must equal the given 2x² − 3, so the two expressions are the same for every x.
  4. Compare the x² terms on each side: a must be the coefficient on the right.
  5. Compare the constant (number-only) terms on each side: b must be the constant on the right.
  6. Put a = 2 and b = −3 back into f(x) = ax + b.

Final answer

a = 2 and b = −3, so f(x) = 2x − 3.

Feeling unprepared for exams?

Get a clear study plan, practice with real questions, and know exactly where you stand before exam day. No more guessing.

Get Exam Ready Free7-day free trial • No card required
Work the inner function first: When f and g are given by a table, a composite like (f∘g)(a) is read inside-out: first find g(a) in the g-row, then look that answer up in the f-row.

No algebra — just two lookups, in the right order.
x−1025
f(x)42−16
g(x)250−1

IB-style question — composite from a table

The table shows values of f(x) and g(x); both f and g are one-to-one.

Find:

(a) (f∘g)(0);

(b) (g∘f)(0).

Step by step

  1. (a) Inside first: read g(0) from the g-row.
  2. Then apply f to that result: read f(5) from the f-row.
  3. (b) Now the other order — inside first: read f(0).
  4. Then apply g to it: read g(2).

Final answer

(a) (f∘g)(0) = 6. (b) (g∘f)(0) = 0. They differ — order matters.

Composites: work from the inside out: For (f∘g)(0) = f(g(0)), do the inside first — find g(0), then feed that answer into f.

The order matters: (g∘f)(0) = g(f(0)) is usually a different value.

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.

f(x) = x² and g(x) = 2x − 1. Find (g∘f)(3). [2 marks]

Related Math AA Topics

Continue learning with these related topics from the same unit:

2.1.1Equations of lines
2.1.2Parallel lines
2.1.3Perpendicular lines
2.1.4Perpendicular bisector
View all Math AA topics

Improve your exam technique

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

Previous
2.4.2GDC intersections
Next
Finding the inverse2.5.2

8 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 AA Topics