Math Core

Lesson 3.3 · Linear Equations

Number of solutions

So far, every equation you've solved had exactly one answer. But try solving 2(x+4)=2x+52(x + 4) = 2x + 5 and something strange happens: the variable disappears. That isn't a mistake. It's the equation telling you that it has no solution, or in other cases, infinitely many.

Three possible outcomes

When you solve a linear equation in one variable, you always end up in one of three places.

How many solutions?

  • One solution: you end with x=ax = a for a single number aa.
  • No solution: the variable cancels and you're left with a false statement, like 8=58 = 5.
  • Infinitely many solutions: the variable cancels and you're left with a true statement, like 6=66 = 6. Every number works.

Worked example: One solution

Solve 4x+1=2x+74x + 1 = 2x + 7.

4x+1=2x+72x+1=72x=6x=3\begin{aligned} 4x + 1 &= 2x + 7 \\ 2x + 1 &= 7 \\ 2x &= 6 \\ x &= 3 \end{aligned}

The equation is true only when x=3x = 3. It has one solution.

Worked example: No solution

Solve 2(x+4)=2x+52(x + 4) = 2x + 5.

2(x+4)=2x+52x+8=2x+58=5subtract 2x\begin{aligned} 2(x + 4) &= 2x + 5 \\ 2x + 8 &= 2x + 5 \\ 8 &= 5 && \text{subtract } 2x \end{aligned}

The xx terms cancel and leave 8=58 = 5, which is never true. No matter what number you try, the left side is always 33 more than the right side. The equation has no solution.

Worked example: Infinitely many solutions

Solve 3(x+2)=3x+63(x + 2) = 3x + 6.

3(x+2)=3x+63x+6=3x+66=6subtract 3x\begin{aligned} 3(x + 2) &= 3x + 6 \\ 3x + 6 &= 3x + 6 \\ 6 &= 6 && \text{subtract } 3x \end{aligned}

The statement 6=66 = 6 is always true. Both sides are the same expression written two ways, so every value of xx works. Try x=10x = 10: 3(12)=363(12) = 36 and 30+6=3630 + 6 = 36. The equation has infinitely many solutions.

Common mistake

Don't write "x=0x = 0" when the variable cancels. Getting 0=00 = 0 means every number is a solution, and getting something like 0=30 = 3 means no number is. But if you end with x=0x = 0 itself, that's one solution: the number zero.

A shortcut: compare the two sides

You can often tell how many solutions there are without solving all the way. First simplify each side into the form ax+bax + b (distribute and combine like terms). Then compare.

After simplifying…ExampleNumber of solutions
Different xx coefficients4x+1=2x+74x + 1 = 2x + 7one
Same xx coefficient, different constants2x+8=2x+52x + 8 = 2x + 5none
Same xx coefficient, same constant3x+6=3x+63x + 6 = 3x + 6infinitely many

Why does this work? If the coefficients are different, subtracting one variable term leaves some xx behind, and you can solve for it. If the coefficients match, the xx terms cancel, and only the constants are left to compare.

Seeing it on a graph

You can picture each side of an equation as a line. The solution is where the two lines meet. For 4x+1=2x+74x + 1 = 2x + 7, the lines y=4x+1y = 4x + 1 and y=2x+7y = 2x + 7 cross at x=3x = 3.

The lines cross once, at x = 3: one solution.Open in grapher →

For 2x+8=2x+52x + 8 = 2x + 5, the lines y=2x+8y = 2x + 8 and y=2x+5y = 2x + 5 have the same steepness, so they run side by side and never meet.

The lines never meet: no solution.Open in grapher →

When both sides are the same expression, the two lines are the same line, so they meet everywhere.

Worked example: Build an equation

What number should go in the box so that 5x−2=5x+□5x - 2 = 5x + \square has infinitely many solutions? What about no solution?

Both sides already have 5x5x. For infinitely many solutions, the constants must also match, so the box must be −2-2. For no solution, the constants must be different, so any number other than −2-2 works, such as 44.

Tip

Before you decide, always simplify each side completely. In 3(x−2)+x=2(2x−3)+x3(x - 2) + x = 2(2x - 3) + x, the sides look alike, but they simplify to 4x−64x - 6 and 5x−65x - 6. The coefficients differ, so there is one solution: x=0x = 0.

Practice

Practice 1

How many solutions does 6x+4=6x−16x + 4 = 6x - 1 have?

Practice 2

How many solutions does 2(3x−5)=6x−102(3x - 5) = 6x - 10 have?

Practice 3

How many solutions does 5x−3=2x+95x - 3 = 2x + 9 have?

Practice 4

How many solutions does 4(x+1)−x=3x+44(x + 1) - x = 3x + 4 have?

Practice 5

How many solutions does 7x+2−3x=2(2x+3)7x + 2 - 3x = 2(2x + 3) have?

Practice 6

How many solutions does 3(x−2)+x=2(2x−3)+x3(x - 2) + x = 2(2x - 3) + x have?

Practice 7

What value of aa makes 4(2x−3)=ax−124(2x - 3) = ax - 12 true for every value of xx (infinitely many solutions)?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

What value of kk makes kx+7=3x+2kx + 7 = 3x + 2 have no solution?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.