# Graph the function y = lx-1l+2

### 1 Answer | Add Yours

The function y = |x - 1| + 2

|x - 1| = x - 1 for x - 1 `>=0` or x `>=` 1

For `x >= 1` , y = x - 1 + 2 = x + 1

|x - 1| = 1 - x for x - 1 < 0 or x < 1

For x < 1, y = 1 - x + 2 = 3 - x

**The graph of the function is :**