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].
Answer: For this problem, you will use the substitution method. Substitute [latex]x=−2[/latex] and [latex]y=4[/latex] into the equation.
[latex]\begin{array}{r}4y+5x=3\\4\left(4\right)+5\left(−2\right)=3\end{array}[/latex]
Evaluate.
[latex]\begin{array}{r}16+\left(−10\right)=3\\6=3\end{array}[/latex]
The statement is not true, so [latex](−2,4)[/latex] is not a solution to the equation [latex]4y+5x=3[/latex].
Answer
[latex](−2,4)[/latex] is not 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-display]x+4y=8[/latex-display]
[latex-display]\color{blue}{0}+4\cdot\color{red}{2}\stackrel{?}{=}8[/latex-display]
[latex-display]0+8\stackrel{?}{=}8[/latex-display]
[latex]8=8\checkmark[/latex] |
[latex]x=\color{blue}{2}, y=\color{red}{-4}[/latex]
[latex-display]x+4y=8[/latex-display]
[latex-display]\color{blue}{2}+4(\color{red}{-4})\stackrel{?}{=}8[/latex-display]
[latex-display]2+(-16)\stackrel{?}{=}8[/latex-display]
[latex]-14\not=8[/latex] |
[latex]x=\color{blue}{-4}, y=\color{red}{3}[/latex]
[latex-display]x+4y=8[/latex-display]
[latex-display]\color{blue}{-4}+4\cdot\color{red}{3}\stackrel{?}{=}8[/latex-display]
[latex-display]-4+12\stackrel{?}{=}8[/latex-display]
[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
[ohm_question]146928[/ohm_question]
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]
Answer:
Solution
Substitute the [latex]x\text{-}[/latex] and [latex]y\text{-values}[/latex] from each ordered pair into the equation and determine if it results in a true statement.
1. [latex]\left(0,-1\right)[/latex] |
2. [latex]\left(1,4\right)[/latex] |
3. [latex]\left(-2,-7\right)[/latex] |
[latex]x=\color{blue}{0}, y=\color{red}{-1}[/latex]
[latex-display]y=5x-1[/latex-display]
[latex-display]\color{red}{-1}\stackrel{?}{=}5(\color{blue}{0})-1[/latex-display]
[latex-display]-1\stackrel{?}{=}0-1[/latex-display]
[latex]-1=-1\checkmark[/latex] |
[latex]x=\color{blue}{1}, y=\color{red}{4}[/latex]
[latex-display]y=5x-1[/latex-display]
[latex-display]\color{red}{4}\stackrel{?}{=}5(\color{blue}{1})-1[/latex-display]
[latex-display]4\stackrel{?}{=}5-1[/latex-display]
[latex]4=4\checkmark[/latex] |
[latex]x=\color{blue}{-2}, y=\color{red}{-7}[/latex]
[latex-display]y=5x-1[/latex-display]
[latex-display]\color{red}{-7}\stackrel{?}{=}5(\color{blue}{-2})-1[/latex-display]
[latex-display]-7\stackrel{?}{=}-10-1[/latex-display]
[latex]-7\not=-11[/latex] |
[latex]\left(0,-1\right)[/latex] is a solution. |
[latex]\left(1,4\right)[/latex] is a solution. |
[latex]\left(-2,-7\right)[/latex] is not a solution. |
try it
[ohm_question]146929[/ohm_question]
[ohm_question]146941[/ohm_question]
In the next video you will see more examples of how to determine whether an ordered pair is a solution to a linear equation.
https://youtu.be/9aWGxt7OnB8
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
[ohm_question]146945[/ohm_question]
[ohm_question]146947[/ohm_question]
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] |
|
Answer:
Solution
The results are summarized in the table.
[latex]5x - 4y=20[/latex] |
[latex]x[/latex] |
[latex]y[/latex] |
[latex]\left(x,y\right)[/latex] |
[latex]0[/latex] |
[latex]-5[/latex] |
[latex]\left(0,-5\right)[/latex] |
[latex]4[/latex] |
[latex]0[/latex] |
[latex]\left(4,0\right)[/latex] |
[latex]8[/latex] |
[latex]5[/latex] |
[latex]\left(8,5\right)[/latex] |
try it
[ohm_question]146948[/ohm_question]
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]
Answer:
Solution
Step 1: Choose any value for one of the variables in the equation. |
We can substitute any value we want for [latex]x[/latex] or any value for [latex]y[/latex].
Let's pick [latex]x=0[/latex].
What is the value of [latex]y[/latex] if [latex]x=0[/latex] ? |
Step 2: Substitute that value into the equation.
Solve for the other variable. |
Substitute [latex]0[/latex] for [latex]x[/latex].
Simplify.
Divide both sides by [latex]2[/latex]. |
[latex]3x+2y=6[/latex]
[latex-display]3\cdot\color{blue}{0}+2y=6[/latex-display]
[latex-display]0+2y=6[/latex-display]
[latex-display]2y=6[/latex-display]
[latex]y=3[/latex] |
Step 3: Write the solution as an ordered pair. |
So, when [latex]x=0,y=3[/latex]. |
This solution is represented by the ordered pair [latex]\left(0,3\right)[/latex]. |
Step 4: Check. |
Substitute [latex]x=\color{blue}{0}, y=\color{red}{3}[/latex] into the equation [latex]3x+2y=6[/latex]
Is the result a true equation?
Yes! |
[latex]3x+2y=6[/latex]
[latex-display]3\cdot\color{blue}{0}+2\cdot\color{red}{3}\stackrel{?}{=}6[/latex-display]
[latex-display]0+6\stackrel{?}{=}6[/latex-display]
[latex]6=6\checkmark[/latex] |
try it
[ohm_question]147000[/ohm_question]
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]
Answer:
Solution
To find solutions to [latex]3x+2y=6[/latex], choose a value for [latex]x[/latex] or [latex]y[/latex]. Remember, we can choose any value we want for [latex]x[/latex] or [latex]y[/latex]. Here we chose [latex]1[/latex] for [latex]x[/latex], and [latex]0[/latex] and [latex]-3[/latex] for [latex]y[/latex].
Substitute it into the equation. |
[latex]y=\color{red}{0}[/latex]
[latex-display]3x+2y=6[/latex-display]
[latex]3x+2(\color{red}{0})=6[/latex] |
[latex]y=\color{blue}{1}[/latex]
[latex-display]3x+2y=6[/latex-display]
[latex]3(\color{blue}{1})+2y=6[/latex] |
[latex]y=\color{red}{-3}[/latex]
[latex-display]3x+2y=6[/latex-display]
[latex]3x+2(\color{red}{-3})=6[/latex] |
Simplify.
Solve. |
[latex]3x+0=6[/latex]
[latex]3x=6[/latex] |
[latex]3+2y=6[/latex]
[latex]2y=3[/latex] |
[latex]3x-6=6[/latex]
[latex]3x=12[/latex] |
|
[latex]x=2[/latex] |
[latex]y=\Large\frac{3}{2}[/latex] |
[latex]x=4[/latex] |
Write the ordered pair. |
[latex]\left(2,0\right)[/latex] |
[latex]\left(1,\Large\frac{3}{2}\normalsize\right)[/latex] |
[latex]\left(4,-3\right)[/latex] |
Check your answers.
[latex]\left(2,0\right)[/latex] |
[latex]\left(1,\Large\frac{3}{2}\normalsize\right)[/latex] |
[latex]\left(4,-3\right)[/latex] |
[latex]3x+2y=6[/latex]
[latex-display]3\cdot\color{blue}{2}+2\cdot\color{red}{0}\stackrel{?}{=}6[/latex-display]
[latex-display]6+0\stackrel{?}{=}6[/latex-display]
[latex]6+6\checkmark[/latex] |
[latex]3x+2y=6[/latex]
[latex-display]3\cdot\color{blue}{1}+2\cdot\color{red}{\Large\frac{3}{2}}\normalsize\stackrel{?}{=}6[/latex-display]
[latex-display]3+3\stackrel{?}{=}6[/latex-display]
[latex]6+6\checkmark[/latex] |
[latex]3x+2y=6[/latex]
[latex-display]3\cdot\color{blue}{4}+2\cdot\color{red}{-3}\stackrel{?}{=}6[/latex-display]
[latex-display]12+(-6)\stackrel{?}{=}6[/latex-display]
[latex]6+6\checkmark[/latex] |
So [latex]\left(2,0\right),\left(1,\Large\frac{3}{2}\normalsize\right)[/latex] and [latex]\left(4,-3\right)[/latex] are all solutions to the equation [latex]3x+2y=6[/latex]. In the previous example, we found that [latex]\left(0,3\right)[/latex] is a solution, too. We can list these solutions in a table.
[latex]3x+2y=6[/latex] |
[latex]x[/latex] |
[latex]y[/latex] |
[latex]\left(x,y\right)[/latex] |
[latex]0[/latex] |
[latex]3[/latex] |
[latex]\left(0,3\right)[/latex] |
[latex]2[/latex] |
[latex]0[/latex] |
[latex]\left(2,0\right)[/latex] |
[latex]1[/latex] |
[latex]\Large\frac{3}{2}[/latex] |
[latex]\left(1,\Large\frac{3}{2}\normalsize\right)[/latex] |
[latex]4[/latex] |
[latex]-3[/latex] |
[latex]\left(4,-3\right)[/latex] |
try it
[ohm_question]147003[/ohm_question]
Let’s find some solutions to another equation now.
example
Find three solutions to the equation [latex]x - 4y=8[/latex].
Answer:
Solution
[latex]x-4y=8[/latex] |
[latex]x-4y=8[/latex] |
[latex]x-4y=8[/latex] |
Choose a value for [latex]x[/latex] or [latex]y[/latex]. |
[latex]x=\color{blue}{0}[/latex] |
[latex]y=\color{red}{0}[/latex] |
[latex]y=\color{red}{3}[/latex] |
Substitute it into the equation. |
[latex]\color{blue}{0}-4y=8[/latex] |
[latex]x-4\cdot\color{red}{0}=8[/latex] |
[latex]x-4\cdot\color{red}{3}=8[/latex] |
Solve. |
[latex]-4y=8[/latex]
[latex]y=-2[/latex] |
[latex]x-0=8[/latex]
[latex]x=8[/latex] |
[latex]x-12=8[/latex]
[latex]x=20[/latex] |
Write the ordered pair. |
[latex]\left(0,-2\right)[/latex] |
[latex]\left(8,0\right)[/latex] |
[latex]\left(20,3\right)[/latex] |
So [latex]\left(0,-2\right),\left(8,0\right)[/latex], and [latex]\left(20,3\right)[/latex] are three solutions to the equation [latex]x - 4y=8[/latex].
[latex]x - 4y=8[/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]8[/latex] |
[latex]0[/latex] |
[latex]\left(8,0\right)[/latex] |
[latex]20[/latex] |
[latex]3[/latex] |
[latex]\left(20,3\right)[/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
[ohm_question]147004[/ohm_question]
Contribute!
Did you have an idea for improving this content? We’d love your input.
Licenses & Attributions
CC licensed content, Original
- Question ID 146941, 146929, 146928, 146927. Authored by: Lumen Learning. License: CC BY: Attribution.
CC licensed content, Shared previously
- Ex: Determine If An Ordered Pair is a Solution to a Linear Equation. Authored by: James Sousa (mathispower4u.com). License: CC BY: Attribution.
CC licensed content, Specific attribution