document.write( "Question 502673: Write an equation of the line that passes through through the given points.
\n" ); document.write( "16. (-5, -4) , (0, 11)
\n" ); document.write( "18. (2, 8) , (5, 2)
\n" ); document.write( "

Algebra.Com's Answer #338922 by persian52(161)\"\" \"About 
You can put this solution on YOUR website!
16. (-5,-4),(0,11)\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=(11-(-4))/(0-(-5))\r
\n" ); document.write( "\n" ); document.write( "Multiply -1 by the -5 inside the parentheses.
\n" ); document.write( "m=(11-(-4))/(0+5)\r
\n" ); document.write( "\n" ); document.write( "Adding 0 to an expression does not change the value of the expression.
\n" ); document.write( "m=(11-(-4))/(5)\r
\n" ); document.write( "\n" ); document.write( "Multiply -1 by the -4 inside the parentheses.
\n" ); document.write( "m=(11+4)/(5)\r
\n" ); document.write( "\n" ); document.write( "Add 4 to 11 to get 15.
\n" ); document.write( "m=(15)/(5)\r
\n" ); document.write( "\n" ); document.write( "Cancel the common factor of 5 in (15)/(5).
\n" ); document.write( "m=(^(3)15)/(5)\r
\n" ); document.write( "\n" ); document.write( "Remove the common factors that were cancelled out.
\n" ); document.write( "m=3\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=(3)*x+b\r
\n" ); document.write( "\n" ); document.write( "Substitute the value of x into the equation.
\n" ); document.write( "y=(3)*(-5)+b\r
\n" ); document.write( "\n" ); document.write( "Substitute the value of y into the equation.
\n" ); document.write( "(-4)=(3)*(-5)+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( "(3)*(-5)+b=(-4)\r
\n" ); document.write( "\n" ); document.write( "Multiply (3) by (-5) to get (3)(-5).
\n" ); document.write( "(3)(-5)+b=(-4)\r
\n" ); document.write( "\n" ); document.write( "Remove the parentheses around the expression -4.
\n" ); document.write( "(3)(-5)+b=-4\r
\n" ); document.write( "\n" ); document.write( "Multiply 3 by -5 to get -15.
\n" ); document.write( "(-15)+b=-4\r
\n" ); document.write( "\n" ); document.write( "Remove the parentheses around the expression -15.
\n" ); document.write( "-15+b=-4\r
\n" ); document.write( "\n" ); document.write( "Reorder the polynomial -15+b alphabetically from left to right, starting with the highest order term.
\n" ); document.write( "b-15=-4\r
\n" ); document.write( "\n" ); document.write( "Since -15 does not contain the variable to solve for, move it to the right-hand side of the equation by adding 15 to both sides.
\n" ); document.write( "b=15-4\r
\n" ); document.write( "\n" ); document.write( "Subtract 4 from 15 to get 11.
\n" ); document.write( "b=11\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=3x+11\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "18. (2,8),(5,2)\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=(2-(8))/(5-(2))\r
\n" ); document.write( "\n" ); document.write( "Multiply -1 by the 2 inside the parentheses.
\n" ); document.write( "m=(2-(8))/(5-2)\r
\n" ); document.write( "\n" ); document.write( "Subtract 2 from 5 to get 3.
\n" ); document.write( "m=(2-(8))/(3)\r
\n" ); document.write( "\n" ); document.write( "Multiply -1 by the 8 inside the parentheses.
\n" ); document.write( "m=(2-8)/(3)\r
\n" ); document.write( "\n" ); document.write( "Subtract 8 from 2 to get -6.
\n" ); document.write( "m=(-6)/(3)\r
\n" ); document.write( "\n" ); document.write( "Move the -1 to the front of the fraction.
\n" ); document.write( "m=-(6)/(3)\r
\n" ); document.write( "\n" ); document.write( "Move the -1 to the front of the fraction.
\n" ); document.write( "m=-((6)/(3)\r
\n" ); document.write( "\n" ); document.write( "Cancel the common factor of 3 in (6)/(3).
\n" ); document.write( "m=-((^(2)6)/(3))\r
\n" ); document.write( "\n" ); document.write( "Remove the common factors that were cancelled out.
\n" ); document.write( "m=-(2)\r
\n" ); document.write( "\n" ); document.write( "Multiply -1 by the 2 inside the parentheses.
\n" ); document.write( "m=-2\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=(-2)*x+b\r
\n" ); document.write( "\n" ); document.write( "Substitute the value of x into the equation.
\n" ); document.write( "y=(-2)*(2)+b\r
\n" ); document.write( "\n" ); document.write( "Substitute the value of y into the equation.
\n" ); document.write( "(8)=(-2)*(2)+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( "(-2)*(2)+b=(8)\r
\n" ); document.write( "\n" ); document.write( "Multiply (-2) by (2) to get (-2)(2).
\n" ); document.write( "(-2)(2)+b=(8)\r
\n" ); document.write( "\n" ); document.write( "Remove the parentheses around the expression 8.
\n" ); document.write( "(-2)(2)+b=8\r
\n" ); document.write( "\n" ); document.write( "Multiply -2 by 2 to get -4.
\n" ); document.write( "(-4)+b=8\r
\n" ); document.write( "\n" ); document.write( "Remove the parentheses around the expression -4.
\n" ); document.write( "-4+b=8\r
\n" ); document.write( "\n" ); document.write( "Reorder the polynomial -4+b alphabetically from left to right, starting with the highest order term.
\n" ); document.write( "b-4=8\r
\n" ); document.write( "\n" ); document.write( "Since -4 does not contain the variable to solve for, move it to the right-hand side of the equation by adding 4 to both sides.
\n" ); document.write( "b=4+8\r
\n" ); document.write( "\n" ); document.write( "Add 8 to 4 to get 12.
\n" ); document.write( "b=12\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=-2x+12
\n" ); document.write( "
\n" );