document.write( "Question 3452: what is the equation of this graph.the points are (6,6)and (2,4) \n" ); document.write( "
Algebra.Com's Answer #1535 by drglass(89)\"\" \"About 
You can put this solution on YOUR website!
To find the equation of a line that includes the points (6,6) and (2,4), use the equation for a line, \"y+=+mx+%2B+b\", where m is the slope of the line and b is the intercept. For the sake of discussion, let's call (6,6) P1 and we'll call (2,4) P2

\n" ); document.write( "First, find the slope. The slope is the \"rise over the run\" or the change in y divided by the change in x. We have two points on the line, so we know that the line \"rises\" from 4 to 6 (the y values of points P2 and P3). The point also \"runs\" from 2 to 6 (the x values of points P2 and P1). The distance of the rise is 6 - 4 or 2 and the distance of the run is 6 - 2 or 4. Therefore the slope is \"m+=+2%2F4+=+1%2F2\".

\n" ); document.write( "With the slope, we have the equation \"y+=+%281%2F2%29x+%2B+b\". Let's see what happens to the equation when we supply it with the x and y values on one point on the line, say P1. Our equation becomes \"6+=+%281%2F2%296+%2B+b+=+3+%2B+b\". To find b, subtract 3 from both sides to get b = 3.

\n" ); document.write( "The equation of the line is \"y+=+%281%2F2%29+x+%2B+3\".
\n" ); document.write( "

\n" ); document.write( "To verify this, put the x and y values of points P1 and P2 into the equation. If these points are on the line, the equation will hold.

\n" ); document.write( "\"+6+=+%281%2F2%296+%2B+3+=+3+%2B+3+=+6+\" P1 holds

\n" ); document.write( "\"+4+=+%281%2F2%292+%2B+3+=+1+%2B+3+=+4+\" P2 holds
\n" ); document.write( "
\n" );