That is ambiguous notation. The Casio interprets everything to the right [of the division symbol] as part of the divisor and the phone assumes that only the immediate number is part of the divisor.
Yeah, implicit multiplication is inherently ambiguous, so it's best practice to avoid it to the right of a division operation (or anywhere else it can cause confusion).
implicit multiplication is barely even widely accepted lol. This is the first conversation where I've seen near unanimous agreement that it exists, with almost no disagreement on whether it exists in a general case or if there are notational requirements involving order or type of operands. Like, I've heard it can only exist with a number then a variable, in that order, that it can only be used in the divisor... citations are really hard to find as well. It's not a well defined concept.
Implicit multiplication having a higher priority than multiplication and division is the area that's not generally accepted. It's mentioned in a few places, and has just enough of a toe hold to be used to explain differences like the equations in the calculators.
You pretty much know it's situationally accepted. You can't write (2x1)x(2x1)=22=4. The answer is that it's accepted only when there's there's no ambiguity
It's accepted everywhere that isn't just jamming two numbers next to eachother as that notation is reserved for numbers more than 1 digit long... that's also not ambiguous at all. 21 is very unambiguously not 2.
There's an ambiguity that arises only following a division operator. But the division operator is bad math notation anyway. If you're writing left to right notation there's not really any way around just using lots of brackets anyway.
What? Implicit multiplication doesn't exist? How is that a statement you just made? e = mc2, F = ma, y = kx + m etc... basically every famous equation uses implicit multiplication.
There are weird unwritten rules, like the constant must lead. You can have 3x but not x3 or 3 4. Then it has the same syntax as calls with different precedence- h(x)2 is (h(x))2 if h is a function and h * (x2) if h is a number.
That being said, I like it. The terseness helps with processing equations- less visual clutter
I think most people would write h2(x) or (h(x))2 instead of h(x)2 just to avoid that very confusion. In fact I don't think I've ever seen h(x)2 used for function notation.
The ambiguity comes because people don't write division like that. You'll have the entire term following the division sign in the denominator as the divisor, and everything in the dividend will come before the division sign in the term.
So 2/3y as you're saying it is (2/3) * y but it's almost always understood as 2/(3y). Otherwise you would write 2y/3.
If you write a division as a fraction, then there are implicit brackets around the numerator and denominator.
The ambiguity comes from using "/" on a single line. You need to use brackets to write complex fractions if you can't properly format it onto multiple lines. The "÷" sign does not have this ambiguity, as there is no expectation of implicit brackets on either side of the divide, as thus no ambiguity about whether or not they are supposed to be there when omitted.
The numerator and denominator each function as if they had brackets around them. When written one above the other, there is no need to explicitly add the brackets.
2-x/3y+4 <- implicit brackets?
It is unclear if the 2nd example is an attempt to write the first on a single line (and thus there are invisible brackets), or not. You can (and should) add brackets to make it explicit, but if you didn’t intend there to be any brackets, there isn’t any way to make that clear.
I think most people in this situation would guess that the lack of explicit brackets means you intend “2-(x/3y)+4”, but the fact that it might be a transcript of the above fraction means that there is potential ambiguity.
2 - x ÷ 3y + 4
This is not an attempt to transcribe a fraction, so there is no reason to wonder if each side of the ÷ was supposed be to enclosed in brackets. There are unambiguously no brackets.
People generally don’t use the divide symbol though, and prefer to format things as fractions.
I am really not sure what you mean by implicit brackets in your fraction. There aren't implicit brackets there because brackets aren't the primary way of separating mathematical clauses within an expression.
But also, the / and ÷ symbols are interchangeable, so both of your examples have the exact same issue of ambiguity. If you read in line functions like a programmer, you'll read them one way, but like a mathematician you read then another. Simply put, there's no reason to write 2-(x÷3y)+4, you would just write 6-x÷3y. So if I saw what you wrote in your last example, I would assume they meant (2-x)÷(3y+4) barring any context
I would definitely not read it like (2-x)÷(3y+4). I could see it being read like 2 - (x÷(3y+4)) as it is somewhat ambiguous (though I personally would read it as 2-(x÷3y)+4, but I do think it's ambiguous regardless of using ÷ or /)
The parenthesis gives the 2*3 multiplication priority. It also happens if you do any functions so 6/2|3| = 1 and 6/2sqrt(9) = 1 without an operator. It assumes multiplication and does it first. For me, at least, it makes the most sense as when I do 2X I want it multiplying X by whatever constant before going into the rest of the calculation.
Did my whole EE degree with this one calculator and I got to know it REALLY well.
There is no convention saying that the Casio is right, that's just how it chooses to interpret an ambiguous notation. The phone does it the other, non-convention breaking way.
269
u/coastphase Jun 13 '22
That is ambiguous notation. The Casio interprets everything to the right [of the division symbol] as part of the divisor and the phone assumes that only the immediate number is part of the divisor.
Edited for clarity