If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

# Number of solutions to system of equations review

A system of linear equations usually has a single solution, but sometimes it can have no solution (parallel lines) or infinite solutions (same line). This article reviews all three cases.
Want to learn more about the number of solutions to systems of equations? Check out this video.

### Example system with one solution

We're asked to find the number of solutions to this system of equations:
$\begin{array}{rl}y& =-6x+8\\ \\ 3x+y& =-4\end{array}$
Let's put them in slope-intercept form:
$\begin{array}{rl}y& =-6x+8\\ \\ y& =-3x-4\end{array}$
Since the slopes are different, the lines must intersect. Here are the graphs:
Because the lines intersect at a point, there is one solution to the system of equations the lines represent.

### Example system with no solution

We're asked to find the number of solutions to this system of equations:
$\begin{array}{rl}y& =-3x+9\\ \\ y& =-3x-7\end{array}$
Without graphing these equations, we can observe that they both have a slope of $-3$. This means that the lines must be parallel. And since the $y$-intercepts are different, we know the lines are not on top of each other.
There is no solution to this system of equations.

### Example system with infinite solutions

We're asked to find the number of solutions to this system of equations:
$\begin{array}{rl}-6x+4y& =2\\ \\ 3x-2y& =-1\end{array}$
Interestingly, if we multiply the second equation by $-2$, we get the first equation:
$\begin{array}{rl}3x-2y& =-1\\ \\ -2\left(3x-2y\right)& =-2\left(-1\right)\\ \\ -6x+4y& =2\end{array}$
In other words, the equations are equivalent and share the same graph. Any solution that works for one equation will also work for the other equation, so there are infinite solutions to the system.

## Practice

Problem 1
How many solutions does the system of linear equations have?
$\begin{array}{rl}y& =-2x+4\\ \\ 7y& =-14x+28\end{array}$