Question 222513: How do I graph a peicewise function of
y= {x+4 if x is less than or equal to -2
-x, if x > -2
I really need help, thanks!
Answer by jsmallt9(3759) (Show Source):
You can put this solution on YOUR website! Piecewise functions may be "odd" but they are not hard to graph. Your function has two pieces: y = x+4 and y = -x. Both of these pieces are lines. There are a couple of ways to graph this:- Graph and erase
- Graph both lines completely on the same graph.
- Since the line y = x + 4 applies only for x <= -2, erase the part of the line y = x + 4 where x > -2 (i.e. to the right of the vertical line x = -2)
- Since the line y = -x applies only for x > -2, erase the part of the line y = -x where x <= -2 (i.e. to the left of the vertical line x = -2)
- Graph without erasing. This just involves knowing ahead of time what part of each line you need and graphing just those parts.
If you do this one correctly, it should look like an upside-down "V".
|
|
|