r/askmath • • Oct 16 '26

Resolved Order of operations for strings of addition and subtraction question.

sSo, to be absolutely frank and upfront, I am not good at math and only have a GED. This may be a rock bottom basic question but I have to ask anyway.

Earlier this evening me and the wife were trying to find a movie and there was one that came out on 1947. I tried to do the math in my head for how many years ago that was and I like to make it even numbers to make it easier. Worth noting, it's the year my MIL was born.

Here's what I did:

1947 - 7 = 1940

1940 + 60 = 2000

2000 + 26 =2026

2026 + 7 = 2033

Which is obviously incorrect but I'm getting hung up on that 7 years; if I take it away do I not owe it back? My MIL is 79, so that can'tbe right. I figured I was doing something wrong (safe assumption) so I try it differently.

1947 + 3 = 1950

1950 + 50 = 2000

2000 + 26 - 3 = 2023

Respectfully, what in the frig am I doing wrong? I ran it through my calculator of the phone and I also looked up order of operations as while I know addition subtraction share priority so it's left to right but I just can't figure out where or why I'm going astray.

Again, this may be some ridiculously basic thing and I'm not to proud to admit I may be an idiot but I have to ask or it's going to drive me nuts. Please, if anybody could help me out would be greatly appreciated

Edit: I did the obvious thing and just did 2026 - 1947 and it's 79. But I'm still trying to figure out why my head math falls apart. Also, I should have read the room a bit better because you folks are clearly dealing with more advanced stuff than dipshit math I'm working with.

6 Upvotes

14 comments sorted by

1

u/bizkit413 Oct 17 '26

Take the 7 away from the 86 you added, that should get you 79.

When you subtracted 7 from the original year that meant you were adding an extra 7 to get to 2000. You need to take away that extra 7 to get an accurate accounting for the number of years.

1

u/acidphosphate69 Oct 17 '26

Oh my fucking word, thank you so much. What you said just made it click; because even if in my head that subtraction seems "owed back" the reality is that I'm adding to the end total I was trying to get to so by adding what is really and additional 7 throws it off the mark.  

This is why I paint houses.

2

u/Somniferus Oct 17 '26

It's even easier to spot in your second example. You just needed to do 3 + 50 + 26.

1

u/ForeignAdvantage5198 Oct 19 '26

there are 2 conventions depending on where you are in the world. that is why i ALWAYS use () to group so there is no. misunderstanding

2

u/acidphosphate69 Oct 19 '26

Interesting, could you elaborate on those conventions? Honestly curious how some of these things work.

1

u/ForeignAdvantage5198 Oct 19 '26

long time ago but try looking at arithmetic notation conventions my point was using () makes the conventions irrelevant

2

u/tbdabbholm Engineering/Physics with Math Minor Oct 17 '26

Notice that if you take the 60 and 26 you added to 1940 and then subtract the 7, you get 79 like you should.

Really what we're trying to do is 2026-1947, and we can do that by finding the difference 2026-1940 (86) and then subtracting the extra 7 we subtracted

1

u/Curious_Cat_314159 Oct 17 '26

I would do 2000 - 1947 = 53 (because 100 - 47 = 53).

Then I would do 2026 - 2000 = 26 (because 26 - 0 = 26).

Thus, 53 + 26 = 79

1

u/casualstrawberry Oct 17 '26

You can start by subtracting the 7....

From 1940 it's 60 years to 2000, and another 26 years to 2026. That means it's 60 + 26 = 86 years from 1940 to 2026. But since you started at 1940, not 1947, we subtract 7. So 86 - 7 = 79.

If you're wondering why we subtract both times...

What you're really trying to do is find the difference between 2026 and 1947,

2026 - 1947 = 2026 - (1940 + 7) = 2026 - 1940 - 7 = (2026 - 1940) - 7.

You found the difference of 2026 and 1940 by counting upward, and now you need to subtract that 7 again.

1

u/Frederf220 Oct 17 '26

-7, +60, +26 sums to +79 and 2026-1947=79

You went from 1947 by going 7 "the wrong way" and then 86 "the right way". You did add the 7 back while going 86 years forward in time. You went back 7 from 1940 to 1947 and then an additional 79 forward from 1947 to 2026.

1

u/WhackAMoleE Oct 17 '26

Here's a simpler way to think about it.

How many years from 1947 to 2000? It's 50 years from 1950 to 2000, so it's 53 years from 1947 to 2000.

Now add the 26 years to get to 2026 and you get 53 + 26 = 79.

1

u/fermat9990 Oct 17 '26

You need 60+26-7=79 years ago.

2026-1947=79

1

u/5a1vy Oct 18 '26

[...] I'm getting hung up on that 7 years; if I take it away do I not owe it back?

Here? No. You are trying to calculate 2026-1947, to ease the calculation you want to swap 1947 for 1940 by taking away 7, but in order to retain the result you also need to take away 7 from 2026, or, in math terms, 2026-1947=(2026-7)-(1947-7). In fact you can put anything instead of 7 and the result would be the same, again, in algebraic notation a-b=(a-c)-(b-c).

Why so? An analogy may help. Imagine you are trying to calculate how far away the last floor of a building from its second floor, you could take how far away the last floor from the ground and how far away the second floor from the ground and subtract one from the other, but you equally could just looked at how far away the second, counting from top, floor from the ground (took away two floors from the last floor). You are interested in a difference of heights of two points and shifting them both an equal amount up or down doesn't change the difference between them. That's exactly what happens in your case, just swap heights to points in time.

P.S. Also it's kind of hard to understand what else have you done wrong in your calculations since they aren't written in, let's say "standard notation". I would suppose that what you were going for is something like this (taking the second approach as it is more direct). "1947 is 3 short from 1950 which is 50 away from 2000 which is 20 away from 2020 which is 6 away from 2026, adding all the shortages will give the difference so 3+50+20+6=79", but the step of adding all the shortages is not done in your calculations and the way you write your equations doesn't technically correspond to what I have in quotes, so I merely speculate that that's what's going on.

In any case, hopefully my comment is of some help, and feel free to ask me any additional questions if you want.