Chapter 7 ยท Linear equations in one variable

How Many Solutions? Transform, Read, and Justify

Transform a linear equation with valid steps, then read the final equation to tell whether it has one solution, no solution, or infinitely many, and explain why.

20 min read

You already know how to solve an equation that has the variable on both sides. This lesson asks a new question: how many numbers make an equation true? The answer is not always one.

Here are the words you need:

  • A variable is a letter, such as xx, that stands for a number. In this lesson xx may be any real number, which means any number on the number line, unless a problem says otherwise. These permitted values are called the domain of xx.
  • A linear equation in xx is an equation in which each side can be simplified to a number times xx plus a number, such as 2x+1=x+32x + 1 = x + 3.
  • A solution is a permitted value of xx that makes the equation a true statement.

Start by testing values in three linear equations:

  • Equation A: 2x+1=x+32x + 1 = x + 3
  • Equation B: x+2=x+5x + 2 = x + 5
  • Equation C: 2(x+1)=2x+22(x + 1) = 2x + 2

A value of xx is a solution when the left side and the right side come out equal. For example, when x=2x = 2, Equation A has left side 2(2)+1=52(2) + 1 = 5 and right side 2+3=52 + 3 = 5, so 22 is a solution of Equation A. The table shows the left side and the right side of each equation for five values of xx.

Left side and right side of each equation for five tested values
Tested value of xEquation AEquation BEquation C
โˆ’1-1
Left โˆ’1-1, right 22: not equal
Left 11, right 44: not equal
Left 00, right 00: equal
00
Left 11, right 33: not equal
Left 22, right 55: not equal
Left 22, right 22: equal
11
Left 33, right 44: not equal
Left 33, right 66: not equal
Left 44, right 44: equal
22
Left 55, right 55: equal
Left 44, right 77: not equal
Left 66, right 66: equal
33
Left 77, right 66: not equal
Left 55, right 88: not equal
Left 88, right 88: equal

Look down each column. In Equation A, only x=2x = 2 makes the two sides equal. In Equation B, none of the tested values works. In Equation C, every tested value works.

That suggests three different answers to how many: one, none, and all. But a table tests only a few numbers, and xx may be any real number. Perhaps an untested value, such as x=2.5x = 2.5 or x=โˆ’40x = -40, behaves differently. To be sure about every value at once, you transform the equation: you rewrite it, step by step, as a simpler equation that has exactly the same solutions.

Two equations with exactly the same solutions are called equivalent equations. Two kinds of steps, called valid steps in this lesson, always turn an equation into an equivalent one:

  • Replace a side with an equivalent expression. Equivalent expressions have the same value for every permitted value of xx. Distributing and combining like terms give equivalent expressions, so they do not change which values make the equation true.
  • Do the same operation to both sides. You may add or subtract the same number or the same term, such as 3x3x, or multiply or divide by the same number, as long as that number is not zero.

A both-sides step keeps the solutions the same because you can undo it with the opposite operation, so no solution is gained or lost. Zero is the exception: dividing by zero is undefined, and multiplying both sides by zero turns every equation into 0=00 = 0, which you cannot undo.

Watch what valid steps do to Equations A, B and C.

The same three equations after valid steps
Original equationValid stepsFinal equationWhat the final equation says
A: 2x+1=x+32x + 1 = x + 3
Subtract xx from both sides to get x+1=3x + 1 = 3. Then subtract 11 from both sides.
x=2x = 2
True for exactly one value, 22
B: x+2=x+5x + 2 = x + 5
Subtract xx from both sides.
2=52 = 5
False, whatever xx is
C: 2(x+1)=2x+22(x + 1) = 2x + 2
Distribute to get 2x+2=2x+22x + 2 = 2x + 2. Then subtract 2x2x from both sides.
2=22 = 2
True, whatever xx is

Each final equation has exactly the same solutions as the equation it came from. So now you know about every real number, not just the five you tested.

  • x=2x = 2 is true for 22 and for no other number. Equation A has exactly one solution.
  • 2=52 = 5 has no xx in it, so no choice of xx can make it true. Equation B has no solution. That makes sense: adding 22 to a number never gives the same result as adding 55 to it.
  • 2=22 = 2 has no xx in it, so no choice of xx can make it false. Every real number is a solution of Equation C. That makes sense too: 2(x+1)2(x + 1) and 2x+22x + 2 are equivalent expressions.

Key concept

The final equation shows the number of solutions

