Finding Solutions to Equations in Two Variables

Learning Outcomes

  • Determine whether an ordered pair is a solution of an equation
  • Complete a table of solutions for a linear equation

All the equations we solved so far have been equations with one variable. In almost every case, when we solved the equation we got exactly one solution. The process of solving an equation ended with a statement such as [latex]x=4[/latex]. Then we checked the solution by substituting back into the equation.

Here’s an example of a linear equation in one variable, and its one solution.

[latex]\begin{array}{c}3x+5=17\hfill \\ \\ 3x=12\hfill \\ x=4\hfill \end{array}[/latex]

But equations can have more than one variable. Equations with two variables can be written in the general form [latex]Ax+By=C[/latex]. An equation of this form is called a linear equation in two variables.

Linear Equation

An equation of the form [latex]Ax+By=C[/latex], where [latex]A\text{ and }B[/latex] are not both zero, is called a linear equation in two variables.

Notice that the word “line” is in linear.

Here is an example of a linear equation in two variables, [latex]x[/latex] and [latex]y\text{:}[/latex]

[latex]\color{red}{A}x+\color{blue}{B}y=\color{green}{C}[/latex]

[latex]x+\color{blue}{4}y=\color{green}{8}[/latex]

[latex]\color{red}{A=1},\color{blue}{B=4},\color{green}{C=8}[/latex]

Is [latex]y=-5x+1[/latex] a linear equation? It does not appear to be in the form [latex]Ax+By=C[/latex]. But we could rewrite it in this form.

[latex]y=-5x+1[/latex]
Add [latex]5x[/latex] to both sides. [latex]y+5x=-5x+1+5x[/latex]
Simplify. [latex]y+5x=1[/latex]
Use the Commutative Property to put it in [latex]Ax+By=C[/latex]. [latex]\color{red}{A}x+\color{blue}{B}y=C[/latex]

[latex]5x+y=1[/latex]

By rewriting [latex]y=-5x+1[/latex] as [latex]5x+y=1[/latex], we can see that it is a linear equation in two variables because it can be written in the form [latex]Ax+By=C[/latex].

Linear equations in two variables have infinitely many solutions. For every number that is substituted for [latex]x[/latex], there is a corresponding [latex]y[/latex] value. This pair of values is a solution to the linear equation and is represented by the ordered pair [latex]\left(x,y\right)[/latex]. When we substitute these values of [latex]x[/latex] and [latex]y[/latex] into the equation, the result is a true statement because the value on the left side is equal to the value on the right side.

Solution to a Linear Equation in Two Variables

An ordered pair [latex]\left(x,y\right)[/latex] is a solution to the linear equation [latex]Ax+By=C[/latex], if the equation is a true statement when the [latex]x\text{-}[/latex] and [latex]y\text{-values}[/latex] of the ordered pair are substituted into the equation.

Example

Determine whether [latex](−2,4)[/latex] is a solution to the equation [latex]4y+5x=3[/latex].

 

example

Determine which ordered pairs are solutions of the equation [latex]x+4y=8\text{:}[/latex]

1. [latex]\left(0,2\right)[/latex]
2. [latex]\left(2,-4\right)[/latex]
3. [latex]\left(-4,3\right)[/latex]

Solution
Substitute the [latex]x\text{- and}y\text{-values}[/latex] from each ordered pair into the equation and determine if the result is a true statement.

1. [latex]\left(0,2\right)[/latex] 2. [latex]\left(2,-4\right)[/latex] 3. [latex]\left(-4,3\right)[/latex]
[latex]x=\color{blue}{0}, y=\color{red}{2}[/latex]

[latex]x+4y=8[/latex]

[latex]\color{blue}{0}+4\cdot\color{red}{2}\stackrel{?}{=}8[/latex]

[latex]0+8\stackrel{?}{=}8[/latex]

[latex]8=8\checkmark[/latex]

[latex]x=\color{blue}{2}, y=\color{red}{-4}[/latex]

[latex]x+4y=8[/latex]

[latex]\color{blue}{2}+4(\color{red}{-4})\stackrel{?}{=}8[/latex]

[latex]2+(-16)\stackrel{?}{=}8[/latex]

[latex]-14\not=8[/latex]

[latex]x=\color{blue}{-4}, y=\color{red}{3}[/latex]

[latex]x+4y=8[/latex]

[latex]\color{blue}{-4}+4\cdot\color{red}{3}\stackrel{?}{=}8[/latex]

[latex]-4+12\stackrel{?}{=}8[/latex]

[latex]8=8\checkmark[/latex]

[latex]\left(0,2\right)[/latex] is a solution. [latex]\left(2,-4\right)[/latex] is not a solution. [latex]\left(-4,3\right)[/latex] is a solution.

 

try it

 

example

