document.write( "Question 444813: I need to find the equation of the line containg (-2, -7) and (-5, -8) \n" ); document.write( "
Algebra.Com's Answer #853306 by ikleyn(53419)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "I need to find the equation of the line containing (-2, -7) and (-5, -8)
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        This problem requires an exact solution in the form of an equation expressed in rational numbers.\r
\n" ); document.write( "\n" ); document.write( "        But @mananth in his post works with decimal numbers with two decimals after the decimal point.\r
\n" ); document.write( "\n" ); document.write( "        It does not produces an exact equation in precise form.\r
\n" ); document.write( "\n" ); document.write( "        So, what he presents as a solution, is not a solution in precise strict meaning \r
\n" ); document.write( "\n" ); document.write( "        and can not be accepted as a solution to the problem.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "        Below I develop  EXACT  equation in the form as it  SHOULD  be done.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Calculate the slope  m = \"%28%28-8%29-%28-7%29%29%2F%28%28-5%29-%28-2%29%29\" = \"%28-1%29%2F%28-3%29\" = \"1%2F3\" = 0.3333333...\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, an equation of the line in slope-intercept form is\r\n" );
document.write( "\r\n" );
document.write( "    y = mx + b = \"%281%2F3%29x\" + b.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "We should determine the value of 'b' in this equation. \r\n" );
document.write( "For it, substitute coordinates of the either given point into the equation\r\n" );
document.write( "\r\n" );
document.write( "    -7 = \"%281%2F3%29%2A%28-2%29\" + b,\r\n" );
document.write( "\r\n" );
document.write( "    -7 = \"-2%2F3\" + b,\r\n" );
document.write( "\r\n" );
document.write( "    b = -7 + \"2%2F3\" = -6\"1%2F3\" = \"-19%2F3\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The exact equation is\r\n" );
document.write( "\r\n" );
document.write( "    y = \"%281%2F3%29x+-+19%2F3\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "At this point, the problem solved PRECISELY and CORRECTLY.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I know  (I just deciphered it out for myself some time ago)  that solutions by @mananth
\n" ); document.write( "are produced by the computer code.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Detecting this error  (I just detected it for the second time)  means that the computer code
\n" ); document.write( "has a defect  (= a hole),  which should be fixed.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );