Algebraic Methods for Solving Systems in Two Variables

Site: Saylor Academy
Course: MA001: College Algebra
Book: Algebraic Methods for Solving Systems in Two Variables
Printed by: Guest user
Date: Tuesday, May 7, 2024, 1:40 AM

Description

We continue our study of systems of linear equations by learning different methods for solving them. You will learn to use graphs, substitution, and the addition method to solve linear systems.

Solving Systems of Equations by Substitution

Solving a linear system in two variables by graphing works well when the solution consists of integer values, but if our solution contains decimals or fractions, it is not the most precise method. We will consider two more methods of solving a system of linear equations that are more precise than graphing. One such method is solving a system of equations by the substitution method, in which we solve one of the equations for one variable and then substitute the result into the second equation to solve for the second variable. Recall that we can solve for only one variable at a time, which is the reason the substitution method is both valuable and practical.


How To

Given a system of two equations in two variables, solve using the substitution method.

  1. Solve one of the two equations for one of the variables in terms of the other.
  2. Substitute the expression for this variable into the second equation, then solve for the remaining variable.
  3. Substitute that solution into either of the original equations to find the value of the first variable. If possible, write the solution as an ordered pair.
  4. Check the solution in both equations.


Example 3

Solving a System of Equations in Two Variables by Substitution

Solve the following system of equations by substitution.

−x+y=−5

2x−5y=1

Solution
First, we will solve the first equation for y.

−x+y=−5

y=x−5

Now we can substitute the expression x−5 for y in the second equation.

2x−5y=1

2x−5(x−5)=1

2x−5x+25=1

−3x=−24

x=8

Now, we substitute x=8 into the first equation and solve for y.

−(8)+y=−5

y=3

Our solution is (8,3).

Check the solution by substituting (8,3) into both equations.

−x+y=−5

−(8)+(3)=−5 True

2x−5y=1

2(8)−5(3)=1 True

Try It #3

Solve the following system of equations by substitution.

x=y+3

4=3x−2y


Q&A

Can the substitution method be used to solve any linear system in two variables?

Yes, but the method works best if one of the equations contains a coefficient of 1 or –1 so that we do not have to deal with fractions.


Source: Rice University, https://openstax.org/books/college-algebra/pages/7-1-systems-of-linear-equations-two-variables
Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 License.

Solving Systems of Equations in Two Variables by the Addition Method

A third method of solving systems of linear equations is the addition method. In this method, we add two terms with the same variable, but opposite coefficients, so that the sum is zero. Of course, not all systems are set up with the two terms of one variable having opposite coefficients. Often we must adjust one or both of the equations by multiplication so that one variable will be eliminated by addition.


How To

Given a system of equations, solve using the addition method.

  1. Write both equations with x- and y -variables on the left side of the equal sign and constants on the right.
  2. Write one equation above the other, lining up corresponding variables. If one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, add the equations together, eliminating one variable. If not, use multiplication by a nonzero number so that one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, then add the equations to eliminate the variable.
  3. Solve the resulting equation for the remaining variable.
  4. Substitute that value into one of the original equations and solve for the second variable.
  5. Check the solution by substituting the values into the other equation.


Example 4

Solving a System by the Addition Method
Solve the given system of equations by addition.

x+2y=−1

−x+y=3

Solution
Both equations are already set equal to a constant. Notice that the coefficient of x in the second equation, –1, is the opposite of the coefficient of x in the first equation, 1. We can add the two equations to eliminate x without needing to multiply by a constant.

x+2y=−1

−x+y=3

3y=2

Now that we have eliminated x, we can solve the resulting equation for y.

3y=2

y=\dfrac{2}{3}

Then, we substitute this value for y   into one of the original equations and solve for x.

−x+y=3

−x+\dfrac{2}{3}=3

−x=3−\dfrac{2}{3}

−x=\dfrac{7}{3}

x=−\dfrac{7}{3}

