6.2: Solving Linear Equations in Two Variables

Learning Objectives

  • Determine whether a given ordered pair is a solution of a given linear equation.
  • Find solutions of a linear equation.
  • Complete a table of solutions.

Key words

  • Ordered pair solution: a solution written in the form (x,y)

Finding Solutions of Linear Equations in Two Variables

When an equation has two variables, any solution will be an ordered pair with a value for each variable.

Solution to a Linear Equation in Two Variables

An ordered pair (x,y) is a solution of the linear equation ax+by=c, if the equation is a true statement when the x– and y-values of the ordered pair are substituted into the equation.

Example

Determine whether (2,4) is a solution of the equation 4y+5x=3.

Solution

Substitute x=2 and y=4 into the equation:

4y+5x=34(4)+5(2)=3

Evaluate.

16+(10)=36=3

The statement is not true, so (2,4) is not a solution.

Answer

(2,4) is not a solution of the equation 4y+5x=3.

example

Determine which ordered pairs are solutions of the equation x+4y=8:

1. (0,2)

2. (2,4)

3. (4,3)

Solution

Substitute the x- and y-values from each ordered pair into the equation and determine if the result is a true statement.

1. (0,2) 2. (2,4) 3. (4,3)
x=0,y=2x+4y=8

0+42=?8

0+8=?8

8=8

x=2,y=4x+4y=8

2+4(4)=?8

2+(16)=?8

148

x=4,y=3x+4y=8

4+43=?8

4+12=?8

8=8

(0,2) is a solution. (2,4) is not a solution. (4,3) is a solution.

try it

 

example

Determine which ordered pairs are solutions of the equation. y=5x1:

1. (0,1)

2. (1,4)

3. (2,7)

Solution

Substitute the x- and y-values from each ordered pair into the equation and determine if it results in a true statement.

1. (0,1) 2. (1,4) 3. (2,7) x=0,y=1y=5x1

1=?5(0)1

1=?01

1=1

x=1,y=4y=5x1

4=?5(1)1

4=?51

4=4

x=2,y=7y=5x1

7=?5(2)1

7=?101

711

(0,1) is a solution. (1,4) is a solution. (2,7) is not a solution.

try it

The video shows more examples of how to determine whether an ordered pair is a solution of a linear equation.

Complete a Table of Solutions

In the previous examples, we substituted the x- and y-values of a given ordered pair to determine whether or not it was a solution of a given linear equation. But how do we find the ordered pairs if they are not given? One way is to choose a value for x and then solve the equation for y. Or, choose a value for y and then solve for x.

Let’s consider the equation y=5x1. The easiest value to choose for x or y is zero:

y=5x1Substitutex=0y=5(0)1y=1      So, x=0,y=1 is a solution, which as an ordered pair is (0,1).

y=5x1Substitutey=00=5x1Solve forx1=5x15=x      So, x=15,y=0 is a solution, which as an ordered pair is (15,0).

We can continue to find more solutions by choosing different values of x and y.

Suppose x=2:

y=5x1
Substitute x=2 y=5(2)1
Multiply. y=101
Simplify. y=9

To find a third solution, we’ll let x=2 and solve for y.

We can write our solutions in a table:

y=5x1
x y (x,y)
0 1 (0,1)
15 0 (15,0)
2 9 (2,9)

We can find more solutions to the equation by substituting any value of x or any value of y and solving the resulting equation to get another ordered pair that is a solution. There are an infinite number of solutions for this equation.

example

Complete the table to find three solutions of the equation y=4x2:

y=4x2
x y (x,y)
0
1
2

Solution

Substitute x=0,x=1, and x=2 into y=4x2.

x=0 x=1 x=2
y=4x2 y=4x2 y=4x2
y=402 y=4(1)2 y=422
y=02 y=42 y=82
y=2 y=6 y=6
(0,2) (1,6) (2,6)

The results are summarized in the table.

y=4x2
x y (x,y)
0 2 (0,2)
1 6 (1,6)
2 6 (2,6)

try it

 

example

Complete the table to find three solutions to the equation 5x4y=20:

5x4y=20
x y (x,y)
0
0
5

Solution

The figure shows three algebraic substitutions into an equation. The first substitution is x = 0, with 0 shown in blue. The next line is 5 x- 4 y = 20. The next line is 5 times 0, shown in blue - 4 y = 20. The next line is 0 - 4 y = 20. The next line is - 4 y = 20. The next line is y = -5. The last line is

The results are summarized in the table.

5x4y=20
x y (x,y)
0 5 (0,5)
4 0 (4,0)
8 5 (8,5)

try it

To find a solution to a linear equation, we can choose any number we want to substitute into the equation for either x or y. We could choose 1,100,1,000,45,2.6, or any other value we want. But it’s a good idea to choose a number that’s easy to work with. We’ll usually choose 0 as one of our values.

example

Find a solution to the equation 3x+2y=6

Solution

Step 1:
Choose any value for one of the variables in the equation.
We can substitute any value we want for x or any value for y.Let’s pick x=0.

What is the value of y if x=0 ?

Step 2:
Substitute that value into the equation.Solve for the other variable.
Substitute 0 for x.Simplify.

Divide both sides by 2.

3x+2y=630+2y=6

0+2y=6

2y=6

y=3

Step 3:
Write the solution as an ordered pair.
So, when x=0,y=3. This solution is represented by the ordered pair (0,3).
Step 4:
Check.
Substitute x=0,y=3 into the equation 3x+2y=6Is the result a true equation?

Yes!

3x+2y=630+23=?6

0+6=?6

6=6

try it

try it

 

example

Find three solutions to the equation x4y=8.

Solution

x4y=8 x4y=8 x4y=8
Choose a value for x or y. x=0 y=0 y=3
Substitute it into the equation. 04y=8 x40=8 x43=8
Solve. 4y=8y=2 x0=8x=8 x12=8x=20
Write the ordered pair. (0,2) (8,0) (20,3)

So (0,2),(8,0), and (20,3) are three solutions to the equation x4y=8.

x4y=8
x y (x,y)
0 2 (0,2)
8 0 (8,0)
20 3 (20,3)

Remember, there are an infinite number of solutions to each linear equation. Any ordered pair we find is a solution if it makes the equation true.

TRY IT