document.write( "Question 12436: The section I'm working on is linear equations in two variables and their graphs. I need to find the slope of the line that goes through each pair of points...(1/2, 2), (-1, 1/2). I do not understand how to graph this or how to figure the slope. I have the same problem with decimals!! Any suggestions you have would be warmly welcomed!! Thank You, Allison Nilsson \n" ); document.write( "
Algebra.Com's Answer #6336 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
The slope (m) of a line passing through the two points, (x1, y1) and (x2, y2) is given by:\r
\n" ); document.write( "\n" ); document.write( "\"m+=+%28y2-y1%29%2F%28x2-x1%29\" Substitute the x and y-coordinates of the two given points to find the slope, m.\r
\n" ); document.write( "\n" ); document.write( "\"m+=+%28%281%2F2%29-2%29%2F%28-1-%281%2F2%29%29\"\r
\n" ); document.write( "\n" ); document.write( "\"m+=+%28-3%2F2%29%2F%28-3%2F2%29\"\r
\n" ); document.write( "\n" ); document.write( "\"m+=+1\" The slope is: m = 1\r
\n" ); document.write( "\n" ); document.write( "To graph the line, you will need to find the equation of the line.
\n" ); document.write( "You can use the slope-intercept form: y = mx + b. You have just found m (=1), now, into the formula, you substitute the x and y-coordinates of either one of the two given points, then you'll solve for b, the y-intercept. Let's use the first point (1/2, 2).\r
\n" ); document.write( "\n" ); document.write( "\"y+=+mx+%2B+b\"\r
\n" ); document.write( "\n" ); document.write( "\"2+=+%281%29%281%2F2%29+%2B+b\" Simplify and solve for b.\r
\n" ); document.write( "\n" ); document.write( "\"2+=+1%2F2+%2B+b\" Subtract 1/2 from both sides.\r
\n" ); document.write( "\n" ); document.write( "\"3%2F2+=+b\"\r
\n" ); document.write( "\n" ); document.write( "Now you can write the equation of the line that passes through the two given points.\r
\n" ); document.write( "\n" ); document.write( "\"y+=+x+%2B+3%2F2\" Let's see what the graph of this line looks like.\r
\n" ); document.write( "\n" ); document.write( "\"graph%28300%2C200%2C-5%2C5%2C-5%2C5%2Cx%2B%283%2F2%29%29\"\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );