document.write( "Question 222513: How do I graph a peicewise function of
\n" ); document.write( "y= {x+4 if x is less than or equal to -2
\n" ); document.write( " -x, if x > -2\r
\n" ); document.write( "\n" ); document.write( "I really need help, thanks!
\n" ); document.write( "

Algebra.Com's Answer #166601 by jsmallt9(3759)\"\" \"About 
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:
  1. Graph and erase
    1. Graph both lines completely on the same graph.
    2. 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)
    3. 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)
  2. Graph without erasing. This just involves knowing ahead of time what part of each line you need and graphing just those parts.

\n" ); document.write( "If you do this one correctly, it should look like an upside-down \"V\".
\n" ); document.write( "
\n" ); document.write( "
\n" );