lol, math is literally the only subject that has rules set in stone. This example is specifically made to cause confusion. Division has the same priority as multiplication. You go from left to right. problem here is the fact that you see divison in fraction form way more commonly. A fraction could be writen up as (x)/(y) not x/y (assuming x and y are multiple steps). Plain and simple.
The fact that some calculator get it wrong means that the calculator is wrongly configured. The fact that some people argue that you do () first and then do what’s outside it means that said people are dumb.
They managed to get me once too, by everyone spreading missinformation so confidently. Don’t even trust me, look up the facts for yourself. And realise that your comment is just as incorrect as everyone who said the answer is 1. (uhm well they don’t agree on 0^0, but that’s kind of a paradox)
If we had 1/2x, would you interpret that as 0.5x, or 1/(2x)?
Because I can guarantee you almost any mathematician or physicist would assume the latter. But the argument you’re making here is that it should be 0.5x.
It’s called implicit multiplication or “multiplication indicated by juxtaposition”, and it binds more tightly than explicit multiplication or division. The American Mathematical Society and American Physical Society both agree on this.
BIDMAS, or rather the idea that BIDMAS is the be-all end-all of order of operations, is what’s known as a “lie-to-children”. It’s an oversimplification that’s useful at a certain level of understanding, but becomes wrong as you get more advanced. It’s like how your year 5 teacher might have said “you can’t take the square root of a negative number”.
I will happily point out that Wolfram Alpha does this wrong. So do TI calculators, but not Casio or Sharp.
Go to any mathematics professor and give them a problem that includes 1/2x and ask them to solve it. Don’t make it clear that merely asking “how do you parse 1/2x?” is your intent, because in all likelihood they’ll just tell you it’s ambiguous and be done with it. But if it’s written as part of a problem and they don’t notice your true intent, you can guarantee they will take it as 1/(2x).
According to Casio, they do juxtaposition first because that’s what most teachers around the world want. There was a period where their calculators didn’t do juxtaposition first, something they changed to because North American teachers were telling them they should, but the outcry front the rest of the world was enough for them to change it back. And regardless of what teachers are doing, even in America, professors of mathematics are doing juxtaposition first.
I think this problem may ultimately stem from the very strict rote learning approach used by the American education system, where developing a deeper understanding of what’s going on seems to be discouraged in favour of memorising facts like “BIDMAS”.
To be clear, I’m not saying 1/2x being 1/(2x) rather than 0.5x is wrong. But it’s not right either. I’m just pretty firmly in the “inline formulae are ambiguous” camp. Whichever rule you pick, try to apply it consistently, but use some other notation or parenthesis when you want to be clearly understood.
The very fact that this conversation even happens is proof enough that the ambiguity exists. You can be prescriptive about which rules are the correct ones all you like, but that’s not going to stop people from misunderstanding. If your goal is to communicate clearly, then you use a more explicit notation.
Even Wolfram Alpha makes a point of restating your input to show how it’s being interpreted, and renders “1/2x” as something more like
Even Wolfram Alpha makes a point of restating your input to show how it’s being interpreted
This is definitely the best thing to do. It’s what Casio calculators do, according to those videos I linked.
My main point is that even though there is theoretically an ambiguity there, the way it would be interpreted in the real world, by mathematicians working by hand (when presented in a way that people aren’t specifically on the lookout for a “trick”) would be overwhelmingly in favour of juxtaposition being evaluated before division. Maybe I’m wrong, but the examples given in those videos certainly seem to point towards the idea that people performing maths at a high level don’t even think twice about it.
And while there is a theoretical ambiguity, I think any tool which is operating counter to how actual mathematicians would interpret a problem is doing the wrong thing. Sort of like a dictionary which decides to take an opinionated stance and say “people are using the word wrong, so we won’t include that definition”. Linguists would tell you the job of a dictionary should be to describe how the word is used, not rigidly stick to some theoretical ideal. I think calculators and tools like Wolfram Alpha should do the same with maths.
Linguists would tell you the job of a dictionary should be to describe how the word is used, not rigidly stick to some theoretical ideal. I think calculators and tools like Wolfram Alpha should do the same with maths.
You’re literally arguing that what you consider the ideal should be rigidly adhered to, though.
“How mathematicians do it is correct” is a fine enough sentiment, but conveniently ignores that mathematicians do, in fact, work at WolframAlpha, and many other places that likely do it “wrong”.
The examples in the video showing inline formulae that use implicit priority have two things in common that make their usage unambiguous.
First, they all are either restating, or are derived from, formulae earlier in the page that are notated unambiguously, meaning that in context there is a single correct interpretation of any ambiguity.
Second, being a published paper it has to adhere to the style guide of whatever body its published under, and as pointed out in that video, the American Mathematical Society’s style guide specifies implicit priority, making it unambiguous in any of their published works. The author’s preference is irrelevant.
Also, if it’s universally correct and there was no ambiguity in its use among mathematicians, why specify it in the style guide at all?
Mathematicians know wolfram is wrong and it was warned in my maths degree that you should “over bracket” in WA to make yourself understood. They tried hard to make it look like handwritten notation because reading maths from a word processor is typically tough and that creates the odd edge case like this.
1/2x does not equal 0.5x or it’d be written x/2 and I challenge you to find a mathematician who would argue differently. There’s no ambiguity and claiming there is because anyone anywhere is having this debate is like claiming the world isn’t definitely round because some people argue its flat.
Off topic, but the rules of math are not set in stone. We didn’t start with ZFC, some people reject the C entirely, then there is intuitionistic logic which I used to laugh at until I learned about proof assistants and type theory. And then there are people who claim we should treat the natural numbers as a finite set, because things we can’t compute don’t matter anyways.
On topic: Parsing notation is not a math problem and if your notation is ambiguous or unclear to your audience try to fix it.
lol, math is literally the only subject that has rules set in stone. This example is specifically made to cause confusion. Division has the same priority as multiplication. You go from left to right. problem here is the fact that you see divison in fraction form way more commonly. A fraction could be writen up as (x)/(y) not x/y (assuming x and y are multiple steps). Plain and simple.
The fact that some calculator get it wrong means that the calculator is wrongly configured. The fact that some people argue that you do () first and then do what’s outside it means that said people are dumb.
They managed to get me once too, by everyone spreading missinformation so confidently. Don’t even trust me, look up the facts for yourself. And realise that your comment is just as incorrect as everyone who said the answer is 1. (uhm well they don’t agree on 0^0, but that’s kind of a paradox)
If we had 1/2x, would you interpret that as 0.5x, or 1/(2x)?
Because I can guarantee you almost any mathematician or physicist would assume the latter. But the argument you’re making here is that it should be 0.5x.
It’s called implicit multiplication or “multiplication indicated by juxtaposition”, and it binds more tightly than explicit multiplication or division. The American Mathematical Society and American Physical Society both agree on this.
BIDMAS, or rather the idea that BIDMAS is the be-all end-all of order of operations, is what’s known as a “lie-to-children”. It’s an oversimplification that’s useful at a certain level of understanding, but becomes wrong as you get more advanced. It’s like how your year 5 teacher might have said “you can’t take the square root of a negative number”.
An actual mathematician or physicist would probably ask you to clarify because they don’t typically write division inline like that.
That said, Wolfram-Alpha interprets “1/2x” as 0.5x. But if you want to argue that Wolfram-Alpha’s equation parser is wrong go ahead.
https://www.wolframalpha.com/input?i=1%2F2x
I will happily point out that Wolfram Alpha does this wrong. So do TI calculators, but not Casio or Sharp.
Go to any mathematics professor and give them a problem that includes 1/2x and ask them to solve it. Don’t make it clear that merely asking “how do you parse 1/2x?” is your intent, because in all likelihood they’ll just tell you it’s ambiguous and be done with it. But if it’s written as part of a problem and they don’t notice your true intent, you can guarantee they will take it as 1/(2x).
Famed physicist Richard Feynman uses this convention in his work.
In fact, even around the time that BIDMAS was being standardised, the writing being done doing that standardisation would frequently use juxtaposition at a higher priority than division, without ever actually telling the reader that’s what they were doing. It indicates that at the time, they perhaps thought it so obvious that juxtaposition should be performed first that it didn’t even need to be explained (or didn’t even occur to them that they could explain it).
According to Casio, they do juxtaposition first because that’s what most teachers around the world want. There was a period where their calculators didn’t do juxtaposition first, something they changed to because North American teachers were telling them they should, but the outcry front the rest of the world was enough for them to change it back. And regardless of what teachers are doing, even in America, professors of mathematics are doing juxtaposition first.
I think this problem may ultimately stem from the very strict rote learning approach used by the American education system, where developing a deeper understanding of what’s going on seems to be discouraged in favour of memorising facts like “BIDMAS”.
To be clear, I’m not saying 1/2x being 1/(2x) rather than 0.5x is wrong. But it’s not right either. I’m just pretty firmly in the “inline formulae are ambiguous” camp. Whichever rule you pick, try to apply it consistently, but use some other notation or parenthesis when you want to be clearly understood.
The very fact that this conversation even happens is proof enough that the ambiguity exists. You can be prescriptive about which rules are the correct ones all you like, but that’s not going to stop people from misunderstanding. If your goal is to communicate clearly, then you use a more explicit notation.
Even Wolfram Alpha makes a point of restating your input to show how it’s being interpreted, and renders “1/2x” as something more like
1 - x 2
to make very clear what it’s doing.
This is definitely the best thing to do. It’s what Casio calculators do, according to those videos I linked.
My main point is that even though there is theoretically an ambiguity there, the way it would be interpreted in the real world, by mathematicians working by hand (when presented in a way that people aren’t specifically on the lookout for a “trick”) would be overwhelmingly in favour of juxtaposition being evaluated before division. Maybe I’m wrong, but the examples given in those videos certainly seem to point towards the idea that people performing maths at a high level don’t even think twice about it.
And while there is a theoretical ambiguity, I think any tool which is operating counter to how actual mathematicians would interpret a problem is doing the wrong thing. Sort of like a dictionary which decides to take an opinionated stance and say “people are using the word wrong, so we won’t include that definition”. Linguists would tell you the job of a dictionary should be to describe how the word is used, not rigidly stick to some theoretical ideal. I think calculators and tools like Wolfram Alpha should do the same with maths.
You’re literally arguing that what you consider the ideal should be rigidly adhered to, though.
“How mathematicians do it is correct” is a fine enough sentiment, but conveniently ignores that mathematicians do, in fact, work at WolframAlpha, and many other places that likely do it “wrong”.
The examples in the video showing inline formulae that use implicit priority have two things in common that make their usage unambiguous.
First, they all are either restating, or are derived from, formulae earlier in the page that are notated unambiguously, meaning that in context there is a single correct interpretation of any ambiguity.
Second, being a published paper it has to adhere to the style guide of whatever body its published under, and as pointed out in that video, the American Mathematical Society’s style guide specifies implicit priority, making it unambiguous in any of their published works. The author’s preference is irrelevant.
Also, if it’s universally correct and there was no ambiguity in its use among mathematicians, why specify it in the style guide at all?
Mathematicians know wolfram is wrong and it was warned in my maths degree that you should “over bracket” in WA to make yourself understood. They tried hard to make it look like handwritten notation because reading maths from a word processor is typically tough and that creates the odd edge case like this.
1/2x does not equal 0.5x or it’d be written x/2 and I challenge you to find a mathematician who would argue differently. There’s no ambiguity and claiming there is because anyone anywhere is having this debate is like claiming the world isn’t definitely round because some people argue its flat.
Sometimes people are wrong.
Here is an alternative Piped link(s):
Famed physicist Richard Feynman uses this convention in his work.
the writing being done doing that standardisation would frequently use juxtaposition at a higher priority than division
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I’m open-source; check me out at GitHub.
go past past high school and this isn’t remotely true
there are areas of study where 1+1=1
…given specific axioms. No rules are being broken.
but which axioms you decide are in use is an arbitrary choice
In modular arithmetic you can make 1+1=0 but I’m struggling to think of a situation where 1+1=1 without redefining the + and = functions.
Not saying you’re wrong, but do you have an example? I’d be interested to see
Off topic, but the rules of math are not set in stone. We didn’t start with ZFC, some people reject the C entirely, then there is intuitionistic logic which I used to laugh at until I learned about proof assistants and type theory. And then there are people who claim we should treat the natural numbers as a finite set, because things we can’t compute don’t matter anyways.
On topic: Parsing notation is not a math problem and if your notation is ambiguous or unclear to your audience try to fix it.