Unit 2, lesson 9

Equations with No or Infinitely Many Solutions

Why a linear equation can have every allowed number or no number as a solution, how the leftover constant statement tells you which, and how to choose a constant that forces each case.

  • Theory part 17
  • Practice part 18
  • Linear Equations

Two phone plans both charge 15 dollars a month plus 2 dollars per gigabyte. Ask when they cost the same and you get 15+2g=2g+1515 + 2g = 2g + 15, which holds for every amount of data. Raise the base price of one plan to 20 dollars and the question becomes 20+2g=2g+1520 + 2g = 2g + 15, which never holds. In both equations the variable cancels when you solve, and the small statement left behind decides the answer.

See also Solving Equations and Checking Solutions in Foundations for Calculus.

Key terms

Coefficient

Definition In a term that is the product of a number and a variable, such as 7x7x, the number is the coefficient of the variable. A term written xx has coefficient 11, and a term written −x-x has coefficient −1-1. A letter that stands for a fixed number, such as aa or kk in kxkx, can also be a coefficient. When you compare the two sides of an equation, read each coefficient only after that side is expanded and like terms are combined.

In plain words The coefficient is the number that multiplies xx. It tells you how many copies of xx a side contains.

Example In 7x−4=−x+97x - 4 = -x + 9 the coefficient of xx is 77 on the left and −1-1 on the right. In 3(2x−1)3(2x - 1) the coefficient of xx is not 33. Expanding gives 6x−36x - 3, so the coefficient is 66.

Constant term

Definition A constant term is a term that contains no variable, so its value does not depend on xx. After expanding and combining like terms, every linear equation in xx can be written as

ax+b=cx+d,ax + b = cx + d,

where aa and cc are the coefficients of xx and bb and dd are the constant terms.

In plain words The constant is the part of a side that stays the same no matter what number you put in for xx.

Example The left side of 4(x+2)−3=4x+54(x + 2) - 3 = 4x + 5 expands to 4x+8−34x + 8 - 3, which is 4x+54x + 5. Its constant term is 55, the combination of 88 and −3-3. So both sides have coefficient 44 and constant term 55.

Identity

Definition An equation in xx is an identity when it is true for every value of xx in its domain, the set of values for which both sides are defined. When equivalent steps make the variable disappear and leave a true statement without a variable, such as 6=66 = 6 or 0=00 = 0, the original equation is an identity. A linear equation ax+b=cx+dax + b = cx + d is an identity exactly when a=ca = c and b=db = d.

In plain words Both sides are the same expression written two ways. Whatever number you try, the two sides match.

Example Solve 2(x+3)=2x+62(x + 3) = 2x + 6. Expanding gives 2x+6=2x+62x + 6 = 2x + 6, and subtracting 2x2x from both sides leaves

6=6,6 = 6,

which is always true. Every real number is a solution. A spot check agrees. At x=−5x = -5 both sides equal −4-4, and at x=10x = 10 both equal 2626.

Infinitely many solutions

Definition An equation has infinitely many solutions when its solution set contains infinitely many numbers. The solution set of an identity is every value in the original domain. For a linear identity that is every real number. If the original equation excludes some values, for instance because they make a denominator zero, those values stay excluded even when simplifying hides the denominator.

In plain words A true leftover statement means every number that was allowed in the first place works. It does not let back in a number that the original equation could not use.

Example Consider

3x+6x+2=3.\frac{3x + 6}{x + 2} = 3.

The value x=−2x = -2 makes the denominator zero, so the domain is every real number except −2-2. For every other xx the factor x+2x + 2 cancels,

3x+6x+2=3(x+2)x+2=3,\frac{3x + 6}{x + 2} = \frac{3(x + 2)}{x + 2} = 3,

and the equation reduces to the true statement 3=33 = 3. So it is an identity on its domain, and its solution set is all real numbers except −2-2. That is still infinitely many solutions, but x=−2x = -2 is not one of them, because the left side is undefined there.

Contradiction

Definition An equation in xx is a contradiction when no value of xx in its domain makes it true. When equivalent steps make the variable disappear and leave a false statement without a variable, such as 6=76 = 7 or 0=50 = 5, the original equation is a contradiction. A linear equation ax+b=cx+dax + b = cx + d is a contradiction exactly when a=ca = c and b≠db \ne d.

In plain words The two sides grow at the same rate but start from different places, so they are always the same distance apart and never meet.

Example Solve 3(x−2)+12=3x+73(x - 2) + 12 = 3x + 7. The left side simplifies to 3x+63x + 6. Subtracting 3x3x from both sides leaves

6=7,6 = 7,

which is false. Trying numbers shows why. At x=0x = 0 the sides are 66 and 77, and at x=10x = 10 they are 3636 and 3737. The left side is always exactly 11 less than the right.

No solution

Definition An equation has no solution when its solution set is empty, written ∅\varnothing. Every contradiction has no solution. When the variable cancels, the leftover constant statement decides the case. A true statement means every allowed value is a solution, and a false statement means none is. A canceled variable never means x=0x = 0 by itself.

In plain words If the xx terms vanish, do not write x=0x = 0. Look at what is left. A false statement says no number works, zero included.

