document.write( "Question 107690: solve the system by addition\r
\n" ); document.write( "\n" ); document.write( "5x+7y=12
\n" ); document.write( "x-4y= -3
\n" ); document.write( "

Algebra.Com's Answer #78507 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
\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%2B7%2Ay=12\"
\n" ); document.write( " \"1%2Ax-4%2Ay=-3\"
\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 1 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 1 is 5, we need to multiply both sides of the top equation by 1 and multiply both sides of the bottom equation by -5 like this:
\n" ); document.write( "
\n" ); document.write( " \"1%2A%285%2Ax%2B7%2Ay%29=%2812%29%2A1\" Multiply the top equation (both sides) by 1
\n" ); document.write( " \"-5%2A%281%2Ax-4%2Ay%29=%28-3%29%2A-5\" Multiply the bottom equation (both sides) by -5
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " So after multiplying we get this:
\n" ); document.write( " \"5%2Ax%2B7%2Ay=12\"
\n" ); document.write( " \"-5%2Ax%2B20%2Ay=15\"
\n" ); document.write( "
\n" ); document.write( " Notice how 5 and -5 add to zero (ie \"5%2B-5=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( " \"%285%2Ax-5%2Ax%29%2B%287%2Ay%2B20%2Ay%29=12%2B15\"
\n" ); document.write( "
\n" ); document.write( " \"%285-5%29%2Ax%2B%287%2B20%29y=12%2B15\"
\n" ); document.write( "
\n" ); document.write( " \"cross%285%2B-5%29%2Ax%2B%287%2B20%29%2Ay=12%2B15\" 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( " \"27%2Ay=27\"
\n" ); document.write( "
\n" ); document.write( " \"y=27%2F27\" Divide both sides by \"27\" to solve for y
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"y=1\" Reduce
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Now plug this answer into the top equation \"5%2Ax%2B7%2Ay=12\" to solve for x
\n" ); document.write( "
\n" ); document.write( " \"5%2Ax%2B7%281%29=12\" Plug in \"y=1\"
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"5%2Ax%2B7=12\" Multiply
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"5%2Ax=12-7\" Subtract \"7\" 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=1\"
\n" ); document.write( "
\n" ); document.write( " which also looks like
\n" ); document.write( "
\n" ); document.write( " (\"1\", \"1\")
\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%2B7%2Ay=12\"
\n" ); document.write( " \"1%2Ax-4%2Ay=-3\"
\n" ); document.write( "
\n" ); document.write( " we get
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " graph of \"5%2Ax%2B7%2Ay=12\" (red) \"1%2Ax-4%2Ay=-3\" (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\",\"1\"). This verifies our answer.
\n" ); document.write( "
\n" ); document.write( "
\n" );