• Baby Shoggoth [she/her]
      link
      fedilink
      English
      5510 months ago

      To be fair, it’s completely arbitrary, and all of math would be easier to understand, although slightly more verbose, if the only rule of order of operations is “always use parentheses to denote order, there are no implied parentheses”.

      lazy mfs from centuries ago who were mortified by the thought of having to write ( and ) too much (lord what i wouldn’t give to hop in a time machine and show them lisp) should not be dictating our mathematical notation in this century. Explicit grouping is always more obvious to the reader.

      • @GoodEye8@lemm.ee
        link
        fedilink
        English
        2110 months ago

        Maybe for very simple calculations like this one, but for more complex ones parenthesis actually make them much harder to read and write. If you’ve ever built a complex functions in Excel you know how difficult it gets because for 90% of the excel operations require parenthesis which means it works exactly like you’d want math to work. Just yesterday I had to do a more complex index match search in excel and excel corrected my parenthesis, because when your function is supposed to end with 5 parenthesis good luck keeping track of how many parenthesis you actually need to write out. Similarly if a week later I would have to change something inside that same function it’s going to take a lot more time to deconstruct the formula because of the abundance of parenthesis.

        And the addition of parenthesis in math is entirely unnecessary because the nature of most operators already dictates the order of operations. Exponents are just multiplications and multiplication are just additions. 23 is the same as 2 x 2 x 2 is the same 2 + 2 + 2 + 2. If you take the example in the image then 2 + 2x4 transposed into additions is 2 + (2 + 2 + 2 + 2), parenthesis added to indicate what used to be the multiplication. Why people get it wrong is because they don’t understand the nature of those operators and so they do (2+2)x4 which is how they get (2+2)+(2+2)+(2+2)+(2+2) = 16. The order is clear, you can’t do addition before you do multiplication, because multiplication is a certain form of addition, and you can’t do multiplication before you do exponents, because exponents are a certain form of multiplication. The inverse functions maintain the same order of the function they’re inverting, meaning you can do subtraction before division and you can’t do division before rooting. No need for parenthesis for the natural order of operations. Parenthesis serve a purpose when you need to denote exceptions to the natural order of operations, like (2+2) x 4.

        • Kogasa
          link
          fedilink
          English
          110 months ago

          It’s not a “natural” order of operations. Why in the world would you think that we more often add before multiplying instead of vice versa? That’s such a weird claim

          • @GoodEye8@lemm.ee
            link
            fedilink
            English
            210 months ago

            Did you just read the last sentence and not the rest of the comment? I went pretty in depth about what I mean by it. I don’t think we more often add before multiply, I know we must solve multiplication before doing addition and vice versa is the wrong way to do it, unless there’s something else, like parenthesis, stating a different order of operations.

      • bytegeist
        link
        English
        1810 months ago

        That’s true, but it’s not that hard either.

        • @eendjes@feddit.nl
          link
          fedilink
          810 months ago

          Even then it’s still a quick mistake to make. If I’m not paying attention I could easily make a mistake like this, because I’m used to reading things left to right.

        • @ChrisLicht@lemm.ee
          link
          fedilink
          English
          410 months ago

          I would love to watch people who say that diagram a sentence, per 10th grade English class rules.

          (For the record, PEMDAS).

          • @Dubious_Fart
            link
            English
            210 months ago

            Is PEMDAS anything like PEBKAC?

        • Baby Shoggoth [she/her]
          link
          fedilink
          English
          010 months ago

          It’s also not that hard to just write it in a far less confusing way in many cases.

          In this simple case, 4 x 2 + 2 or 2 x 4 + 2 would have been superior choices because both people reading left to right and people following pemdas correctly would get it right, and only people mis-remembering pemdas would be confused.

          • @Wrench@lemmy.world
            link
            fedilink
            English
            210 months ago

            Except if you don’t know the full equation when you’re starting to write it. Most real world applications have you piecing things together as you go. Stopping and reordering it in an arbitrary “more readable” order is wasted work

            • Baby Shoggoth [she/her]
              link
              fedilink
              English
              1
              edit-2
              10 months ago

              Well, yes, but as you are working on an equation for yourself to work through a problem, it really doesn’t matter. you can intentionally break PEMDAS for your own notation.

              When communicating the equation to others, though, doing your best to make it comprehensible to people of all skill levels is absolutely not wasted work. Reformatting equations so the largest number of people comprehend what that means is absolutely valuable.

              Edit: hell, as long as you’re consistent with your personal notation, you could get anarchistic about it and use SADMEP notation.

      • @foo@programming.dev
        link
        fedilink
        English
        10
        edit-2
        10 months ago

        Multiplication is a notation which means add some number by itself a number of times.

        5 x 3 = 5 +5 + 5

        2 * 4 = 2 + 2 + 2 +2

        So when you see some like 2 + 4 * 2 it literally means. 2+4+4

        • @0ops@lemm.ee
          link
          fedilink
          English
          -1
          edit-2
          10 months ago

          By that logic it could just as well be 2 + 4 * 2 = (2 + 4) + (2 + 4) = 12. You still need to know to multiply first, or it’s arbitrary

          Edit: a lot of you are missing my point. The expression above is wrong, duh, but my point is that the choice to “expand out” the multiplication first is a convention that the mathematics community agreed on, not a fact that can be proven or measured. That’s why it’s arbitrary. @kogasa put nicely, PEMDAS is just a notation, it’s how we agreed to read and write our math, but the underlying math is no different. If we all agreed to scramble the order of operations, say to add before we multiply, expressions will look different, parentheses may need to be added or removed, but they will still be mathematically consistent if we are consistent in writing and reading in that agreed upon order of operations.

            • @0ops@lemm.ee
              link
              fedilink
              English
              0
              edit-2
              10 months ago

              I know that my example is wrong, I’m trying to make a point

            • Kogasa
              link
              fedilink
              English
              2
              edit-2
              10 months 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
                0
                edit-2
                10 months 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!

          • @foo@programming.dev
            link
            fedilink
            English
            210 months ago

            It’s not logic, it’s that what it means. 2*4 literally means 2+2+2+2. Just like 8/2 means how many times you can add 2 to itself until you get 8.

            That’s what it means.

            So why use braces? Because in more advanced maths you have more complex expressions that can’t be express in just multiplication which often occur in algebra or beyond.

            For example what does 2 * ( a + 3) actually mean? Like why do we need to do the addition first. Its because we don’t know how many times we need to repeat the addition until we know what a means.

            Let’s say a are points on an axis, and at some point it is worth three the. At that moment that expression is 2 * (3 +3) = 2 * 6 which is equal to 2+2+2+2+2

            But in the next moment a might be 1

            Right?

            What’s arbitrary are the labels on the rules. The rules themselves aren’t arbitrary.

      • @0ops@lemm.ee
        link
        fedilink
        English
        4
        edit-2
        10 months ago

        To be clear, it’s the standard order of operations (PEMDAS) that is arbitrary. The expression in the post, assuming PEMDAS, is not arbitrary. There’s only one correct answer.

        Also, I dunno man. The window from where math is complicated enough to have multiple different operators to where expressions get too complicated to be easily readable with just parentheses to denote order should be passed by like, early to mid highschool, if not junior high. Point being, frankly if you’re struggling with PEMDAS, your either still a high schooler, or you probably should be.

        Or we can all learn polish notation

        • @LonelyWendigo@lemmy.world
          link
          fedilink
          English
          510 months ago

          It’s not arbitrary just because you don’t understand the how and why of it. The expression could certainly be written more clearly, but that’s an entirely separate matter.

          • @0ops@lemm.ee
            link
            fedilink
            English
            010 months ago

            Um, I think we’re agreeing. The expression is not arbitrary, it only has one correct answer. We agree on that. I’m saying that using PEMDAS is an arbitrary convention. If we all agreed to rewrite our equations in PEASMD, it would be ugly, you’d probably need more parentheses, but it would still work. People in this thread have used set theory to explain that PEMDAS makes more sense, and it totally does, but it doesn’t strictly have to be that way.

            I’m actually finding two different definitions of arbitrary on the Internet: 1. Based on individual discretion, 2. Random. I had the first in mind.

        • @biddy@feddit.nl
          link
          fedilink
          English
          210 months ago

          By the end of highschool you’ve mostly stop dealing with numbers and moved on to algebra, which foregoes the confusion of PEMDAS. a+bc is very obvious.

      • @Mercival@lemm.ee
        link
        fedilink
        310 months ago

        Bold of you to assume people would get how parentheses work. Especially when multiplying blocks of additive parentheses (unless you’d expect to always write the expanded form, please tell me you wouldn’t)

      • @0x4E4F@lemmy.fmhy.ml
        link
        fedilink
        English
        3
        edit-2
        10 months ago

        always use parentheses to denote order, there are no implied parentheses

        I completely agree on this, and yes, this is what I always do, cuz… well, we’re human, we make mistakes, parentheses makes things easily visible, thus cutting down on mistakes.

        Still, I do know operation order, as a rule I mean. In simple calcs like these, making a mistake is almost impossible. Thus, people that answered 16 probably just don’t know the order… that is something you learn in 1st, 2nd grade, it’s not quantum mechanics we’re talking about here.

        lazy mfs from centuries ago who were mortified by the thought of having to write ( and ) too much (lord what i wouldn’t give to hop in a time machine and show them lisp) should not be dictating our mathematical notation in this century.

        We only do that cuz we’re not sure how the compiler will interpret the operation order, and there’s waaaay too many versions and different languages to actually remember how each of them interprets math operation order. So, we do a safe bet, put parentheses on everything. Hell, I do it as well, I just can’t be bothered to remember if C interprets it like this, Python like that, Rust like… god knows what. They should, in theory, know math operation order, but let’s face it, we all do it cuz we’ve been faced with bugs that are a direct result of the compiler not intepreting things as it should.

        That being said, yes, I do agree that prentheses on everything, even math on paper, is the way to go. Plus, even people that don’t know operation order, will learn it a lot qucker if you just show them how easy things become once you start using prentheses.

      • @SaveComengs@lemmy.federa.net
        link
        fedilink
        English
        310 months ago

        I will literally commit hate crimes against all of humanity if I had to write brackets around all operations in math. Surely remembering 6 things is easier than writing out brackets 100 times a day

      • @Mercival@lemm.ee
        link
        fedilink
        210 months ago

        It’s cut off at the bottom. 10 might be there, or even add your own option might be there.

          • @0x4E4F@lemmy.fmhy.ml
            link
            fedilink
            3
            edit-2
            10 months ago

            Well, it sure as hell isn’t 16, so yeah, in that case I would put the closest one as the answer as well, 13.

          • @Mercival@lemm.ee
            link
            fedilink
            2
            edit-2
            10 months ago

            Fair point, I dun’ goofed. It does give me some hope this could be a small sample size with selection bias though, for I’d like to believe anyone, who actually knows elementary school algebra, would simply not engage with the poll.

    • @Mostly_Gristle@lemmy.world
      link
      fedilink
      010 months ago

      I don’t know why you expect the mathematical order of operations to stay fresh in people’s heads. I was taught that in like third grade, and the number of times I’ve needed that information outside of a math class in the 35 years since then is exactly zero. Most people don’t really have occasion to go around solving written equations in their adult lives. I mean, I’m a machinist, I use math every day at my job, the only actual written equations I ever have to deal with are the ones I need to solve to shut off my alarm clock app in the morning. That stuff just doesn’t stick when you never have a reason to use it.

      • TimeSquirrel
        link
        fedilink
        4
        edit-2
        10 months ago

        I mean, I’m a machinist

        Now do electronics. You won’t be getting away from the math in that field. Unless you’re TRYING to create some smoke.

      • @ProfessorZhu@lemmy.blahaj.zone
        link
        fedilink
        310 months ago

        People out here saying “why would you expect anyone to know basic elementary school math!?” it was the only logical progression from “no one needs to know how to solve mysterious factors!! (algebra)”

      • @0x4E4F@lemmy.fmhy.ml
        link
        fedilink
        3
        edit-2
        10 months ago

        It’s not an equation, it’s simple math, like one used in a grocery store. You have 2 apples and then you pick up 4 more pairs of apples, how many apples you got?

        As I said, it’s not quantum mechanics, it’s basic simple math.

        I bet your alarm clock app also uses simple math problems like this one. It’s expected for a grown up or a teenager to be able to solve this, that is why they put it on alarm clock app. It’s not something that’s meant to be easily forgotten. That is why you learn these things when you’re very young, so they stick with you for the rest of your life. But from the answers, it’s easy to notice that most have never even learned this in the first place, at all. Why? Your guess is as good as mine 🤷.

        • @ProfessorZhu@lemmy.blahaj.zone
          link
          fedilink
          010 months ago

          Because they grew up in households that would say to them “I don’t know why you’re having to learn this! No one uses it except for the eggheads down at Livermore!” and so they ignored it and now justify their ignorance by repeating the same horseshit anti-intellectual screed

      • @stringere@lemmy.world
        link
        fedilink
        110 months ago

        PEMDAS is common. It stands for Parentheses, Exponents, Multiplication/Division, Addition/Subtraction. PEMDAS is often expanded to the mnemonic “Please Excuse My Dear Aunt Sally” in schools.

    • LEX
      link
      fedilink
      010 months ago

      Totally. And I’ve noticed most people don’t even know the best kind of brush to use when inking over pencil on smooth bristle board. They don’t even know the difference between natural and synthetic!

      World is full of goddamn idiots 🤷

  • Rentlar
    link
    fedilink
    5110 months ago

    Since the correct mathematical answer isn’t one of the options, the people picking the other options are representing a real resistance to the order of mathematical logic that binds us.

    The real answer is 14 because I’m 14 and this is deep.

    • Jordan Lund
      link
      fedilink
      810 months ago

      13, because it’s just as wrong, but it’s the closest to 10. ;)

      • @float@feddit.de
        link
        fedilink
        410 months ago

        For me it’s 13 because it’s the “wrongest” one. Every single number in the term is even so you’d expect people to at least choose something that is even, too. Not only is 13 odd, it’s a friggin prime…

    • @philomory@lemm.ee
      link
      fedilink
      4010 months ago

      I’m not sure if you’re aware or not, but at the moment that photo was taken, he was in the middle of trying to interview then-president Trump.

      I don’t remember what specific thing Trump said to elicit that reaction, and I’m not really in the mood to re-watch the interview to remind myself. Suffice it to say, Trump said a lot of just absolute nonsense.

      • Altima NEO
        link
        fedilink
        310 months ago

        Yeah I’m aware of the interview, but he also looks like the actor from Idiocracy and the expression he was making when he realized the time skip.

  • nLuLukna
    link
    fedilink
    23
    edit-2
    10 months ago

    Pemdas isn’t as arbitrary as people in this thread think it is.

    I love maths, and I’m going to butcher any attempt to explain why pemdas isnt totally random. But you can look it up if you wanna know more I guess

    Besides no one ever uses that notation - by the time you learn about quadratics, you leave multiplication symbols out of the equation entirely and much of the notation changes shape, with division exclusively being expressed as negative powers or fractions.

    At that point you aren’t going to make mistakes, since each hyperlevel uses a different style of notation. Pemdas is used to teach 4 year olds, and it’s fucking dumb. What happens with a log, or sine function. Don’t even get me started on integrals and derivatives.

    Pemdas is shit, but not because it’s abirtary. In fact it’s shit because it’s a shithole acyromn

    • @Uphillbothways@lemmy.world
      link
      fedilink
      12
      edit-2
      10 months ago

      Pemdas is mostly just factoring, kinda. That’s how you should think of it.

      2x4 is really 2+2+2+2.

      That first 2+(anything else) can’t be acted/operated upon until you’ve resolved more nested operations down to a comparable level.

      That’s it. It’s not arbitrary. It’s not magic. It’s just doing similar actions at the same time in a meaningful way. It’s just factoring the activities.

      • Kogasa
        link
        fedilink
        -12
        edit-2
        10 months ago

        It is, in fact, completely arbitrary. There is no reason why we should read 1+2*3 as 1 + (2*3) instead of (1 + 2) * 3 except that it is conventional and having a convention facilitates communication. No, it has nothing to do with set theory or mathematical foundations. It is literally just a notational convention, and not the only one that is still currently used.

        Edit: I literally have an MSc in math, but good to see Lemmy is just as much on board with the Dunning-Kruger effect as Reddit.

        • @Uphillbothways@lemmy.world
          link
          fedilink
          10
          edit-2
          10 months ago

          If you don’t accept adding and subtracting numbers as allowed mathematical transactions, multiplication doesn’t make sense at all. It isn’t arbitrary. It’s fundamental basic accounting.

          • Kogasa
            link
            fedilink
            -1
            edit-2
            10 months ago

            What you just said is at best irrelevant and at worst meaningless. No, the fact that multiplication is defined in terms of addition does not mean that it is required or natural to evaluate multiplication before addition when parsing a mathematical expression. The latter is a purely syntactic convention. It is arbitrary. It isn’t “accounting.”

        • nLuLukna
          link
          fedilink
          5
          edit-2
          10 months ago

          Yeah I haven no idea what I was saying when I said that, I’ve edited my comment a bit.

          On that note though using your example I think I can illistarte the point I was trying to make earlier.

          1 + (2*3) by always doing multiplication first we can remove those brackets.

          (1 + 2) * 3 can be rewritten as (1 * 3 )+ (2 * 3) so using the first rule again makes a sense. That is a crappy explaination but I think you get my gist.

          • Kogasa
            link
            fedilink
            -110 months ago

            Your point is not clear.

            1 + (2 * 3) by always doing addition first we can remove those brackets.

            (1 * 3) + (2 * 3) can be rewritten as (1 + 2) * 3 so using the first rule again makes sense.

            Do you see the issue?

            • nLuLukna
              link
              fedilink
              110 months ago

              I don’t see it mate. So you’re going to have to tell me, sorry.

              The point I’m trying to make is that using Pemdas/Bedmas is the most effiecent way of removing brackets - I actually don’t 100% know that but I doubt it creates hundreds of brackets - if thats slightly clearer.

              • Kogasa
                link
                fedilink
                110 months ago

                I don’t know how else to explain it. I used your own argument verbatim but with the opposite assumption, that addition takes priority over multiplication. In either case, some expressions can be written without parentheses which require parentheses in the other case.

                • nLuLukna
                  link
                  fedilink
                  110 months ago

                  Right well that makes sense. And is also a very good point. I don’t really see why you couldn’t do that. So I guess it is arbitrary. Although you then have the question of which case occurs more commonly, which is imo actually quite interesting, but also entirely pointless, since good luck showing one case to be more than the other. It’s like that door and wheel question.

    • talung
      link
      fedilink
      510 months ago

      The one I learnt at the dawn of time was BODMAS.

      bracket of Division Multiplication Addition Subtraction.

      I learnt this in the 70’s early 80’s in South Africa, so not sure if things have changed.

      • Kogasa
        link
        fedilink
        710 months ago

        B/P are the same (brackets/parentheses) and O/E are the same (order/exponent), and the order of M and D doesn’t matter since those two have equal priority and are evaluated left-to-right. Hence PEMDAS, BODMAS, BEDMAS, etc. are all the same.

  • @StankFlipper
    link
    810 months ago

    Please Excuse My Dear Aunt Sally, muthafuckahs!!

  • @tetraodon@feddit.it
    link
    fedilink
    4
    edit-2
    10 months ago

    Ok, I get how applying all the rules of arithmetic wrong you could arrive to 16.

    But how in the holy Pythagoras did someone decide that 2 + 2 * 4 = 13 ?

  • @charje
    link
    110 months ago
    (+ 2
       (* 4 2))
    

    Go brrrrrr

  • @Casmael@geddit.social
    link
    fedilink
    -1010 months ago

    If they wanted the multiplication done first they should have put it first if they wanted it done separately they should have put it in brackets. Not my fault some maths guy invented a specific order to do sums in who the fuck cares oh my god we read left to right fucking hell

    • Zoot
      link
      fedilink
      1310 months ago

      The fundamental way that math originated cares…

      • nLuLukna
        link
        fedilink
        1
        edit-2
        10 months ago

        Yeah but the way you derive the order of operations is way above the average maths student.

        I say that, but its not really that complicated to derive, since you think in terms of the expansion of the naturals to the reals

        My brain is fucking dumb

        • @DrRatso@lemmy.world
          link
          fedilink
          210 months ago

          Im sorry, what? The order of operations is completely arbitrary, it just also happens to be the standart. Not having PEMDAS would simply mean we have to write equations differently. PEMDAS et al only exist to avoid ambiguity as in this image.

          • nLuLukna
            link
            fedilink
            110 months ago

            Yeah looking at my comment with fresh eyes, I really failed to say anything true.

            But I’m still going to say its not arbitary, since its super fucking convinent and it removes a lot of brackets.

            • @DrRatso@lemmy.world
              link
              fedilink
              110 months ago

              By that reasoning, sure, it is not arbitrary, it might be the most efficient way to resolve things without complicating the notation we have to use. The point about it being arbitrary was more to say that there is no real mathematic basis for it, we have simply agreed to do it this way so everyone applyingnit arrives at the same “correct” solution.

              Arguably it has little value in algebra too, since it tends to be written less ambiguously, tho I have not had to really use algebra much since highschool (weirdly it was not a huge part of medschool, at least here, occasional use in chem and phys only).

        • Zoot
          link
          fedilink
          010 months ago

          If pemdas is above the average math student that’s fucked. I learned it in 5th grade.

          • @AnarchoYeasty@beehaw.org
            link
            fedilink
            210 months ago

            Math is our representation of real world phenomena. The universe is not calculating any computations when gravity takes effect. This is basic mathematical knowledge that they teach you when you first learn physics. So no, math is not real and is entirely made up.

            • niktemadur
              link
              fedilink
              110 months ago

              I see what you’re saying. But what if we tweak things a little:
              Math is real, it is numbers that are invented, the discreet packets in a ruler, a measuring stick. Like an imaginary line in a grid, such as the tropics and equator.

    • @Tavarin@lemmy.world
      link
      fedilink
      210 months ago

      Multiplication is just shorthand for multiple additions. so 2x4 is actually 4+4. If you expand out the multiplication the above equation becomes 2+4+4. It’s not arbitrary, it’s just what multiplication represents.