Example Solve 5x−2=5x+45x - 2 = 5x + 4. A common slip is to cancel the 5x5x terms and write x=0x = 0. Test it. At x=0x = 0 the sides are −2-2 and 44, which are not equal. The correct reading is that canceling leaves −2=4-2 = 4, which is false, so the equation has no solution.

Compare 5x−2=3x−25x - 2 = 3x - 2. Here the variable does not cancel. Subtracting 3x3x and adding 22 gives 2x=02x = 0, so x=0x = 0 really is the one solution, and both sides equal −2-2 there.

A graph shows the same thing. In the Desmos graphing calculator, type y=5x−2y = 5x - 2 and y=5x+4y = 5x + 4. The two lines have the same slope and different yy-intercepts, so they are parallel and never cross. For an identity such as y=2(x+3)y = 2(x + 3) and y=2x+6y = 2x + 6, the second line lies exactly on top of the first.

Parameter cases

Definition A parameter is a letter, such as kk, that stands for a fixed but unknown number. After both sides are simplified to ax+b=cx+dax + b = cx + d, subtracting cxcx and bb from both sides gives

(a−c)x=d−b.(a - c)x = d - b.

So the equation has

  • exactly one solution when a≠ca \ne c, namely x=d−ba−cx = \frac{d - b}{a - c},
  • infinitely many solutions, every real number, when a=ca = c and b=db = d,
  • no solution when a=ca = c and b≠db \ne d.

Dividing by a−ca - c is allowed only when a−c≠0a - c \ne 0, which is why the case a=ca = c has to be handled separately.

In plain words Compare the coefficients first. Different coefficients give one solution. Equal coefficients send you to the constants, where equal means infinitely many and different means none.

Example In 4(x−k)=4x−124(x - k) = 4x - 12, the number kk is a constant. Expanding gives 4x−4k=4x−124x - 4k = 4x - 12. The coefficients are 44 and 44 for every kk, so this equation never has exactly one solution. The constants match when −4k=−12-4k = -12, that is when k=3k = 3. So the equation has infinitely many solutions for k=3k = 3 and no solution for every other kk.

With two parameters, take kx+5=2x+mkx + 5 = 2x + m. Rearranging gives (k−2)x=m−5(k - 2)x = m - 5, and all cases fit in one table.

ConditionNumber of solutions
k≠2k \ne 2exactly one, x=m−5k−2x = \frac{m - 5}{k - 2}
k=2k = 2 and m=5m = 5infinitely many
k=2k = 2 and m≠5m \ne 5none

On the SAT these questions usually say that a letter is a constant and give one case, such as “the equation has no solution”, then ask for the constant. Match the coefficients, then make the constants equal or different as the case requires. A graph shows the same split. In Desmos, graph y=kx+5y = kx + 5 with a slider for kk next to y=2x+7y = 2x + 7, which is the case m=7m = 7. The lines cross at one point for every kk except k=2k = 2, where they are parallel and the equation has no solution.

Check yourself

  1. Which of the following equations has no solution? (A) 4(x−2)=4x−84(x - 2) = 4x - 8 (B) 4(x−2)=4x−24(x - 2) = 4x - 2 (C) 4(x−2)=2x−84(x - 2) = 2x - 8 (D) 4(x−2)=−4x+84(x - 2) = -4x + 8
Show the answer

The correct choice is (B). The left side expands to 4x−84x - 8 in every choice. In (B) canceling 4x4x leaves −8=−2-8 = -2, which is false, so there is no solution. Choice (A) leaves −8=−8-8 = -8, an identity with infinitely many solutions. Choice (C) gives 2x=02x = 0, so x=0x = 0 is one solution. Choice (D) gives 8x=168x = 16, so x=2x = 2 is one solution.

  1. In the equation 5(x+k)−3=5x+175(x + k) - 3 = 5x + 17, the number kk is a constant. If the equation has infinitely many solutions, what is the value of kk?
Show the answer

The value is 44. The left side is 5x+5k−35x + 5k - 3, and its coefficient already matches the 55 on the right. For infinitely many solutions the constants must match too, so 5k−3=175k - 3 = 17, which gives 5k=205k = 20 and k=4k = 4. Then both sides are 5x+175x + 17.

  1. In the equation ax−6=3(x−2)ax - 6 = 3(x - 2), the number aa is a constant. Which statement is true? (A) The equation has no solution when a=3a = 3. (B) The equation has infinitely many solutions for every value of aa. (C) The equation has infinitely many solutions when a=3a = 3 and exactly one solution, x=0x = 0, otherwise. (D) The equation has no solution when a≠3a \ne 3.
Show the answer

The correct choice is (C). The right side is 3x−63x - 6, so the equation becomes (a−3)x=0(a - 3)x = 0. When a=3a = 3 this reads 0=00 = 0, true for every xx, so (A) fails. When a≠3a \ne 3 you may divide by a−3a - 3 and get x=0x = 0, exactly one solution, so (B) and (D) fail. Here x=0x = 0 is a real solution because the variable survived with a nonzero coefficient, not because it canceled.

How this lesson connects