this post was submitted on 07 Dec 2023
539 points (87.7% liked)

Asklemmy

43944 readers
767 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Umbrias@beehaw.org 1 points 11 months ago (2 children)

Pemdas and bodmas are not bullshit, they are a standard to disambiguate expression communication. They are order of operations. Multiplication and division are not on the same level, they are distinct operations which form the identity when combined with a multiplication.

Similarly, log(x) and e^x are not the same operation, but form identity when composited.

Formulations of division in algebra allow it to be at the same priority as multiplication by restructuring it as multiplication, but that requires formulating the expression a particular way. The รท operator however is strictly division. That's its purpose. It's not a fantastic operator for common usage because of this.

There are valid orders of operations, such as depmas which I just made up which would make the above expression extremely ambiguous. Completely mathematically valid, order of ops is an established convention, not mathematical fact.

[โ€“] teawrecks@sopuli.xyz 2 points 11 months ago (2 children)

This comment is the epitome of being confidently wrong on the internet.

[โ€“] Umbrias@beehaw.org 1 points 11 months ago (1 children)

For one misinterpretation? Are you sure about that?

[โ€“] SmartmanApps@programming.dev -1 points 8 months ago

There was 3 misinterpretations - see my reply to them.

[โ€“] SmartmanApps@programming.dev -1 points 8 months ago

confidently wrong on the internet

I made a hashtag for people #LoudlyNotUnderstandingThings :-)

[โ€“] SmartmanApps@programming.dev 0 points 8 months ago

They are order of operations

No, they're not.

Multiplication and division are not on the same level

Yes, they are.

they are distinct operations which form the identity when combined with a multiplication

In other words, they are the inverse operation of each other - welcome to why they have the same precedence.

order of ops is an established convention, not mathematical fact

It's a mathematical fact.