document.write( "Question 112638: in solving systems of linear equations how do you know whether to eliminate the x's or y's? \n" ); document.write( "
Algebra.Com's Answer #82119 by bucky(2189)![]() ![]() ![]() You can put this solution on YOUR website! It doesn't make any difference which one you eliminate ... the answers will turn out to be the same. \n" ); document.write( ". \n" ); document.write( "Just eliminate the one that seems to be the easiest to do, whether it is x or it is y. \n" ); document.write( ". \n" ); document.write( "For example, take the two linear equations: \n" ); document.write( ". \n" ); document.write( "+4x + 3y = +29 \n" ); document.write( "+2x + 6y = +28 \n" ); document.write( ". \n" ); document.write( "Let's eliminate the x column by multiplying the bottom equation (all terms on both sides) by -2. \n" ); document.write( "This multiplication changes the bottom equation and the two equations are then: \n" ); document.write( ". \n" ); document.write( "+4x + 3y = +29 \n" ); document.write( "-4x -12y = -56 \n" ); document.write( ". \n" ); document.write( "Add the two equations in columns to eliminate the x column and you end up with: \n" ); document.write( ". \n" ); document.write( "-9y = -27 \n" ); document.write( ". \n" ); document.write( "Solve for y by dividing both sides of this equation by -9 and you get: \n" ); document.write( ". \n" ); document.write( "y = -27/-9 = +3 \n" ); document.write( ". \n" ); document.write( "Take this value of y and substitute it into one of the two original equations to solve for x. \n" ); document.write( "Let's substitute it into the equation: \n" ); document.write( ". \n" ); document.write( "+4x + 3y = +29 \n" ); document.write( ". \n" ); document.write( "Replacing y by +3 changes this equation to: \n" ); document.write( ". \n" ); document.write( "+4x + 3*3 = +29 \n" ); document.write( ". \n" ); document.write( "Do the multiplication on the left side to reduce the equation to: \n" ); document.write( ". \n" ); document.write( "+4x + 9 = +29 \n" ); document.write( ". \n" ); document.write( "Get rid of the 9 on the left side by subtracting 9 from both sides to get: \n" ); document.write( ". \n" ); document.write( "4x = 20 \n" ); document.write( ". \n" ); document.write( "Solve for x by dividing both sides by 4 and you have: \n" ); document.write( ". \n" ); document.write( "x = 20/4 = +5 \n" ); document.write( ". \n" ); document.write( "So by eliminating the x terms we got an answer of y = 3 and x = 5. \n" ); document.write( ". \n" ); document.write( "Now let's return to the original set of equations and solve it by eliminating the y column. \n" ); document.write( "Start with: \n" ); document.write( ". \n" ); document.write( "+4x + 3y = +29 \n" ); document.write( "+2x + 6y = +28 \n" ); document.write( ". \n" ); document.write( "Multiply the top equation (all terms on both sides) by -2 to convert the equation set \n" ); document.write( "to: \n" ); document.write( ". \n" ); document.write( "-8x - 6y = -58 \n" ); document.write( "+2x + 6y = +28 \n" ); document.write( ". \n" ); document.write( "Add the two equations vertically to eliminate the y column and get: \n" ); document.write( ". \n" ); document.write( "-6x = -30 \n" ); document.write( ". \n" ); document.write( "Solve for x by dividing both sides by -6 and you get: \n" ); document.write( ". \n" ); document.write( "x = -30/-6 = +5 \n" ); document.write( ". \n" ); document.write( "Return to one of the two original equations and substitute +5 for x to solve for y. Let's \n" ); document.write( "use the bottom equation this time, although we could also use the top one again. \n" ); document.write( "The bottom \n" ); document.write( "equation is: \n" ); document.write( ". \n" ); document.write( "+2x + 6y = +28 \n" ); document.write( ". \n" ); document.write( "Substitute 5 for x and it becomes: \n" ); document.write( ". \n" ); document.write( "2*5 + 6y = +28 \n" ); document.write( ". \n" ); document.write( "Multiply on the left side: \n" ); document.write( ". \n" ); document.write( "+10 + 6y = +28 \n" ); document.write( ". \n" ); document.write( "Get rid of the +10 on the left side by subtracting +10 from both sides and you have: \n" ); document.write( ". \n" ); document.write( "6y = 18 \n" ); document.write( ". \n" ); document.write( "Solve for y by dividing both sides by 6 and the result is: \n" ); document.write( ". \n" ); document.write( "y = 18/6 = 3 \n" ); document.write( ". \n" ); document.write( "So when we eliminated the x column we got y = 3 and x = 5 as the answer. And when we \n" ); document.write( "eliminated the y column we got x = 5 and y = 3 .... the answers are the same. This \n" ); document.write( "example shows you that it doesn't really make any difference which variable you choose to \n" ); document.write( "eliminate ... the results will be the same in either case. \n" ); document.write( ". \n" ); document.write( "Hope this helps you to understand the situation when using variable elimination to find \n" ); document.write( "the common solution for a pair of linear equations. \n" ); document.write( ". \n" ); document.write( " |