Valid steps keep the solutions the same. You may replace a side with an equivalent expression, or do the same operation to both sides: add or subtract the same term, or multiply or divide by the same nonzero number. Never divide by zero.

When xx may be any real number, valid steps bring a linear equation to one of three final forms, with xx alone on one side or with no xx left:

  • x=ax = a for one number aa: exactly one solution. Check it in the original equation.
  • A false statement such as 2=52 = 5: the equation is a contradiction, true for no value. No solution.
  • A true statement such as 2=22 = 2: the equation is an identity, true for every permitted value. Every real number is a solution: infinitely many solutions.

Worked example

Exactly one solution

How many solutions does 5xโˆ’3=2x+125x - 3 = 2x + 12 have? Here xx may be any real number.

  1. Subtract 2x from both sides so that x appears on one side only. Subtracting the same term from both sides keeps the solutions the same, because you could add 2x back to undo it.

    5xโˆ’3โˆ’2x=2x+12โˆ’2xso3xโˆ’3=125x - 3 - 2x = 2x + 12 - 2x \quad\text{so}\quad 3x - 3 = 12
  2. Add 3 to both sides to undo the subtraction of 3. Adding the same number to both sides also keeps the solutions the same.

    3xโˆ’3+3=12+3so3x=153x - 3 + 3 = 12 + 3 \quad\text{so}\quad 3x = 15
  3. Divide both sides by 3. This step is valid because you are dividing by 3, which is not zero.

    3x3=153sox=5\dfrac{3x}{3} = \dfrac{15}{3} \quad\text{so}\quad x = 5
  4. Read the final equation. It is true for the number 5 and for no other number. Every step was valid, so the original equation has the same solutions: exactly one.

  5. Check by substituting 5 for x in each side of the original equation. Both sides equal 22, so 5 is a solution.

    left:ย 5(5)โˆ’3=25โˆ’3=22right:ย 2(5)+12=10+12=22\text{left: } 5(5) - 3 = 25 - 3 = 22 \qquad \text{right: } 2(5) + 12 = 10 + 12 = 22

Answer

The equation 5xโˆ’3=2x+125x - 3 = 2x + 12 has exactly one solution, x=5x = 5. It is equivalent to x=5x = 5, which is true for only one number, and x=5x = 5 makes both sides of the original equation equal 2222.

Worked example

No solution

How many solutions does 4(x+2)โˆ’x=3x+54(x + 2) - x = 3x + 5 have? Here xx may be any real number.

  1. Distribute the 4: 4 times x is 4x and 4 times 2 is 8. The expression you get is equivalent to the one it replaces, which means the two have the same value for every permitted value of x. Replacing one with the other keeps the solutions the same.

    4(x+2)=4x+8so4x+8โˆ’x=3x+54(x + 2) = 4x + 8 \quad\text{so}\quad 4x + 8 - x = 3x + 5
  2. Combine the like terms on the left side: 4x minus x is 3x. The new left side is again an equivalent expression.

    3x+8=3x+53x + 8 = 3x + 5
  3. Subtract 3x from both sides. The same operation on both sides keeps the solutions the same.

    3x+8โˆ’3x=3x+5โˆ’3xso8=53x + 8 - 3x = 3x + 5 - 3x \quad\text{so}\quad 8 = 5
  4. Read the final equation. It has no x in it, and it is false, because 8 does not equal 5. No choice of x can make it true. Every step was valid, so no value of x makes the original equation true either.

  5. Test a value in the original equation, such as 1. The left side is 11 and the right side is 8, which are not equal, as expected. One test cannot prove that there is no solution. The false final equation does that for every value at once.

    left:ย 4(1+2)โˆ’1=12โˆ’1=11right:ย 3(1)+5=3+5=8\text{left: } 4(1 + 2) - 1 = 12 - 1 = 11 \qquad \text{right: } 3(1) + 5 = 3 + 5 = 8

Answer

The equation 4(x+2)โˆ’x=3x+54(x + 2) - x = 3x + 5 has no solution. It is equivalent to 8=58 = 5, a false statement that no value of xx can make true, so the equation is a contradiction.

Worked example

Infinitely many solutions

