• x4740N@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 minutes ago

    Its because its:

    2+5×(8−5)

    My calculator app automatically added it when typing in what was in the image and “2+5×(8−5)” does equal 17.

    It’s absolutely the fault of the person making the social media media post for not writing it properly and confusing people.

  • ilinamorato@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    49 minutes ago

    it’s

    a badly

    written

    math

    problem

    Seriously, every time this comes up and everyone makes a huge deal out of it, I keep thinking, “none of the people writing these better be teachers.” You have to be more clear than this.

  • Triasha@lemmy.world
    link
    fedilink
    English
    arrow-up
    35
    ·
    4 hours ago

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

  • jjjalljs@ttrpg.network
    link
    fedilink
    English
    arrow-up
    37
    ·
    7 hours ago

    I got some people really angry at me when I suggested writing some math expression with parenthesis so it would be clearer. I think someone told me that order of operations is like a natural law and not a convention, and thus everyone should know it or be able to figure it out.

    • stray@pawb.social
      link
      fedilink
      English
      arrow-up
      10
      ·
      4 hours ago

      I sometimes like to add unnecessary parentheses or brackets to section things off and improve legibility, but I don’t do any math stuff collaboratively, so I have no idea whether others would find that disruptive or helpful.

      • Feathercrown@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 hours ago

        I do this, sometimes it helps reveal a natural pattern when some parts of earlier terms have “disappeared” to simplification

    • Alaknár@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      8
      ·
      4 hours ago

      I mean, there are very few ambiguous cases when you know how the order of operations works.

  • Digit@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    3
    ·
    edit-2
    5 hours ago

    Hrmm.

    I read that as resulting in 21.

    My education system did fail me.

    I plugged that into ghci as 2+5*(8-5), and it says 17.

    :(

    I did (2+5)*(8-5).

    Doh.

    [Edit: (Double doh! Mistyped that here as 5+2. XD)]

      • potoooooooo ☑️@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        2 hours ago

        Well, it used to be a free country until common core and now this nonsense is the result. Numbers and punctuation mixed together. Pure chaos.

    • A_Chilean_Cyborg@feddit.cl
      link
      fedilink
      English
      arrow-up
      22
      arrow-down
      1
      ·
      7 hours ago

      You do parenthesis first and then multiplications and then sums, you did parenthesis, then sums, then multiplications, wich is wrong.

    • Nils@lemmy.ca
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      7 hours ago

      plugged that into ghci as 5+2*(8-5), and it says 17.

      You might want to report that error. Or, did you mean 2+5*(8-5)?

  • MrSmith@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    9
    ·
    7 hours ago

    To all the people yelling PEMDAS and BOMBDAS or whatever - languages other than English exist.

    • madjo@feddit.nl
      link
      fedilink
      English
      arrow-up
      11
      ·
      6 hours ago

      Meneer Van Dale Wacht Op Antwoord (Exponents, multiplication, division, root, addition, subtraction in Dutch).

    • wieson@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      Die Klammer sagt: „Erst komme ich!“ dann gilt die Regel „Punkt vor Strich“

      • Fredthefishlord@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        22
        arrow-down
        1
        ·
        5 hours ago

        Math isn’t flexible like that though. You’re asking for flexibility where there is none. Sure pemdas is technically arbitrary but having a set convention for that is strictly necessary and good teaching.

      • zaperberry@lemmy.ca
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        4 hours ago

        Not understanding the logic doesn’t mean it doesn’t exist.

        We created math and devised a method to ensure that equations can be solved in a way that leads everybody to the same result. If you don’t use the rule, you don’t get the same answer as someone who does. In this circumstance, yes, you do teach by nailing down a strict rule as it’s foundational to the language (math) that we’ve created.

      • stray@pawb.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        4 hours ago

        But there is logic behind them.

        1+2+3=6 and 2+3+1=6 also.

        But 1+2*3 and 2*3+1 won’t come out the same if you do the calculations in just any order. It’s not always possible to order them left to right like in the second version, and if we use parentheses for everything we can end up with an illegible mess. I actually tried to type an example of how silly it could look and lost track of my own parentheses nesting before I got very far.

        Do you have any other suggestion for how to notate an equation which would make memorization of PEMDAS unnecessary?

    • beneeney@lemmy.zip
      link
      fedilink
      English
      arrow-up
      26
      ·
      8 hours ago

      Aunt Sally said some racist things at Thanksgiving, I’m tired of excusing her smh

    • callouscomic@lemmy.zip
      link
      fedilink
      English
      arrow-up
      12
      arrow-down
      6
      ·
      8 hours ago

      I’ll never understand these approaches to learning. They require remembering the phrase, and then require remembering how the phrase translates to the rules you need to remember.

      I’ll just remember the rules in the first place. Less effort.

      • tigeruppercut@lemmy.zip
        link
        fedilink
        English
        arrow-up
        16
        ·
        7 hours ago

        There’s just no way rote learning is easier than mnemonics unless you have a photographic memory.

        Shit, I still remember the order of taxonomic ranks after seeing the phrase “King Phillip came over from Germany stoned” written in a used bio textbook 30 years ago when we never even made it to that chapter to officially study in class. I guarantee I never would’ve remembered the list “kingdom phylum class order family genus species”.

      • IcyToes@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 hours ago

        Yeah, but there is more to remember. I remember BODMAS and if I forget the rules, I work it out and apply it.

  • SSUPII@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    264
    arrow-down
    1
    ·
    16 hours ago

    I feel like I am getting trolled

    Isn’t 17 the actual right answer?

    • marcos@lemmy.world
      link
      fedilink
      English
      arrow-up
      31
      arrow-down
      3
      ·
      8 hours 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
        6
        arrow-down
        1
        ·
        edit-2
        4 hours 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
          3
          ·
          59 minutes 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 = 1 - 3 + 2 = -3 + 2 + 1

          • MotoAsh@piefed.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            25 minutes ago

            True, but as with many things, something has to be the rule for processing it. For many teachers as I’ve heard, order of appearance is ‘the rule’ when commutative properties apply. … at least until algebra demands simplification, but that’s a different topic.

        • NewDark@lemmings.world
          link
          fedilink
          English
          arrow-up
          79
          arrow-down
          1
          ·
          14 hours ago

          I think it’s meant to play with your expectations. Normally someone’s take being posted is to show them being confidently stupid, otherwise it isn’t as interesting and doesn’t go viral.However, because we’re primed to view it from that lens, we feel crazy to think we’re doing the math correctly and getting the “wrong answer” from what we assume is the “confident dipshit”.

          There’s layers beyond the superficial.

          • namingthingsiseasy@programming.dev
            link
            fedilink
            English
            arrow-up
            15
            ·
            10 hours ago

            I fell for it. It’s crazy to think how heavily I’ve been trained to believe everything I see is wrong in the most embarrassing and laughable way possible. That’s pretty depressing if you think about it.

      • SSUPII@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        23
        ·
        14 hours ago

        Yeah I know that. But I was feeling confused as to why it was here. That’s why I was feeling trolled, because it made me doubt basic math for being posted in a memes community.

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          10
          arrow-down
          2
          ·
          edit-2
          5 hours ago

          They did the joke wrong. To do it right you need to use the ÷ symbol. Because people never use that after they learn fractions, people treat things like a + b ÷ c + d as

          a + b
          -----
          c + d
          

          Or (a + b) ÷ (c + d) when they should be treating it as a + (b ÷ c) + d.

          That’s the most common one of these “troll math” tricks. Because notating as

          a + b + d
              -
              c
          

          Is much more common and useful. So people get used to grouping everything around the division operator as if they’re in parentheses.

            • JackbyDev@programming.dev
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              3 hours ago

              Now that’s a good troll math thing because it gets really deep into the weeds of mathematical notation. There isn’t one true order of operations that is objectively correct, and on top of that, that’s hardly the way most people would write that. As in, if you wrote that by hand, you wouldn’t use the / symbol. You’d either use ÷ or a proper fraction.

              It’s a good candidate for nerd sniping.

              Personally, I’d call that 36 as written given the context you’re saying it in, instead of calling it 1. But I’d say it’s ambiguous and you should notate in a way to avoid ambiguities. Especially if you’re in the camp of multiplication like a(b) being different from ab and/or a × b.

            • MotoAsh@piefed.social
              link
              fedilink
              English
              arrow-up
              2
              ·
              4 hours ago

              Well, now you might be running into syntax issues instead of PEMDAS issues depending on what they’re confused about. If it’s 12 over 2*6, it’s 1. If it’s 12 ÷ 2 x 6, it’s 36.

              A lot of people try a bunch of funky stuff to represent fractions in text form (like mixing spaces and no spaces) when they should just be treating it like a programmer has to, and use parenthesis if it’s a complex fraction in basic text form.

            • Feathercrown@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 hours ago

              The P in PEMDAS means to solve everything within parentheses first; there is no “distribution” step or rule that says multiplying without a visible operator other than parentheses comes first. So yes, 36 is valid here. It’s mostly because PEMDAS never shows up in the same context as this sort of multiplication or large fractions