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.

# How many solutions does a system of linear equations have if there are at least two?

Sal answers this question for you! Created by Sal Khan.

## Want to join the conversation?

• I found a problem in the skill “Understanding systems of equations word problems” that I believe has an incorrect solution according to khan academy.
It asked the following: “You are solving a system of two linear equations in two variables, and you discover that there are no solutions to the system. Which of the following graphs could describe the system of equations?”
It asked me to select all the answers that apply. I selected only the blue graph and submitted my answer. It was incorrect. I then added the green graph to my answer and submitted. It was correct despite the fact that the green graph had only two vertical lines whose equations were x= -7 and x= -4. This is inconsistent with the statement that I was solving a system of "two linear equations in *two* variables” because the lines on the green graph only used the x variable.
Is the supposed solution actually erroneous or is there something about the problem I am failing to understand? • That's tricky. I see why you would feel cheated, because of the way the subject has been taught. The important thing to remember is that ANY two parallel lines will have no intersection point. And ANY line (vertical or otherwise) can be represented by a linear equation. And ANY linear equation IS an equation in two variables (whether both variables are explicitly written or not). For example, the equations you mention would be written as follows in standard form: x + 0y = -7, and x + 0y = -4
Because the coefficients on the y terms are zero, that term is not written. But it's still there.
Also what Arlic stated below about slope is not true, vertical lines have an undefined slope. Because there is no change in x for any change in y, the slope is: "change in y" divided by zero. Division by zero is undefined.
• What is the purpose of the video? • Are there any more solutions beside "no solutions","infident solutions",and "one solution"? Just wondering!! (sorry for spelling errors) • In using the elimination method, say it was clear that one factor could be easily eliminated. Could I also set both equations equal to zero, then set them equal to one another, and eliminate this factor that way? • Do you mean a set of equations like the following:
3x -2y = 5
5x-2y = 7
For this, yes, you could rewrite as:
3x - 2y - 5 = 0
5x - 2y - 7 = 0
and then set them equal:
3x - 2y - 5 = 5x - 2y - 7
Adding 2y to each side gives
3x - 5 = 5x - 7
Then we can solve for x by consolidating the x and constant terms:
-2x = -2
x = 1
Then we can use one of the original equations to solve for y
3 - 2y = 5
-2y = 2
y = -1
I hope this is what you meant...
• What if it weren't linear? • whickof the following is a system of lienear equations in two variables • there can be either no solution, exactly one solution, or an infinite number of solutions. If you are dealing with two lines then the lines will either never intersect, intersect at only one point, or be on top of each other. If the latter occurs, there are an infinite number of solutions. If they only intersect at one point, then the coordinates of that point is the solutions. If there is no solution, then the lines will never intersect.
• Is it possible to have 2 solutions?
(1 vote) • What is the difference between "Zero Solutions" and "Infinitely" many solutions? Like I know the answer is one of those two whenever I get 0=0 or 5=8. But how do you interpret the results. How can we say that something has infinitely many solutions? I don't get it.
(1 vote) • Think of it this way: when are those statements true? Is 5 ever equal to 8? Nope. No matter what, 5 does not equal 8, so in that situation, there are no solutions. What about 0 = 0? Well, by the reflexive property of equality, we know that this is always true. 0 always equals 0, so there are infinitely situations where this is true. Does that answer your question?
• If I come up with zero as the denominator of an equation, would that system have an infinite number of solutions or no solution? (I truly wonder, because it seemed that whichever answer I put in those cases the other was deemed correct.)
(1 vote) • Division by 0 is undefined. If you encounter division by 0, then whatever you were doing that resulted in division by 0 has no mathematical meaning. You generally cannot draw any conclusions if you have division by 0.

With linear equations, there are only three possibilities:
There are zero solutions.
There is one solution.
There are infinitely many solutions.
Thus, anytime you know there is more than one solution, you instantly know there are infinitely many solutions.
NOTE: This only applies to straight lines. If you have any other kind of function, the rules for how many solutions there can be are different.
• What is a linear equation? What does the problem mean by 'You are solving a system of two linear equations in two variables?' What does two variables mean? x and y?
(1 vote) • A linear equation is any equation that can be written as: Ax+By=C, where A,B, and C are real numbers, and at least A or B can't equal 0. If they both happen to equal 0, you have no variables in your equation. Examples of linear equation:
2x+3y=8
x=6
y=11

Many linear equation have 2 variables, and the variables are usually X and Y which enables you to graph the linear equation in a coordinate plane. You can have linear equations that use other variables.