SOLUTION: How do you plot y = { 1 - x, if x ≥ 0 1 + x, if x ≤ 0 ?

Algebra ->  Coordinate-system -> SOLUTION: How do you plot y = { 1 - x, if x ≥ 0 1 + x, if x ≤ 0 ?      Log On


   



Question 911091: How do you plot
y = { 1 - x, if x ≥ 0
1 + x, if x ≤ 0 ?

Answer by Fombitz(32388) About Me  (Show Source):
You can put this solution on YOUR website!
Both are linear so each side needs two points. x=0 is one. Choose the others as you will, sayx=-5 and x=5
x=-5
y=1%2B%28-5%29=-4
(-5,-4)
.
.
.
x=5
y=1-5=-4
(5,-4)
.
.
.
And x=0
y=1
(0,1)
.
.
.