this post was submitted on 31 May 2025
201 points (90.0% liked)

Technology

73066 readers
1838 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] jordanlund@lemmy.world 98 points 1 month ago* (last edited 1 month ago) (37 children)

I'm sure we're all geniuses here, but just in case...

Please excuse my dear aunt Sally.

Parenthesis, exponents, multiplication, division, addition, subtraction.

Why? Because a bunch of dead Greeks say so!

3x3-3÷3+3

(3x3)-(3÷3)+3

9-1+3

8+3

11

[–] czardestructo@lemmy.world 93 points 1 month ago (3 children)

I guess remembering grade school order of operation means you're a guinus now? Bar has gotten pretty low...

[–] AnotherPenguin@programming.dev 27 points 1 month ago

And it will go even lower as people start relying mpre on AI...

[–] SARGE@startrek.website 25 points 1 month ago (2 children)

That's the point.

Set the bar low, but just high enough that tons of people still trip over it.

Sit back and enjoy the comment wars.

The people who are confident but wrong are too proud to admit they were wrong even if they realize it, and comment angrily.

The people who are right and know why, comment for corrections and some to show off how S-M-R-T they are.

The people who are wrong but willing to accept that just have their realization and probably don't think about it again. So do the people who don't know and/or care.

But those first two groups will keep the post going in both shares and comments, because "look at all these wrong people"

It's all designed to boost engagement.

[–] Kusimulkku@lemm.ee 7 points 1 month ago (2 children)

I like the version where these problems are made purposefully ambiguous so people will fight over it and raise the level of interaction

load more comments (2 replies)
[–] Ulrich@feddit.org 6 points 1 month ago

This right here is exactly why it's been so popular for so long.

[–] rigatti@lemmy.world 10 points 1 month ago (2 children)

G U I N U S.

I know it's probably a typo, but I'm enjoying it.

[–] czardestructo@lemmy.world 5 points 1 month ago

I would like to say it was on purpose but it was not :( I might do math, spelling is not my forte.

[–] dethedrus@lemmy.dbzer0.com 2 points 1 month ago* (last edited 1 month ago)

It's jeenyus you moran!

All I can envision with that alternative is Whoopi Goldberg with a very fanciful hat serving drinks in space.

[–] vext01@lemmy.sdf.org 18 points 1 month ago

For the programmers: operator precedence.

[–] Imgonnatrythis@sh.itjust.works 13 points 1 month ago (4 children)

Not a genius. But if subtraction is last, why isn't it 9-4?

[–] aliceblossom@lemmy.world 31 points 1 month ago

Because its not really "1 plus 3", its negative 1 plus 3 which is two. I know it seems a little weird but the minus sign is " tied" to the thing following it.

[–] cecilkorik@lemmy.ca 30 points 1 month ago (1 children)

Parenthesis, exponents, multiplication, division, addition, subtraction.

should actually be

Parenthesis, exponents, (multiplication and division), (addition and subtraction).

Addition and subtraction are given the same priority, and are done in the same step, from left to right.

It's not a great system of notation, it could be made far clearer (and parenthesis allow you to make it as clear as you like), but it's essentially the universal standard now and it's what we're stuck with.

[–] iglou@programming.dev 3 points 1 month ago* (last edited 1 month ago) (6 children)

No, it should simply be "Parenthesis, exponents, multiplication, addition."

A division is defined as a multiplication, and a substraction is defined as an addition.

I am so confused everytime I see people arguing about this, as this is basic real number arithmetics that every kid in my country learns at 12 yo, when moving on from the simplified version you learn in elementary school.

[–] 13igTyme@lemmy.world 4 points 1 month ago (2 children)

You want PEMA with knowledge of what is defined, when people can't even understand PEMDAS. You wish for too much.

[–] iglou@programming.dev 3 points 1 month ago

I'm just confused as to how that is not common knowledge. The country I speak of is France, and we're not exactly known for our excellent maths education.

[–] Cethin@lemmy.zip 3 points 1 month ago (6 children)

I hate most math eduction because it's all about memorizing formulas and rules, and then memorizing exceptions. The user above's system is easier to learn, because there's no exceptions or weirdness. You just learn the rule that division is multiplication and subtraction is addition. They're just written in a different notation. It's simpler, not more difficult. It just requires being educated on it. Yes, it's harder if you weren't obviously, as is everything you weren't educated on.

load more comments (6 replies)
load more comments (5 replies)
[–] fluxion@lemmy.world 17 points 1 month ago* (last edited 1 month ago)

Addition/subtraction work out the same regardless of how you order the operations. If you do subtraction last you start with the original:

9-1+3

and you are adding 3 to the result of (9-1). Since you are trying to perform it before the (9-1) operation is carried out, you can add 3 to the 9:

12-1 = 11

or you can add three to the -1 and get:

9+2 = 11

You only end up with 9-4 if you were subtracting 3 rather than adding three. It all becomes more obvious if you read the original as:

9 + (-1) + 3

[–] Mistic@lemmy.world 9 points 1 month ago* (last edited 1 month ago)

The "why" goes a little further than that.

In actuality, it's because of fundamental properties of operations

  • Commutation

a + b = b + a

a×b = b×a

  • Association

(a + b) + c = a + (b + c)

(a×b)×c = a×(b×c)

  • Identity

a + 0 = a

a×1 = a

If you know that, then PEMDAS and such are useless because they're derived from those properties but do not fully encompass them.

Eg.

3×2×(2+2) = 3×(4+4) = 12+12 = 24

This is a correct solution that is improper if you're strictly adhering to PEMDAS rule as I've done multiplication before parenthesis from right to left.

I could even go completely out of order by doing 3×2×(2+2) = 2×(6+6) and it will still be correct

load more comments (33 replies)