SOLUTION: graph the fuction f(x)=|x+1|+|x-1|.show the steps, please, thanks.

Algebra ->  Linear-equations -> SOLUTION: graph the fuction f(x)=|x+1|+|x-1|.show the steps, please, thanks.      Log On


   



Question 353525: graph the fuction f(x)=|x+1|+|x-1|.show the steps, please, thanks.
Answer by Fombitz(32388) About Me  (Show Source):
You can put this solution on YOUR website!
abs%28x%2B1%29=x%2B1 when x%2B1%3E0
abs%28x%2B1%29=-%28x%2B1%29 when x%2B1%3C0
x%3C-1
.
abs%28x%2B1%29=x%2B1 when x%3E-1
abs%28x%2B1%29=-x-1%29 when x%3C-1
.
.
.
abs%28x-1%29=x-1 when x-1%3E0
abs%28x-1%29=-%28x-1%29 when x-1%3C0
x%3C1
.
abs%28x%2B1%29=x-1 when x%3E1
abs%28x%2B1%29=-x%2B1%29 when x%3C1
.
.
.
So now build the function and use the two critical points x=-1 and x=1.
When x%3C-1
f%28x%29=-x-1%2B%28-x%2B1%29=-2x
When -1%3Cx%3C1
f%28x%29=x%2B1%2B%28-x%2B1%29=2
When x%3E1
f%28x%29=x%2B1%2B%28x-1%29=2x
.
.
Now graph it.
.
.