How to work out composite functions like fg(1) and gf(x)=6

Composite functions ask you to apply one function and then another. This guide shows you how to evaluate fg(1) in the right order and how to solve an equation such as gf(x) = 6 step by step. It suits A Level Maths students revising functions before an exam.

YouTube video: Description:A Level Maths UK 🇬🇧 Composite functions explained step by step.

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
1 min 2 s
Time to do it
10 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Write both functions out clearly and label them, for example f(x) = 2x + 3 and g(x) = x squared. Check which letter belongs to which rule before you start.

  2. Read fg(1) as f(g(1)). The function closest to the number acts first, so you work out g(1) before you touch f.

  3. Substitute 1 into g. With g(x) = x squared, that gives g(1) = 1. Keep this value on the page, not in your head.

  4. Put that answer into f. f(1) = 2(1) + 3 = 5, so fg(1) = 5. The output of g becomes the input of f.

  5. For gf(x) = 6, work from the inside out. Write gf(x) as g(f(x)) and replace the x in g with the whole expression for f(x).

  6. Build the composite: g(f(x)) = (2x + 3) squared. Set that equal to 6 to form the equation you need to solve.

  7. Solve it. (2x + 3) squared = 6 gives 2x + 3 = plus or minus root 6, so x = (minus 3 plus root 6) / 2 or x = (minus 3 minus root 6) / 2.

  8. Substitute each answer back into gf(x) and confirm you get 6. Keep both roots unless the domain of the question rules one out.

Tips and common mistakes

Fg(x) means f(g(x)), never f(x) multiplied by g(x). The order changes the answer, so read it carefully.

Always evaluate the inner function first, then feed its output into the outer one.

When a square equals a number, remember the plus and minus roots and check the domain before discarding one.

Write each substitution on its own line in the exam. Method marks are given for the correct order even if the arithmetic slips.

Questions

Is fg(x) the same as gf(x)?

No. fg(x) means f(g(x)) and gf(x) means g(f(x)). Applying the two functions in a different order usually gives a different result.

What does fg(1) actually ask me to do?

It asks you to apply g to 1 first, then apply f to whatever g produces. So find g(1), then put that number into f.

How do I solve an equation like gf(x) = 6?

Form the composite expression g(f(x)) first, then solve the resulting equation for x. Remember to keep both roots when a square is involved.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in School & Learning

See all