SOLUTION: how can i graph the piece wise function? 2x+3 if x>0 -x-1 if x≤0

Algebra ->  Graphs -> SOLUTION: how can i graph the piece wise function? 2x+3 if x>0 -x-1 if x≤0      Log On


   



Question 986845: how can i graph the piece wise function?
2x+3 if x>0
-x-1 if x≤0

Answer by Edwin McCravy(20060) About Me  (Show Source):
You can put this solution on YOUR website!
%22f%28x%29%22%22%22=%22%22system%28%0D%0A%0D%0A%0D%0Amatrix%282%2C3%2C2x%2B1%2Cif%2Cx%3E0%2C-x-1%2Cif%2Cx%3C=0%29%29

That's made of two functions

y = 2x+1 and y = -x-1

The cut off number is 0.

Pick two values of x greater than the cut-off number 0 
and substitute them into

y = 2x+1

 x |  y
 1 |  3
 2 |  5

Plot those two points and draw a line through them only to the 
RIGHT of the cut off point:

Pick two values of x less than the cut-off number 0 
and substitute them into

y = -x-1

 x |  y
-2 |  1
-3 |  2

Plot those two points and draw a line through them only to the 
LEFT of the cut off point 0.

Put an open circle at the end of the one that does not include 
0 and a closed circle at the end of the one that does include 0.



 
Edwin