Graph the following two equations. For each, state the domain and range and determine if it is a function.
\begin{equation*}
\quad \quad \quad \text{ (a) } y=|x| \quad \quad \quad \quad \quad \quad \text{ (b) } x=y^2 \quad \quad \quad \quad \quad \quad
\end{equation*}
Solution
(a) Construct a table of ordered pairs and use them to sketch the graph.

| \(x\) | \(y=|x|\) |
|---|---|
| \(-2\) | \(2\) |
| \(-1\) | \(1\) |
| \(0\) | \(0\) |
| \(1\) | \(1\) |
| \(2\) | \(2\) |
The graph passes the vertical line test, so it is a function. Also,
-
Domain: \((-\infty, \infty)\text{.}\)
-
Range: \([0,\infty)\text{.}\)
(b) Construct a table of ordered pairs and use them to sketch the graph.

| \(x=y^2\) | \(y\) |
|---|---|
| \(4\) | \(-2\) |
| \(1\) | \(-1\) |
| \(0\) | \(0\) |
| \(1\) | \(1\) |
| \(4\) | \(2\) |
The graph fails the vertical line test, so it is not a function.
-
Domain: \([0,\infty)\)
-
Range: \((-\infty, \infty)\)









