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

    I feel like I am getting trolled

    Isn’t 17 the actual right answer?

        • NewDark@lemmings.world
          link
          fedilink
          English
          arrow-up
          50
          arrow-down
          1
          ·
          6 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
            4
            ·
            1 hour 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.

    • pixeltree@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      3
      ·
      6 hours ago

      Inside the parens first, so it becomes 2 + 5*3

      Then tou do multiplication before addition, so 2 + 15

      Then addition, so 17

      • SSUPII@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        16
        ·
        6 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
          5
          arrow-down
          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 fraction, 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. Do people get used to grouping everything around the division operator as if they’re in parentheses.

  • Truscape@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    55
    ·
    edit-2
    7 hours 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.

      • Truscape@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 hours ago

        Fair enough, I’ve heard “math problem” and “math equation” used interchangeably.

        Also you would be surprised how many people do not know basic algebra, at least in the US rofl

        • upandatom@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          45 minutes ago

          You. You are one of them bc you do not know what an equation is.

          There is no algebra here. This is arithmetic.

    • TheRedSpade@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      6 hours ago

      While I never failed a math class, I also never went past high school. When would your presumptions NOT be true?

      • Truscape@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        6 hours ago

        Some forms of programming syntax, although there are the fringe cases where an equation (or function in programming) is represented by a symbol in conjunction with a parentheses input.

        For example:

        y(x) = 2*x+3

        5+y(1) = 10, as 1 is substituted in for x in the prior equation.

        • TheBlackLounge@lemmy.zip
          link
          fedilink
          English
          arrow-up
          3
          ·
          4 hours ago

          And in some languages a number can be used as a name of a variable or a function, so it can be anything really

    • DarkCloud@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      12
      ·
      6 hours ago

      I prefer BM-DAS, no one’s out here doing exponents, and no one calls brackets “parentheses”…

      • Deebster@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 hours ago

        I learnt it as BODMAS (brackets, orders, division and multiplication, addition and subtraction).

        Edit: I see we’re repeating points from the earlier posts down there 👇 (with default sort).

      • cobysev@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        ·
        5 hours ago

        The way I was taught growing up, brackets are [these]. Parenthesis are (these).

        Yes, technically the latter are also brackets. But they can also be called parenthesis, whereas the former is exclusively a bracket. So we were taught to call them separate words to differentiate while doing equations.

        • Droggelbecher@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 hours ago

          I’m a theoretical physics grad student and a night school maths teacher, I have never heard this distinction. People in academia around me call them round and square brackets.

        • DarkCloud@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 hours ago

          Yeah, but as an adult it depends entirely on whether you’re in an industry or hobby that requires that level of bracket nuance/exponents.

          Most of us are just trying to remember the basics.

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

        They didn’t say it’s not defined, they said it’s not a valid name. Most languages don’t allow function names to start with a number, so 5 literally cannot be a function if that’s the case.

        But that’s assuming this isn’t some really obscure language.

  • mindbleach@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 hours ago

    Careful, you’ll summon Smartman Apps (with emojis) to insist mathematics has exactly one perfect unambiguous syntax, where 2*(1+3) is somehow different from 2(1+3), and also reverse Polish notation does-too have parentheses.

  • SereneSadie@quokk.au
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    19
    ·
    5 hours ago

    Gonna keep shouting until it sticks;

    Put a goddamn function sign for the parenthesis. Don’t assume everyone just knows what to do with the parenthesis alone. Fml it bugs me every time this meme gets posted.

    • prole@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 minutes ago

      What? A number next to parenthesis always means multiplication. Are people really not taught this anymore?

    • Natanox@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 hours ago

      Why should anyone do that, an implied multiplication is the normal thing you learn in (I think?) somewhere between 5th to 7th grade. You only add an operator if it’s something else. It’s as basic as PEMDAS.

    • DekkiaA
      link
      fedilink
      English
      arrow-up
      16
      ·
      5 hours ago

      Counterpoint:

      If kids where taught how to solve them properly we wouldn’t need to dumb down equasions.