Graph the function .
Relations and Functions · Question 80 of 135
Graph the function y = - x .
Solution:
Key idea: The modulus equals when and when . So the graph of is the line for and the line for ; the graph is two straight pieces that meet at the origin.
Step 1 — Remove the modulus.
We write the rule without the modulus sign on each side of .
For : , so .
For : , so .
Step 2 — Make a table of values.
We choose whole-number values of on both sides of and work out for each.
Step 3 — Plot the points and draw the graph.
We plot the points from the table and join them with two straight rays from the origin. The graph is an inverted "V" with its vertex at : one ray goes down into the third quadrant and the other down into the fourth quadrant, and the graph is symmetric about the -axis.

Step 4 — Read the domain and range.
Every real can be used, and is never positive, while every value is reached.
Therefore, the graph of is an inverted V with vertex at the origin; its domain is and its range is .
