Graph the function .
Relations and Functions · Question 81 of 135
Graph the function y = x - x/2 .
Solution:
Key idea: We remove the modulus by looking at and separately. On each side the rule becomes a simple straight line, and we draw each line only on its own side of .
Step 1 — Case .
Here , so the numerator becomes .
Step 2 — Case .
Here , so the two terms in the numerator add up.
Step 3 — Make a table of values.
We use the result of Step 2 for negative and the result of Step 1 for .
Step 4 — Plot the points and draw the graph.
We draw the ray in the second quadrant for , and the positive -axis () for . The two pieces meet at the origin.

Step 5 — Read the domain and range.
Every real can be used, and is never negative; every value is reached on the left-hand ray.
Therefore, the graph is the ray for joined at to the positive -axis; its domain is and its range is .
