7.3: 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)(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)(x,y) is a solution of the linear equation ax+by=cax+by=c, if the equation is a true statement when the xx– and yy-values of the ordered pair are substituted into the equation.

Example

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

Solution

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

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

Evaluate.

16+(10)=36=316+(10)=36=3

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

Answer

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

example

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

1. (0,2)(0,2)

2. (2,4)(2,4)

3. (4,3)(4,3)

Solution

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

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

0+42?=80+42?=8

0+8?=80+8?=8

8=88=8

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

2+4(4)?=82+4(4)?=8

2+(16)?=82+(16)?=8

148148

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

4+43?=84+43?=8

4+12?=84+12?=8

8=88=8

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

try it

 

example

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

1. (0,1)(0,1)

2. (1,4)(1,4)

3. (2,7)(2,7)

Solution

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

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

1?=5(0)11?=5(0)1

1?=011?=01

1=11=1

x=1,y=4x=1,y=4y=5x1y=5x1

4?=5(1)14?=5(1)1

4?=514?=51

4=44=4

x=2,y=7x=2,y=7y=5x1y=5x1

7?=5(2)17?=5(2)1

7?=1017?=101

711711

(0,1)(0,1) is a solution. (1,4)(1,4) is a solution. (2,7)(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-valuesx- 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 xx and then solve the equation for yy. Or, choose a value for yy and then solve for xx.

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

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

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

We can continue to find more solutions by choosing different values of xx and yy.

Suppose x=2x=2:

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

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

We can write our solutions in a table:

y=5x1y=5x1
xx yy (x,y)(x,y)
00 11 (0,1)(0,1)
1515 00 (15,0)(15,0)
22 99 (2,9)(2,9)

We can find more solutions to the equation by substituting any value of xx or any value of yy 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:

y=4x2y=4x2
xx yy (x,y)(x,y)
00
11
22

Solution

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

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

The results are summarized in the table.

y=4x2y=4x2
xx yy (x,y)(x,y)
00 22 (0,2)(0,2)
11 66 (1,6)(1,6)
22 66 (2,6)(2,6)

try it

 

example

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

5x4y=205x4y=20
xx yy (x,y)(x,y)
00
00
55

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=205x4y=20
xx yy (x,y)(x,y)
00 55 (0,5)(0,5)
44 00 (4,0)(4,0)
88 55 (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 xx or yy. We could choose 1,100,1,000,45,2.61,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 00 as one of our values.

example

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

Solution

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

What is the value of yy if x=0x=0 ?

Step 2:
Substitute that value into the equation.Solve for the other variable.
Substitute 00 for xx.Simplify.

Divide both sides by 22.

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

0+2y=60+2y=6

2y=62y=6

y=3y=3

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

Yes!

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

0+6?=60+6?=6

6=66=6

try it

try it

 

example

Find three solutions to the equation x4y=8x4y=8.

Solution

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

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

x4y=8x4y=8
xx yy (x,y)(x,y)
00 22 (0,2)(0,2)
88 00 (8,0)(8,0)
2020 33 (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