• Kogasa@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      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.

      • 0ops@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        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!