Functions · Year 12

In Year 12 you learn: composite functions.

A function is a rule that turns each input into exactly one output, written like f(x) = 3x + 1. Function notation makes it easy to talk about combining rules (composite functions) and undoing them (inverse functions).

Key facts

  • f(4) means substitute 4 into the function f.
  • fg(x) means do g first, then f: fg(x) = f(g(x)).

Worked examples

Example 1

f(x) = 2x² − 3. Find f(−2), and solve f(x) = 47.

Answer: f(−2) = 5; x = ±5

Example 2

f(x) = 3x − 1 and g(x) = x² + 2. Find fg(2) and gf(x).

Answer: fg(2) = 17; gf(x) = 9x² − 6x + 3

Example 3

Find the inverse of f(x) = (2x + 5)/3.

Answer: f⁻¹(x) = (3x − 5)/2

Example 4

f(x) = 3x + 2. Find f(4).

Answer: 14

Example 5

g(x) = x^2 − 1. Find g(−3).

Answer: 8

Example 6

f(x) = 5x − 4. Solve f(x) = 21.

Answer: x = 5

Example 7

f(x) = 2x + 1 and g(x) = x^2. Find gf(3).

Answer: 49

Example 8

Find the inverse of f(x) = 4x − 3.

Answer: f⁻¹(x) = (x + 3)/4

Other years