this post was submitted on 19 Jul 2023
4 points (100.0% liked)

Memes

45740 readers
454 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] kogasa@programming.dev -1 points 1 year ago* (last edited 1 year ago) (1 children)

It is, in fact, completely arbitrary. There is no reason why we should read 1+2*3 as 1 + (2*3) instead of (1 + 2) * 3 except that it is conventional and having a convention facilitates communication. No, it has nothing to do with set theory or mathematical foundations. It is literally just a notational convention, and not the only one that is still currently used.

Edit: I literally have an MSc in math, but good to see Lemmy is just as much on board with the Dunning-Kruger effect as Reddit.

[–] Uphillbothways@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

If you don't accept adding and subtracting numbers as allowed mathematical transactions, multiplication doesn't make sense at all. It isn't arbitrary. It's fundamental basic accounting.

[–] kogasa@programming.dev -1 points 1 year ago* (last edited 1 year ago)

What you just said is at best irrelevant and at worst meaningless. No, the fact that multiplication is defined in terms of addition does not mean that it is required or natural to evaluate multiplication before addition when parsing a mathematical expression. The latter is a purely syntactic convention. It is arbitrary. It isn't "accounting."