# How do you graph y=abs(x-2)?

See below:

#### Explanation:

We can notice a couple of things right off:

• the absolute value will always return a number that is greater than or equal to 0. And so the value of $y$ in our question can't be negative.

• when $x = 2 , y = 0$

• when x=1, 3; y=1

• when x=0, 4; y=2

and so on.

The graph ends up looking like this:

graph{abs(x-2) [-7.21, 12.79, -2.12, 7.88]}