Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Advanced (2026) Introduction to Functions and Relations

Functions and Relations

20 practice questions 2 video lessons Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Functions and Relations - Video - Functions and Relations Watch
  • Functions and Relations - Video - Domain and Range of functions and relations Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The domain of a function or relation is the set of allowed \(x\)-values and the range is the set of \(y\)-values it produces. This Year 11 Mathematics Advanced page shows how to write sets of numbers in interval notation, as inequalities and in words, how to find the natural domain of functions with fractions and square roots, and how to find the range from the vertex, from a restricted domain, from a graph and from standard results.

A relation is a set of ordered pairs \((x,y)\). It can be given as a list, a rule such as \(x^{2}+y^{2}=25\), or a graph. A function is a relation in which each \(x\)-value is paired with exactly one \(y\)-value, for example \(f(x)=x^{2}-4\).

The domain is the set of all \(x\)-values (first coordinates). The range is the set of all \(y\)-values (second coordinates). For \(\{(0,4),(2,1),(2,3),(5,4)\}\) the domain is \(\{0,2,5\}\) and the range is \(\{1,3,4\}\): each value is listed once.

If no domain is given, a function has its natural domain: every real \(x\) for which the rule gives a real number. Two things are not allowed: dividing by zero, and taking the square root of a negative number.

An interval is an unbroken set of real numbers. In interval notation a square bracket \([\ \ ]\) means the endpoint is included and a round bracket \((\ \ )\) means it is excluded. The symbol \(\infty\) (infinity) is not a number, so it always takes a round bracket. The symbol \(\cup\) (union) joins two intervals. On a number line or graph, a closed dot is included and an open dot is excluded.

Intervals on a number lineTop: the interval from -3 to 4 with a closed dot at -3 (included) and an open dot at 4 (excluded). Bottom: every number less than or equal to 1, with a closed dot at 1 and an arrow to the left. −4 −3 −2 −1 0 1 2 3 4 5 6 [−3, 4) means −3 ≤ x < 4 −4 −3 −2 −1 0 1 2 3 4 5 6 (−∞, 1] means x ≤ 1
A square bracket matches a closed dot (included); a round bracket matches an open dot (excluded). An arrow means the interval goes on forever.
Reading the domain and range from a graphThe parabola y = (x - 1) squared minus 3 drawn from x = -2 to x = 2. The left end (-2, 6) is a closed dot and the right end (2, -2) is an open dot. The lowest point is the vertex (1, -3). The domain is [-2, 2) and the range is [-3, 6]. x y −2 1 2 −3 6 (−2, 6) (2, −2) (1, −3) domain [−2, 2) range [−3, 6]
For \(y=(x-1)^{2}-3\) drawn from \((-2,6)\) (closed) to \((2,-2)\) (open): the domain \([-2,2)\) is read along the \(x\)-axis, and the range \([-3,6]\) along the \(y\)-axis, from the vertex up to the highest point.

Interval notation, inequalities and words describe the same set of numbers:

InequalityInterval notationIn words
\(a\le x\le b\)\([a,b]\)from \(a\) to \(b\), both included
\(a\lt x\lt b\)\((a,b)\)between \(a\) and \(b\), both excluded
\(a\le x\lt b\)\([a,b)\)\(a\) included, \(b\) excluded
\(x\ge a\)\([a,\infty)\)all real numbers greater than or equal to \(a\)
\(x\gt a\)\((a,\infty)\)all real numbers greater than \(a\)
\(x\le b\)\((-\infty,b]\)all real numbers less than or equal to \(b\)
\(x\neq a\)\((-\infty,a)\cup(a,\infty)\)all real numbers except \(a\)
all real \(x\)\((-\infty,\infty)\)all real numbers

Natural domain: rule out the \(x\)-values that break the function.

\[\dfrac{1}{g(x)}:\ g(x)\neq 0\qquad \sqrt{g(x)}:\ g(x)\ge 0\qquad \dfrac{1}{\sqrt{g(x)}}:\ g(x)\gt 0\]
for 1 over g of x, g of x is not 0; for root g of x, g of x is at least 0; for 1 over root g of x, g of x is greater than 0

Ranges worth knowing (natural domain):