Determine which ordered pairs are solutions of the equation. [latex]y=5x - 1\text{:}[/latex]

1. [latex]\left(0,-1\right)[/latex]
2. [latex]\left(1,4\right)[/latex]
3. [latex]\left(-2,-7\right)[/latex]

 

try it

In the next video you will see more examples of how to determine whether an ordered pair is a solution to a linear equation.

Complete a Table of Solutions to a Linear Equation

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

We’ll start by looking at the solutions to the equation [latex]y=5x - 1[/latex] we found in the previous chapter. We can summarize this information in a table of solutions.

[latex]y=5x - 1[/latex]
[latex]x[/latex] [latex]y[/latex] [latex]\left(x,y\right)[/latex]
[latex]0[/latex] [latex]-1[/latex] [latex]\left(0,-1\right)[/latex]
[latex]1[/latex] [latex]4[/latex] [latex]\left(1,4\right)[/latex]

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

[latex]y=5x - 1[/latex]
Substitute [latex]x=2[/latex] [latex]y=5(\color{blue}{2})-1[/latex]
Multiply. [latex]y=10 - 1[/latex]
Simplify. [latex]y=9[/latex]

The ordered pair is a solution to [latex]y=5x - 1[/latex]. We will add it to the table.

[latex]y=5x - 1[/latex]
[latex]x[/latex] [latex]y[/latex] [latex]\left(x,y\right)[/latex]
[latex]0[/latex] [latex]-1[/latex] [latex]\left(0,-1\right)[/latex]
[latex]1[/latex] [latex]4[/latex] [latex]\left(1,4\right)[/latex]
[latex]2[/latex] [latex]9[/latex] [latex]\left(2,9\right)[/latex]

We can find more solutions to the equation by substituting any value of [latex]x[/latex] or any value of [latex]y[/latex] 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 to the equation [latex]y=4x - 2\text{:}[/latex]

[latex]y=4x - 2[/latex]
[latex]x[/latex] [latex]y[/latex] [latex]\left(x,y\right)[/latex]
[latex]0[/latex]
[latex]-1[/latex]
[latex]2[/latex]

Solution
Substitute [latex]x=0,x=-1[/latex], and [latex]x=2[/latex] into [latex]y=4x - 2[/latex].

[latex]x=\color{blue}{0}[/latex] [latex]x=\color{blue}{-1}[/latex] [latex]x=\color{blue}{2}[/latex]
[latex]y=4x - 2[/latex] [latex]y=4x - 2[/latex] [latex]y=4x - 2[/latex]
[latex]y=4\cdot{\color{blue}{0}}-2[/latex] [latex]y=4(\color{blue}{-1})-2[/latex] [latex]y=4\cdot{\color{blue}{2}}-2[/latex]
[latex]y=0 - 2[/latex] [latex]y=-4 - 2[/latex] [latex]y=8 - 2[/latex]
[latex]y=-2[/latex] [latex]y=-6[/latex] [latex]y=6[/latex]
[latex]\left(0,-2\right)[/latex] [latex]\left(-1,-6\right)[/latex] [latex]\left(2,6\right)[/latex]

The results are summarized in the table.

[latex]y=4x - 2[/latex]
[latex]x[/latex] [latex]y[/latex] [latex]\left(x,y\right)[/latex]
[latex]0[/latex] [latex]-2[/latex] [latex]\left(0,-2\right)[/latex]
[latex]-1[/latex] [latex]-6[/latex] [latex]\left(-1,-6\right)[/latex]
[latex]2[/latex] [latex]6[/latex] [latex]\left(2,6\right)[/latex]

 

try it

 

example

Complete the table to find three solutions to the equation [latex]5x - 4y=20\text{:}[/latex]

[latex]5x - 4y=20[/latex]
[latex]x[/latex] [latex]y[/latex] [latex]\left(x,y\right)[/latex]
[latex]0[/latex]
[latex]0[/latex]
[latex]5[/latex]

 

try it

Find Solutions to Linear Equations in Two Variables

To find a solution to a linear equation, we can choose any number we want to substitute into the equation for either [latex]x[/latex] or [latex]y[/latex]. We could choose [latex]1,100,1,000[/latex], 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 [latex]0[/latex] as one of our values.

example

Find a solution to the equation [latex]3x+2y=6[/latex]

 

try it

We said that linear equations in two variables have infinitely many solutions, and we’ve just found one of them. Let’s find some other solutions to the equation [latex]3x+2y=6[/latex].

example

Find three more solutions to the equation [latex]3x+2y=6[/latex]

 

try it

Let’s find some solutions to another equation now.

example

Find three solutions to the equation [latex]x - 4y=8[/latex].

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

TRY IT

Contribute!

Did you have an idea for improving this content? We’d love your input.

Improve this pageLearn More