• Umbrias@beehaw.org
    link
    fedilink
    arrow-up
    0
    arrow-down
    4
    ·
    11 months ago

    Under pemdas divisor operators must literally be completed after multiplication. They are not of equal priority unless you restructure the problem to be of multiplication form, which requires making assumptions about the intent of the expression.

    • theshatterstone54@feddit.uk
      link
      fedilink
      arrow-up
      8
      arrow-down
      1
      ·
      11 months ago

      Okay, let me put it in other words: Pemdas and bodmas are bullshit. They are made up to help you memorise the order of operations. Multiplication and division are on the same level, so you do them linearly aka left to right.

      • Umbrias@beehaw.org
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        11 months ago

        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.