How do you graph y=|x|−2?
1 Answer
The graph looks like this:
graph{y=absx-2 [-10.125, 9.875, -5, 5]}
Explanation:
The absolute value function
graph{y=absx [-9.875, 10.125, -3.68, 6.32]}
This is a function you should probably know well for the future. Anyway, in order to plot
I would start graphing this graph by plotting the vertex (the point where the graph has a tight corner). On the original graph it is
graph{x^2+(y+2)^2<=.04 [-9.875, 10.125, -3.68, 6.32]}
Now you need to draw the two rays coming from this point. To do this, graph one point on either side of
y=|−2|−2=2−2=0
y=|2|−2=2−2=0
So now we know the points
graph{(x^2+(y+2)^2-0.04)((x-2)^2+y^2-0.04)((x+2)^2+y^2-0.04) = 0 [-10.125, 9.875, -5, 5]}
Now all that you have to do is connect these points.
graph{y=absx-2 [-10.125, 9.875, -5, 5]}
Final Answer