The solution to this system is (−\dfrac{7}{3},\dfrac{2}{3}).

Check the solution in the first equation.

x+2y=−1

(−\dfrac{7}{3})+2(\dfrac{2}{3})=

 −\dfrac{7}{3}+\dfrac{4}{3}=

 −\dfrac{3}{3}=

−1=−1 True

Analysis

We gain an important perspective on systems of equations by looking at the graphical representation. See Figure 5 to find that the equations intersect at the solution. We do not need to ask whether there may be a second solution because observing the graph confirms that the system has exactly one solution.

Figure 5

Figure 5


Example 5

Using the Addition Method When Multiplication of One Equation Is Required

Solve the given system of equations by the addition method.

3x+5y=−11

x−2y=11

Solution
Adding these equations as presented will not eliminate a variable. However, we see that the first equation has 3x in it and the second equation has x. So if we multiply the second equation by −3, the x-terms will add to zero.

x−2y=11

−3(x−2y)=−3(11)    Multiply both sides by −3.

−3x+6y=−33          Use the distributive property.

Now, let's add them.

3x+5y=−11

−3x+6y=−33

11y=−44

y =−4

For the last step, we substitute y =−4  into one of the original equations and solve for x.

3x+5y=−11

3x+5(−4)=−11

3x−20=−11

3x=9

x=3

Our solution is the ordered pair (3,−4). See Figure 6. Check the solution in the original second equation.

x−2y=11

(3)−2(−4)=3+8

11=11 True

Figure 6

Figure 6

Try It #4

Solve the system of equations by addition.

2x−7y=2

3x+y=−20


Example 6

Using the Addition Method When Multiplication of Both Equations Is Required

Solve the given system of equations in two variables by addition.

2x+3y=−16

5x−10y=30

Solution
One equation has 2x and the other has 5x. The least common multiple is 10x so we will have to multiply both equations by a constant in order to eliminate one variable. Let's eliminate x by multiplying the first equation by −5 and the second equation by 2.

−5(2x+3y)=−5(−16)

−10x−15y=80

2(5x−10y)=2(30)

10x−20y=60

Then, we add the two equations together.

−10x−15y=80

10x−20y=60

−35y=140

y=−4

Substitute y =−4  into the original first equation.

2x+3(−4)=−16

2x−12=−16

2x=−4

x=−2

The solution is (−2,−4). Check it in the other equation.

5x−10y=30

5(−2)−10(−4)=30

−10+40=30

30=30

See Figure 7.

Figure 7
Figure 7


Example 7

Using the Addition Method in Systems of Equations Containing Fractions

Solve the given system of equations in two variables by addition.

\frac{x}{3}+\frac{y}{6}=3

\frac{x}{2}−\frac{y}{4}=​1

Solution
First clear each equation of fractions by multiplying both sides of the equation by the least common denominator.

6(\frac{x}{3}+\frac{y}{6})=6(3)

2x+y=18

4(\frac{x}{2}−\frac{y}{4})=4(1)

2x−y=4

Now multiply the second equation by −1 so that we can eliminate the x-variable.

−1(2x−y)=−1(4)

−2x+y=−4

Add the two equations to eliminate the x-variable and solve the resulting equation.

2x+y=18

−2x+y=−4

2y=14

y=7

Substitute y =7 into the first equation.

2x+(7)=18

2x=11

x=112

 =5.5

The solution is (\frac{11}{2},7). Check it in the other equation.

\frac{x}{2}−\frac{y}{4}=1

\frac{\frac{11}{2}}{2}−\frac{7}{4}=1

\frac{11}{4}−\frac{7}{4}=1

\frac{4}{4}=1


Try It #5

Solve the system of equations by addition.

2x+3y = 8

3x+5y=10

Solving Systems of Linear Equation by Substitution



Source: Esther Brunat, https://youtu.be/MVZQeUiCF6M
Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 License.