Sub topic 10
Systems with No Solution or Infinitely Many Solutions
This chapter assumes you can solve a two-variable system by substitution and by elimination. It also assumes you can write a line in slope-intercept form, y = mx + b. Most systems on the GRE have exactly one solution. Some do not, and the test uses those cases to check whether you notice. This chapter covers how to recognize the other two outcomes and what they mean for a question.
Three possible outcomes
Each linear equation in two variables describes a line. A solution of a system is a point that lies on every line in it. Two lines in a plane can relate in exactly three ways.
| Relationship of the lines | Number of solutions | Slopes | Intercepts |
|---|---|---|---|
| Cross at one point | Exactly one | Different | Not relevant |
| Parallel and separate | None | Equal | Different |
| Identical (the same line) | Infinitely many | Equal | Equal |
A system of two linear equations can never have exactly two solutions or exactly five. Two distinct lines meet at most once. If they meet twice, they are the same line, and then every point on it is a solution.
What the algebra looks like
You do not have to graph anything. Run substitution or elimination as usual and read the final line.
A false statement means no solution
Take x + 2y = 5 and 2x + 4y = 7. Multiply the first equation by 2 to get 2x + 4y = 10. Subtract the second equation:
(2x + 4y) − (2x + 4y) = 10 − 7, which gives 0 = 3.
Both variables vanished and the statement is false. No pair (x, y) can satisfy both equations, so the system has no solution. The lines have the same slope and different intercepts, so they are parallel.
A true statement means infinitely many solutions
Take x + 2y = 5 and 2x + 4y = 10. Multiply the first by 2 to get 2x + 4y = 10. Subtracting the second equation gives 0 = 0.
The statement is always true, so no new information came from the second equation. It is just the first equation in disguise. Any point on the line x + 2y = 5 is a solution, for example (5, 0), (1, 2), and (−1, 3).
The coefficient-ratio test
For the system a₁x + b₁y = c₁ and a₂x + b₂y = c₂, with all coefficients nonzero, compare ratios:
- If a₁/a₂ ≠ b₁/b₂, the slopes differ and there is exactly one solution.
- If a₁/a₂ = b₁/b₂ ≠ c₁/c₂, the lines are parallel and there is no solution.
- If a₁/a₂ = b₁/b₂ = c₁/c₂, the equations describe the same line and there are infinitely many solutions.
For 3x − y = 4 and 6x − 2y = 8, the ratios are 3/6, (−1)/(−2) and 4/8. All equal 1/2, so the second equation is twice the first and there are infinitely many solutions. For 3x − y = 4 and 6x − 2y = 9, the first two ratios are 1/2 but the third is 4/9. The lines are parallel, so there is no solution.
You can also rewrite both equations as y = mx + b and compare m and b. This is the same test in different clothes. Use whichever form needs less arithmetic.
Finding the constant that creates a special case
A common question gives a system with an unknown constant k and asks for the k that produces no solution or infinitely many. Force the coefficient ratios to match.
Consider 2x + 3y = 7 and 4x + ky = 9.
- Compare the x coefficients. The second equation would be 2 times the first, so the y coefficient must satisfy k = 2 · 3 = 6.
- With k = 6, the scaled first equation is 4x + 6y = 14. The second says 4x + 6y = 9, which conflicts. So k = 6 gives no solution.
- For infinitely many solutions, the right side would have to be 14 and not 9. Since it is 9, no value of k makes this system have infinitely many solutions.
- Every other value of k gives exactly one solution.
Now change the system to kx + 6y = 12 and 2x + 3y = 6. The second equation doubled is 4x + 6y = 12. When k = 4 the two equations are identical, giving infinitely many solutions. Any other k gives exactly one solution. Here the right sides already match in proportion, so no k gives "no solution."
What happens when you hit a special case mid-solution
Suppose substitution produces 5 = 5 or elimination produces 0 = 0. Do not keep going to find x and y, and do not report x = 0. The statement means the system is dependent, which is another word for infinitely many solutions. You can still describe the solution set by solving one equation for y, such as y = (5 − x)/2 for x + 2y = 5. Every x gives one matching y.
A target expression can still be determined
The shortcut from the previous chapter is to solve for an expression such as x + y directly. This can work even when the system is dependent.
Given 2x + 2y = 10 and 3x + 3y = 15, the equations are multiples of each other, so there are infinitely many solutions. Neither x nor y has a single value. But dividing the first equation by 2 gives x + y = 5, so x + y is determined.
Whether a target is determined depends on the target, not only on the system. If the question asked for x alone, the information would be insufficient. The two equations here are consistent but dependent, and they pin down x + y but not x.
Special cases in Quantitative Comparison
In Quantitative Comparison, the answer choices include "the relationship cannot be determined." Dependent systems are a main source of that answer.
Suppose 2x + 3y = 12 and 4x + 6y = 24.
- Quantity A: x
- Quantity B: y
The second equation is double the first, so the system is dependent. The pair (6, 0) satisfies both equations and makes A greater. The pair (0, 4) also satisfies both and makes B greater. Different valid pairs give different comparisons, so the relationship cannot be determined.
If the same equations were paired with 4x + 6y = 25, the system would have no solution. A real GRE question will not usually do that, because the setup would be contradictory. But if you find yourself deriving a false statement from information the problem says is true, recheck your arithmetic first.
The rule for the QC format is this: when two stated equations turn out to be the same line, the data gives you less information than it appears to. Count independent equations, not written equations.
Optional check in code
This function classifies a system of two equations. It uses the determinant a₁b₂ − a₂b₁, which is zero exactly when the slopes match. When the determinant is zero, it checks whether the constants are in the same proportion. It assumes each equation has at least one nonzero coefficient on x or y.
def classify(a1, b1, c1, a2, b2, c2):
"""Classify a1*x + b1*y = c1 and a2*x + b2*y = c2."""
det = a1 * b2 - a2 * b1
if det != 0:
return "one solution"
same_line = (a1 * c2 - a2 * c1 == 0) and (b1 * c2 - b2 * c1 == 0)
return "infinitely many solutions" if same_line else "no solution"
print(classify(1, 2, 5, 2, 4, 10)) # infinitely many solutions
print(classify(1, 2, 5, 2, 4, 7)) # no solution
print(classify(3, 2, 12, 1, -1, 1)) # one solutionCommon errors
- Stopping at the vanished variables. When x and y both cancel, you are not done. Read the leftover statement.
- Calling 0 = 0 "zero solutions." A true statement means every point on the line works, so there are infinitely many solutions.
- Comparing only the slopes. Equal slopes give either no solution or infinitely many. You need the intercepts to decide.
- Scaling one side only. When you multiply an equation to compare it with another, multiply both sides, including the constant.
- Assuming a unique answer in QC. If the two equations are proportional, the system does not fix both variables.
Practice
Exercise
For what value of k does the system 3x + 4y = 10 and 9x + ky = 20 have no solution?
Show answer
The second equation's x coefficient is 3 times the first, so k must equal 3 · 4 = 12 to make the left sides proportional. Tripling the first equation gives 9x + 12y = 30, which conflicts with 9x + 12y = 20. So k = 12 gives no solution. (For any other k the system has exactly one solution, and no k gives infinitely many because 20 is not 30.)
Exercise
Given 5x − 10y = 15 and x − 2y = 3, how many solutions does the system have, and what is x − 2y?
Show answer
Dividing the first equation by 5 gives x − 2y = 3, which is the second equation. The two equations describe the same line, so there are infinitely many solutions. The value of x − 2y is still determined: it equals 3.
Exercise
Quantity A: x. Quantity B: 2y. Information: x + 2y = 8 and 3x + 6y = 24. Which quantity is greater, or can the relationship not be determined?
Show answer
The second equation is 3 times the first, so the system is dependent and has infinitely many solutions. The pair (8, 0) satisfies both and makes A greater (8 versus 0). The pair (0, 4) satisfies both and makes B greater (0 versus 8). The relationship cannot be determined.