Main content

## Algebra 1

### Course: Algebra 1 > Unit 6

Lesson 1: Introduction to systems of equations- Systems of equations: trolls, tolls (1 of 2)
- Systems of equations: trolls, tolls (2 of 2)
- Testing a solution to a system of equations
- Solutions of systems of equations
- Systems of equations with graphing: y=7/5x-5 & y=3/5x-1
- Systems of equations with graphing: exact & approximate solutions
- Systems of equations with graphing
- Setting up a system of equations from context example (pet weights)
- Setting up a system of linear equations example (weight and price)
- Creating systems in context
- Interpreting points in context of graphs of systems
- Interpret points relative to a system

© 2023 Khan AcademyTerms of usePrivacy PolicyCookie Notice

# Systems of equations: trolls, tolls (1 of 2)

A troll forces us to use algebra to figure out the make-up of his currency. We end up setting up a system of equations. Created by Sal Khan.

## Want to join the conversation?

- Is it possible to solve this problem using the computer science software on Khan Academy?(246 votes)
- It is possible, although Sal's method is by far the easiest.(148 votes)

- Are there other ways to solves these types of equations?(43 votes)
- And there are other ways too, that look different, and use different specific steps, but are ultimately "equivalent" to the above. Matrix Inversion is one such example. That comes with "Linear Algebra", a more advanced topic. The beauty of using matrices to represent your set of linear equations is how well it lends itself to solutions by machine (as opposed to "by hand").(13 votes)

- "He is a very empathetic troll" a few minutes earlier "The troll will push you into the river and do something very bad to you"(30 votes)
- sals drawings are really good(30 votes)
- The troll at the end: Thanks bro I really needed someone to count my loot for me(26 votes)
- I guess to the troll is moved by the action of the human rescuing someone because the troll gave the human 1 extra minute. Did anyone notice that? 😂(14 votes)
- hmm, interesting video.(4 votes)
- fr! How is sal that good at drawing tho(21 votes)

- Sal is on track to replace both my math and art teacher(12 votes)
- How would you use this in real life (besides solving riddles to save princesses lol)(8 votes)
- you can use this for lots of stuff. like with the coffee beans, finding how many pounds you can buy at a certain price, or with different cell service companies for comparing rates and finding out which one is cheaper at certain points.(7 votes)

- Sal's drawing's are better than Bob Ross lol.(9 votes)

## Video transcript

You are traveling in some type
of a strange fantasy land. And you're trying
to get to the castle up here to save the
princess or the prince or whomever you're
trying to save. But to get there, you
have to cross this river. You can't swim across it. It's a very rough river. So you have to
cross this bridge. And so as you approach the
bridge, this troll shows up. That's the troll. And he says, well, I'm
a reasonable troll. You just have to pay $5. And when you look a
little bit more carefully, you see that there
actually was a sign there that says $5 toll
to cross the bridge. Now, unfortunately
for you, you do not have any money in your pocket. And so the troll says,
well, you can't cross. But you say, I need to really,
really get to that castle. And so the troll says, well,
I'll take some pity on you. Instead of paying the $5,
I will give you a riddle. And the riddle is this. And now, I'm speaking
as the troll. I am a rich troll
because I get to charge from everyone who
crosses the bridge. And actually, I only
accept $5 or $10 bills. It's a bit of a
riddle why they accept American currency in
this fantasy land. But let's just take
that as a given for now. So I only take $5 or $10 bills. I'm being the troll. Obviously, if you give me a
$10, I'll give you $5 back. And I know, because I count
my money on a daily basis. I like to save my
money as the troll. I know that I have a
total of 900 bills. So let me write that down. I have a total of 900 bills, a
total of 900 $5 and $10 bills. And he says, because
I'm very sympathetic, I'll give you another
piece of information. He says, if you were to
add up the value of all of my money, which is all in
$5 and $10 bills that I have, I, speaking as the troll about
dollars bills, is $5,500. This is a rich troll. And so the riddle
is-- exactly, exactly. And if you give the wrong
answer and if you're not able to solve it
in 10 minutes, he's just going to push
you into the river or do something horrible to you. He says, exactly how many 5's
and 10's do I, the troll, have? So the first thing I'm going
to have you think about is, is this even a
solvable problem? Because if it's not
a solvable problem, you should probably
run as fast as you can in the other direction. So now, I will tell you, yes,
it is a solvable problem. And let's start thinking about
it a little bit algebraically. And to do that, let's
just set some variables. And I will set the
variables to be what we're really
trying to solve for. We're trying to solve for the
number of $5 bills we have and the number of $10
bills that we have. So let's just define
some variables. I'll say f for 5. Let's let f equal the number
of $5 bills that we have. And I'll use the same idea. Let's let t is equal to the
number $10 bills that we have. Now, given this
information, and now I'm not sure if I'm
speaking as-- well, let's say I'm still
speaking as the troll. I'm a very sympathetic
troll, and I'm going to give you hints. Given this information and
setting these variables in this way, can I represent
the clues in the riddle mathematically? So let's focus on
the first clue. Can I represent this clue that
the total of 900 $5 and $10 bills, or can I represent
that mathematically, that I have a total of
900 $5 and $10 bills? Well, what's going to
be our total of bills? It's going to be the number of
5's that we have, which is f. The number of 5's
that we have is f. And then the number of
10s that we have is t. The total number of 5's
plus the total number of 10s, that's our
total number of bills. So that's going to
be equal to 900. So this statement, this
first clue in our riddle, can be written
mathematically like this if we defined the
variables like that. And I just said f for 5,
because f for 5 in t for 10. Now, let's look at
the second clue. Can we represent this
one mathematically given these variable definitions
that we created? Well, let's think separately
about the value of the $5 bills and the value of the $10 bills. What's the value of
all of the $5 bills? Well, each $5 bill is worth $5. So it's going to be 5 times
the number of $5 bills that we have. So if I have one $5
bill, it will be $5. If I have 100 $5 bills,
then it's going to be $500. How ever many $5 bills,
I just multiply it by 5. That's the value
of the $5 bills. Let me write that down. Value of the $5 bills. Now, same logic. What's the value
of the $10 bills? Well, the value of
the $10 bills is just going to be 10 times
however many bills I have-- value of the $10 bills. So what's going to be the
total value of my bills? Well, it's going to be
the value of the $5 bills plus the value of the $10 bills? And he tells me what
that total value is. It's $5,500. So if I add these
two things, they're going to add up to be $5,500. So this second statement we
can represent mathematically with this second
equation right over here. And what we essentially
have right over here, we have two equations. Each of them have two unknowns. And just using one
of these equations, we can't really figure
out what f and t are. You can pick a bunch of
different combinations that add up to 900 here. You could pick a bunch of
different combinations, where if you work out all the
math, you get $5,500. So independently,
these equations, you don't know what f and t are. But what we will see over
the next several videos is that if you use both of
this information, if you say that there's
an f and a t that has to satisfy both
of these equations, then you can find a solution. And this is called a
system of equations. Let me write that down--
system of equations.