Key Points
- A system of two linear equations has exactly one solution, no solution or infinitely many solutions, and no other number of solutions to systems of equations is possible.
- Different slopes mean two lines cross at one point, while equal slopes with different y-intercepts mean parallel lines that never meet.
- Two different straight lines cannot share exactly two points, because two points fix one single line through both of them.
- An algebra result such as means the system has no solution, and a result such as means both equations describe the same line.
A 2,000-year-old puzzle about crossing lines
A Chinese math book from about 200 BC was already solving systems of equations. The eighth chapter of the Nine Chapters on the Mathematical Art holds 18 problems that turn into systems with up to six unknowns, according to the MacTutor history archive.
Some of those puzzles have one answer. Change a single number and a puzzle can have none, or answers without end.
That same three-way split appears whenever two straight lines share a graph. Economists use it to find the one price where supply meets demand, and game designers use it to check whether two moving objects will ever collide.

What is the number of solutions to a system of equations?
The number of solutions to a system of equations is how many ordered pairs make both equations true at once, and for two linear equations that count is always 1, 0 or infinitely many. A system of equations is two or more equations that share the same variables, here and . An ordered pair is a solution when it works in both equations, which is why it sits at the point of intersection, where the two graphs meet.
Infinitely many solutions means every point on a shared line works. No solution means no pair works in both.
Common Core places this skill under 8.EE.C.8, where eighth graders solve systems with algebra, estimate solutions by graphing and solve simple cases by inspection. By the end of Grade 8, your child should look at and and say "no solution" before writing a step. Then your child should be able to back that up with algebra, showing the work that ends in a false statement. Graphing, substitution and elimination, the usual ways to solve a system of equations, all report the count too.
How can you count solutions without solving?
Put both equations in slope-intercept form, then compare the slopes first and the y-intercepts second. In slope-intercept form, , the letter is the slope (how much changes when goes up by 1) and is the y-intercept (where the line crosses the y-axis).
- Rewrite each equation as .
- Compare the two slopes. Different slopes give one solution.
- If the slopes match, compare the y-intercepts. Different intercepts give no solution, and matching intercepts give infinitely many.
This is the slope-intercept check, and it fits in one table.
| Slopes | Y-intercepts | Lines | Number of solutions |
|---|---|---|---|
| Different | Any | Cross once | One |
| Same | Different | Parallel | None |
| Same | Same | Same line | Infinitely many |

Equal slopes mean equal rates, and equal rates keep a gap fixed. Two people who both earn the federal minimum wage, $7.25 an hour since July 24, 2009 according to the U.S. Department of Labor, add money at the same speed. If one starts $15 ahead, the gap stays $15 after 1 hour, 10 hours or 100 hours. On a graph those are lines with matching slopes of parallel lines, so they never meet.
How do you count solutions with algebra?
Solve the system with substitution or elimination, then read the last line. Substitution replaces one variable with an equal expression from the other equation. Elimination adds or subtracts the equations so one variable cancels.
- A value such as means one solution.
- A false statement such as means no solution, because the lines are parallel.
- A true statement such as means infinitely many solutions, because both equations make the same line.
Common Core gives a pair you can settle by inspection:
The same expression, , cannot equal 5 and 6 at once, so the system has no solution.
When both variables vanish, the usual first reaction is to erase everything (the work was fine). You met the same three outcomes with equations with variables on both sides, where ends in and has no solution.
Graphing has one weak spot. A hand-drawn graph only estimates a crossing at a point like , while algebra finds it exactly.
Why can't two lines share exactly two points?
Two points fix exactly one straight line, so two lines that share two points are really one line. Suppose two lines both pass through and . Each has this slope:
Each also crosses the y-axis at 1, so both are . That is one line written twice, which puts it in the infinitely many case, so a count of 2, 3 or 10 can never happen for two lines.
One part of the wording confuses adults too. Infinitely many solutions does not mean any pair works: fails , because . In high school algebra, a line and a curved graph such as a parabola can meet exactly twice, which is why the 1, 0 or infinitely many rule belongs to pairs of lines.
Try It Yourself
Drag the four sliders to change the slope and y-intercept of each line, and watch the readout count the solutions. Give both lines the same slope to see the crossing point vanish, then match the y-intercepts too and watch the two lines become one.
Examples of number of solutions to systems of equations
Example 1
How many solutions does the system and have? Find them.
The slopes are 2 and , and because they differ, the lines cross exactly once.
Set the right sides equal: .
Add to both sides: .
Subtract 1 from both sides: .
Divide both sides by 3: . Then .
The system has one solution, . Check in the second equation: .
Example 2
How many solutions does the system and have?
The tempting move is to read 3 and 6 as the slopes, call them different and answer one solution. That fails because 6 is the coefficient of in standard form, not the slope, and is not yet in form.
Rewrite it. Subtract from both sides: .
Divide both sides by : .
Both equations are , so the system has infinitely many solutions. Check with : , and .
Example 3
Use elimination to count the solutions of and .
Multiply the first equation by 2: .
Subtract the second equation from it:
That leaves , a false statement.
The system has no solution. Both lines have slope , with y-intercepts and , so they are parallel.
Example 4
For the system and , what value of gives no solution? Can any give infinitely many?
No solution needs equal slopes and different y-intercepts. The intercepts, 3 and , already differ, so gives no solution. Any other gives one solution.
No value of gives infinitely many, since that needs matching intercepts and 3 never equals .
Example 5
How many solutions does and have? Find them.
Add the two equations, so the terms cancel: .
Divide both sides by 4: .
Substitute into : . Subtract 2 from both sides: . Divide both sides by : .
The system has one solution, . Check: . The slopes, and , differ, which agrees.
Example 6
Ana has $40 saved and Ben has $25. Both earn $7.25 an hour. Will their totals ever be equal? If Ben's pay rises to $8.75 an hour, when are they equal?
Let stand for hours worked and for dollars saved.
| Words in the problem | Math it means |
|---|---|
| has $40 saved | starting value |
| earns $7.25 an hour | slope |
| after hours | the input |
| totals equal | set the two right sides equal |
| ever | ask whether any solution exists |
At equal pay, and . The slopes match and the intercepts differ, so the system has no solution. Ana stays $15 ahead forever.
With Ben at $8.75, set .
Subtract from both sides: .
Subtract 25 from both sides: .
Divide both sides by 1.5: .
Then . Check: . After 10 hours, both have $112.50.

