document.write( "Question 925422: How to solve each system by elimination.\r
\n" ); document.write( "\n" ); document.write( "5x + y = 9
\n" ); document.write( "10x - 7y = -18
\n" ); document.write( "

Algebra.Com's Answer #561528 by MathLover1(20849)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: Solving a System of Linear Equations by Elimination/Addition

\n" ); document.write( "
\n" ); document.write( " Lets start with the given system of linear equations
\n" ); document.write( "
\n" ); document.write( " \"5%2Ax%2B1%2Ay=9\"
\n" ); document.write( " \"10%2Ax-7%2Ay=-18\"
\n" ); document.write( "
\n" ); document.write( " In order to solve for one variable, we must eliminate the other variable. So if we wanted to solve for y, we would have to eliminate x (or vice versa).
\n" ); document.write( "
\n" ); document.write( " So lets eliminate x. In order to do that, we need to have both x coefficients that are equal but have opposite signs (for instance 2 and -2 are equal but have opposite signs). This way they will add to zero.
\n" ); document.write( "
\n" ); document.write( " So to make the x coefficients equal but opposite, we need to multiply both x coefficients by some number to get them to an equal number. So if we wanted to get 5 and 10 to some equal number, we could try to get them to the LCM.
\n" ); document.write( "
\n" ); document.write( " Since the LCM of 5 and 10 is 10, we need to multiply both sides of the top equation by 2 and multiply both sides of the bottom equation by -1 like this:
\n" ); document.write( "
\n" ); document.write( " \"2%2A%285%2Ax%2B1%2Ay%29=%289%29%2A2\" Multiply the top equation (both sides) by 2
\n" ); document.write( " \"-1%2A%2810%2Ax-7%2Ay%29=%28-18%29%2A-1\" Multiply the bottom equation (both sides) by -1
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " So after multiplying we get this:
\n" ); document.write( " \"10%2Ax%2B2%2Ay=18\"
\n" ); document.write( " \"-10%2Ax%2B7%2Ay=18\"
\n" ); document.write( "
\n" ); document.write( " Notice how 10 and -10 add to zero (ie \"10%2B-10=0\")
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Now add the equations together. In order to add 2 equations, group like terms and combine them
\n" ); document.write( " \"%2810%2Ax-10%2Ax%29%2B%282%2Ay%2B7%2Ay%29=18%2B18\"
\n" ); document.write( "
\n" ); document.write( " \"%2810-10%29%2Ax%2B%282%2B7%29y=18%2B18\"
\n" ); document.write( "
\n" ); document.write( " \"cross%2810%2B-10%29%2Ax%2B%282%2B7%29%2Ay=18%2B18\" Notice the x coefficients add to zero and cancel out. This means we've eliminated x altogether.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " So after adding and canceling out the x terms we're left with:
\n" ); document.write( "
\n" ); document.write( " \"9%2Ay=36\"
\n" ); document.write( "
\n" ); document.write( " \"y=36%2F9\" Divide both sides by \"9\" to solve for y
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"y=4\" Reduce
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Now plug this answer into the top equation \"5%2Ax%2B1%2Ay=9\" to solve for x
\n" ); document.write( "
\n" ); document.write( " \"5%2Ax%2B1%284%29=9\" Plug in \"y=4\"
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"5%2Ax%2B4=9\" Multiply
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"5%2Ax=9-4\" Subtract \"4\" from both sides
\n" ); document.write( "
\n" ); document.write( " \"5%2Ax=5\" Combine the terms on the right side
\n" ); document.write( "
\n" ); document.write( " \"cross%28%281%2F5%29%285%29%29%2Ax=%285%29%281%2F5%29\" Multiply both sides by \"1%2F5\". This will cancel out \"5\" on the left side.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"x=1\" Multiply the terms on the right side
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " So our answer is
\n" ); document.write( "
\n" ); document.write( " \"x=1\", \"y=4\"
\n" ); document.write( "
\n" ); document.write( " which also looks like
\n" ); document.write( "
\n" ); document.write( " (\"1\", \"4\")
\n" ); document.write( "
\n" ); document.write( " Notice if we graph the equations (if you need help with graphing, check out this solver)
\n" ); document.write( "
\n" ); document.write( " \"5%2Ax%2B1%2Ay=9\"
\n" ); document.write( " \"10%2Ax-7%2Ay=-18\"
\n" ); document.write( "
\n" ); document.write( " we get
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " graph of \"5%2Ax%2B1%2Ay=9\" (red) \"10%2Ax-7%2Ay=-18\" (green) (hint: you may have to solve for y to graph these) and the intersection of the lines (blue circle).
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " and we can see that the two equations intersect at (\"1\",\"4\"). This verifies our answer.
\n" ); document.write( "
\n" ); document.write( "
\n" );