• otacon239@feddit.de
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      11 months ago

      Nope. It’s PEMDAS at work.

      8/2(2+2)

      8/2(4) - Parentheses

      8/8 - Multiplication

      1 - Division

      Modern phone apps seem to be notorious for getting order of operations wrong. I’ve never had this issue with a dedicated calculator.

      Edit: my petard has been hoisted

      • Laser@feddit.de
        link
        fedilink
        arrow-up
        10
        ·
        11 months ago

        You don’t do multiplication before division, they’re equal operations, so you go left to right. 8 x 0.5 (2 + 2) is the same from a mathematical point of view.

      • Julian@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        ·
        11 months ago

        I’ve always been taught that + and - were interchangeable with each other for pemdas, as well as * and /. So the hierarchy is

        • parenthesis
        • exponents
        • multiplication, division
        • addition, subtraction
      • Nightwatch Admin@feddit.nl
        link
        fedilink
        arrow-up
        5
        ·
        11 months ago

        In PEMDAS M does not get priority over D so the equation has to be executed in order: 8/2=4, 4*4=16. You would be correct if all PEMDAS were a priority list., but it is not.

      • TentacleKitten@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        11 months ago

        Multiplication and division are same level just as addition and subtraction are same level. So it would be worked multiplication and division in order from left to right.

      • DarkMessiah@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        11 months ago

        Actively wrong.

        PE(MD)(AS).

        Parenthesis comes first, do everything in each of them as though they were a whole equation to themselves.

        8/2(2+2) = 8/2(4)

        Then you do your exponents. The equation doesn’t have any, so we can go ahead and skip those.

        Multiplication and division are the same operation, just flipped around, so you go left to right and do those as you come across them. A number next to a parenthesis means multiplication, so to simplify:

        8/2(4) = 8/2x4

        8/2x4 = 4x4

        4x4 = 16

        Addition and subtraction don’t have any weird effects on the outcomes of each other, so you go left to right and do them as they come up. This equation has no more addition or subtraction to do, so we can consider what we have left our answer.

        Therefore: 8/2(2+2)=16

        This is straight from the textbook. You are wrong, and so are your purpose-built calculators.

        EDIT: Replaced * with x to avoid italicising.

        • Zagorath@aussie.zone
          link
          fedilink
          arrow-up
          2
          ·
          11 months ago

          Replaced * with x to avoid italicising.

          You can do this without needing to replace by using a backslash. 1*2 comes from 1\*2.

          Anyway, the problem with your logic is that it’s using rules designed for primary school by one random primary school teacher many decades ago. Not a rigorous mathematical convention.

          In real maths, mathematicians frequently use juxtaposition to indicate multiplication at a higher priority than division. Rather than BIDMAS, something like BIJMDAS might work. But that isn’t as catchy, and more to the point: it requires understanding of an operation that doesn’t get used in primary school, so would be silly to put in to a mnemonic designed to aid probably school children.

          • DarkMessiah@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            11 months ago

            Just looked it up. Everything I know is a lie. Thank you, kind stranger on the internet. I’m going to go have an existential crisis, now.

      • Beefy-Tootz@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        My public school education on pemdas is that for multiplication/division and addition/subtraction, you do them on order from left to right. Doing it that way gets me 16, which I believe to be right, but I’m also very bad at math. The way you had explained is also technically correct, if you do the multiplication out of order. Now that I think about it, you could solve for the parentheses by multiplying 2+2 by two, giving you 8/8 quicker and still yielding 1. I’m now having more doubts about my math capabilities, both are right, but I know that’s wrong, I just don’t know why

    • aelwero@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      11 months ago

      Agree completely. Old school calculator is wrong, but why? Pemdas wasn’t really big in school curriculums until around the turn of the century, but the order of operations existed at the previous turn of the century, and should operate correctly on every digital calculator ever made…