\[y=\sqrt{x-a}:\ y\ge 0\qquad y=2^{x}:\ y\gt 0\qquad y=\dfrac{1}{x-a}:\ y\neq 0\]
a square root is at least 0; 2 to the x is greater than 0; 1 over x minus a is never 0
\[y=a(x-h)^{2}+k:\quad a\gt 0\Rightarrow y\ge k,\qquad a\lt 0\Rightarrow y\le k\]
for a parabola with vertex h, k: if a is positive the range is y at least k; if a is negative the range is y at most k
\[x^{2}+y^{2}=r^{2}:\ \text{domain }[-r,r],\ \text{range }[-r,r]\qquad y=\sqrt{r^{2}-x^{2}}:\ \text{domain }[-r,r],\ \text{range }[0,r]\]
a circle with centre the origin and radius r has domain and range from negative r to r; the upper semicircle has range 0 to r
Concave down parabola. \(f(x)=-(x-2)^{2}+5\) has its vertex \((2,5)\) at the top, so \(5\) is the maximum value and the range is \((-\infty,5]\).
Upper semicircle. \(y=\sqrt{25-x^{2}}\) is the top half of the circle \(x^{2}+y^{2}=25\). Its \(y\)-values run from \(0\) (at \(x=\pm 5\)) up to \(5\) (at \(x=0\)), so the range is \([0,5]\).

How to find the natural domain

  1. Look for a denominator and a square root.
  2. Write the condition for each: denominator \(\neq 0\); expression under the root \(\ge 0\); a root in the denominator needs \(\gt 0\).
  3. Solve each condition, combine them, and write the answer as an inequality or in interval notation.

For a quadratic under the root, use its graph. \((x+1)(5-x)\ge 0\) has zeros \(x=-1\) and \(x=5\); the parabola is concave down, so it is \(\ge 0\) between the zeros: \(-1\le x\le 5\). A concave up parabola such as \(x^{2}-4\) is positive outside its zeros: \(x\lt -2\) or \(x\gt 2\).

How to find the range

  1. Quadratic: find the vertex (complete the square if needed). The \(y\)-value of the vertex is the minimum (concave up) or maximum (concave down).
  2. Restricted domain: check the vertex (if it lies inside the domain) and both endpoints. The smallest and largest of these values give the range.
  3. Square roots, \(2^{x}\), fractions: use the standard results. A fraction with a positive constant top and a bottom of at least \(c\gt 0\) lies between \(0\) and \(\dfrac{\text{top}}{c}\) (Example 4).
  4. From a graph: read the lowest and highest \(y\)-values, and the left and right ends. Use a square bracket for a closed dot and a round bracket for an open dot.
  5. From a list of ordered pairs: the domain is the set of first coordinates and the range is the set of second coordinates, each value listed once.
Example 1 — Interval notation
(i) Write the set of real numbers \(x\) such that \(-1\lt x\le 6\) in interval notation.
(ii) The domain of a function is \([3,\infty)\). Write this domain as an inequality and as a worded description.
Solution

(i) \(-1\) is excluded, so use \((\); \(6\) is included, so use \(]\).

The interval (-1, 6]A number line with an open dot at -1, a closed dot at 6, and the numbers between shaded. −2 −1 0 1 2 3 4 5 6 7 8 (−1, 6]

\(\therefore\) \(\boldsymbol{(-1,6]}\)

(ii) A square bracket means \(3\) is included, and the interval continues forever to the right.

\(\therefore\) \(\boldsymbol{x\ge 3}\): all real numbers greater than or equal to \(3\).

Example 2 — Natural domain
Find the natural domain of each function.
(i) \(f(x)=\sqrt{6-3x}\), as an inequality and in interval notation
(ii) \(g(x)=\dfrac{3}{x^{2}-x-6}\)
Solution

(i) The expression under the square root must be non-negative:

\(6-3x\)\(\ge\)\(0\)
\(6\)\(\ge\)\(3x\)
\(x\)\(\le\)\(2\)
6 minus 3x is at least 0, so x is at most 2

\(\therefore\) domain: \(\boldsymbol{x\le 2}\), that is \(\boldsymbol{(-\infty,2]}\)

(ii) The function is undefined where the denominator is zero:

\(x^{2}-x-6\)\(=\)\(0\)
\((x-3)(x+2)\)\(=\)\(0\)
x squared minus x minus 6 equals 0, so x minus 3 times x plus 2 equals 0

\(x=3\) or \(x=-2\)

\(\therefore\) domain: all real \(x\), \(\boldsymbol{x\neq -2,\ 3}\), that is \((-\infty,-2)\cup(-2,3)\cup(3,\infty)\)

Example 3 — Range of a quadratic
Let \(f(x)=x^{2}+4x+7\).
(i) Find the range of \(f(x)\).
(ii) Find the range of \(f(x)\) for the domain \(-3\le x\le 1\).
Solution

