839
Confusing... (lemmy.ml)
submitted 1 year ago by kaptaan_jack@lemmy.ml to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] biddy@feddit.nl 3 points 1 year ago

In your example you lose distributivity. (2+4)2 is 22+4*2, which doesn't matter for numbers but it matters for algebra. If addition comes first then there's no way to represent distribution.

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

The distributive law, assuming commutativity and other axioms, is a*(b+c) = (a*b) + (a*c). Notice how it does not matter in which order you evaluate + and * in this expression due to my use of parentheses.

PEMDAS is notation. It has no influence on the actual underlying math, only how we write it.

[-] biddy@feddit.nl 1 points 1 year ago

You're absolutely right, not sure what I was thinking.

[-] 0ops@lemm.ee 0 points 1 year ago* (last edited 1 year ago)

PEMDAS is notation. It has no influence on the actual underlying math, only how we write it.

Thanks, I've been trying to figure out how to put this and you did it concisely!

this post was submitted on 19 Jul 2023
839 points (95.6% liked)

Memes

45581 readers
1216 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