How to do elimination method for systems of equations

 &lt;span class="nav"&gt; &lt;a target="_blank" href="http://www.massey.ac.nz/" name="nav-home" id="nav-home" onmouseover="MM_showMenu(window.mm_menu_home,0,20,null,'nav-home')" onmouseout="MM_startTimeout();"&gt;Home&lt;/a&gt; &amp;nbsp;|&amp;nbsp; &lt;a target="_blank" href="http://study.massey.ac.nz/massey/study/" name="nav-study" id="nav-study" onmouseover="MM_showMenu(window.mm_menu_study,0,20,null,'nav-study')" onmouseout="MM_startTimeout();"&gt;Study&lt;/a&gt; &amp;nbsp;|&amp;nbsp; &lt;a target="_blank" href="http://research.massey.ac.nz/" name="nav-research" id="nav-research" onmouseover="MM_showMenu(window.mm_menu_research,0,20,null,'nav-research')" onmouseout="MM_startTimeout();"&gt;Research&lt;/a&gt; &amp;nbsp;|&amp;nbsp; &lt;a target="_blank" href="http://extramural.massey.ac.nz/" name="nav-extramural"&gt;Extramural&lt;/a&gt; &amp;nbsp;|&amp;nbsp; &lt;a target="_blank" href="http://campuses.massey.ac.nz/" name="nav-campuses" id="nav-campuses" onmouseover="MM_showMenu(window.mm_menu_campuses,0,20,null,'nav-campuses')" onmouseout="MM_startTimeout();"&gt;Campuses&lt;/a&gt; &amp;nbsp;|&amp;nbsp; &lt;a target="_blank" href="http://departments.massey.ac.nz/" name="nav-colleges" id="nav-colleges" onmouseover="MM_showMenu(window.mm_menu_colleges,0,20,null,'nav-colleges')" onmouseout="MM_startTimeout();"&gt;Colleges&lt;/a&gt; &amp;nbsp;|&amp;nbsp; &lt;a target="_blank" href="http://aboutmassey.massey.ac.nz/" name="nav-about" id="nav-about" onmouseover="MM_showMenu(window.mm_menu_about,0,20,null,'nav-about')" onmouseout="MM_startTimeout();"&gt;About Massey&lt;/a&gt; &amp;nbsp;|&amp;nbsp; &lt;a target="_blank" href="http://library.massey.ac.nz/" name="nav-library"&gt;Library&lt;/a&gt; &amp;nbsp;|&amp;nbsp; &lt;a target="_blank" href="http://fees.massey.ac.nz/" name="nav-fees"&gt;Fees &lt;/a&gt; &amp;nbsp;|&amp;nbsp; &lt;a target="_blank" href="http://enrol.massey.ac.nz/" name="nav-enrolment"&gt;Enrolment&lt;/a&gt; &lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;table width="100%" border="0" cellpadding="0" cellspacing="2"&gt; &lt;tr&gt; &lt;td valign="top" width="150" bgcolor="#F5F2E6"&gt; &lt;ul class="menulist" id="listMenuRoot"&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/"&gt;MathsFirst Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/MathsHelp.htm"&gt;Online Maths Help&lt;/a&gt; &lt;ul&gt; &lt;li&gt; &lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/notation/notation.htm"&gt;Notation&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/arithmetic.htm"&gt;Arithmetic&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Decimals.htm"&gt;Decimals&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Fractions.htm"&gt;Fractions&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/HCFandLCM.htm"&gt;HCF and LCM&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/orderofop.htm"&gt;Order of Operations&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/NegNumbers.htm"&gt;Signed Numbers&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt; &lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra.htm"&gt;Algebra&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Exponents.htm"&gt;Exponents&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Exponents/IntegerExponents.htm"&gt;Integer Exponents&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/FractionalExponents.htm"&gt;Fractional Exponents&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Exponents/Worksheet/exponents.htm"&gt;Exponents Worksheet&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/LikeTerms.htm"&gt;Combining Like Terms&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/SimpExp.htm"&gt;Simple Expansions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Factorization.htm"&gt;Factorisation&lt;/a&gt;&lt;/li&gt; &lt;li&gt; &lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Formulae.htm"&gt;Mathematical Formulae&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Formulae/MathFormulas.htm"&gt;Constructing Formulae&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Rearr.htm"&gt;Rearranging Formulae&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/OrderOfOp/orderAlg.htm"&gt;Order of Operations for Algebraic Expressions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/InvFun/InvOp.htm"&gt;Inverse Operations and Functions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/rearrFormulae/rearr.htm"&gt;Rearranging Equations I (Simple Equations)&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/rearrFormulae/rearr2.htm"&gt;Rearranging Equations II (Quadratic Equations)&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/rearrFormulae/rearr3.htm"&gt;Rearranging Equations III (Harder Examples)&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Formulae/GeoFig.htm"&gt;Area, Surface Area and Volume Formulae&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/CoordSystems.htm"&gt;Coordinate Systems and Graphs&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/StraightLinesin2D.htm"&gt;Linear Equations &amp;amp; Graphs&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/SystemsofLinEq.htm"&gt;Simultaneous Linear Equations&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Polynomials.htm"&gt;Polynomials&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/QuadPoly.htm"&gt;Quadratic Polynomials&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/RatFunct.htm"&gt;Rational Functions&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Logarithms.htm"&gt;Logarithms&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/calculus.htm"&gt;Calculus&lt;/a&gt; &lt;ul&gt;&lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/Differentiation.htm"&gt;Differentiation&lt;/a&gt; &lt;ul&gt;&lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/TheDerivative.htm"&gt;Tangents, Derivatives and Differentiation&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/BasicDiff.htm"&gt;The Basic Rules&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/ProdQuotDiff.htm"&gt;Products and Quotients&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/ChainRule.htm"&gt;Chain Rule&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/LnDiff/LnDiff.html"&gt;Logarithmic Differentiation&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/MixDiff.htm"&gt;Mixed Differentiation Problems&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/SignsOfDer.htm"&gt;Sign of the Derivative&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/SignOf2ndDer.htm"&gt;Sign of the Second Derivative&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/integration.html"&gt;Integration&lt;/a&gt; &lt;ul&gt;&lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/integration/basics/basics.html"&gt;Basic Integrals&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/integration/basics/rules.html"&gt;Multiple, Sum and Difference Rules&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/integration/basics/linear.html"&gt;Linear Substitution&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/integration/IntSubstitution/IntSub1.html"&gt;Simpler Integration by Substitution&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/integration/IntSubstitution/IntSub2.html"&gt;Harder Integration by Substitution&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/integration/IntSubstitution/IntSub3.html"&gt;Trig Substitution 1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/integration/IntSubstitution/IntSub4.html"&gt;Trig Substitution 2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Calculus/integration/IntParts/parts.htm"&gt;Integration by Parts&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Trig.htm"&gt;Trigonometry&lt;/a&gt; &lt;ul&gt;&lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/Pythagoras.htm"&gt;Pythagoras Theorem&lt;/a&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Trig.htm"&gt;Trig Functions and Related Topics&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt; &lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/firstyear.htm"&gt;First Year Maths Pathways&lt;/a&gt;&lt;/li&gt; &lt;li&gt; &lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/ReadinessQuizzes.htm"&gt;Readiness Quizzes&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://www.massey.ac.nz/massey/learning/programme-course-paper/programme.cfm?action=show_results&amp;submit=Search&amp;key_word=mathematics&amp;bsubmit=Search"&gt;Study Maths&lt;br&gt;at Massey&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a target="_blank" href="http://ifs.massey.ac.nz/undergrad/"&gt;Undergraduate&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://ifs.massey.ac.nz/postgrad/"&gt;Postgraduate&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/links.htm"&gt;Other Math Links&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/About.htm"&gt;About MathsFirst&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a target="_blank" href="http://mathsfirst.massey.ac.nz/Contact.htm"&gt;Contact Us&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;script type="text/javascript"&gt; var listMenu = new FSMenu('listMenu', true, 'visibility', 'visible', 'hidden'); listMenu.cssLitClass = 'highlighted'; function animClipDown(ref, counter) { var cP = Math.pow(Math.sin(Math.PI*counter/200),0.75); ref.style.clip = (counter==100 ? ((window.opera || navigator.userAgent.indexOf('KHTML') &gt; -1) ? '': 'rect(auto, auto, auto, auto)') : 'rect(0, ' + ref.offsetWidth + 'px, '+(ref.offsetHeight*cP)+'px, 0)'); }; function animFade(ref, counter) { var f = ref.filters, done = (counter==100); if (f) { if (!done &amp;&amp; ref.style.filter.indexOf("alpha") == -1) ref.style.filter += ' alpha(opacity=' + counter + ')'; else if (f.length &amp;&amp; f.alpha) with (f.alpha) { if (done) enabled = false; else { opacity = counter; enabled=true } } } else ref.style.opacity = ref.style.MozOpacity = counter/100.1; }; // I'm applying them both to this menu and setting the speed to 20%. Delete this to disable. //listMenu.animations[listMenu.animations.length] = animFade; //listMenu.animations[listMenu.animations.length] = animClipDown; //listMenu.animSpeed = 20; var arrow = null; if (document.createElement &amp;&amp; document.documentElement) { arrow = document.createElement('span'); arrow.appendChild(document.createTextNode('--&gt;')); arrow.className = 'subind'; } addEvent(window, 'load', new Function('listMenu.activateMenu("listMenuRoot", arrow)')); addEvent(window, 'load', new Function('listMenu2.activateMenu("listMenuRoot2", arrow)')); addEvent(window, 'load', new Function('listMenu3.activateMenu("listMenuRoot3", arrow)')); <p>&nbsp;</p> </td><td width="10"></td> <td valign="top"> <h2 class="linkedH1"><a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/SystemsofLinEq.htm">Simultaneous Linear Equations</a></h2> <h2>The Elimination Method</h2> <p> This method for solving a pair of simultaneous linear equations reduces one equation to one that has only a single variable. Once this has been done, the solution is the same as that for when one line was vertical or parallel. This method is known as the <em><strong>Gaussian elimination method</strong></em>.</p> <p>&nbsp;</p> <h3>Example 2. </h3> <p>Solve the following pair of simultaneous linear equations:</p> Equation 1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FF0000">2</font><em>x</em> + 3<em>y</em> = 8<br> Equation 2:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#00FF00">3</font><em>x</em> + 2<em>y</em> = 7 <p><strong>Step 1:</strong> Multiply each equation by a suitable number so that the two equations have the same leading coefficient. An easy choice is to multiply Equation 1 by <font color="#00FF00">3</font><em></em>, the coefficient of<em> x</em> in Equation 2, and multiply Equation 2 by <font color="#FF0000">2</font>, the <em>x</em> coefficient in Equation 1:</p> <p>&nbsp;&nbsp;&nbsp; </p><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="11%" height="20" nowrap=""><font color="#00FF00">3</font> * (Eqn 1) ---&gt;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td width="10%"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC"> <tr> <td nowrap="" bgcolor="#FFFFFF"><font color="#00FF00">3</font>* (<font color="#FF0000">2</font><em>x</em> + 3<em>y</em> = 8) </td> </tr> </table></td> <td width="16%" nowrap=""> ---&gt;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000FF">6</font><em>x</em> + 9<em>y</em> = 24</td> <td width="63%">&nbsp;</td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="12%" height="20" nowrap=""><font color="#FF0000">2</font> * (Eqn 2) ---&gt;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td width="11%"><table width="12%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC"> <tr> <td nowrap="" bgcolor="#FFFFFF"><font color="#FF0000">2</font> * (<font color="#00FF00">3</font><em>x</em> + 2<em>y</em> = 7) </td> </tr> </table></td> <td width="15%" nowrap=""> ---&gt;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#0000FF">6</font><em>x</em> + 4<em>y</em> = 14</td> <td width="62%" nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Both equations now have the same leading coefficient = <font color="#0000FF">6</font></td> </tr> </table> <p>&nbsp;</p> <p><strong>Step 2:</strong> Subtract the second equation from the first.</p> <table width="14%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="23%" height="19" nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td width="77%" nowrap=""><font color="#FFFFFF">-(</font>6<em>x</em> + 9<em>y</em> = 24</td> </tr> <tr> <td nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td nowrap="">-(6<em>x</em> + 4<em>y</em> = 14)</td> </tr> <tr> <td nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td nowrap=""><hr></td> </tr> <tr> <td nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5<em>y</em> = 10</td> </tr> </table> <p><strong>Step 3:</strong> Solve this new equation for <em>y</em>.</p> <table width="21%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="23%" nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td width="77%" nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<em>y</em> = 10/5 = 2</td> </tr> </table> <p><strong>Step 4:</strong> Substitute <em>y</em> = 2 into either Equation 1 or Equation 2 above and solve for <em>x</em>. We'll use Equation 1.</p> <table width="57%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="23%" height="19" nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td width="38%" nowrap="">2<em>x</em> + 3(2) = 8</td> <td width="39%" nowrap="">&nbsp;</td> </tr> <tr> <td nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td nowrap="">2<em>x</em> + 6 = 8</td> <td nowrap="">Subtract 6 from both sides</td> </tr> <tr> <td nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td nowrap="">2<em>x</em> = 2</td> <td nowrap="">Divide both sides by 2</td> </tr> <tr> <td nowrap="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td nowrap=""><em>x</em> = 1</td> <td nowrap="">&nbsp;</td> </tr> </table> <p><strong>Solution:</strong> <em>x</em> = 1, <em>y</em> = 2 or (1,2).</p> <p>&nbsp;</p> <p>Now study some more worked examples:</p> <form> <table align="CENTER" cellpadding="5" cellspacing="0" bgcolor="#003366"> <tr> <td align="CENTER"><div align="left"> <p align="center"><font face="Arial" color="#FFFFFF"><b> <input name="button2322" type="button" onclick="setup3(this.form);" value="Get New Example"> </b></font></p> <table align="center" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="right"><font face="Arial" color="#FFFFFF"><b> Equation 1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></font></div></td> <td><font face="Arial" color="#FFFFFF"><b> </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="ONE"> <em>x</em> + <input type="text" size="3" name="TWO"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="THREE"> </b></font><font face="Arial" color="#FFFFFF"><b> </b></font></td> </tr> <tr> <td><div align="right"><font face="Arial" color="#FFFFFF"><b>Equation 2:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></font></div></td> <td><font face="Arial" color="#FFFFFF"><b> </b></font><font face="Arial" color="#FFFFFF"><b> </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="FOUR"> <em>x</em> + <input type="text" size="3" name="FIVE"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="SIX"> </b></font><font face="Arial" color="#FFFFFF"><b> </b></font><font face="Arial" color="#FFFFFF"><b> </b></font></td> </tr> </table> <p align="center">&nbsp;</p> <hr width="400"> <p><font face="Arial" color="#FFFFFF"><b>Click on the buttons below to see how to solve these equations.</b></font></p> <p align="left"><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> <font color="#FFFFFF" face="Arial"><b> <input name="button3222" type="button" onclick="operation(this.form);" value="1. Combine Equations 1 and 2 to find a simpler equation"> </b></font> </b></font></b></font> <font face="Arial" color="#FFFFFF"><b> <input type="text" size="100" name="SEVEN"> </b></font> <font face="Arial" color="#FFFFFF"><b> <input type="text" size="100" name="SEVEN2"> <input type="text" size="100" name="SEVEN3"> </b></font></p> <p align="left">&nbsp;</p> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="27%" nowrap=""><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="coef2"> ( <input type="text" size="3" name="eq1a"> <em>x</em> + <input type="text" size="3" name="eq1b"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="eq1c"> )</b></font></td> <td width="36%" nowrap=""><font face="Arial" color="#FFFFFF"><b>&nbsp;&nbsp;&nbsp;&nbsp;--------&gt; <input type="text" size="3" name="EQ1a2"> <em>x</em> + <input type="text" size="3" name="EQ1b2"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="EQ1c2"> &nbsp;&nbsp;&nbsp;--------&gt; </b></font></td> <td width="5%" rowspan="2" nowrap=""><font face="Arial" color="#FFFFFF">&nbsp;</font></td> <td width="9%" nowrap=""><font face="Arial" color="#FFFFFF"><b>Subtract:</b></font></td> <td width="23%" nowrap=""><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="EQ1a"> <em>x</em> + <input type="text" size="3" name="EQ1b"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="EQ1c"> </b></font></td> </tr> <tr> <td nowrap=""> <div align="left"><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="coef1"> ( <input type="text" size="3" name="eq2a"> <em>x</em> + <input type="text" size="3" name="eq2b"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="eq2c"> ) </b></font></div></td> <td><font face="Arial" color="#FFFFFF"><b>&nbsp;&nbsp;&nbsp;--------&gt;<font size="+1"> </font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="EQ2a2"> <em>x</em> + <input type="text" size="3" name="EQ2b2"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="EQ2c2"> &nbsp;&nbsp;--------&gt;<font size="+1"> </font><font face="Arial" color="#FFFFFF"><b> </b></font> </b></font><font size="+1"> </font></b></font></td> <td width="9%" nowrap=""><div align="right"><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="m2"> [ </b></font></div></td> <td nowrap=""><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="EQ2a"> <em>x</em> + <input type="text" size="3" name="EQ2b"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="EQ2c"> ] </b></font></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td colspan="2" rowspan="2" align="right" valign="bottom" nowrap=""><font face="Arial" color="#FFFFFF"><b> </b></font></td> <td><hr></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td nowrap=""> <div align="left"><font face="Arial" color="#FFFFFF"><b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="text" size="3" name="FIVE2"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="SIX2"> </b></font></div></td> </tr> </table> <p align="left"><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> <input name="button32222" type="button" onclick="solvey(this.form);" value="2. Solve for y"> </b></font></b></font></p> <p align="center"><font face="Arial" color="#FFFFFF"><b><font face="Arial" color="#FFFFFF"><b><em> y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input name="EIGHT" type="text" id="EIGHT" size="10"> (2 d.p.) </b></font></b></font></p> <p align="left"><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> <font color="#FFFFFF" face="Arial"><b> <input name="button322222" type="button" onclick="solvex(this.form);" value="3. Solve for x"> </b></font> </b></font></b></font></p> <p align="center"><font face="Arial" color="#FFFFFF"><b> Substitute <em>y</em> into Equation 1 and solve for x: <input type="text" size="3" name="ONE2"> <em>x</em> + <input type="text" size="3" name="TWO2"> <font face="Arial" color="#FFFFFF"><b> ( <input name="EIGHT2" type="text" id="EIGHT2" size="4"> ) </b></font></b></font><font face="Arial" color="#FFFFFF"><b>= </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="THREE2"> </b></font></p> <p align="center">&nbsp;</p> <p align="center"><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><em>x </em>=</font></b></font> <font face="Arial" color="#FFFFFF"><b> <input name="NINE" type="text" id="NINE" size="10"> <font face="Arial" color="#FFFFFF"><b>(2 d.p.)</b></font> </b></font></p> </div> <p><font color="#FFFFFF" size="2" face="Arial"><b><br> </b></font></p></td> </tr> </table> </form> <h3>&nbsp;</h3> <h3>Exercise 2.</h3> <form> <table align="CENTER" cellpadding="5" cellspacing="0" bgcolor="#003366"> <tr> <td align="CENTER"><div align="left"> <p align="center"><font face="Arial" color="#FFFFFF"><b> <input name="button23222" type="button" onclick="setup4(this.form);" value="Get New Exercise"> </b></font></p> <p align="center"><font face="Arial" color="#FFFFFF"><b> Equation 1: <input type="text" size="3" name="b1"> <em>x</em> + <input type="text" size="3" name="b2"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="b3"> </b></font></p> <p align="center"><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b>Equation 2</b></font>: <input type="text" size="3" name="b4"> <em>x</em> + <input type="text" size="3" name="b5"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="b6"> </b></font></p> </div></td> </tr> <tr> <td align="CENTER" bgcolor="#669900"><p><font face="Arial" color="#FFFFFF"><b>First determine what you will multiply each of the above equations by to get the same leading coefficients:</b></font> <font face="Arial" color="#FFFFFF"><b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></font></p> <div align="center"> <table width="61%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="46%" nowrap=""><font face="Arial" color="#FFFFFF"><b>Multiply Equation 1 by <input type="text" size="2" name="b7"> </b></font></td> <td width="54%"><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> </b></font></b></font></td> </tr> <tr> <td><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> <font color="#FFFFFF" face="Arial"></font> Multiply Equation 2 by <input type="text" size="2" name="b8"> </b></font></b></font></td> <td><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> <input name="button32223" type="button" onclick="check_op(this.form);" value="Check"> </b></font></b></font></td> </tr> </table> <p align="left"><font face="Arial" color="#FFFFFF"><b>Subtract:</b></font> <font face="Arial" color="#FFFFFF"><b> &nbsp;&nbsp;</b></font></p> <table width="61%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="46%" nowrap=""><font face="Arial" color="#FFFFFF"><b> </b></font><font face="Arial" color="#FFFFFF"><b> </b></font></td> <td width="54%" nowrap=""><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> <input type="text" size="4" name="B1"> <em>x</em> + <input type="text" size="4" name="B2"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="4" name="B3"> </b></font><font color="#FFFFFF" face="Arial"><b> </b></font></b></font></td> </tr> <tr> <td><div align="right"><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="3" name="b92"> <font face="Arial" color="#FFFFFF"><b>( &nbsp; </b></font> </b></font></b></font></div></td> <td nowrap=""><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b><font color="#FFFFFF" face="Arial"><b><font color="#FFFFFF" face="Arial"></font> <input type="text" size="4" name="B12"> <em>x</em> + <input type="text" size="4" name="B22"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="4" name="B32"> <font face="Arial" color="#FFFFFF"></font>) </b></font> </b></font></b></font></td> </tr> <tr> <td>&nbsp;</td> <td><hr></td> </tr> <tr> <td><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> <input name="button322223" type="button" onclick="check_work(this.form);" value="Check Working"> </b></font></b></font></td> <td><font face="Arial" color="#FFFFFF"><b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="text" size="4" name="b9"> </b></font><font face="Arial" color="#FFFFFF"><b><em>y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input type="text" size="4" name="b10"> </b></font></td> </tr> </table> <p>&nbsp;</p> </div> <div align="left"><font face="Arial" color="#FFFFFF"><b>Solve for <em>y.</em> Then substitute <em>y</em> in either Equation 1 or Equation 2 and solve for <em>x</em>. Give your solutions for both <em>x</em> and <em>y</em> to two decimal places:</b></font> <font face="Arial" color="#FFFFFF"><b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></font></div> <p align="center"><font face="Arial" color="#FFFFFF"><b><font face="Arial" color="#FFFFFF"><b><em> y</em> = </b></font><font face="Arial" color="#FFFFFF"><b> <input name="b11" type="text" size="10"> <b>to </b>2 d.p.<font color="#FFFFFF" face="Arial"><b> <input name="button3222222" type="button" onclick="check_y(this.form);" value="Check y value"> </b></font> </b></font><font color="#FFFFFF" face="Arial"><b> </b></font></b></font></p> <p align="left"><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> </b></font></b></font></p> <p align="center"><font face="Arial" color="#FFFFFF"><b><font face="Arial" color="#FFFFFF"><b></b></font></b></font><font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><em>x </em>=</font></b></font> <font face="Arial" color="#FFFFFF"><b> <input name="b12" type="text" size="10"> <font face="Arial" color="#FFFFFF"><b><b>to </b>2 d.p.</b></font> <font face="Arial" color="#FFFFFF"><b><font color="#FFFFFF" face="Arial"><b> <input name="button32222222" type="button" onclick="check_x(this.form);" value="Check x value"> </b></font></b></font></b></font></p></td> </tr> </table> </form> <p align="center"> &lt;&lt; <a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/SystemsofLinEq/Systems.htm">Simultaneous Linear Equations (definition)</a> | <a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/SystemsofLinEq.htm">Simultaneous Linear Equations Index </a> | <a target="_blank" href="http://mathsfirst.massey.ac.nz/Algebra/SystemsofLinEq/SMeth.htm">The Substitution Method</a> &gt;&gt;</p> <p align="center">&nbsp;</p> <p align="center">&nbsp;</p> </td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="2"> <tr bgcolor="#003366"> <td height="30"> &nbsp;&nbsp; <span class="nav"><a target="_blank" href="http://aboutmassey.massey.ac.nz/massey/about-massey/contacts.cfm">Contact Us</a></span> <span class="nav"> | <a target="_blank" href="http://aboutmassey.massey.ac.nz/">About Massey University</a> | <a target="_blank" href="http://sitemap.massey.ac.nz/">Sitemap</a> | <a target="_blank" href="http://www.massey.ac.nz/disclaim.htm">Disclaimer</a> | Last updated: November 21, 2012 &nbsp;&nbsp;&nbsp;&nbsp;© Massey University 2003</span> </td> </tr> </table> </body> </html>

How do you do the elimination method?

The Elimination Method.
Step 1: Multiply each equation by a suitable number so that the two equations have the same leading coefficient. ... .
Step 2: Subtract the second equation from the first..
Step 3: Solve this new equation for y..
Step 4: Substitute y = 2 into either Equation 1 or Equation 2 above and solve for x..

What are the four steps to solving systems of equations by elimination?

Step 1: Put the equations in Standard Form. Step 2: Determine which variable to eliminate. Step 3: Multiply the equations and solve. Step 4: Plug back in to find the other variable.