The calculator section is actually pretty important, because it shows how there is no consensus. Sharp is especially interesting with respect to your comment because all scientific Sharp calculators say it’s 1. For all the other brands for hardware calculators there are roughly 50:50 with saying 1 and 9.
So I’m not sure if you are suggesting that thousands of experts and hundreds of engineers at Casio, Texas Instruments, HP and Sharp got it wrong and you got it right?
There really is no agreed upon standard even amongst experts.
You are right the manual isn’t very clear here. My guess is that parentheses are also considered Type B functions. I actually chose those calculators because I have them here and can test things and because they split the implicit multiplication priority. Most other calculators just state “implicit multiplication” and that’s it.
My guess is that the list of Type B functions is not complete but implicit multiplication with parentheses should be considered important enough for it to be documented.
Certainly! The expression 6/2(1+2) is ambiguous due to the implicit multiplication. Let’s solve it in both ways:
Implicit multiplication with higher priority:
[ \frac{6}{2}(1+2) ]
First, solve the parentheses:
[ \frac{6}{2}(3) ]
Now, perform the division:
[ 3 \times 3 = 9 ]
Implicit multiplication with the same priority as division:
[ \frac{6}{2(1+2)} ]
Again, solve the parentheses:
[ \frac{6}{2(3)} ]
Now, perform the multiplication first:
[ \frac{6}{6} = 1 ]
So, depending on the interpretation of implicit multiplication, you can get different results: 9 or 1.
I think it’s funny that ChatGPT figured out 1 and 9 but has the steps completely backwards. First it points out what has high priority and then does the exact opposite, both times 🤣
@Prunebutt meant 4.5! and not 4.5. Because it’s not an integer we have to use the gamma function, the extension of the factorial function to get the actual mean between 1 and 9 => 4.5! = 52.3428 which looks about right 🤣
“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”
I’m not sure if you read the post yet but I also have a short section about alternative notations which are less ambiguous or never ambiguous. RPN has the same issue as most notations that are never ambiguous namely that it’s hard to read - especially for big expressions.
Just saw the image you posted and it’s awesome :-) I’m part of the group that can’t solve it, because I don’t know the 🌭 function from the top of my head. I also found the choice of symbols interesting that 🌭 is analytical continuation of 🍔 and not the other way round 🤣
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.
❤️ True, but I think one of the biggest problems is that it’s pretty long and because you can’t really sense how good/bad/convining the text is it’s always a gamble for everybody if it’s worth reading something for 30min just to find out that the content is garbage.
I hope I did a decent job in explaining the issue(s) but I’m definitely not mad if someone decides that they are not going to read the post and still comment about it.
The problem with BODMAS is that everybody is taught to remember “BODMAS” instead of “BO-DM-AS” or “BO(DM)(AS)”. If you can’t remember the order of operations by heart you won’t remember that “DM” and “AS” are the same priority, that’s why I suggested dropping “division” and “subtraction” entirely from the mnemonic.
It’s true that calculators also don’t dictate a standard but they implement what conventions are typically used in practice. If a convention would be so dominating (let’s say 95% vs 5%) all calculator manufacturers would just follow the 95% convention, except maybe for some very special-purpose calculators.
Thank you so much for taking the time and reading the post. I just fixed the typos, many thanks for pointing them out.
There is nothing really to be embarrassed about and if you look at the comment sections of such viral math posts you can see that you are certainly not the only one. I think that mnemonics that use “MD” and “AS” without grouping like in “PE(MD)(AS)” are really to blame here.
An alternative would be to drop the inverse and only use say multiplication and addition as I suggested with “PEMA” but with “PEMDAS” one basically sets up students for the problem that they think that multiplication comes before division.
Same priority operations are solved from left to right. There is not a single credible calculator that would evaluate “6 / 2 * 3” to anything else but 9.
But I challenge you to show me a calculator that says otherwise. In the blog are about 2 or 3 dozend calculators referenced by name all of them say the same thing. Instead of a calculator you can also name a single expert in the field who would say that 6 / 2 * 3 is anything but 9.
Your example with the absolute values is actually linked in the “Even more ambiguous math notations” section.
Geogebra has indeed found a good solution but it only works if you input field supports fractions and a lot of calculators (even CAS like WolframAlpha) don’t support that.
Regarding your first part in general true, but in this case the sheer amount of calculators for both conventions show that this is indeed intended behavior.
Regarding your second point I tried to address that in the “distributive property” section, maybe I need to rewrite it a bit to be more clear.
They forgot about Rankine (sh.itjust.works)
I've been robbed! (startrek.website)
6÷2(1+2) (programming.dev)
zeta.one/viral-math/...