\r
\n" );
document.write( "\n" );
document.write( "\r\n" );
document.write( "To find the x-coordinate of the vertex, (the sharp point),\r\n" );
document.write( "we set what's between the bars | | equal to 0. What's\r\n" );
document.write( "between the bars is 2x-5, so we set that = 0\r\n" );
document.write( "\r\n" );
document.write( " 2x-5 = 0\r\n" );
document.write( " 2x = 5\r\n" );
document.write( " x = 2.5\r\n" );
document.write( "\r\n" );
document.write( "To find the y-coordinate of the vertex (sharp point) we \r\n" );
document.write( "substitute that in the equation:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "So the vertex is (2.5,0)\r\n" );
document.write( "\r\n" );
document.write( "Get two more points one on each side of the vertex,\r\n" );
document.write( "May as well pick the endpoints of the domain \r\n" );
document.write( "
using x = 0 on the left and x = 5\r\n" );
document.write( "on the right:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "That's the point (0,5)\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "That's the point (5,5)\r\n" );
document.write( "\r\n" );
document.write( "So we plot the vertex (2.5,0), and endpoints (0,0) and (5,5)\r\n" );
document.write( "\r\n" );
document.write( "The graph stops at (0,0) on the left and at (5,5) on the right\r\n" );
document.write( "\r\n" );
document.write( "Since f(x) includes both endpoints, we draw a darkened circle\r\n" );
document.write( "at each endpoint:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "---------\r\n" );
document.write( "f(x)= {x if x<=0 \r\n" );
document.write( "x+1 if x>0\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "Get a couple of points on the part where f(x) = y = x, say \r\n" );
document.write( "(-2,-2) and (-4,-4) and the endpoint (0,0)\r\n" );
document.write( "and draw the line but stop it at 0 and draw a darkened circle to show\r\n" );
document.write( "that it includes that since the \"if\" part is
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "But thats only half the graph.\r\n" );
document.write( "\r\n" );
document.write( "Get a couple of points on the part where f(x) = y = x+1, say \r\n" );
document.write( "(1,2) and (2,3). The right part of the graph will not include\r\n" );
document.write( "the endpoint since the \"if\" part is
. However, we find \r\n" );
document.write( "what the endpoint would have been if it had been included\r\n" );
document.write( "anyway, and draw an open circle there to indicate that it is \r\n" );
document.write( "not included.\r\n" );
document.write( "\r\n" );
document.write( "If the right part had included the endpoint where x=0, it would have \r\n" );
document.write( "been at y=1+1 or y=2. So we draw an open circle at (0,2) and continue\r\n" );
document.write( "the line to the right. Here is the final graph. \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\r
\n" );
document.write( "
\n" );
document.write( "
\n" );
document.write( "
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "