Functions, relations and graphs
Relations versus functions, the vertical line test, and how to find domain and range from a graph, using interval notation.
Relations and functions
A is any set of ordered pairs $(x, y)$. Every graph you can draw is a relation. A function is a special relation in which each $x$-value is paired with only one $y$-value.
The circle $x^2 + y^2 = 9$ is a relation but not a function: the input $x = 0$ gives two outputs, $y = 3$ and $y = -3$.
Orange: the parabola y = x² − 2. Blue: the circle x² + y² = 9. Slide the pink vertical line across both graphs.
- Can you find a vertical line that cuts the parabola twice? (You can't, so it is a function.)
- Where does the line cut the circle twice? What does that tell you?
Domain and range
The domain is the set of $x$-values the graph uses. Read it by looking left to right. The is the set of $y$-values the graph reaches. Read it by looking bottom to top.
Inequality notation
- $x \ge 2$
- $-1 < y \le 4$
- all real $x$
Interval notation
- $[2, \infty)$
- $(-1, 4]$
- $(-\infty, \infty)$ or $\mathbb{R}$
The range of a parabola starts at the vertex. Move the sliders, then say the range out loud before you check the vertex point.
Find the domain and range of $y = \sqrt{x - 1} + 2$.
Find the domain and range of the semicircle $y = -\sqrt{16 - x^2}$, and say whether it is a function.
Which of these is a relation but not a function?
The circle gives two $y$-values for most $x$-values (for example $x = 0$ gives $y = \pm 1$), so it fails the vertical line test.
The range of $y = (x - 3)^2 + 1$ is:
A squared term is never negative, so the lowest point is the vertex $(3, 1)$. The range is $y \ge 1$, with $1$ included.
Write $-2 \le x < 5$ in interval notation.
Square bracket where the endpoint is included ($-2$), round bracket where it is not ($5$).
Is $x = 3$ (a vertical line) a function?
A vertical line fails the vertical line test completely: one input, infinitely many outputs. Every other straight line is a function.
The range of $y = x^2 + 3$ is:
$x^2 \ge 0$, so $y \ge 3$, and $y = 3$ happens at $x = 0$.
The domain of $y = \sqrt{x + 2}$ is:
Need $x + 2 \ge 0$.
The range of $y = \sqrt{25 - x^2}$ is:
It is the upper semicircle of radius $5$.
$y = \dfrac{1}{x}$ takes every real value except $y = \ ?$
A fraction with numerator $1$ can never equal $0$.
New numbers every time. Keep going until you get five in a row.
Coaching Centre