• marcos@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      Some people insist there’s no “correct” order for the basic arithmetic operations. And worse, some people insist the correct order is parenthesis first, then left to right.

      Both of those sets of people are wrong.

      • MotoAsh@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 days ago

        Hopefully you can see where their confusion might come from, though. PEMDAS is more P-E-MD-AS. If you have a bunch of unparenthesized addition and subtraction, left to right is correct. A lot of like, firstgrader math problems are just basic problems that are usually left to right (but should have some extras to highlight PEMDAS somewhere I’d hope).

        So they’re mostly telling you they only remember as much math as a small child that barely passed math exercizes.

        • DefederateLemmyMl@feddit.nl
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          9 days ago

          If you have a bunch of unparenthesized addition and subtraction, left to right is correct

          If you have a bunch of unparenthesized addition and subtraction, left to right doesn’t matter.

          1 + 2 + 3 = 3 + 2 + 1

          • KubeRoot@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            0
            ·
            8 days ago

            If you have a bunch of unparenthesized addition and subtraction, left to right doesn’t matter.

            Right, because 1-2-3=3-2-1.

              • KubeRoot@discuss.tchncs.de
                link
                fedilink
                English
                arrow-up
                0
                ·
                7 days ago

                I did not flip any signs, merely reversed the order in which the operations are written out. If you read the right side from right to left, it has the same meaning as the left side from left to right.

                Hell, the convention that the sign is on the left is also just a convention, as is the idea that the smallest digit is on the right (which should be a familiar issue to programmers, if you look up big endian vs little endian)

                • howrar@lemmy.ca
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 days ago

                  If that’s your idea of reversing the order, then you’re not talking about the same thing as SpaceCadet@feddit.nl. They’re talking about the order of operations and the associativity/commutativity property. You’re talking about the order of the symbols.

  • Truscape@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    Presuming PEMDAS is our order of operations and the 5 next to the parentheses indicates multiplication…

    2+5(8-5) -> 2+5(3) -> 2+15=17

    Other than adding a multiplication indicator next to the left parentheses for clarification (I believe it’s * for programming and text chat purposes, a miniature “x” or dot for pen and paper/traditional calculators), this seems fine, yeah.

    …I worry about how many people may not understand how to solve equations like these.

  • MattW03@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    Let’s keep it easy. There’s 2 + all the other number who results in 15 = 17.

    Someone may mistake by doing 2+5 then the rest of the operation, resulting in 21. But is wrong.

  • Triasha@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    Pemdas, parenthesis first, for a total of 3. Then multiplication, 15, then addition. 17. What’s hard about this?

      • TheKingBee@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        9 days ago

        No, it’s written poorly to drive engagement. People read left to right and try to do math that way too, but if you want to be mean to people who don’t remember things they learned in elementary school then never applied in real life you write it like OP.

        (8-5)5+2

        Far easier for most people, but then you don’t get the arguments…

        • Hawanja@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          7 days ago

          It’s written the same way literally thousands of math problems in thousands of textbooks have written the same type of math problem for the last 100 years. OP did not write it that way to be “mean.” He wrote it that way because it’s a legit way to write it.

          • TheKingBee@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            arrow-down
            1
            ·
            7 days ago

            The operational order is fucked, the way I rewrote is more readable, even if you remember the order. The only reason you’d write the equation like that is to be mean, there’s no reason to write it like that unless you’re trying to trip people up.

            • Hawanja@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              6 days ago

              You got it wrong on your first try, didn’t you? Lol, it’s not “mean” to write a math problem. The whole point of memorizing the order of operations is so that you can solve it no matter what order the equation is written in. No one wrote this problem on purpose just to make you fail to understand it, that’s dumb.

                • Hawanja@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  4 days ago

                  I just fail to see how you come to the conclusion that it was written in a “mean” way. It’s math, there is no “nice” way to write an equation.

    • AquaTofana@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      I fucking suck at math and totally just re-proved it to myself with this problem lmao.

      It didn’t make sense to me to multiply the 3 & the 5 with zero consideration for the “2”. I have ALWAYS struggled with the steps to solve these types of equations.

      So the answer I got was 21. Some of us are just bad with numbers, I s’pose.

      • Triasha@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 days ago

        If you don’t remember pemdas, you can use the longer P.lease E.xcuse M.y D.ear A.unt S.ally.