How to graph y=abs(x-2)?

Shayla Phelps

Shayla Phelps

Answered question

2023-03-06

How to graph y = | x - 2 | ?

Answer & Explanation

zarizaraje1

zarizaraje1

Beginner2023-03-07Added 5 answers

There are a few things we can see right away:


A value greater than or equal to 0 will always be returned by the absolute value function. 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]}

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?