document.write( "Question 149323: GRAPH THE PIECEWISE FUNCTION GIVEN BY f(X)= { X+1 IF X < O
\n" ); document.write( " { -X2 + 2 IF X >_ O \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "X IS SQUARED AND THE SYMBOL IS GREATER THAN OR = TO\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #114674 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
OK, let's pick the domain to go from -5 to 5.
\n" ); document.write( "From x=-5 to x=0 (not including x=0), the function is
\n" ); document.write( "\"f%5B1%5D%28x%29=x%2B1\"
\n" ); document.write( "From x=0 (including x=0) to x=5, the function is
\n" ); document.write( "\"f%5B2%5D%28x%29=-x%5E2%2Bx\"
\n" ); document.write( "Since for a straight line, we only need two points we will use x=-5,0 for \"f%5B1%5D\".
\n" ); document.write( "\"f%5B1%5D%28-5%29=-5%2B1=-4\"
\n" ); document.write( "\"f%5B1%5D%280%29=0%2B1=1\"
\n" ); document.write( "Plot those two points, (-5,-4) and (0,1) and draw the straight line connecting them.
\n" ); document.write( "
\n" ); document.write( "Next for the quadratic, we need more that 2 points, we'll pick x=0,1,2,3,4,5.
\n" ); document.write( "\"f%5B2%5D%280%29=-%280%29%5E2%2B2=2\"
\n" ); document.write( "\"f%5B2%5D%281%29=-%281%29%5E2%2B2=1\"
\n" ); document.write( "\"f%5B2%5D%282%29=-%282%29%5E2%2B2=-2\"
\n" ); document.write( "\"f%5B2%5D%283%29=-%283%29%5E2%2B2=-7\"
\n" ); document.write( "\"f%5B2%5D%284%29=-%284%29%5E2%2B2=-14\"
\n" ); document.write( "\"f%5B2%5D%285%29=-%285%29%5E2%2B2=-23\"
\n" ); document.write( "Plot those and connect those points.
\n" ); document.write( "Note the change in scale of the graph.
\n" ); document.write( "
\n" ); document.write( "Also, note the discontinuity at x=0.
\n" ); document.write( "
\n" );