Note AcademyNote Academy

Mathematics (AS & A Level) 9709 · Chapter 2

Functions

Paper 1. Domain and range, composite functions, one-one functions and their inverses, and transformations of the graph of y = f(x).

Written for the 2026–2027 syllabus · 6 min read

1.2 Functions

The language of functions

A function takes each input to exactly one output.

TermMeaning
DomainThe set of allowed inputs
RangeThe set of outputs the function actually gives
One-oneEach output comes from only one input
Many-oneSome output comes from more than one input

f(x)=x2\mathrm{f}(x) = x^2 for all real xx is many-one, because f(2)=f(−2)\mathrm{f}(2) = \mathrm{f}(-2). With the domain x≥0x \geq 0 it becomes one-one.

Finding the range

Sketch the graph over the given domain, or complete the square for a quadratic, and read off the yy-values.

f(x)=(x−2)2+3\mathrm{f}(x) = (x - 2)^2 + 3, and the bracket is never negative, so f(x)≥3\mathrm{f}(x) \geq 3.

On this domain the function is increasing, since the turning point at x=2x = 2 is outside it. f(3)=4\mathrm{f}(3) = 4 and f(5)=12\mathrm{f}(5) = 12, so 4≤f(x)≤124 \leq \mathrm{f}(x) \leq 12.

Composite functions

fg(x)\mathrm{fg}(x) means f(g(x))\mathrm{f}(\mathrm{g}(x)): apply g\mathrm{g} first, then f\mathrm{f}.

fg(x)=2x2+3gf(x)=(2x+3)2\mathrm{fg}(x) = 2x^2 + 3 \qquad \mathrm{gf}(x) = (2x + 3)^2

They are different. Order matters.

Inverse functions

Only a one-one function has an inverse. The inverse undoes the function, so f−1f(x)=x\mathrm{f}^{-1}\mathrm{f}(x) = x.

To find it: write y=f(x)y = \mathrm{f}(x), make xx the subject, then swap the letters.

y=(x−1)2+2⇒x−1=±y−2y = (x - 1)^2 + 2 \quad\Rightarrow\quad x - 1 = \pm\sqrt{y - 2}

The domain x≥1x \geq 1 means x−1≥0x - 1 \geq 0, so take the positive root. Then

f−1(x)=1+x−2,x≥2\mathrm{f}^{-1}(x) = 1 + \sqrt{x - 2}, \quad x \geq 2

y(x−3)=2x+1⇒xy−2x=1+3y⇒x=3y+1y−2y(x - 3) = 2x + 1 \quad\Rightarrow\quad xy - 2x = 1 + 3y \quad\Rightarrow\quad x = \frac{3y + 1}{y - 2}

So f−1(x)=3x+1x−2\mathrm{f}^{-1}(x) = \dfrac{3x + 1}{x - 2}, x≠2x \neq 2.

Graphs of a function and its inverse

The graph of y=f−1(x)y = \mathrm{f}^{-1}(x) is the reflection of y=f(x)y = \mathrm{f}(x) in the line y=xy = x. Any point where the two meet on that line satisfies f(x)=x\mathrm{f}(x) = x.

The curve y = f(x), its inverse and the line y = x, with the two curves mirror images in the line

The curve y = f(x), its inverse and the line y = x, with the two curves mirror images in the line

Making a function one-one

A quadratic is one-one only on one side of its turning point.

The turning point is at x=2x = 2, since f(x)=(x−2)2−3\mathrm{f}(x) = (x - 2)^2 - 3. So the least value is k=2k = 2.

Transformations of graphs

EquationTransformation of y=f(x)y = \mathrm{f}(x)
y=f(x)+ay = \mathrm{f}(x) + aTranslation by (0a)\begin{pmatrix} 0 \\ a \end{pmatrix}: up by aa
y=f(x+a)y = \mathrm{f}(x + a)Translation by (−a0)\begin{pmatrix} -a \\ 0 \end{pmatrix}: left by aa
y=af(x)y = a\mathrm{f}(x)Stretch parallel to the yy-axis, scale factor aa
y=f(ax)y = \mathrm{f}(ax)Stretch parallel to the xx-axis, scale factor 1a\dfrac{1}{a}
y=−f(x)y = -\mathrm{f}(x)Reflection in the xx-axis
y=f(−x)y = \mathrm{f}(-x)Reflection in the yy-axis

The curve y = f(x) with four transformed copies: a translation up, a translation right, a stretch parallel to the y-axis and a stretch parallel to the x-axis

The curve y = f(x) with four transformed copies: a translation up, a translation right, a stretch parallel to the y-axis and a stretch parallel to the x-axis

Combining transformations

Apply the changes inside the bracket first, then those outside. Outside the bracket, a multiplication comes before an addition, just as in arithmetic.

  1. Translation by (20)\begin{pmatrix} 2 \\ 0 \end{pmatrix}, giving y=(x−2)2y = (x - 2)^2.
  2. Stretch parallel to the yy-axis, scale factor 3, giving y=3(x−2)2y = 3(x - 2)^2.
  3. Translation by (01)\begin{pmatrix} 0 \\ 1 \end{pmatrix}.

Reflecting gives y=−f(x)y = -\mathrm{f}(x). Translating gives y=4−f(x)y = 4 - \mathrm{f}(x). Doing them in the other order gives y=−f(x)−4y = -\mathrm{f}(x) - 4, which is different.

Test yourself17 flashcards on this chapter.Flashcards →

Practise this chapter

Every past-paper question on these topics, with the mark scheme.