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

1 Answer
Apr 11, 2016

Graph the function without the absolute value then reflect the negative portion around the x-axis.

Explanation:

Perhaps the simplest thing to do is to first graph the function without the absolute value and then see where the graph becomes negative.

#y=x-1#
graph{x-1 [-10, 10, -5, 5]}
Performing the absolute value is the same as reflecting the negative portion around the x-axis

#y=|x-1|#
graph{abs(x-1) [-10, 10, -5, 5]}