• barsoap@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    edit-2
    2 months ago

    It’s ambiguous which one of these is correct. Hence the best method we have for “correct” is left to right.

    The solution accepted anywhere but in the US school system range from “Bloody use parenthesis, then” over “Why is there more than one division in this formula why didn’t you re-arrange everything to be less confusing” to “50 Hertz, in base units, are 50s-1”.

    More practically speaking: Ultimately, you’ll want to do algebra with these things. If you rely on “left to right” type of precedence rules re-arranging formulas becomes way harder because now you have to contend with that kind of implicit constraint. It makes everything harder for no reason whatsoever so no actual mathematician, or other people using maths in earnest, use that kind of notation.

    • HereIAm@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      2 months ago

      I fully agree that if it comes down to “left to right” the problem really needs to be rewritten to be more clear. But I’ve just shown why that “rule” is a common part of these meme problems because it is so weird and quite esoteric.

      • I fully agree that if it comes down to “left to right”

        It never does

        But I’ve just shown why that “rule” is a common part

        No you didn’t. You showed you didn’t understand the rules. Doing addition first for 10-1+1 is 10+1-1, not 10-(1+1). It literally means add all positive numbers together first, which are +10 and +1, as per Maths textbooks…

        Note in the above simplification of the coefficients we have 6-11+5-7+2=6+5+2-11-7=13-18=-5, and not, as you claim 6-(11+5)-(7+2)=6-16-9=-19

        because it is so weird and quite esoteric

        It’s a convention, not a rule, and as such can be completely ignored by those who understand the rules. See literal textbook example

        • HereIAm@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          I know it’s not a rule, hence why I put it in quotation marks. I noted in another comment that, yes, the proper way is to group it as 1+(-2)+3 and you can do it in any order. What I meant with ““rule”” is the meme questions pray on people not understanding/remembering what the actual rules are or why “left to right” conventions exist.

          • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            edit-2
            16 hours ago

            the proper way is to group it as 1+(-2)+3

            No it isn’t.

            you can do it in any order

            You can do it in any order anyway

            left to right 1-2+3=-1+3=2

            addition first 1+3-2=4-2=2

            subtraction first -2+1+3=-1+3=2

            right to left 3-2+1=1+1=2

            What I meant with ““rule”” is the meme questions pray on people not understanding/remembering what the actual rules are

            And you showed that you were one of them. Every answer you got other than 4 was wrong, because you didn’t understand the rules. spoiler alert: doing it in different orders never means add brackets to it. Addition first for 10-1+1 is 10+1-1, not 10-(1+1). See previous textbook example

            why “left to right” conventions exist

            They exist because people like you make mistakes when you try to do it in a different order. Either learn how the rules work or stop spreading disinformation. Well, you should stop spreading disinformation regardless.

    • 💡𝚂𝗆𝖺𝗋𝗍𝗆𝖺𝗇 𝙰𝗉𝗉𝗌📱@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      20 days ago

      The solution accepted anywhere but in the US school system range from “Bloody use parenthesis, then” over “Why is there more than one division in this formula why didn’t you re-arrange everything to be less confusing” to “50 Hertz, in base units, are 50s-1”.

      No, the solution is learn the rules of Maths. You can find them in Maths textbooks, even in U.S. Maths textbooks.

      so no actual mathematician, or other people using maths in earnest, use that kind of notation.

      Yes we do, and it’s what we teach students to do.