Main content

## Algebra 1

### Course: Algebra 1 > Unit 6

Lesson 5: Number of solutions to systems of equations- Systems of equations number of solutions: fruit prices (1 of 2)
- Systems of equations number of solutions: fruit prices (2 of 2)
- Solutions to systems of equations: consistent vs. inconsistent
- Solutions to systems of equations: dependent vs. independent
- Number of solutions to a system of equations
- Number of solutions to a system of equations graphically
- Number of solutions to a system of equations graphically
- Number of solutions to a system of equations algebraically
- Number of solutions to a system of equations algebraically
- How many solutions does a system of linear equations have if there are at least two?
- Number of solutions to system of equations review

© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# Systems of equations number of solutions: fruit prices (1 of 2)

CCSS.Math: , , ,

Sal gives an example of a system of equations that has

*solution! Created by Sal Khan.***no**## Want to join the conversation?

- So In order for a system to have a solution, when graphed they have to intersect at some point?(16 votes)
- Yes. And if they intersect at more than one point it has infinitely many solutions (this
*only*applies to linear systems of equations though -- quadratic's can intersect twice in a system).

edit: or directly overlap, hence also infinitely many solutions(24 votes)

- Arbeglas backward: Salgebra :0(16 votes)
- Plot twist: The bird's name is actually Drib(7 votes)

- How come the lines of the two equations did not intercepts in (-2a) value ?

(Why did they went in parallel though they share the same (x) value?)

Anyone to clear this confusion please.(6 votes)- -2 is the slope of both lines, and a is the variable that is the input (x is just the most common variable to use for input). For any value of a, the second equation will have a y value that is two units above the first equation. I have no clue what you are talking about sharing the same x value, Most functions including linear functions share common x values (from negative infinity to positive infinity), but these two equations have no common (x,y) point. Lines with the same slope and different intercepts will always be parallel.(3 votes)

- Why won't we get something incorrect when using substitution in this example though?

2a + b = 3

2a = 3 - b

a = 1.5 - 0.5b

6a + 3b = 15

6(1.5 + 0.5b) + 3b = 15

9 + 3b + 3b = 15

9 + 6b = 15

6b = 6

b = 1

a = 1.5 - 0.5*1

a = 1

2*1 + 1*1 = 3

And this seems to be correct, even though it clearly isn't when we use all the other methods.

Why?(1 vote)- You have a sign error. When you substituted a = 1.5 - 0.5b, you switched it to a = 1.5 + 0.5b

Here's what happens if you use the correct sign.

6(1.5 - 0.5b) + 3b = 15

9 - 3b + 3b = 15

9 = 15

You now have a contradiction just like Sal has in the video.(10 votes)

- Aren't there any systems with 4 variables or more?(3 votes)
- Yes, there are. Actually, there are infinitely many and you can make infinitely many variables too.(4 votes)

- How can you figure out a equation like that but with squared exponents(2 votes)
- Yes you can. See this section of videos for examples: https://www.khanacademy.org/math/algebra2/advanced-functions#systems-of-quadratic-equations(5 votes)

- a-b/b-a=-1 is this statement true?(3 votes)
- Yes it is true because you can factor a-b into -1(b-a). Your fraction then becomes:

[-1(b-a)] / (b-a)

Divide out the common factor of (b-a) and you are left with -1.(3 votes)

- At4:01, Could you also take out 3 in the 6a+3b=15 equation.

6a+3b=15

(6a+3b=15)/3

2a+b=3(1 vote)- Yes you can do that!
**HOWEVER**you made an error in your factoring

6a+3b=15 when you factor out the 3 becomes**2a + b = 5**(4 votes)

- The answer is that there are no solutions but, could there be many reasons for this?(2 votes)
- See reply I posted on one of your other questions. I think it answers this one as well.(2 votes)

- When Sal puts the equation in slope intercept form (y = mx+b) at 5.57, is there a specific reason he chose to solve for b?

Would it be just as fine to put 2a+b = 3 in intercept form by saying: 3 = 2a+b (with 3 taking the place of y, instead of b)?

Why or why not?(1 vote)- No because 3 is a constant, not a variable. The slope intercept form is (dependent variable) = (slope)(independent variable) + ( y intercept). He could have solved for a instead of b. By solving for a variable, you can compare the two equations, if you solve for the intercept, they may not be equal (while they are in this case), so it is more difficult to compare equations if you get two different constant numbers.(3 votes)

## Video transcript

The king's advisor, Arbegla, is watching all of this discourse between you, the king, the bird. And he's starting to feel a little bit jealous 'cause he's supposed to be the wise man in the kingdom, the king's closest advisor. So he steps in and says, "okay, so if you and this bird" "are so smart, how about you tackle the Riddle of the Fruit Prices?" And the king says, "Yes, that is something that we haven't been able to figure out." "The fruit prices. Arbegla, tell them the riddle of the fruit prices." And so Arbegla says, "Well," "we wanna keep track of how much our fruit costs, but we forgot" "to actually log how much it costs when we went to the market but we know how much in total we spent" "we know much we got. We know that one week ago, when we went to" "the fruit market, we bought two, two, pounds of" "apples, we bought two pounds of apples, and one pound of bananas." "one pound, I guess, of bananans, bananas. And the total cost" "that, time, was three dollars, so there was three dollars, three dollars" in total cost. And then when we went the time before that we went the time before that we bought six pounds of bananas or six pounds of apples I should say Six pounds of apples. And three pounds three pounds of bananas. Ba-nanas. And the total cost at that point was fifteen dollars. So what is the cost of apples and bananas? So you look at the bird: The bird looks at you, the bird whispers into the king's ear, and the king says Well the bird says we'll just start defining some variables here, so we'll start expressing this thing algebraically So you go about doing that. What we want to figure out is the cost of apples and the cost of bananas. Per pound. So we set some variables. So let's... let a= the cost cost of apples, apple per pound. Per pound And let's let b = the cost of bananas. Ba-nanas. Bananas per pound. So how could we interpret this first information right here? Two pounds of apples and a pound of bananas cost $3. So how much are the apples going to cost? Well it's going to cost 2, two pounds times the cost per pound, times a, that's going to be the total cost of apples in this scenarios, and what's the total cost of the banana? Well it's one pound times the cost per pound. So, you're just going to have b, that's the total cost of the bananas, cause we know we bought one the total cost of the apples and bananas are going to be 2a+b and we know what that total cost is it is, it is $3. Now let's do the same thing for the other time we went to the market. Simply Six pounds of apple, the total cost is going to be six pounds times A dollars per pound and the total cost of banas is going to be well we bought three poiund of bananas. and the cost per pound is b and so the total cost of apples and bananas this scenario is going to be = to 15 is going to be = to $15 so let's think about how we might want to solve it we could use elimination we could use substitution whatever we want, we might do it graphically let's try it first with elimination. so the first thing I might want to do is is maybe I want to eliminate let's say I want to eliminate the a variable right over here so I have two a over here, I have six a over here so if I multiply this entire right equation by -3 then this 2a would become a -6a and then it might be able to cancel out with that so let me do that let me multiply this entire equation times -3 times negative three so -3 * 2a is -6a -3 * b is -3b and then -3 * 3 is -9 is -9 and now we can essentially add the two equations or essentially add the left side of this to the left side of that or the right side of this equation to the right side of that we're essentially adding the same thing to both sides of this equation because we know this is equal to that So let's do that let's do it So on the left hand side, 6a and 6a cancel out. But something else interesting happens, the 3b and the 3b cancels out as well. So we're just left with 0 on the left hand side. And on the right hand side, what do we have? 15 - 9 = 6. So we get this bizarre statement! All of our variables have gone away And we're left with this bizarre nonsensical statement that 0 = 6, which we know is definitely not the case. So what's going on over here? What's going on? And then, you you you say, what's going on and you look at the bird 'cause the bird seems to be the most knowledgeable person in the room or at least the most knowledgeable vertebrate in the room. And so the bird whispers into the king's ear and the king says, "Well, he says that there's no solution and you should at least try to graph it to see why." And you say, well, the bird seems to know what he's talking about So let me attempt to graph these two equations and see what's going on. And so what you do is, you take each of the equation and you like, when you graph it, you like to put it in kind of the y-intercept form or slope intercept form and so you do that, so you say, well let me solve both of these for b so if you want to solve this first equation for b you just subtract 2a from both sides if you subtract 2a from both sides of this first equation you get b is = to -2a + 3. Now solve this second equation for b. So the first thing you might wanna do is subtract 6a from both sides. So you would get, you would get, I'll do it right over, let me do it right over here. You would get 3b, 3b is = to -6a plus 15 and then you can divide both sides by 3 you get b is = to -2a plus, plus 5. So the second equation, let me revert back to that other shade of green, is b is = to -2a plus 5. And we haven't even graphed it yet, but it looks like something interesting is going on. They both have the exact same slope when you solve in terms, when you solve for b but they seem to have different, let's call them, b-intercepts let's graph it to actually see what's going on so let me get, draw some axes over here, let's call that my b-axis and then this could be my, a axis And this first equation has a b-intercept of positive 3 so let's see, one, two, three four five the first one has a b-intercept of positive three and it has a slope of negative 2 So you go down or you go to the right one you go down two. Go to the right one, you go down two. So the line looks something like this. I'm trying my best to draw it straight. So it looks it looks something something like that And I'll just draw this green one. This green one, our b-intercept is 5 so it's right over here. but we have the exact same slope the slope of -2, so it looks it looks something something like that right over there and you immediately see now that the bird was right There is no solution because these two constraints represent or can be represented by lines that don't intersect. So the lines don't, don't intersect. In-ter-sect. They don't intersect, and so the bird is right there's no solution, there's no x and y that can make this statement equal true! Or that can make 0 = 6, there is no possible, there is no overlap between these two things. And so something gets into your brain. You realize that Arbegla is trying to stump you. And you say, Arbegla, you have given me in-con-sistent information! This is an in-con-sistent system of equations! In. In...con...sistent. Which happens to be the word that is sometimes used to refer to a system that has no solutions, where the lines do not intersect. And there fore this information is incorrect We cannot assume that the apple or banana Either you are lying, which is possible, or you accounted for it wrong Or maybe the prices of apples and bananas actually changed between the two visits of the market. At which point the bird whispered into the King's ear, and says, oh, this character isn't so bad at this algebra stuff.