Functions, graphs, composites and inverses

Maths: Analysis and Approaches · Functions. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths: Analysis and Approaches topics

The idea

A function is a rule that gives exactly one output for each input. The domain is the set of inputs allowed and the range is the set of outputs that come out. Inputs are ruled out if they need a square root of a negative number or division by zero.

A composite function applies one function and then another. (f ∘ g)(x) means f(g(x)): g acts first, then f. The order matters.

The inverse f−1 undoes f. It exists only if f is one-to-one, so sometimes the domain must be restricted first. The graph of f−1 is the graph of f reflected in the line y = x.

In simpler words

A function gives one output for each input. The domain is the inputs allowed. The range is the outputs you get. A composite function does one function, then another. In f(g(x)), g goes first. The inverse undoes the function. Its graph is a mirror image of the original in the line y = x.

An everyday comparison

A composite function is like getting dressed: socks first, then shoes. Doing them in the other order gives a different result, just as f(g(x)) and g(f(x)) usually differ. The inverse is undressing, which reverses each step in the opposite order. The comparison is limited, because an inverse only exists if the function is one-to-one.

Rules to remember

Common mistake

Doing a composite in the wrong order. In (f ∘ g)(x) the function written nearest to x, g, is applied first.

In the exam

For (f ∘ g)(x), write f(g(x)), substitute g(x) into f and simplify. For an inverse, write y = f(x), swap x and y, then make y the subject, and write f−1(x) = .... State its domain as the range of f. For domain questions, give the condition: inside a root ≥ 0, denominator ≠ 0. Sketch f and f−1 as reflections in y = x.

Worked example

f(x) = (x − 1)2 + 2 for x ≥ 1. Find f−1(x) and its domain.

  1. Write y = (x − 1)2 + 2 and swap: x = (y − 1)2 + 2.
  2. (y − 1)2 = x − 2, so y − 1 = √(x − 2). The positive root is taken because y ≥ 1.
  3. The range of f is y ≥ 2, so the domain of f−1 is x ≥ 2.
  4. Check: f(3) = 4 + 2 = 6 and f−1(6) = 1 + √4 = 3.

Answer: f−1(x) = 1 + √(x − 2), with domain x ≥ 2

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Equations of straight linesQuadratic functions, equations and inequalities →Take a Maths: Analysis and Approaches test