document.write( "Question 389093: Find an equation of the line containing the given pair of points. \r
\n" ); document.write( "\n" ); document.write( "(4,1) and (12,3) y=\r
\n" ); document.write( "\n" ); document.write( "Thank you
\n" ); document.write( "

Algebra.Com's Answer #275589 by haileytucki(390)\"\" \"About 
You can put this solution on YOUR website!
(4,1),(12,3)\r
\n" ); document.write( "\n" ); document.write( "Use y=mx+b to calculate the equation of the line, where m represents the slope and b represents the y-intercept.
\n" ); document.write( "To calculate the equation of the line, use the y=mx+b format.\r
\n" ); document.write( "\n" ); document.write( "Slope is equal to the change in y over the change in x, or 'rise over run'.
\n" ); document.write( "m=(change in y)/(change in x)\r
\n" ); document.write( "\n" ); document.write( "The change in x is equal to the difference in x-coordinates (also called run), and the change in y is equal to the difference in y-coordinates (also called rise).
\n" ); document.write( "m=(y2-y1)/(x2-x1)\r
\n" ); document.write( "\n" ); document.write( "Substitute in the values of x and y into the equation to find the slope.
\n" ); document.write( "m=(3-(1))/(12-(4))\r
\n" ); document.write( "\n" ); document.write( "Multiply -1 by each term inside the parentheses.
\n" ); document.write( "m=(3-(1))/(12-4)\r
\n" ); document.write( "\n" ); document.write( "Subtract 4 from 12 to get 8.
\n" ); document.write( "m=(3-(1))/(8)\r
\n" ); document.write( "\n" ); document.write( "Multiply -1 by each term inside the parentheses.
\n" ); document.write( "m=(3-1)/(8)\r
\n" ); document.write( "\n" ); document.write( "Subtract 1 from 3 to get 2.
\n" ); document.write( "m=(2)/(8)\r
\n" ); document.write( "\n" ); document.write( "Reduce the expression (2)/(8) by removing a factor of 2 from the numerator and denominator.
\n" ); document.write( "m=(1)/(4)\r
\n" ); document.write( "\n" ); document.write( "Find the value of b using the formula for the equation of a line.
\n" ); document.write( "y=mx+b\r
\n" ); document.write( "\n" ); document.write( "Substitute the value of m into the equation.
\n" ); document.write( "y=((1)/(4))*x+b\r
\n" ); document.write( "\n" ); document.write( "Substitute the value of x into the equation.
\n" ); document.write( "y=((1)/(4))*(4)+b\r
\n" ); document.write( "\n" ); document.write( "Substitute the value of y into the equation.
\n" ); document.write( "(1)=((1)/(4))*(4)+b\r
\n" ); document.write( "\n" ); document.write( "Since b is on the right-hand side of the equation, switch the sides so it is on the left-hand side of the equation.
\n" ); document.write( "((1)/(4))*(4)+b=(1)\r
\n" ); document.write( "\n" ); document.write( "Multiply ((1)/(4)) by (4) to get ((1)/(4))(4).
\n" ); document.write( "((1)/(4))(4)+b=(1)\r
\n" ); document.write( "\n" ); document.write( "Remove the parentheses around the expression 1.
\n" ); document.write( "((1)/(4))(4)+b=1\r
\n" ); document.write( "\n" ); document.write( "Multiply (1)/(4) by 4 to get 1.
\n" ); document.write( "(1)+b=1\r
\n" ); document.write( "\n" ); document.write( "Reorder the polynomial 1+b alphabetically from left to right, starting with the highest order term.
\n" ); document.write( "b+1=1\r
\n" ); document.write( "\n" ); document.write( "Find the value of b.
\n" ); document.write( "b=0\r
\n" ); document.write( "\n" ); document.write( "Now that the values of m(slope) and b(y-intercept) are known, substitute them into y=mx+b to find the equation of the line.
\n" ); document.write( "y=(x)/(4)
\n" ); document.write( "
\n" );