How many solutions does 5xโˆ’2(xโˆ’4)=3x+85x - 2(x - 4) = 3x + 8 have? Here xx may be any real number.

  1. Distribute the negative 2 and watch the signs: negative 2 times x is negative 2x, and negative 2 times negative 4 is positive 8. The new left side is an equivalent expression, so the solutions stay the same.

    โˆ’2(xโˆ’4)=โˆ’2x+8so5xโˆ’2x+8=3x+8-2(x - 4) = -2x + 8 \quad\text{so}\quad 5x - 2x + 8 = 3x + 8
  2. Combine like terms on the left side: 5x minus 2x is 3x.

    3x+8=3x+83x + 8 = 3x + 8
  3. Subtract 3x from both sides, the same operation on both sides.

    3x+8โˆ’3x=3x+8โˆ’3xso8=83x + 8 - 3x = 3x + 8 - 3x \quad\text{so}\quad 8 = 8
  4. Read the final equation. It has no x in it, and it is true, because 8 equals 8. No choice of x can make it false. Every step was valid, so every permitted value of x makes the original equation true. Here that means every real number.

  5. Test a value in the original equation to catch any slip, such as 3. Both sides equal 17. A test like this supports the work, but the true final equation is what covers every value.

    left:ย 5(3)โˆ’2(3โˆ’4)=15โˆ’2(โˆ’1)=15+2=17right:ย 3(3)+8=9+8=17\text{left: } 5(3) - 2(3 - 4) = 15 - 2(-1) = 15 + 2 = 17 \qquad \text{right: } 3(3) + 8 = 9 + 8 = 17

Answer

The equation 5xโˆ’2(xโˆ’4)=3x+85x - 2(x - 4) = 3x + 8 has infinitely many solutions: every real number is a solution. It is equivalent to 8=88 = 8, a true statement whatever xx is, so the equation is an identity.

Worked example

When the solution is zero

How many solutions does 7xโˆ’3(x+2)=2(xโˆ’3)7x - 3(x + 2) = 2(x - 3) have? Here xx may be any real number.

  1. Distribute on each side and watch the signs. On the left, negative 3 times x is negative 3x and negative 3 times 2 is negative 6. On the right, 2 times x is 2x and 2 times negative 3 is negative 6. Each new expression is equivalent to the one it replaces.

    7xโˆ’3xโˆ’6=2xโˆ’67x - 3x - 6 = 2x - 6
  2. Combine like terms on the left side: 7x minus 3x is 4x.

    4xโˆ’6=2xโˆ’64x - 6 = 2x - 6
  3. Subtract 2x from both sides, the same operation on both sides.

    4xโˆ’6โˆ’2x=2xโˆ’6โˆ’2xso2xโˆ’6=โˆ’64x - 6 - 2x = 2x - 6 - 2x \quad\text{so}\quad 2x - 6 = -6
  4. Add 6 to both sides, the same operation on both sides.

    2xโˆ’6+6=โˆ’6+6so2x=02x - 6 + 6 = -6 + 6 \quad\text{so}\quad 2x = 0
  5. Divide both sides by 2. You are dividing by 2, which is not zero, so the step is valid. Dividing zero by 2 is fine and gives 0. It is dividing by zero that is never allowed.

    2x2=02sox=0\dfrac{2x}{2} = \dfrac{0}{2} \quad\text{so}\quad x = 0
  6. Read the final equation and check. The final equation still has x in it and is true for exactly one number, zero. Substituting 0 for x in the original equation gives negative 6 on both sides.

    left:ย 7(0)โˆ’3(0+2)=0โˆ’6=โˆ’6right:ย 2(0โˆ’3)=2(โˆ’3)=โˆ’6\text{left: } 7(0) - 3(0 + 2) = 0 - 6 = -6 \qquad \text{right: } 2(0 - 3) = 2(-3) = -6

Answer

The equation 7xโˆ’3(x+2)=2(xโˆ’3)7x - 3(x + 2) = 2(x - 3) has exactly one solution, x=0x = 0. It is equivalent to x=0x = 0, which is true for one number only. Zero is a number, so this is one solution, not no solution.

The takeaway. To count the solutions of a linear equation, transform it with valid steps and then read the final equation. Valid steps replace a side with an equivalent expression or do the same operation to both sides, never dividing by zero, so the solutions stay the same.

  • x=ax = a means exactly one solution. Check it in the original equation.
  • A false statement such as 8=58 = 5 means a contradiction: no solution.
  • A true statement such as 8=88 = 8 means an identity: every permitted value is a solution, so there are infinitely many when xx may be any real number.

Next, you will create your own equations with no solutions or infinitely many solutions, and you will find and correct errors in deciding the number of solutions.