(i) Complete the square to find the minimum value:

\(f(x)\)\(=\)\(x^{2}+4x+4-4+7\)
\(\)\(=\)\((x+2)^{2}+3\)
f of x equals x plus 2 squared plus 3

\((x+2)^{2}\ge 0\), so \(f(x)\ge 3\), with \(f(-2)=3\).

\(\therefore\) range \(=\boldsymbol{[3,\infty)}\)

(ii) Check the vertex and both endpoints. The vertex \((-2,3)\) lies inside the domain: minimum \(3\).

\(f(-3)\)\(=\)\(9-12+7=4\)
\(f(1)\)\(=\)\(1+4+7=12\)
f of negative 3 equals 4, f of 1 equals 12
The parabola y = x squared + 4x + 7 for -3 to 1The part of the parabola from x = -3 to x = 1 is dark. Its endpoints are (-3, 4) and (1, 12) and its vertex (-2, 3) lies inside the domain, so the range is [3, 12]. x y −3 −2 −1 1 3 12 (−3, 4) (1, 12) (−2, 3)

The largest value is \(12\) (at \(x=1\)).

\(\therefore\) range \(=\boldsymbol{[3,12]}\), that is \(3\le f(x)\le 12\)

Example 4 — Two conditions, and a bounded range
(i) Find the natural domain of \(f(x)=\dfrac{\sqrt{x+3}}{x-1}\) in interval notation.
(ii) Find the range of \(g(x)=\dfrac{6}{x^{2}+2}\). Give your answer in interval notation and as a worded description.
Solution

(i) Two conditions:

Square root: \(x+3\ge 0\), so \(x\ge -3\).
Denominator: \(x-1\neq 0\), so \(x\neq 1\).

\(\therefore\) domain \(=\boldsymbol{[-3,1)\cup(1,\infty)}\)

(ii) Bound the denominator: \(x^{2}\ge 0\), so \(x^{2}+2\ge 2\), with equality only at \(x=0\).

\(0\lt\dfrac{6}{x^{2}+2}\)\(\le\)\(\dfrac{6}{2}\)
\(\)\(=\)\(3\)
6 over x squared plus 2 is greater than 0 and at most 6 over 2, which is 3

\(g(0)=3\). As \(x\to\pm\infty\), \(g(x)\to 0\) but never reaches \(0\).

\(\therefore\) range \(=\boldsymbol{(0,3]}\): all real numbers greater than \(0\) and less than or equal to \(3\).

Common pitfalls

Infinity always gets a round bracket. Write \([3,\infty)\), never \([3,\infty]\): \(\infty\) is not a number, so it cannot be included.
The root itself can be zero; a denominator cannot. For \(\sqrt{2-x}\) use \(2-x\ge 0\). For \(\dfrac{1}{\sqrt{x^{2}-4}}\) the root is also on the bottom, so use \(x^{2}-4\gt 0\).
Flip the inequality when dividing by a negative. \(-2x\ge -5\) gives \(x\le\dfrac{5}{2}\). Rearranging to \(5\ge 2x\) first avoids the trap.
For a restricted domain, the endpoints are not always the answer. If the vertex lies inside the domain, it gives the minimum (or maximum). For \(f(x)=x^{2}-1\) on \(-2\le x\le 1\), the range is \([-1,3]\), not \([0,3]\).
List each value once. The range of \(\{(1,2),(3,6),(4,6)\}\) is \(\{2,6\}\). Range values come from the second coordinates, not the first.

Frequently asked questions

What is the difference between domain and range?

The domain is the set of \(x\)-values (inputs) a function or relation uses. The range is the set of \(y\)-values (outputs) it produces.

What do square and round brackets mean in interval notation?

A square bracket means the endpoint is included and a round bracket means it is excluded. So \([-3,4)\) means \(-3\le x\lt 4\).

How do you find the natural domain of a function?

Find the \(x\)-values that would make a denominator zero or put a negative number under a square root, and leave them out. Everything else is in the natural domain.

How do you find the range of a quadratic function?

Find the vertex, by completing the square if needed. If the parabola is concave up the range is \(y\ge\) the \(y\)-value of the vertex; if concave down it is \(y\le\) that value.

What is the range of y = 1/x?

All real numbers except \(0\). A fraction with numerator \(1\) can never equal \(0\), but it takes every other real value. The domain is also all real numbers except \(0\).