https://zeta.one/viral-math/

I wrote a (very long) blog post about those viral math problems and am looking for feedback, especially from people who are not convinced that the problem is ambiguous.

It’s about a 30min read so thank you in advance if you really take the time to read it, but I think it’s worth it if you joined such discussions in the past, but I’m probably biased because I wrote it :)

  • be_excellent_to_each_other@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    I am so glad that nothing I do in life will ever cause this problem to matter to me.

    The way I was taught in school, the answer is clearly 1, but I did read the blog post and I understand why that’s actually ambiguous.

    Fortunately, I don’t have to care, so will sleep well knowing the answer is 1, and that I’m as correct as anyone else. :-p

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    I think this speaks to why I have a total of 5 years of college and no degree.

    Starting at about 7th grade, math class is taught to every single American school child as if they’re going to grow up to become mathematicians. Formal definitions, proofs, long sets of rules for how you manipulate squiggles to become other squiggles that you’re supposed to obey because that’s what the book says.

    Early my 7th grade year, my teacher wrote a long string of numbers and operators on the board, something like 6 + 4 - 7 * 8 + 3 / 9. Then told us to work this problem and then say what we came up with. This divided us into two groups: Those who hadn’t learned Order of Operations on our own time who did (six plus four is ten, minus seven is three, times eight is 24, plus three is 27, divided by nine is three) Three, and who were then told we were wrong and stupid, and those who somehow had, who did (seven times eight is 56, three divided by nine is some tiny fraction…) got a very different number, and were told they were right. Terrible method of teaching, because it alienates the students who need to do the learning right off the bat. And this basically set the tone until I dropped out of college for the second time.

    • Yes, unfortunately there are some bad teachers around. I vividly remember the one I had in Year 10, who literally didn’t care if we did well or not. I got sick for an extended period that year, and got a tutor - my Maths improved when I had the tutor (someone who actually helped me to learn the material)!

  • Pulptastic@midwest.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    11 months ago

    I disagree. Without explicit direction on OOO we have to follow the operators in order.

    The parentheses go first. 1+2=3

    Then we have 6 ÷2 ×3

    Without parentheses around (2×3) we can’t do that first. So OOO would be left to right. 9.

    In other words, as an engineer with half a PhD, I don’t buy strong juxtaposition. That sounds more like laziness than math.

            • flying_sheep@lemmy.ml
              link
              fedilink
              arrow-up
              0
              ·
              9 months ago

              Mathematical notation however can be. Because it’s conventions as long as it’s not defined on the same page.

              • Mathematical notation however can be.

                Nope. Different regions use different symbols, but within those regions everyone knows what each symbol is, and none of those symbols are in this question anyway.

                Because it’s conventions as long as it’s not defined on the same page

                The rules can be found in any high school Maths textbook.

                • flying_sheep@lemmy.ml
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  9 months ago

                  Let’s do a little plausibility analysis, shall we? First, we have humans, you know, famously unable to agree on an universal standard for anything. Then we have me, who has written a PhD thesis for which he has read quite some papers about math and computational biology. Then we have an article that talks about the topic at hand, but that you for some unscientific and completely ridiculous reason refuse to read.

                  Let me just tell you one last time: you’re wrong, you should know that it’s possible that you’re wrong, and not reading a thing because it could convince you is peak ignorance.

                  I’m done here, have a good one, and try not to ruin your students too hard.

  • MrMobius @sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    Interesting, I didn’t know about strong implicit multiplication. So I would have said the result is 9. All along my studies in France, up to my physics courses at University, all my teachers used weak implicit multiplication. Could be it’s the norm in France, or they only use it in math studies at University.

    • sailingbythelee@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      I didn’t know until now that I unconsciously use strong implicit multiplication (meaning that I get the answer “1”). I believe it happens more or less as a consequence of starting inside the parentheses and then working my way out.

      It is a funny little bit of notational ambiguity, so it is funny that people get riled up about it.

    • wischi@programming.devOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      11 months ago

      In a scientific context it’s actually very rare to run into that issue because divisions are mostly written as fractions which will completely mitigate the issue.

      The strong implicit multiplication will only cause ambiguity after a division with inline notation. Once you use fractions the ambiguity vanishes.

      In practice you also rarely see implicit multiplications between numbers but mostly between variables or variables and their coefficients.

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

        Def not a math major (BS/PharmD), but your explanation was like seeing through a visual illusion for the first time! lol

        I was always taught PEMDAS growing up, and that the MD and the AS was read left to right in an equation like above. But stating the division as a fraction completely changes my mind now about how this calculation works. I think what would happen in a calculation I use every day if the former was used.

        Example: Cockcroft-Gault Equation (estimation of renal function)

        (140-age)(kg) / 72(SCr) vs (140-age) X kg ➗72 X SCr

        In the first eq (correct one) an 80yo patient who weighs 65kg and has an SCr ~ 1.5 = 36.11

        In the latter it = 81.25 (waaay too high for an 80yo lol)

        edit: calculation variable

        • But stating the division as a fraction completely changes my mind now about how this calculation works

          But division and fraction aren’t the same thing - the former separates terms, the latter is a single term.

          (140-age)(kg) / 72(SCr) vs (140-age) X kg ➗72 X SCr

          The different answers for these two isn’t because of / vs ➗, but because in the second one you have added extra multiplications in, thus breaking up some of the terms, and SCr has consequently been flipped from being in the denominator to being in the numerator. i.e. AK/72Scr vs. AK/72xSCr.

      • MrMobius @sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        Yes of course, we always used fractions so there was no ambiguity. Last time I saw the division symbol must have been in primary school!

  • Rinox@feddit.it
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    I recall learning in school that it should be left to right when in doubt. Probably a cop-out from the teacher

    • wischi@programming.devOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      11 months ago

      “when in doubt” is a bit broad but left to right is a great default for operations with the same priority. There is actually a way to calculate in any order if divisions are converted to multiplications (by using the reciprocal value) and subtractions are converted to additions (by negating the value) that requires at least a little bit of math knowledge and experience so it’s typically not taught until later to prevent even more confusion.

      For example this: 6 / 2 * 3 can also be rewritten as 6 * 2⁻¹ * 3 and because multiplication is commutative you can now do it in any order for example like 3 * 6 * 2⁻¹

      You can also “rearrange” the order without changing the meaning if you move the correct operation (left to the number) with it (should only be done with explicit multiplication)

      6 / 2 * 3 into 6 * 3 / 2 (note that I moved the division with the 2)

      You can even bring the two to the front. Just remember that left to the six is an “imaginary” (don’t quote me ^^) multiplication. And because we can’t just move “/2” to the beginning we have to insert a one (empty product - check Wikipedia) like so:

      1 / 2 * 6 * 3

      This also works for addition and subtraction

      7 + 8 - 5

      You can move them around if you take the operation left to the number with it. With addition the “imaginary” operation at the beginning is a plus sign and the implicit number you use is zero (empty sum - check Wikipedia)

      8 - 5 + 7

      or like this

      0 - 5 + 8 + 7

      because with negative numbers you can use the minus sign to indicate negative numbers you can even drop the leading zero like this

      -5 + 8 + 7

      That’s not really possible with multiplication because “/2” is not a valid notation for “1/2”

      • MBM@lemmings.world
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        6 / 2 * 3

        Semi-related: something in me wants to read that as 6 / (2*3), because 6 * 3 / 2 feels like a much more ‘natural’ way to write it

        • Semi-related: something in me wants to read that as 6 / (2*3)

          100% related actually, since that’s the actual next line of working out. i.e. you cannot remove brackets unless there is only 1 term left inside, a mistake which those who have prematurely removed brackets have made and ended up with the wrong answer (because it flips the 3 from being in the denominator to being in the numerator).

      • 6 / 2 * 3 into 6 * 3 / 2 (note that I moved the division with the 2)

        And note that it doesn’t work if the multiply was an addition. e.g. 6/2+3=6 but 6+3/2=7.5. Multiplication and division are both binary operators, and you can’t move them around unless you also move the term to the left with it. i.e. 6/2+3=6. 3+6/2=6.

        Just remember that left to the six is an “imaginary” (don’t quote me ^^) multiplication

        No, to the left of the 6 is an actual plus sign, but we don’t write plus signs if it’s at the start of an expression. +6 and x6 aren’t the same thing at all (and, since x is a binary operator, you couldn’t write just x6 anyway - there would have to be a term to it’s left). No expression ever starts with x6.

        That’s not really possible with multiplication because “/2” is not a valid notation for “1/2”

        It’s not a valid notation for multiplication either - both multiplication and division are binary operators and must be written with 2 terms.

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

    Having read your article, I contend it should be:
    P(arentheses)
    E(xponents)
    M(ultiplication)D(ivision)
    A(ddition)S(ubtraction)
    and strong juxtaposition should be thrown out the window.

    Why? Well, to be clear, I would prefer one of them die so we can get past this argument that pops up every few years so weak or strong doesn’t matter much to me, and I think weak juxtaposition is more easily taught and more easily supported by PEMDAS. I’m not saying it receives direct support, but rather the lack of instruction has us fall back on what we know as an overarching rule (multiplication and division are equal). Strong juxtaposition has an additional ruling to PEMDAS that specifies this specific case, whereas weak juxtaposition doesn’t need an additional ruling (and I would argue anyone who says otherwise isn’t logically extrapolating from the PEMDAS ruleset). I don’t think the sides are as equal as people pose.

    To note, yes, PEMDAS is a teaching tool and yes there are obviously other ways of thinking of math. But do those matter? The mathematical system we currently use will work for any usecase it does currently regardless of the juxtaposition we pick, brackets/parentheses (as well as better ordering of operations when writing them down) can pick up any slack. Weak juxtaposition provides better benefits because it has less rules (and is thusly simpler).

    But again, I really don’t care. Just let one die. Kill it, if you have to.

  • vithigar@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    What’s especially wild to me is that even the position of “it’s ambiguous” gets almost as much pushback as trying to argue that one of them is universally correct.

    Last time this came up it was my position that it was ambiguous and needed clarification and had someone accuse me of taking a prescriptive stance and imposing rules contrary to how things were actually being done. How asking a person what they mean or seeking clarification could possibly be prescriptive is beyond me.

    Bonus points, the guy telling me I was being prescriptive was arguing vehemently that implicit multiplication having precedence was correct and to do otherwise was wrong, full stop.

    • Socsa@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      Without any additional parentheses, the division sign is assumed to separate numerators and denominators within a complete expression, in which case you would reduce each separately. It’s very, very marginally ambiguous at best.

    • What’s especially wild to me is that even the position of “it’s ambiguous” gets almost as much pushback as trying to argue that one of them is universally correct.

      That’s because following the rules of Maths is universally correct.

      arguing vehemently that implicit multiplication having precedence was correct and to do otherwise was wrong, full stop

      He was using the wrong words, but he was correct - the actual rules are The Distributive Law and Terms (“implicit multiplication” is a rule made up by those who have forgotten these 2 rules).

    • Ook the Librarian@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      When I went to college, I was given a reverse Polish notation calculator. I think there is some (albeit small) advantage of becoming fluent in both PEMDAS and RPN to see the arbitrariness. This kind of arguement is like trying to argue linguistics in a single language.

      Btw, I’m not claiming that RPN has any bearing on the meme at hand. Just that there are different standards.

      This comment is left by the HP50g crew.

      • ryathal@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        It would be better if we just taught math with prefix or postfix notation, as it removes the ambiguity.

        • Ook the Librarian@lemmy.world
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          edit-2
          11 months ago

          Ambiguity is fine. It would tedious to the point of distraction to enforce writing math without ambiguity. You make note of conventions and you are meant to realize that is just a convention. I’m amazed at the people who are planting their feet to fight for something that what they were taught in third grade as if the world stopped there.

          You’re right though. We should definitely teach different conventions. But then what would facebook do for engagement?

    • wischi@programming.devOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      11 months ago

      👍 That was actually one of the reasons why I wrote this blog post. I wanted to compile a list of points that show as clear as humanity possible that there is no consensus here, even amongst experts.

      That probably won’t convince everybody but if that won’t probably nothing will.

      • I wanted to compile a list of points that show as clear as humanity possible that there is no consensus here, even amongst experts

        And I wrote a bunch of fact checks pointing out there is consensus amongst the actual experts - high school Maths teachers and textbook authors, the 2 groups who you completely ignored in your blog post.

  • Kogasa@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    11 months ago

    It’s not ambiguous, it’s just that correctly parsing the expression requires more precise application of the order of operations than is typical. It’s unclear, sure. Implicit multiplication having higher precedence is intuitive, sure, but not part of the standard as-written order of operations.

    • wischi@programming.devOP
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      I’d really like to know if and how your view on that matter would change once you read the full post. I know it’s very long and a lot of people won’t read it because they “already know” the answer but I’m pretty sure it would shift your perception at least a bit if you find the time to read it.

      • Kogasa@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        My opinion hasn’t changed. The standard order of operations is as well defined as a notational convention can be. It’s not necessarily followed strictly in practice, but it’s easier to view such examples as normal deviation from the rules instead of an implicit disagreement about the rules themselves. For example, I know how to “properly” capitalize my sentences too, and I intentionally do it “wrong” all the time. To an outsider claiming my capitalization is incorrect, I don’t say “I am using a different standard,” I just say “Yes, I know, I don’t care.” This is simpler because it accepts the common knowledge of the “normal” rules and communicates a specific intent to deviate. The alternative is to try to invent a new set of ad hoc rules that justify my side, and explain why these rules are equally valid to the ones we both know and understand.

  • TimeSquirrel@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    My TI-84 Plus is my holy oracle, I will go with whatever it says.

    And then get distracted and play some Doom.

  • youngalfred@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    11 months ago

    Typo in article:

    If you are however willing to except the possibility that you are wrong.

    Except should be ‘accept’.

    Not trying to be annoying, but I know people will often find that as a reason to disregard academic arguments.

  • Tartas1995@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    11 months ago

    I feel like if a blog post presents 2 options and labels one as the “scientific” one… And it is a deserved Label. Then there is probably a easy case to be made that we should teach children how to understand scientific papers and solve the equation in it themselves.

    Honestly I feel like it reads better too but that is just me

    • wischi@programming.devOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      11 months ago

      I’m not sure if I’d call it the “scientific” one. I’d actually say that the weak juxtaposition is just the simple one schools use because they don’t want to confuse everyone. Scientist actually use both and make sure to prevent ambiguity. IMHO the main takeaway is that there is no consensus and one has to be careful to not write ambiguous expressions.

      • Tartas1995@discuss.tchncs.de
        link
        fedilink
        arrow-up
        0
        ·
        11 months ago

        I mean the blog post says

        “If you are a student at university, a scientist, engineer, or mathematician you should really try to ask the original author what they meant because strong juxtaposition is pretty common in academic circles, especially if variables are involved like in $a/bc$ instead of numbers.”

        It doesn’t say scientific but…

        • atomicorange@lemmy.world
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          11 months ago

          I’m a scientist and I’ve only ever encountered strong juxtaposition in quick scribbles where everyone knows the equation already. Normally we’re very careful to use fraction notation (or parentheses) when there’s any possibility of ambiguity. I read the equation and was shocked that anyone would get an answer other than 9.

          • I read the equation and was shocked that anyone would get an answer other than 9

            As a Maths teacher, I’m shocked whenever anyone ever gets an answer other than 1. I’m not sure how you came up with 9 when you previously said you’ve only ever seen strong juxtaposition? You can only get 9 with so-called “weak juxtaposition” (which is wrong).

          • Tartas1995@discuss.tchncs.de
            link
            fedilink
            arrow-up
            0
            ·
            11 months ago

            My comment was directed to the blog post and the claims contained in it.

            The blog post claims it is popular in academy, if that is a deserved label, then I don’t understand how the author of the post lands on “there is no good or bad way, they are all valid”. I am in favor of strong juxtaposition but that is not the case that I am making here. Sorry for the confusion.

              • Tartas1995@discuss.tchncs.de
                link
                fedilink
                arrow-up
                1
                ·
                8 months ago

                So I shouldn’t use text written by the author to understand the pov of the author and critic his pov because it is “only” a blog post, noted.

                • Not sure how you came up with that conclusion. I never said anything about it being “just a blog post”.

                  You said…

                  I don’t understand how the author of the post lands on “there is no good or bad way, they are all valid”

                  And I’m pointing out he arrived at that by ignoring what’s taught in high school, which is where it’s taught (not in academia). It’s like saying “It’s ambiguous if there’s such a thing as rain” if you present weather evidence which has omitted every single rainy day that has happened. i.e. cherry-picking. Every single blog which says it’s ambiguous has done the exact same thing. You can find what actually is taught in high school here

      • I’d actually say that the weak juxtaposition is just the simple one schools use

        Schools don’t teach “weak juxtaposition” - they teach the actual rules of Maths! As per what’s in Maths textbooks. It’s adults who’ve forgotten the rules who make up the “weak juxtaposition” rule. See Lennes.

  • ParsnipWitch@feddit.de
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    11 months ago

    Build two cases, calculate for both, drag both case through the entirety of both problems, get two answers, make a case for both answers, end up with two hypothesis. Easy!

  • Zerush@lemmy.ml
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    11 months ago

    It’s not ambiguos nor an communication problem, it’s basic Math