document.write( "Question 662369: How do you Graph the function with domain of all the real numbers: f(x) = 1 for x ≤ 2, and f(x) = -2 for x > 2
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #412231 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
The solid blue (2,1) point, and the blue line to its left
\n" ); document.write( "represent the function for \"x=2\" (\"f%282%29=1\"),
\n" ); document.write( "and for \"x%3C2\" (\"y=f%28x%29=1\".
\n" ); document.write( "The open red circle at (2,-2) shows that
\n" ); document.write( "point (2,-2) is not part of the function.
\n" ); document.write( "All the points with \"y=-2\" to the right of (2,-2)
\n" ); document.write( "are part of the function, with \"x%3E2\", and \"y=f%28x%29=-2\".
\n" ); document.write( "I drew the lower blue line from (2.1,-2) to {5,-2)
\n" ); document.write( "to make it clear that the line does not reach (2,-1),
\n" ); document.write( "but of course there are infinity of points with \"y=-2\"
\n" ); document.write( "and \"x\" just a little larger than \"2\" that belong to the function.
\n" ); document.write( "
\n" );