• wuffah@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    22 days ago

    In mathematics and computer programming, the order of operations is a collection of conventions about which arithmetic operations to perform first in order to evaluate a given mathematical expression.

    The order of operations is part of arithmetic. Although, the memes about it are certainly not good mathematics communication.

    • FishFace@piefed.social
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      2
      ·
      22 days ago

      There’s a useful distinction to be made. The order of operations is different between conventional written maths, calculators, reverse polish notation, python, etc. In contrast there is no disagreement over what the result of any individual binary operations is

            • FishFace@piefed.social
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              14 days ago

              So if you have one “notation definition” as you call it which says that 2+2*3 means ”first add two to two, then multiply by three" and another which says “first multiply two by three, then add it to two”, why on earth do the “rules” have anything further to say about order of operations?

              • and another which says “first multiply two by three, then add it to two”

                No we don’t. We have another notation which says to do paired operations (equivalent to being in brackets) first.

                why on earth do the “rules” have anything further to say about order of operations?

                Because if you don’t obey them you get wrong answers 🙄