• mindbleach@sh.itjust.works
    link
    fedilink
    arrow-up
    111
    ·
    10 个月前

    Different compilers have robbed me of all trust in order-of-operations. If there’s any possibility of ambiguity - it’s going in parentheses. If something’s fucky and I can’t tell where, well, better parenthesize my equations, just in case.

  • Pavidus@lemmy.world
    link
    fedilink
    arrow-up
    98
    ·
    10 个月前

    There’s quite a few calculators that get this wrong. In college, I found out that Casio calculators do things the right way, are affordable, and readily available. I stuck with it through the rest of my classes.

  • Elderos@sh.itjust.works
    link
    fedilink
    arrow-up
    76
    ·
    10 个月前

    In some countries we’re taught to treat implicit multiplications as a block, as if it was surrounded by parenthesis. Not sure what exactly this convention is called, but afaic this shit was never ambiguous here. It is a convention thing, there is no right or wrong as the convention needs to be given first. It is like arguing the spelling of color vs colour.

    • Zagorath@aussie.zone
      link
      fedilink
      arrow-up
      58
      ·
      10 个月前

      This is exactly right. It’s not a law of maths in the way that 1+1=2 is a law. It’s a convention of notation.

      The vast majority of the time, mathematicians use implicit multiplication (aka multiplication indicated by juxtaposition) at a higher priority than division. This makes sense when you consider something like 1/2x. It’s an extremely common thing to want to write, and it would be a pain in the arse to have to write brackets there every single time. So 1/2x is universally interpreted as 1/(2x), and not (1/2)x, which would be x/2.

      The same logic is what’s used here when people arrive at an answer of 1.

      If you were to survey a bunch of mathematicians—and I mean people doing academic research in maths, not primary school teachers—you would find the vast majority of them would get to 1. However, you would first have to give a way to do that survey such that they don’t realise the reason they’re being surveyed, because if they realise it’s over a question like this they’ll probably end up saying “it’s deliberately ambiguous in an attempt to start arguments”.

        • Zagorath@aussie.zone
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          10 个月前

          So are you suggesting that Richard Feynman didn’t “deal with maths a lot”, then? Because there definitely exist examples where he worked within the limitations of the medium he was writing in (namely: writing in places where using bar fractions was not an option) and used juxtaposition for multiplication bound more tightly than division.

          Here’s another example, from an advanced mathematics textbook:

          Both show the use of juxtaposition taking precedence over division.

          I should note that these screenshots are both taken from this video where you can see them with greater context and discussion on the subject.

          • custard_swollower@lemmy.world
            link
            fedilink
            arrow-up
            11
            ·
            10 个月前

            Mind you, Feynmann clearly states this is a fraction, and denotes it with “/” likely to make sure you treat it as a fraction.

            • barsoap@lemm.ee
              link
              fedilink
              arrow-up
              10
              ·
              10 个月前

              Yep with pen and paper you always write fractions as actual fractions to not confuse yourself, never a division in sight, while with papers you have a page limit to observe. Length of the bars disambiguates precedence which is important because division is not associative; a/(b/c) /= (a/b)/c. “calculate from left to right” type of rules are awkward because they prevent you from arranging stuff freely for readability. None of what he writes there has more than one division in it, chances are that if you see two divisions anywhere in his work he’s using fractional notation.

              Multiplication by juxtaposition not binding tightest is something I have only ever heard from Americans citing strange abbreviations as if they were mathematical laws. We were never taught any such procedural stuff in school: If you understand the underlying laws you know what you can do with an expression and what not, it’s the difference between teaching calculation and teaching algebra.

              • never a division in sight

                There is, especially if you’re dividing by a fraction! Division and fractions aren’t the same thing.

                if you see two divisions anywhere in his work he’s using fractional notation

                Not if it actually is a division and not a fraction. There’s no problem with having multiple divisions in a single expression.

                • barsoap@lemm.ee
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  6 个月前

                  Division and fractions aren’t the same thing.

                  Semantically, yes they are. Syntactically they’re different.

            • denotes it with “/” likely to make sure you treat it as a fraction

              It’s not the slash which makes it a fraction - in fact that is interpreted as division - but the fact that there is no space between the 2 and the square root - that makes it a single term (therefore we are dividing by the whole term). Terms are separated by operators (2 and the square root NOT separated by anything) and joined by grouping symbols (brackets, fraction bars).

          • itslilith@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            3
            ·
            6 个月前

            Fractions and division aren’t the same thing.

            Are you for real? A fraction is a shorthand for division with stronger (and therefore less ambiguous) order of operations

            • Are you for real?

              Yes, I’m a Maths teacher.

              A fraction is a shorthand for division with stronger (and therefore less ambiguous) order of operations

              I added emphasis to where you nearly had it.

              ½ is a single term. 1÷2 is 2 terms. Terms are separated by operators (division in this case) and joined by grouping symbols (fraction bars, brackets).

              1÷½=2

              1÷1÷2=½ (must be done left to right)

              Thus 1÷2 and ½ aren’t the same thing (they are equal in simple cases, but not the same thing), but ½ and (1÷2) are the same thing.

      • gordon@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        10 个月前

        So 1/2x is universally interpreted as 1/(2x), and not (1/2)x, which would be x/2.

        Sorry but both my phone calculator and TI-84 calculate 1/2X to be the same thing as X/2. It’s simply evaluating the equation left to right since multiplication and division have equal priorities.

        X = 5

        Y = 1/2X => (1/2) * X => X/2

        Y = 2.5

        If you want to see Y = 0.1 you must explicitly add parentheses around the 2X.

        Before this thread I have never heard of implicit operations having higher priority than explicit operations, which honestly sounds like 100% bogus anyway.

        You are saying that an implied operation has higher priority than one which I am defining as part of the equation with an operator? Bogus. I don’t buy it. Seriously when was this decided?

        I am no mathematics expert, but I have taken up to calc 2 and differential equations and never heard this “rule” before.

        • Incandemon@lemmy.ca
          link
          fedilink
          arrow-up
          3
          ·
          10 个月前

          I can say that this is a common thing in engineering. Pretty much everyone I know would treat 1/2x as 1/(2x).

          Which does make it a pain when punched into calculators to remember the way we write it is not necessarily the right way to enter it. So when put into matlab or calculators or what have you the number of brackets can become ridiculous.

          • mcteazy@sh.itjust.works
            link
            fedilink
            arrow-up
            3
            ·
            10 个月前

            I’m an engineer. Writing by hand I would always use a fraction. If I had to write this in an email or something (quickly and informally) either the context would have to be there for someone to know which one I meant or I would use brackets. I certainly wouldn’t just wrote 1/2x and expect you to know which one I meant with no additional context or brackets

        • Sorry but both my phone calculator and TI-84 calculate 1/2X

          …and they’re both wrong, because they are disobeying the order of operations rules. Almost all e-calculators are wrong, whereas almost all physical calculators do it correctly (the notable exception being Texas Instruments).

          You are saying that an implied operation has higher priority than one which I am defining as part of the equation with an operator? Bogus. I don’t buy it. Seriously when was this decided?

          The rules of Terms and The Distributive Law, somewhere between 100-400 years ago, as per Maths textbooks of any age. Operators separate terms.

          I am no mathematics expert… never heard this “rule” before.

          I’m a High School Maths teacher/tutor, and have taught it many times.

      • It’s not a law of maths in the way that 1+1=2 is a law

        Yes it is, literally! The Distributive Law, and Terms. Also 1+1=2 isn’t a Law, but a definition.

        So 1/2x is universally interpreted as 1/(2x)

        Correct, Terms - ab=(axb).

        people doing academic research in maths, not primary school teachers

        Don’t ask either - this is actually taught in Year 7.

        if they realise it’s over a question like this they’ll probably end up saying “it’s deliberately ambiguous in an attempt to start arguments”

        The university people, who’ve forgotten the rules of Maths, certainly say that, but I doubt Primary School teachers would say that - they teach the first stage of order of operations, without coefficients, then high school teachers teach how to do brackets with coefficients (The Distributive Law).

      • Tlaloc_Temporal@lemmy.ca
        link
        fedilink
        arrow-up
        15
        ·
        10 个月前

        BEDMAS: Bracket - Exponent - Divide - Multiply - Add - Subtract

        PEMDAS: Parenthesis - Exponent - Multiply - Divide - Add - Subtract

        Firstly, don’t forget exponents come before multiply/divide. More importantly, neither defines wether implied multiplication is a multiply/divide operation or a bracketed operation.

        • And009@reddthat.com
          link
          fedilink
          arrow-up
          0
          ·
          10 个月前

          Exponents should be the first thing right? Or are we talking the brackets in exponents…

          • Tlaloc_Temporal@lemmy.ca
            link
            fedilink
            arrow-up
            4
            ·
            10 个月前

            Exponents are second, parentheses/brackets are always first. What order you do your exponents in is another ambiguity though.

              • Tlaloc_Temporal@lemmy.ca
                link
                fedilink
                arrow-up
                1
                ·
                6 个月前

                234 is ambiguous. 2(34) is standard practice, but some calculators aren’t that smart and will do (23)4.

                It’s ambiguous because it works both ways, not because we don’t have a standard. Confusion is possible.

                • The only confusion I can see is if you intended for the 4 to be an exponent of the 3 and didn’t know how to do that inline, or if you did actually intend for the 4 to be a separate numeral in the same term? And I’m confused because you haven’t used inline notation in a place that doesn’t support exponents of exponents without using inline notation (or a screenshot of it).

                  As written, which inline would be written as (2^3)4, then it’s 32. If you intended for the 4 to be an exponent, which would be written inline as 2^3^4, then it’s 2^81 (which is equal to whatever that is equal to - my calculator batteries are nearly dead).

                  we don’t have a standard

                  We do have a standard, and I told you what it was. The only confusion here is whether you didn’t know how to write that inline or not.

        • Pipoca@lemmy.world
          link
          fedilink
          arrow-up
          9
          ·
          10 个月前

          It’s BE(D=M)(A=S). Different places have slightly different acronyms - B for bracket vs P for parenthesis, for example.

          But multiplication and division are whichever comes first right to left in the expression, and likewise with subtraction.

          Although implicit multiplication is often treated as binding tighter than explicit. 1/2x is usually interpreted as 1/(2x), not (1/2)x.

          • CheesyFox@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            10 个月前

            a fair point, but aren’t division and subtraction are non-communicative, hence both operands need to be evaluated first?

          • unoriginalsin@lemmy.world
            cake
            link
            fedilink
            Afaraf
            arrow-up
            1
            ·
            10 个月前

            It’s BE(D=M)(A=S). Different places have slightly different acronyms - B for bracket vs P for parenthesis, for example.

            But, since your rule has the D&M as well as the A&S in brackets does that mean your rule means you have to do D&M as well as the A&S in the formula before you do the exponents that are not in brackets?

            But seriously. Only grade school arithmetic textbooks have formulas written in this ambiguous manner. Real mathematicians write their formulas clearly so that there isn’t any ambiguity.

            • Pipoca@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              10 个月前

              That’s not really true.

              You’ll regularly see textbooks where 3x/2y is written to mean 3x/(2y) rather than (3x/2)*y because they don’t want to format

              3x
              ----
              2y
              

              properly because that’s a terrible waste of space in many contexts.

        • And009@reddthat.com
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          10 个月前

          Multiplication VS division doesn’t matter just like order of addition and subtraction doesn’t matter… You can do either and get same results.

          Edit : the order matters as proven below, hence is important

        • Squirrel@thelemmy.club
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 个月前

          I was taught that division is just inverse multiplication, and to be treated as such when it came to the order of operations (i.e. they are treated as the same type of operation). Ditto with addition and subtraction.

    • doctorcrimson@lemmy.today
      link
      fedilink
      arrow-up
      14
      ·
      10 个月前

      I think when a number or variable is adjacent a bracket or parenthesis then it’s distribution to the terms within should always take place before any other multiplication or division outside of it. I think there is a clear right answer and it’s 1.

      • derphurr@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        10 个月前

        No there is no clear right answer because it is ambiguous. You would never seen it written that way.

        Does it mean A÷[(B)©] or A÷B*C

        • doctorcrimson@lemmy.today
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          10 个月前

          It means

          A ÷ B(C) which is equivalent to A ÷ (B*C)
          

          I literally just explained this. The Parenthesis takes priority over multiplication and division outright.

          Maybe
          B*C = B(C)
          But
          A ÷ B(C) =! A ÷ B * C
          
          • derphurr@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            10 个月前

            No. It’s ambiguous. In a math book or written by anyone that actually uses math, you don’t have a “%”

            You group stuff below the line, and you use parens and brackets to group things like (a + b) and (x)(y) so that it is not ambiguous.

            2/xy would be almost always interpreted differently than 2/x(x+y) which is ambiguous and could mean (2/x)(x+y) or 2/[(x)(x+y)]

            • doctorcrimson@lemmy.today
              link
              fedilink
              arrow-up
              2
              ·
              10 个月前

              You continue to say it’s ambiguous, but the most commonly used convention on earth very clearly prioritizes parenthesis. It is not ambiguous.

  • linuxdweeb@lemm.ee
    link
    fedilink
    arrow-up
    73
    ·
    10 个月前

    Please Excuse My Dear Aunt Sally, she downloaded a shitty ad-infested calculator from the Google Play store.

  • GTG3000@programming.dev
    link
    fedilink
    arrow-up
    51
    ·
    10 个月前

    I’m with the right answer here. / and * have same precedence and if you wanted to treat 2(2+2) as a single unit, you should have written it like (2*(2+2)).

    • Klear@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      10 个月前

      Yeah, if there’s any ambiguity, you probably should have written it in a different way.

  • arisunz@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    30
    ·
    10 个月前

    this comment section illustrates perfectly why i hate maths so much lmao

    love ambiguous, confusing rules nobody can even agree on!

    • onion@feddit.de
      link
      fedilink
      arrow-up
      39
      ·
      10 个月前

      The problem isn’t math, it’s the people that suck at at it who write ambigous terms like this, and all the people in the comments who weren’t educated properly on what conventions are.

      • Swallowtail@beehaw.org
        link
        fedilink
        arrow-up
        5
        ·
        10 个月前

        Yeah, you could easily make this more straightforward by putting parentheses around 8÷2. It’s like saying literature sucks because Finnegans Wake is incomprehensible.

        • you could easily make this more straightforward by putting parentheses around 8÷2

          But that would be a different expression with a different answer (16 rather than 1). This is the mistake made by the programmer of the e-calc - treats it as though there’s extra brackets there when there isn’t.

      • loops@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 个月前

        Huge shout out to the jaded AF high school math teachers that don’t give a fuck any more!

        • They do care. The issue is everyone argues about it without even asking Maths teachers about it to being with! I guarantee (I’ve seen it myself) literally every blog you read which says this is “ambiguous”, without exception they never mention Maths textbooks or Maths teachers (because then they wouldn’t be able to bombastically declare “This is ambiguous!”).

    • UnRelatedBurner@sh.itjust.works
      link
      fedilink
      arrow-up
      18
      ·
      10 个月前

      lol, math is literally the only subject that has rules set in stone. This example is specifically made to cause confusion. Division has the same priority as multiplication. You go from left to right. problem here is the fact that you see divison in fraction form way more commonly. A fraction could be writen up as (x)/(y) not x/y (assuming x and y are multiple steps). Plain and simple.

      The fact that some calculator get it wrong means that the calculator is wrongly configured. The fact that some people argue that you do () first and then do what’s outside it means that said people are dumb.

      They managed to get me once too, by everyone spreading missinformation so confidently. Don’t even trust me, look up the facts for yourself. And realise that your comment is just as incorrect as everyone who said the answer is 1. (uhm well they don’t agree on 0^0, but that’s kind of a paradox)

      • Zagorath@aussie.zone
        link
        fedilink
        arrow-up
        14
        ·
        10 个月前

        If we had 1/2x, would you interpret that as 0.5x, or 1/(2x)?

        Because I can guarantee you almost any mathematician or physicist would assume the latter. But the argument you’re making here is that it should be 0.5x.

        It’s called implicit multiplication or “multiplication indicated by juxtaposition”, and it binds more tightly than explicit multiplication or division. The American Mathematical Society and American Physical Society both agree on this.

        BIDMAS, or rather the idea that BIDMAS is the be-all end-all of order of operations, is what’s known as a “lie-to-children”. It’s an oversimplification that’s useful at a certain level of understanding, but becomes wrong as you get more advanced. It’s like how your year 5 teacher might have said “you can’t take the square root of a negative number”.

        • vithigar@lemmy.ca
          link
          fedilink
          arrow-up
          8
          ·
          10 个月前

          An actual mathematician or physicist would probably ask you to clarify because they don’t typically write division inline like that.

          That said, Wolfram-Alpha interprets “1/2x” as 0.5x. But if you want to argue that Wolfram-Alpha’s equation parser is wrong go ahead.

          https://www.wolframalpha.com/input?i=1%2F2x

          • Zagorath@aussie.zone
            link
            fedilink
            arrow-up
            9
            ·
            10 个月前

            I will happily point out that Wolfram Alpha does this wrong. So do TI calculators, but not Casio or Sharp.

            Go to any mathematics professor and give them a problem that includes 1/2x and ask them to solve it. Don’t make it clear that merely asking “how do you parse 1/2x?” is your intent, because in all likelihood they’ll just tell you it’s ambiguous and be done with it. But if it’s written as part of a problem and they don’t notice your true intent, you can guarantee they will take it as 1/(2x).

            Famed physicist Richard Feynman uses this convention in his work.

            In fact, even around the time that BIDMAS was being standardised, the writing being done doing that standardisation would frequently use juxtaposition at a higher priority than division, without ever actually telling the reader that’s what they were doing. It indicates that at the time, they perhaps thought it so obvious that juxtaposition should be performed first that it didn’t even need to be explained (or didn’t even occur to them that they could explain it).

            According to Casio, they do juxtaposition first because that’s what most teachers around the world want. There was a period where their calculators didn’t do juxtaposition first, something they changed to because North American teachers were telling them they should, but the outcry front the rest of the world was enough for them to change it back. And regardless of what teachers are doing, even in America, professors of mathematics are doing juxtaposition first.

            I think this problem may ultimately stem from the very strict rote learning approach used by the American education system, where developing a deeper understanding of what’s going on seems to be discouraged in favour of memorising facts like “BIDMAS”.

            • vithigar@lemmy.ca
              link
              fedilink
              arrow-up
              5
              ·
              10 个月前

              To be clear, I’m not saying 1/2x being 1/(2x) rather than 0.5x is wrong. But it’s not right either. I’m just pretty firmly in the “inline formulae are ambiguous” camp. Whichever rule you pick, try to apply it consistently, but use some other notation or parenthesis when you want to be clearly understood.

              The very fact that this conversation even happens is proof enough that the ambiguity exists. You can be prescriptive about which rules are the correct ones all you like, but that’s not going to stop people from misunderstanding. If your goal is to communicate clearly, then you use a more explicit notation.

              Even Wolfram Alpha makes a point of restating your input to show how it’s being interpreted, and renders “1/2x” as something more like

              1
              - x
              2
              

              to make very clear what it’s doing.

              • Zagorath@aussie.zone
                link
                fedilink
                English
                arrow-up
                4
                ·
                10 个月前

                Even Wolfram Alpha makes a point of restating your input to show how it’s being interpreted

                This is definitely the best thing to do. It’s what Casio calculators do, according to those videos I linked.

                My main point is that even though there is theoretically an ambiguity there, the way it would be interpreted in the real world, by mathematicians working by hand (when presented in a way that people aren’t specifically on the lookout for a “trick”) would be overwhelmingly in favour of juxtaposition being evaluated before division. Maybe I’m wrong, but the examples given in those videos certainly seem to point towards the idea that people performing maths at a high level don’t even think twice about it.

                And while there is a theoretical ambiguity, I think any tool which is operating counter to how actual mathematicians would interpret a problem is doing the wrong thing. Sort of like a dictionary which decides to take an opinionated stance and say “people are using the word wrong, so we won’t include that definition”. Linguists would tell you the job of a dictionary should be to describe how the word is used, not rigidly stick to some theoretical ideal. I think calculators and tools like Wolfram Alpha should do the same with maths.

                • vithigar@lemmy.ca
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  10 个月前

                  Linguists would tell you the job of a dictionary should be to describe how the word is used, not rigidly stick to some theoretical ideal. I think calculators and tools like Wolfram Alpha should do the same with maths.

                  You’re literally arguing that what you consider the ideal should be rigidly adhered to, though.

                  “How mathematicians do it is correct” is a fine enough sentiment, but conveniently ignores that mathematicians do, in fact, work at WolframAlpha, and many other places that likely do it “wrong”.

                  The examples in the video showing inline formulae that use implicit priority have two things in common that make their usage unambiguous.
                  First, they all are either restating, or are derived from, formulae earlier in the page that are notated unambiguously, meaning that in context there is a single correct interpretation of any ambiguity.

                  Second, being a published paper it has to adhere to the style guide of whatever body its published under, and as pointed out in that video, the American Mathematical Society’s style guide specifies implicit priority, making it unambiguous in any of their published works. The author’s preference is irrelevant.

                  Also, if it’s universally correct and there was no ambiguity in its use among mathematicians, why specify it in the style guide at all?

            • vithigar@lemmy.ca
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              6 个月前

              Dude, this thread is four months old and I’ve gotten several notifications over the past week from you sporadically responding to comments I barely remember making. Find something better to do with your time than internet argument archeology. I’ll even concede the point if it helps make you go away.

              Thanks for the correction, you are right.

      • math is literally the only subject that has rules set in stone

        Indeed, it does.

        This example is specifically made to cause confusion.

        No, it isn’t. It simply tests who has remembered all the rules of Maths and who hasn’t.

        Division has the same priority as multiplication

        And there’s no multiplication here - only brackets and division (and addition within the brackets).

        A fraction could be writen up as (x)/(y) not x/y

        Neither of those. A fraction could only be written inline as (x/y) - both of the things you wrote are 2 terms, not one. i.e. brackets needed to make them 1 term.

        The fact that some people argue that you do () first and then do what’s outside it means that

        …they know all the relevant rules of Maths

        look up the facts for yourself

        You can find them here

        your comment is just as incorrect as everyone who said the answer is 1

        and 1 is 100% correct.

        well they don’t agree on 0^0

        Yes they do - it’s 1 (it’s the 5th index law). You might be thinking of 0/0, which depends on the context (you need to look at limits).

            • UnRelatedBurner@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              6 个月前

              Fuck it, I’m gonna waste time on a troll on the internet who’s necroposting in te hopes that they actually wanna argue the learning way.

              This example is specifically made to cause confusion.

              No, it isn’t. It simply tests who has remembered all the rules of Maths and who hasn’t.

              I said this because of the confusion around the division sign. Almost everyone at some point got it confused, or is just hell bent that one is corrent the other is not. In reality, it is such a common “mistake” that ppl started using it. I’m talking about the classic 4/2x. If x = 2, it is:

              1. 4/2*2 = 2*2 = 4
              2. 4/(2*2) = 4/4 = 1

              Wolfram solved this with going with the second if it is an X or another variable as it’s more intuitive.

              Division has the same priority as multiplication

              And there’s no multiplication here - only brackets and division (and addition within the brackets).

              Are you sure ur not a troll? how do you calculate 2(1+1)? It’s 4. It’s called implicit multiplication and we do it all the time. It’s the same logic that if a number doesn’t have a sign it’s positive. We could write this up as +2*(+1+(+1)), but it’s harder to read, so we don’t.

              A fraction could be writen up as (x)/(y) not x/y

              Neither of those. A fraction could only be written inline as (x/y) - both of the things you wrote are 2 terms, not one. i.e. brackets needed to make them 1 term.

              I don’t even fully understand you here. If we have a faction; at the top we have 1+2 and at the bottom we have 6-3. inline we could write this as (1+2)/(6-3). The result is 1 as if we simplify it’s 3/3.

              You can’t say it’s ((1+2)/(6-3)). It’s the same thing. You will do the orders differently, but I can’t think of a situation where it’s incorrect, you are just making things harder on yourself.

              The fact that some people argue that you do () first and then do what’s outside it means that

              …they know all the relevant rules of Maths

              You fell into the 2nd trap too. If there is a letter or number or anything next to a bracket, it’s multiplication. We just don’t write it out, as why would we, to make it less readable? 2x is the same as 2*x and that’s the same as 2(x).

              look up the facts for yourself

              You can find them here

              I can’t even, you linked social media. The #1 most trust worthy website. Also I can’t even read this shit. This guy talks in hashtags. I won’t waste energy filtering out all the bullshit to know if they are right or wrong. Don’t trust social media. Grab a calculator, look at wolfram docs, ask a professor or teacher. Don’t even trust me!

              your comment is just as incorrect as everyone who said the answer is 1

              and 1 is 100% correct.

              I chose a side. But that side it the more RAW solution imo. let’s walk it thru:

              • 8/2(2+2), let’s remove the confusion
              • 8/2*(2+2), brackets
              • 8/2*(4), mult & div, left -> right
              • 4*(4), let go
              • 4*4, the only
              • 16, answer

              BUT, and as I stated above IF it’d be like: 8/2x with x=2+2 then, we kinda decided to put implicit brackets there so it’s more like 8/(2x), but it’s just harder to read, so we don’t.

              And here is the controversy, we are playing the same game. Because there wasn’t a an explicit multilication, you could argue that it should be handled like the scenario with the x. I disagree, you agree. But even this argument of “like the scenario with the x” is based of what Wolfram decided, there are no rules of this, you do what is more logical in this scenario. It can be a flaw in math, but it never comes up, as you use fractions instead of inline division. And when you are converting to inline, you don’t spear the brackets.

              well they don’t agree on 0^0

              Yes they do - it’s 1 (it’s the 5th index law). You might be thinking of 0/0, which depends on the context (you need to look at limits).

              You said it yourself, if we lim (x->0) y/x then there is an answer. But we aren’t in limits. x/0 in undefined at all circumstances (I should add that idk abstract algebra & non-linear geometry, idk what happens there. So I might be incorrect here).


              And by all means, correct me if I’m wrong. But link something that isn’t an unreadable 3 parted mostodon post like it’s some dumb twitter argument. This is some dumb other platform argument. Or don’t link anything at all, just show me thru, and we know math rules (now a bit better) so it shouldn’t be a problem… as long as we are civilised.

              side note: if I did some typos… it’s 2am, sry.

              • I’m talking about the classic 4/2x. If x = 2, it is:

                4/2x2 = 2x2 = 4

                4/(2x2) = 4/4 = 1

                It’s the latter, as per the definition of Terms. There are references to this definition being used going back more than 100 years.

                Wolfram solved this with going with the second if it is an X or another variable as it’s more intuitive

                Yes, they do if it’s 2x, but not if it’s 2(2+2) - despite them mathematically being the same thing - leading to wrong answers to expressions such as the OP. In fact, that’s true of every e-calculator I’ve ever seen, except for MathGPT (Desmos used to handle it correctly, but then they made a change to make it easier to enter fractions, and consequently broke evaluating divisions correctly).

                how do you calculate 2(1+1)? It’s 4. It’s called implicit multiplication

                No, it’s not called implicit multiplication. It’s distribution.

                We could write this up as +2*(+1+(+1))

                No, you can’t. Adding that multiplication has broken it up into 2 terms. You either need to not add the multiply, or add another set of brackets if you do, to keep it as 1 term.

                I can’t think of a situation where it’s incorrect

                If a=2 and b=3, then…

                1/axb=3/2

                1/ab=(1/6)

                If there is a letter or number or anything next to a bracket, it’s multiplication

                No, it’s distribution. Multiplication refers literally to multiplication signs, of which there aren’t any in this expression.

                2x is the same as 2*x

                No, 2A is the same as (2xA). i.e. it’s a single Term. 2xA is 2 Terms (multiplied).

                If a=2 and b=3, then…

                axb=2x3 (2 terms)

                ab=6 (1 term)

                This guy talks in hashtags.

                Only in the first post in each thread, so that people following those hashtags will see the first post, and can then click on it if they want to see the rest of the thread. Also “this guy” is me. :-)

                Grab a calculator, look at wolfram docs, ask a professor or teacher

                I’m a Maths teacher with a calculator and many textbooks - I’m good. :-) Also, if you’d clicked on the thread you would’ve found textbook references, historical Maths documents, proofs, the works. :-)

                8/2(2+2), let’s remove the confusion

                8/2*(2+2), brackets

                8/2*(4), mult & div, left -> right

                4*(4), let go

                2 mistakes here. Adding the multiplication sign in the 2nd step has broken up the term in the denominator, thus sending the (2+2) into the numerator, hence the wrong answer (and thus why we have a rule about Terms). Then you did division when there was still unsolved brackets left, thus violating order of operations rules.

                it’s more like 8/(2x), but it’s just harder to read, so we don’t

                But that’s exactly what we do (but no extra brackets needed around 2x nor 2(2+2) - each is a single term).

                you could argue that it should be handled like the scenario with the x

                Which is what the rules of Maths tells us to do - treat a single term as a single term. :-)

                there are no rules of this

                Yeah, there is. :-)

                you use fractions instead of inline division

                No, never. A fraction is a single term (grouped by a fraction bar) but division is 2 terms (separated by the division operator). Again it’s the definition of Terms.

                And by all means, correct me if I’m wrong

                Have done, and appreciate the proper conversation (as opposed to those who call me names for simply pointing out the actual rules of Maths).

                link something that isn’t an unreadable

                No problem. I t doesn’t go into as much detail as the Mastodon thread though, but it’s a shorter read (overall - with the Mastodon thread I can just link to specific parts though, which makes it handier to use for specific points), just covering the main issues.

                as long as we are civilised

                Thanks, appreciated.

                • UnRelatedBurner@sh.itjust.works
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  6 个月前

                  Idk where you teach, but I’m thankful you didn’t teach me.

                  Let me quizz you, how do you solve 2(2+2)^2? because acording to your linked picture, because brackets are leftmost you do them first. If I were to believe you:

                  • (2*2+2*2)^2
                  • (4+4)^2, = 64

                  but it’s just simply incorrect.

                  • 2(4)^2, wow we’re at a 2x^2
                  • 2*16 = 32

                  The thing that pisses me off most, is the fact that, yes. Terms exists, yes they have all sorts of properties. But they are not rules, they are properties. And they only apply when we have unknows and we’re at the most simplified form. For example your last link, the dude told us that those terms get prio because they are terms!? There are no mention of term prio in the book. It just simply said that when we have a simplified expression like: 2x^2+3x+5 we call 2x^2 and 3x and 5 terms. And yes they get priority, not because we named them those, but because they are multiplications. These help us at functions the most. Where we can assume that the highest power takes the sign at infinity. Maybe if the numbers look right, we can guess where it’d switch sign.

                  I don’t even want to waste energy proofreading this, or telling you the obvious that when we have a div. and a mult. and no x’s there really is no point in using terms, as we just get a single number.

                  But again, I totally understand why someone would use this, it’s easier. But it’s not the rule still. That’s why at some places this is the default. I forgot the name/keywords but if you read a calculator’s manual there must be a chapter or something regarding this exact issue.

                  So yeah, use it. It’s good. Especially if you teach physics. But please don’t go around making up rules.

                  As for your sources, you still linked a blog post.

      • Primarily0617@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        10 个月前

        math is literally the only subject that has rules set in stone

        go past past high school and this isn’t remotely true

        there are areas of study where 1+1=1

      • kpw@kbin.social
        link
        fedilink
        arrow-up
        0
        ·
        10 个月前

        Off topic, but the rules of math are not set in stone. We didn’t start with ZFC, some people reject the C entirely, then there is intuitionistic logic which I used to laugh at until I learned about proof assistants and type theory. And then there are people who claim we should treat the natural numbers as a finite set, because things we can’t compute don’t matter anyways.

        On topic: Parsing notation is not a math problem and if your notation is ambiguous or unclear to your audience try to fix it.

    • RickRussell_CA@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      10 个月前

      It doesn’t have to be confusing. This particular formula is presented in a confusing way. Written differently, the ambiguity is easily resolved.

    • darthelmet@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      10 个月前

      This is more language/writing style than math. The math is consistent, what’s inconsistent is there are different ways to express math, some of which, quite frankly, are just worse at communicating the mathematical expression clearly than others.

      Personally, since doing college math classes, I don’t think I’d ever willingly write an expression like that exactly because it causes confusion. Not the biggest issue for a simple problem, much bigger issue if you’re solving something bigger and need combine a lot of expressions. Just use parentheses and implicit multiplication and division. It’s a lot clearer and easier to work with.

        • darthelmet@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          6 个月前

          Something about the way this thread was written was kind of confusing, so I don’t really get what their point was. Is it just that the terminology is wrong? Or am I missing something?

          Like, whatever you call it, a x b, a*b, ab, and a(b) are all acceptable notations to describe the operation “multiply a and b.” Some are nicer to use than others depending on the situation.

          • Something about the way this thread was written was kind of confusing,

            Ok, sorry about that. I’m more than happy to update it if you want to give me some constructive feedback on what was confusing about it. Note though that this was the 3rd part in the series, and maybe you didn’t go back and read the previous 2 parts? They start here

            Is it just that the terminology is wrong? Or am I missing something?

            Yes and yes. :-) The 2 actual rules of Maths that apply here are Terms and The Distributive Law. These are 2 different rules of Maths - neither of which is “multiplication” - and so when lumping them together as “implicit multiplication” you end up with unpredictable, and usually wrong, answers. The only way to always get the right answer is to follow the actual rules of Maths.

            a x b, a*b, ab, and a(b) are all acceptable notations to describe the operation “multiply a and b.”

            No, they’re not. The first two are multiplications, the second two are Terms. Note that a Term is a product, the result of a multiplication. In the mnemonics, “Multiplication”" refers literally to multiplication signs, and nothing else.

            • darthelmet@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              6 个月前

              Ok, sorry about that. I’m more than happy to update it if you want to give me some constructive feedback on what was confusing about it. Note though that this was the 3rd part in the series, and maybe you didn’t go back and read the previous 2 parts? They start here

              NP. I’m not really great at giving writing advice, so can’t really help there. Something about it just didn’t click when I read it. The extra context you linked did help a bit.

              As far as the issue: After reading it I think it does just seem to be a matter of terminology mixed with problems that arise with when you need to write math expressions inline in text. If you can write things out on paper or use a markdown language, it’s really easy to see how a fractional expression is structured.

              8

              2(1+3)

              is a lot easier to read than 8/2(1+3) even if they technically are meant to be evaluated the same. There’s no room for confusion.

              And as for distributive law vs multiplication, maybe this is just taking for granted a thing that I learned a long time ago, but to me they’re just the same thing in practice. When I see a(x+1) I know that in order to multiply these I need to distribute. And if we fill in the algebraic symbols for numbers, you don’t even need to distribute to get the answer since you can just evaluate the parentheses then use the result to multiply by the outside.

              Conversely, if I was factoring something, I would need to do division.

              ax + a

              a

              = x+1, thus: a(x+1)

              I think we’re basically talking about the same thing, I’m just being a bit lose with the terminology.

              And while we’re at it, the best way to make sure there’s no misunderstanding is to just use parenthesis for EVERYTHING! I’m mostly kidding, this can rapidly get unreadable once you nest more than a few parens, although for these toy expressions, it would have the desired effect.

              (8)/(2(1+3)) is obviously different than (8/2)(1+3)

              • 8/2(1+3) even if they technically are meant to be evaluated the same

                But 8/2(1+3) isn’t a fraction. The / - the computing equivalent of ÷ (which can only be written using Unicode on a computer, so a bit of a pain to use compared to / )- is an operator, which means they’re 2 separate terms. A fraction bar is a grouping symbol, which means it’s 1 term. In this particular case it doesn’t matter, but if it appeared in a bigger expression then it absolutely does matter. The way to write 8/2(1+3) as a fraction inline is to add extra brackets. i.e. (8/2(1+3)) - because brackets are also a grouping symbol.

                And as for distributive law vs multiplication, maybe this is just taking for granted a thing that I learned a long time ago, but to me they’re just the same thing in practice

                Bu they’re not, for the same reason. Firstly, the Distributive Law isn’t multiplication at all - which only applies literally to multiplication symbols - it applies to bracketed terms (i.e. is a single term which needs to be distributed) - and secondly it applies to a single term, whereas multiplication applies to 2 terms (one before and one after). Anyone who talks about 2(1+3) needing to be “multiplied” has already made the mistake that is going to lead to a wrong answer (unless they just happen to “multiply” before they divide, which is an accidental way to get the right answer).

                if I was factoring something

                Indeed, that is the precise reason the Distributive Law exists - they are the opposite operation to each other! Anyone who adds a multiplication symbol has broken up the factorised term, again leading to the wrong answer.

                I’m just being a bit lose with the terminology

                Yeah, and that’s all I was pointing out in the first place - please don’t use “implicit multiplication”. The term itself - i.e. it includes “multiplication” - leads people to do it wrong (because they treat it as multiplication, not brackets, then argue about the precedence of “multiplication”!). It needs to die!

                this can rapidly get unreadable once you nest more than a few parens,

                Well that’s why the rules of Terms ab=(axb) and The Distributive Law a(b+c)=(a*(b+c))=(ab+ac) exist to begin with - less brackets! :-) Imagine having to write a fraction as (1/(axb)) all the time!

                (8)/(2(1+3)) is obviously different than (8/2)(1+3)

                Correct, though a lot of people treat it as the latter (yet another way to do it wrong - doing division before brackets) because they figure the 8/2 is “outside the brackets”, but in fact only the 2 is, because the slash separates them as being 2 terms.

    • 4am@lemm.ee
      link
      fedilink
      arrow-up
      8
      ·
      10 个月前

      PEMDAS

      Parenthesis, exponents, multiplication, division, addition, subtraction.

      The rule is much older than me and they taught it in school. Nothing ambiguous about it, homie. The phone app is fucked up. Calculator nailed it.

      • Coreidan@lemmy.world
        link
        fedilink
        English
        arrow-up
        11
        ·
        10 个月前

        Left to right. If you’re following ALL of the rules of PEMDAS then the answer is 16

          • Zagorath@aussie.zone
            link
            fedilink
            arrow-up
            8
            ·
            10 个月前

            The answer is 1, but the logic you’ve used to get there is a little off. Different groups actually follow different logic, but they usually arrive at the same end-point.

            The American Mathematical Society goes:

            • Brackets
            • Indices
            • Multiplication indicated by juxtaposition
            • Regular multiplication and division
            • Addition and subtraction

            While the American Physical Society does

            • Brackets
            • Indices
            • Multiplication
            • Division
            • Addition and subtraction

            In both cases, addition and subtraction are equal in priority (this solves the problem brought up by a different comment where following primary school BIDMAS would mean 8-4+2=2). In one case (and this is the way I prefer to do it) they solve the problem by declaring that implicit multiplication is done before division, but explicit multiplication with the × sign follows the same rules you would have learnt in primary school. The other says all multiplication is done before division, including explicit multiplication.

          • Justin@lemmy.jlh.name
            link
            fedilink
            English
            arrow-up
            5
            ·
            10 个月前

            By that logic: 8-2+4=2

            Of course, it could be kind of ambiguous, but typical convention gives multiplication/division the same priority, as it does addition/subtraction.

            And in general, you need to go left to right when dealing with division and subtraction, if other operations have the same priority.

          • NikkiNikkiNikki@kbin.social
            link
            fedilink
            arrow-up
            0
            ·
            10 个月前

            Multiplication and division have the same priority, whichever one comes first LTR is the one that gets resolved first, so it’s (8 / 2) * 4

      • hallettj@beehaw.org
        link
        fedilink
        English
        arrow-up
        6
        ·
        10 个月前

        The comment from subignition explains that the phone’s answer, 16, is what you get by strictly following PEMDAS: the rule is that multiplication and division have the same precedence, and you evaluate them from left-to-right.

        The calculator uses a different convention where either multiplication has higher priority than division, or where “implicit” multiplication has higher priority (where there is no multiply sign between adjacent expressions).

      • arisunz@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        10 个月前

        i know about pemdas and also my brother in christ half the people in the comments are saying the phone app is right lmao

        edit: my first answer was 16

  • I Cast Fist@programming.dev
    link
    fedilink
    English
    arrow-up
    25
    ·
    10 个月前

    The problem is that there’s no “external” parentheses to really tell us which is right: (8 / 2) * 4 or 8 / (2 * 4)

    The amount of comments here shows how much debate this “simple” thing generates

  • Queue@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    6 个月前

    For anyone like me who has math as their worst subject: PEMDAS.

    PEMDAS is an acronym used to mention the order of operations to be followed while solving expressions having multiple operations. PEMDAS stands for P- Parentheses, E- Exponents, M- Multiplication, D- Division, A- Addition, and S- Subtraction.

    So we gotta do it in the proper order. And remember, if the number is written like 2(3) then its multiplication, as if it was written 2 x 3 or 2 * 3.

    So we read 8/2(2+2) and need to do the following;

    • Read the Parentheses of (2 + 2) and follow the order of operations within them, which gets us 4.
    • Then we do 2(4) which is the same as 2 x 4 which is 8
    • 8 / 8 is 1.

    The answer is 1. The old calculator is correct, the phone app which has ads backed into it for a thing that all computers were invented to do is inaccurate.

    • a_fine_hound@lemmy.world
      link
      fedilink
      arrow-up
      33
      ·
      edit-2
      10 个月前

      Well that’s just wrong… Multiplication and division have equal priorities so they are done from left to right. So: 8 / 2 * (2 + 2)=8 / 2 * 4=4 * 4=16

        • Correct! 2(2+2) is a single term - subject to The Distributive Law - and 2x(2+2) is 2 terms. Those who added a multiply sign there have effectively flipped the (2+2) from being in the denominator to being in the numerator, hence the wrong answer.

          But it’s not called “implicit multiplication” - it’s Terms and/or The Distributive Law which applies (and they’re 2 separate rules, so you cannot lump them together as a single rule).

      • nutcase2690@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        4
        ·
        10 个月前

        Not quite, pemdas can go either from the left or right (as long as you are consistent) and division is the same priority as multiplication because dividing by something is equal to multiplying by the inverse of that thing… same as subtraction being just addition but you flip the sign.

        8×1/2=8/2 1-1=1+(-1)

        The result is 16 if you rewrite the problem with this in mind: 8÷2(2+2)=8×(1/2)×(2+2)

        • Omega_Jimes@lemmy.ca
          link
          fedilink
          arrow-up
          9
          ·
          10 个月前

          I’ve never had anyone tell me operations with the same priority can be done either way, it’s always been left to right.

          • nutcase2690@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            4
            ·
            10 个月前

            I’ve always heard it that way too but I think it is for consistency with students, imo Logically, if you are looking at division = multiplying by inverse and subtraction = adding the negative, you should be able to do it both ways. Addition and multiplication are both associative, so we can do 1+2+3 = (1+2)+3 = 1+(2+3) and get the same answer.

            • ReveredOxygen@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              10 个月前

              But subtraction and division are not associative. Any time you work on paper, 2 - 2 - 2 would equal -2. That is, (2-2)-2=0-2=-2. If you evaluate right to left, you get 2-2-2=2-(2-2)=2-0=2

              • nutcase2690@lemmy.dbzer0.com
                link
                fedilink
                arrow-up
                3
                ·
                10 个月前

                Correct, subtraction and division are not associative. However, what is subtraction if not adding the opposite of a number? Or division if not multiplying the inverse? And addition and multiplication are associative.

                2-2-2 can be written as 2 + (-2) + (-2) which would equal -2 no matter if you solve left to right, or right to left.

                In your example with the formula from right to left, distributing the negative sign reveals that the base equation was changed, so it makes sense that you saw a different answer.

                2 - (2 - 2) = 2 + ((-2) + 2) = 2

          • I’ve never had anyone tell me operations with the same priority can be done either way, it’s always been left to right

            It’s left to right within each operator. You can do multiplication first and division next, or the other way around, as long as you do each operator left to right. Having said that, you also can do the whole group of equal precedence operators left to right - because you’re still preserving left to right for each of the two operators - so you can do multiplication and division left to right at the same time, because they have equal precedence.

            Having said that, it’s an actual rule for division, but optional for the rest. The actual rule is you have to preserve left-associativity - i.e. a number is associated with the sign to the left of it - and going left to right is an easy way to do that.

    • CaptDust@sh.itjust.works
      link
      fedilink
      arrow-up
      21
      ·
      edit-2
      10 个月前

      Uh… no the 1 is wrong? Division and multiplication have the same precedence, so the correct order is to evaluate from left to right, resulting in 16.

    • nutcase2690@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      13
      ·
      10 个月前

      The problem with this is that the division symbol is not an accurate representation of the intended meaning. Division is usually written in fractions which has an implied set of parenthesis, and is the same priority as multiplication. This is because dividing by a number is the same as multiplying by the inverse, same as subtracting is adding the negative of a number.

      8/2(2+2) could be rewritten as 8×1/2×(2+2) or (8×(2+2))/2 which both resolve into 16.

      • Zagorath@aussie.zone
        link
        fedilink
        arrow-up
        7
        ·
        10 个月前

        You left out the way it can be rewritten which most mathematicians would actually use, which is 8/(2(2+2)), which resolves to 1.

      • Division is usually written in fractions

        Division and fractions aren’t the same thing.

        fractions which has an implied set of parenthesis

        Fractions are explicitly Terms. Terms are separated by operators (such as division) and joined by grouping symbols (such as a fraction bar), so 1÷2 is 2 terms, but ½ is 1 term.

        8/2(2+2) could be rewritten as 8×1/2×(2+2)

        No, it can’t. 2(2+2) is 1 term, in the denominator. When you added the multiply you broke it into 2 terms, and sent the (2+2) into the numerator, thus leading to a different answer. 8/2(2+2)=1.

    • amtwon@lemmy.world
      link
      fedilink
      English
      arrow-up
      13
      ·
      10 个月前

      not to be That Guy, but the phone is actually correct… multiplication and division have the same precedence, so 8 / 2 * 4 should give the same result as 8 * 4 / 2, ie 16

    • agamemnonymous@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      10 个月前

      P E M D A S

      vs

      P E M/D A/S

      The latter is correct, Multiplication/Division, and Addition/Subtraction each evaluate left to right (when not made unambiguous by Parentheses). I.e., 6÷2×3 = 9, not 1. That said, writing the expression in a way that leaves ambiguity is bad practice. Always use parentheses to group operations when ambiguity might arise.

    • Cornelius_Wangenheim@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      10 个月前

      Ignore the idiots telling you you’re wrong. Everyone with a degree in math, science or engineering makes a distinction between implicit and explicit multiplication and gives implicit multiplication priority.

    • Coreidan@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 个月前

      PEMDAS evaluated from left to right. If you followed that you’d get 16. 1 is ignoring left to right.

    • hallettj@beehaw.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 个月前

      The problem is that the way PEMDAS is usually taught multiplication and division are supposed to have equal precedence. The acronym makes it look like multiplication comes before division, but you’re supposed to read MD and as one step. (The same goes for addition and subtraction so AS is also supposed to be one step.) It this example the division is left of the multiplication so because they have equal precedence (according to PEMDAS) the division applies first.

      IMO it’s bad acronym design. It would be easier if multiplication did come before division because that is how everyone intuitively reads the acronym.

      Maybe it should be PE(M/D)(A/S). But that version is tricky to pronounce. Or maybe there shouldn’t be an acronym at all.

    • Turns out I’m wrong, but I haven’t been told how or why. I’m willing to learn if people actually tell me

      Well, I don’t know what you said originally, so I don’t know what it is you were told was wrong - 1 or 16? 😂 The correct answer is 1.

      Anyhow, I have an order of operations thread which covers literally everything there is to know about it (including covering all the common mistakes and false claims made by some). It includes textbook references, historical Maths documents, worked examples, proofs, memes, the works! I’m a high school Maths teacher/tutor - I’ve taught this topic many times.