More stories like this one, with full setups, are in systems of equations word problems.
Counting before solving saves real work
Knowing the count first tells you whether a hunt for the crossing point can succeed.
- No wasted solving. The pair and shares a slope of 4, so no algebra will find a meeting point.
- A built-in check. If the slope-intercept check says one solution but the algebra ends in , an arithmetic error is hiding somewhere.
- Honest answers. "Will Ben ever catch up?" sometimes has the true answer "never", and parallel lines are the proof.
- A bridge to later math. Algebra 2 adds a third equation and a third variable, and the same three outcomes return with flat planes in place of lines.
A count of zero is a real result. It says the question has no answer, before you spend twenty minutes looking for one.
Which slips change the count of solutions?
Mistake 1: Treating equal slopes as the same line
Where it slips in: Step 3 of the slope-intercept check, when the slopes match and the y-intercepts get skipped.
Don't do this: Saying and have infinitely many solutions because both slopes are 2.
The correct way: Compare the y-intercepts, 3 and . They differ, so the lines are parallel and the system has no solution.
The slope feels like a line's whole identity, which is why the intercept gets forgotten.

Mistake 2: Reading the slope from standard form
Where it slips in: Pairs in standard form, as in Example 2.
Don't do this: Calling the slopes of and "4 and " and answering one solution.
The correct way: Subtract from both sides and divide by 2 to get . Both slopes are , the y-intercepts 3 and 5 differ, and the system has no solution.
The first number in each equation catches the eye, so it gets read as the slope before any rewriting happens.
Mistake 3: Writing after getting
Where it slips in: The last line of substitution or elimination, when both variables cancel.
Don't do this: For and , substituting to get , then , and writing the answer .
The correct way: is true for every , so every point on works, such as and . Infinitely many solutions. In fact is not even on the line, since , so writing it as the answer swaps a whole line of solutions for a point that fails both equations.
This habit carries over from one-variable equations, where the last line was always the answer.
What most guides miss about the number of solutions
A system with no solution is a finished answer, not a failed attempt. When elimination ends in , the work is complete and the false statement is the proof that the lines are parallel. A child who solves and to get but stops cold at often has the algebra right. The reading is what needs work.
The count is also visible before any work. Of the three cases, only one ever needs solving, and the slope-intercept check sorts it out in the time it takes to rewrite two equations.
Key Takeaways
- Every pair of lines lands in one of three cases, so the number of solutions to systems of equations is 1, 0 or infinitely many.
- Slopes decide whether the lines cross, and the y-intercepts only matter once the slopes match.
- A false last line like is the algebra's way of saying parallel, and a true one like means the same line.
- Rewriting into before comparing exposes disguised matches such as and .
- For more practice telling parallel lines from matching lines with a teacher who spots the equal-slope slip, explore Bhanzu's 8th grade math tutor or algebra classes.
Read More
- Graphing Linear Equations
- Comparing Linear Functions
- Simultaneous Equations
- Standard Form of Linear Equations
- Slope and Similar Triangles
Research Behind This Article
- J J O'Connor and E F Robertson, MacTutor, Nine Chapters on the Mathematical Art (2003). mathshistory.st-andrews.ac.uk
- Common Core State Standards Initiative, Grade 8 Expressions and Equations, 8.EE.C.8 (2010). thecorestandards.org
- OpenStax, Elementary Algebra 2e, 5.1 Solve Systems of Equations by Graphing (2020). openstax.org
- U.S. Department of Labor, Wage and Hour Division, Minimum Wage (2026). dol.gov
- OpenStax, Elementary Algebra 2e, 5.2 Solving Systems of Equations by Substitution (2020). openstax.org
Quick Quiz: Check Yourself
Three levels, new numbers every time: find where two lines meet, find the slope that leaves a system with no solution, then work out when two savings plans reach the same total.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
What are the types of systems of equations?
How many solutions does an equation have when it has only one variable?
Can a system of equations have one solution and infinitely many solutions at the same time?
Which method should my child use to find how many solutions in a system of equations?
How can I help my child with the number of solutions to systems of equations at home?




