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.
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.
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.
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)
My years out of school has made me forget about how division notation is actually supposed to work and how genuinely useless the ÷ and / symbols are outside the most basic two-number problems. And it’s entirely me being dumb because I’ve already written problems as 6÷(2(1+2)) to account for it before. Me brain dun work right ;~;
While I agree the problem as written is ambiguous and should be written with explicit operators, I have 1 argument to make. In pretty much every other field if we have a question the answer pretty much always ends up being something along the lines of “well the experts do this” or “this professor at this prestigious university says this”, or “the scientific community says”. The fact that this article even states that academic circles and “scientific” calculators use strong juxtaposition, while basic education and basic calculators use weak juxtaposition is interesting. Why do we treat math differently than pretty much every other field? Shouldn’t strong juxtaposition be the precedent and the norm then just how the scientific community sets precedents for literally every other field? We should start saying weak juxtaposition is wrong and just settle on one.
I tried to be careful to not suggest that scientist only use strong juxtaposition. They use both but are typically very careful to not write ambiguous stuff and practically never write implicit multiplications between numbers because they just simplify it.
At this point it’s probably to late to really fix it and the only viable option is to be aware why and how this ambiguous and not write it that way.
As stated in the “even more ambiguous math notations” it’s far from the only ambiguous situation and it’s practically impossible (and not really necessary) to fix.
Scientist and engineers also know the issue and navigate around it. It’s really a non-issue for experts and the problem is only how and what the general population is taught.
Yeah. I don’t know if the ‘follow’ piece does anything useful for anyone.
But as a professional developer, I have found that my GitHub account now prevents me from getting asked FizzBuzz at interviews. So whichever bit is causing that nonsense to stop, I hope they keep.
The full story is actually more nuanced than most people think, but the post is actually very long (about 30min) so thank you in advance if you really find the time to read it.
Forgot the algebra using fruit emoji or whatever the fuck.
Bonus points for the stuff where suddenly one of the symbols has changed and it's "supposedly" 1/2 or 2/3 etc. of a banana now, without that symbol having been defined.
This is not a math problem but a calculator engineering problem. Some solve the sub operations from right to left while other do it from left to right.
It’s not really a calculator engineering problem. If you don’t have time to read the entire blog you should definitely check out the section “But my calculator says…”. It’s actually about order of operations regarding implicit multiplication.
programming.dev
Active