yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

What order to do operations in


2m read
·Nov 11, 2024

If I were to ask you what is five minus three plus two, what would you say that is? Pause this video and try to figure that out.

All right, well, if you wanted to tackle this, you would really just read it from left to right, or you would compute it from left to right. You'd first figure out what 5 minus 3 is, and 5 minus 3 is equal to 2. And so you'd say, okay, that's going to be 2 plus 2, which of course we know is equal to 4.

Now, what if I were to involve a little bit of multiplication or division? If I were to go up to you and I were to say, what is five plus three times two? Pause this video and try to figure that out.

Well, you might be tempted to do it in a similar way. You might be tempted to say, okay, I'll just go from left to right. I'll first compute what 5 plus 3 is, and that of course would be equal to 8. And then I would multiply 8 times 2 to get 16.

But it turns out that this would not be the right way to approach this. For very good reasons that we'll study in perhaps future videos, we don't always go left to right, especially when we're dealing with different types of operations. The standard way that this is approached is that multiplication and division will be done before addition and subtraction.

So the way that you would actually compute this is that you would compute the 3 times 2 first. So you would say that this is the same thing as 5 plus 6. 5 plus 6, which is going to be equal to 11, not 16. So this is going to be equal to 11.

So with that out of the way, let's do a few more examples. Let's say someone were to approach you and say, what is 9 minus 6 divided by 3? Pause this video and see if you can figure that out.

Well, as I just said, we would do multiplication or division before we do subtraction. So we'll actually do the six divided by three first, and six divided by three is two. So this simplifies to nine minus two, which is equal to seven.

And I really wanna emphasize it's important that you get this idea that multiplication and division should be done before the addition or subtraction unless you're given some other types of directions. Because if you just went left to right here, you would have said 9 minus 6 is 3, and then you would have divided that by three, which would have given you one, which is clearly a different number than seven.

Let's do one more example just for kicks. Let's say that someone were to ask you, what is two times three minus one? Pause the video and try to figure that one out.

Well, in this one, doing our multiplication first is also the same as going left to right first. So if we do 2 times 3 first, 2 times 3 is 6, so that's 6. And then we would want to calculate 6 minus 1, which is of course equal to 5.

So, big picture, if you just have a bunch of things that are being added, subtracted, multiplied, and divided, and there's no parentheses in it, you would always prioritize the multiplication or the division over the addition or the subtraction.

More Articles

View All
Why New Years Resolutions Fail & How To Succeed
Most New Year’s resolutions fail. So in this video, I want to talk about the science of why they fail and how to avoid that so your New Year’s resolutions actually succeed. I want to tell you about three of my New Year’s resolutions for 2020. The first o…
3 Mistakes You Make When You're Starting Out (& How to avoid them)
You know, some mistakes are almost unavoidable, especially when you’re just starting out on a new project or business. It takes a lot of trial and error to get to a point where most things you start manage to hit the spot on a consistent basis. These are …
Searching for the Himalayas' Ghost Cats | Podcast | Overheard at National Geographic
What you got? Do you see this? This is what we have been looking for. This is a fresh scene. Oh wow, man! Look at that! It’s quite a fresh track of a snow leopard. How can you tell? Oh, you see these toes and the paw? You see the contours here? They have…
JERRY BLOOP REVIEWS: MGS Peacewalker, Alpha Protocol, Crackdown 2, Dragon Quest IX
Shiny Vsauce and the first episode of uninformed video game reviews. A lot of people commented on the fact that Jerry Bloob has a pillow underneath his sweatshirt. Why? Well, he actually has a very rare medical condition that leaves his nipples razor-shar…
Graphs of rational functions: vertical asymptotes | High School Math | Khan Academy
[Voiceover] We’re told, let f of x equal g of x over x squared minus x minus six, where g of x is a polynomial. Which of the following is a possible graph of y equals f of x? And they give us four choices. The fourth choice is off right over here. And l…
Where Does the Waste Go?: A Day in the Life of a Scientist | Continent 7: Antarctica
[Music] Definitely the worst part about Antarctica. So we don’t leave anything behind here in the environment. The New Zealand program actually is very thorough in doing that and it’s not that bad as it sounds. So I disagree. Uh, yeah, some disagree. Actu…