Lesson Solution of the linear system of two equations with two unknowns by the Elimination method

Algebra ->  Algebra  -> Coordinate Systems and Linear Equations  -> Lessons -> Lesson Solution of the linear system of two equations with two unknowns by the Elimination method      Log On

Ad: You enter your algebra equation or inequality - Algebrator solves it step-by-step while providing clear explanations. Free on-line demo .
Ad: Algebra Solved!™: algebra software solves algebra homework problems with step-by-step help!
Ad: Algebrator™ solves your algebra problems and provides step-by-step explanations!

   

This Lesson (Solution of the linear system of two equations with two unknowns by the Elimination method) was created by by ikleyn(4) About Me : View Source, Show
About ikleyn:

Solution of the linear system of two equations with two unknowns by the Elimination method


This lesson describes the Elimination method to solve the linear system of two equations with two unknowns.
The method is to multiply both sides of the first equation to some number, to multiply both sides of the second equation to another number and then to add both these equations (or to subtract one equation from another). The multipliers are selected to cancel co-named variable terms in the final equation for some variable.
When this is done, you can easily solve the obtained equation for the remaining variable, back-substitute the found value to either of the original equations and to find the value of the variable that was eliminated at the first step.

Examples below show how this method works.

Example 1


Solve the system of equations

system+%282x+%2B++y+=++5%2C%0D%0A++++++++++-4x+%2B+6y+=+-2%0D%0A%29

Multiply the first equation by 2 (which means "Multiply both sides of the first equation by 2"). Leave the second equation as is. You will get:

system+%284x+%2B+2y+=+10%2C%0D%0A++++++++++-4x+%2B+6y+=+-2%0D%0A%29.

Add the first and the second equations (which means "Add left sides and add right sides of the first and the second equations"). You will get:
8y+=+8.

The solution of this equation is y+=+1.

Back-substitute this value of y to the first (original) equation. You will get:
2x+%2B+1+=+5, and then
2x+=+5-1+=+4.

The solution of this equation is x+=+2.

Now, check the calculated solution. Simply substitute the found values of x=2 and y=1 to the original equations. You will get
2%2A2%2B1+=+5                   for the left side of the first equation, and this is identical to its right side;
-4%2A2%2B6%2A1+=+-8%2B6+=+-2 for the left side of the second equation, and this is identical to its right side.

So, the check shows that the solution is correct.

Example 2


Solve the system of equations

system+%283x+-+2y+=++5%2C%0D%0A+++++++++++5x+-++y+=++6%0D%0A%29

Multiply the second equation by 2 (which means "Multiply both sides of the second equation by 2"). Leave the first equation as is. You will get:

system+%283x+-+2y+=+5%2C%0D%0A++++++++++10x+-+2y+=12%0D%0A%29.

Subtract the second equation from the first one (which means "Subtract the left side and the right side of the first equation from those of the second equation").
You will get:
3x+-+10x+=+5+-+12,
-7x+=+-7.

The solution of the last equation is x+=+1.

Back-substitute this value of x to the first (original) equation. You will get:
3%2A1-+2y+=+5, and then
-2y+=+5-3+=+2.

The solution of the last equation is y+=+-1.

Now, check the calculated solution. Simply substitute the found values of x=1 and y=-1 to the original equations. You will get
3%2A1-2%2A%28-1%29+=+5       for the left side of the first equation, and this is identical to its right side;
5%2A1-%28-1%29+=5%2B1+=+6 for the left side of the second equation, and this is identical to its right side.

So, the check shows that the solution is correct.

Examples 1 and 2 are cases, when the linear equation system has the unique solution. These are cases of the consistent equation systems with independent equations.

Example 3


Solve the system of equations

system+%283x+-+2y+=++5%2C%0D%0A++++++++++12x+-+8y+=+20%0D%0A%29

Multiply the first equation by 4 (which means "Multiply both sides of the first equation by 4"). Leave the second equation as is. You will get:

system+%2812x+-+8y+=+20%2C%0D%0A+++++++++++12x+-+8y+=+20%0D%0A%29.

Subtract the second equation from the first one (which means "Subtract the left side and the right side of the second equation from those of the first one").
You will get:
12x+-+12x+=+20+-+20, or, after canceling common terms,
0x+=+0.

The last equation has infinitely many solutions: each and any value of x satisfies to this equation.

So, the original system of equations is equivalent to

system+%283x+-+2y+=++5%2C%0D%0A+++++++++++0x+=+0%0D%0A%29

Since the last equation does not produce any restriction to x, our system is equivalent to the single equation
3x+-+2y+=++5,
which has infinitely many solutions: for every value of y the value of
x+=+%28-5%2B2y%29%2F3
is the solution. For example, the following pairs of variables values are solutions:
x=-5%2F3, y=0,
x=-1, y=1,
x=-1%2F3, y=2,
x=1%2F3, y=3,
x=1, y=4, ... .

In this example, the linear equation system has infinitely many solutions, because the coefficients and the right side of one equation are proportional to that of the second equation. This is the case of the consistent equation system with dependent equations.

Example 4


Solve the system of equations

system+%283x+-+2y+=++5%2C%0D%0A++++++++++12x+-+8y+=+15%0D%0A%29

Multiply the first equation by 4 (which means "Multiply both sides of the first equation by 4"). Leave the second equation as is. You will get:

system+%2812x+-+8y+=+20%2C%0D%0A+++++++++++12x+-+8y+=+15%0D%0A%29.

Subtract the second equation from the first one (which means "Subtract the left side and the right side of the second equation from those of the first one").
You will get:
12x+-+12x+=+20+-+15, or, after canceling common terms,
0x+=+5.

The last equation has no solutions because its left side is always equal to zero, while the right side is not equal to zero.

So, the original system of equations has no solutions.

In this example, the linear equation system has no solutions, because the coefficients of one equation are proportional to that of the second equation, while the right sides are out of this proportionality. This is the case of the inconsistent equation system with dependent equations.

Summary


The Elimination method of solving the system of two linear equations with two unknowns is to multiply both sides of equations to the appropriate numbers (multipliers) and then to add or to subtract the equations to cancel co-named variable terms in the final equation for some variable.

When it is done, you may have one of the three following typical cases:
Case 1. You got a single equation with the non-zero coefficient at the remaining variable.
            In this case you can easily solve the obtained equation for that variable, back-substitute the found value to the original equation and to find
            the value of the variable that was eliminated at the first step.
            The solution always exists and is unique in this case.
            The system of equations is consistent in this case, and equations are independent.
Case 2. You got an equation with the zero coefficient at the remaining variable and the zero right side.
            In this case the original system has infinitely many solutions.
            The system of equations is consistent in this case, and equations are dependent.
Case 3. You got an equation with the zero coefficient at the remaining variable and the non-zero right side.
            In this case the original system has no solutions.
            The system of equations is inconsistent in this case, and equations are dependent.

This lesson has been accessed 386 times.