Look at the picture.
Domain:
![x\in(-\infty,\ -2]\ \cup\ [2,\ \infty)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/2mnhwkb720w0rgoegxyfzyxsbmqxr3ssp8.png)
![x\leq-2\ \vee\ x\geq2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/72lmd49o7qlyn4sqo66ziyp3fdw6t0v8sw.png)
Range:
![y\in(-\infty,\ \infty)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/wq77nyvggsh0r86qoifkml7a1hmuujuek5.png)
![y\in\mathbb{R}](https://img.qammunity.org/2020/formulas/mathematics/middle-school/opesm1zx5qlsksl7w1t07ay93bapxyfetn.png)
all real numbers
A function is a relationship that links every x element of an X set to a single y element of another Y set.
The relation is not a function because for all values of x from domain except -2 and 2 we have two values of y.