In some countries we're taught to treat implicit multiplications as a block, as if it was surrounded by parenthesis. Not sure what exactly this convention is called, but afaic this shit was never ambiguous here. It is a convention thing, there is no right or wrong as the convention needs to be given first. It is like arguing the spelling of color vs colour.
This is exactly right. It's not a law of maths in the way that 1+1=2 is a law. It's a convention of notation.
The vast majority of the time, mathematicians use implicit multiplication (aka multiplication indicated by juxtaposition) at a higher priority than division. This makes sense when you consider something like 1/2x. It's an extremely common thing to want to write, and it would be a pain in the arse to have to write brackets there every single time. So 1/2x is universally interpreted as 1/(2x), and not (1/2)x, which would be x/2.
The same logic is what's used here when people arrive at an answer of 1.
If you were to survey a bunch of mathematicians—and I mean people doing academic research in maths, not primary school teachers—you would find the vast majority of them would get to 1. However, you would first have to give a way to do that survey such that they don't realise the reason they're being surveyed, because if they realise it's over a question like this they'll probably end up saying "it's deliberately ambiguous in an attempt to start arguments".
So are you suggesting that Richard Feynman didn't "deal with maths a lot", then? Because there definitely exist examples where he worked within the limitations of the medium he was writing in (namely: writing in places where using bar fractions was not an option) and used juxtaposition for multiplication bound more tightly than division.
Here's another example, from an advanced mathematics textbook:
Both show the use of juxtaposition taking precedence over division.
I should note that these screenshots are both taken from this video where you can see them with greater context and discussion on the subject.
Yep with pen and paper you always write fractions as actual fractions to not confuse yourself, never a division in sight, while with papers you have a page limit to observe. Length of the bars disambiguates precedence which is important because division is not associative; a/(b/c) /= (a/b)/c. "calculate from left to right" type of rules are awkward because they prevent you from arranging stuff freely for readability. None of what he writes there has more than one division in it, chances are that if you see two divisions anywhere in his work he's using fractional notation.
Multiplication by juxtaposition not binding tightest is something I have only ever heard from Americans citing strange abbreviations as if they were mathematical laws. We were never taught any such procedural stuff in school: If you understand the underlying laws you know what you can do with an expression and what not, it's the difference between teaching calculation and teaching algebra.
The claim "Division and fractions are semantically distinct" implies that they are provably distinct functions, we can use the usual set-theoretic definition of those. Distinctness of functions implies the presence of pair n, m, elements of an appropriate set, say, the natural numbers without zero for convenience, such that (excuse my Haskell) div n m /= fract n m, where /= is the appropriate inequality of the result set (the rational numbers, in this example, which happens to be decidable which is also convenient).
Can you give me such a pair of numbers? We can start to enumerate the problem. Does div 1 1 /= fract 1 1 hold? No, the results are equal, both are 1. How about div 1 2 /= fract 1 2? Neither, the results are both the same rational number. I leave exploring the rest of the possibilities as an exercise and apologise for the smugness.
You need to take it seriously for longer than that.
implies that they are provably distinct functions
No, I'm explicitly stating they are.
we can use the usual set-theoretic definition
This is literally Year 7 Maths - I don't know why some people want to resort to set theory.
Can you give me such a pair of numbers?
But that's the problem with your example - you only tried it with 2 numbers. Now throw in another division, like in that other Year 7 topic, dividing by fractions.
1÷1÷2=½ (must be done left to right)
1÷½=2
In other words 1÷½=1÷(1÷2) but not 1÷1÷2. i.e. ½=(1÷2) not 1÷2. Terms are separated by operators (division in this case) and joined by grouping symbols (brackets, fraction bar), and you can't remove brackets unless there is only 1 term left inside, so if you have (1÷2), you can't remove the brackets yet if there's still some of the expression it's in left to be solved (or if it's the last set of brackets left to be solved, then you could change it to ½, because ½=(1÷2)).
Therefore, as I said, division and fractions aren't the same thing.
denotes it with “/” likely to make sure you treat it as a fraction
It's not the slash which makes it a fraction - in fact that is interpreted as division - but the fact that there is no space between the 2 and the square root - that makes it a single term (therefore we are dividing by the whole term). Terms are separated by operators (2 and the square root NOT separated by anything) and joined by grouping symbols (brackets, fraction bars).
So 1/2x is universally interpreted as 1/(2x), and not (1/2)x, which would be x/2.
Sorry but both my phone calculator and TI-84 calculate 1/2X to be the same thing as X/2. It's simply evaluating the equation left to right since multiplication and division have equal priorities.
X = 5
Y = 1/2X => (1/2) * X => X/2
Y = 2.5
If you want to see Y = 0.1 you must explicitly add parentheses around the 2X.
Before this thread I have never heard of implicit operations having higher priority than explicit operations, which honestly sounds like 100% bogus anyway.
You are saying that an implied operation has higher priority than one which I am defining as part of the equation with an operator? Bogus. I don't buy it. Seriously when was this decided?
I am no mathematics expert, but I have taken up to calc 2 and differential equations and never heard this "rule" before.
I can say that this is a common thing in engineering. Pretty much everyone I know would treat 1/2x as 1/(2x).
Which does make it a pain when punched into calculators to remember the way we write it is not necessarily the right way to enter it. So when put into matlab or calculators or what have you the number of brackets can become ridiculous.
I'm an engineer. Writing by hand I would always use a fraction. If I had to write this in an email or something (quickly and informally) either the context would have to be there for someone to know which one I meant or I would use brackets. I certainly wouldn't just wrote 1/2x and expect you to know which one I meant with no additional context or brackets
Sorry but both my phone calculator and TI-84 calculate 1/2X
...and they're both wrong, because they are disobeying the order of operations rules. Almost all e-calculators are wrong, whereas almost all physical calculators do it correctly (the notable exception being Texas Instruments).
You are saying that an implied operation has higher priority than one which I am defining as part of the equation with an operator? Bogus. I don’t buy it. Seriously when was this decided?
The rules of Terms and The Distributive Law, somewhere between 100-400 years ago, as per Maths textbooks of any age. Operators separate terms.
I am no mathematics expert... never heard this “rule” before.
I'm a High School Maths teacher/tutor, and have taught it many times.
It’s not a law of maths in the way that 1+1=2 is a law
Yes it is, literally! The Distributive Law, and Terms. Also 1+1=2 isn't a Law, but a definition.
So 1/2x is universally interpreted as 1/(2x)
Correct, Terms - ab=(axb).
people doing academic research in maths, not primary school teachers
Don't ask either - this is actually taught in Year 7.
if they realise it’s over a question like this they’ll probably end up saying “it’s deliberately ambiguous in an attempt to start arguments”
The university people, who've forgotten the rules of Maths, certainly say that, but I doubt Primary School teachers would say that - they teach the first stage of order of operations, without coefficients, then high school teachers teach how to do brackets with coefficients (The Distributive Law).
Firstly, don't forget exponents come before multiply/divide. More importantly, neither defines wether implied multiplication is a multiply/divide operation or a bracketed operation.
The only confusion I can see is if you intended for the 4 to be an exponent of the 3 and didn't know how to do that inline, or if you did actually intend for the 4 to be a separate numeral in the same term? And I'm confused because you haven't used inline notation in a place that doesn't support exponents of exponents without using inline notation (or a screenshot of it).
As written, which inline would be written as (2^3)4, then it's 32. If you intended for the 4 to be an exponent, which would be written inline as 2^3^4, then it's 2^81 (which is equal to whatever that is equal to - my calculator batteries are nearly dead).
we don’t have a standard
We do have a standard, and I told you what it was. The only confusion here is whether you didn't know how to write that inline or not.
It's ambiguous because it works both ways, not because we don't have a standard.
Try reading the whole sentence. There is a standard, I'm not claiming there isn't. Confusion exists because operating against the standard doesn't immediately break everything like ignoring brackets would.
Just to make sure we're on the same page (because different clients render text differently, more ambiguous standards...), what does this text say?
234
It should say 2^3^4; "Two to the power of three to the power of four". The proper answer is 2⁸¹, but many math interpreters (including Excel, MATLAB, and many students) will instead compute 8⁴, which is quite different.
We have a standard because it's ambiguous. If there was only one way to do it, we'd just do that, no standard needed. You'd need to go pretty deep into kettle math or group theory to find atypical addition for example.
Ah ok. Sorry, got caught out by a double negative in your sentence.
Confusion exists because operating against the standard doesn’t immediately break everything like ignoring brackets would
Ah but that's exactly the original issue in this thread - the e-calc is ignoring the rules pertaining to brackets. i.e. The Distributive Law.
Ah ok. Well that was my only confusion was what you had actually intended to write, not how to interpret it (depending on what you had intended). Yes should be interpreted 2^81.
including Excel
Yeah, but Excel won't let you put in a factorised term either. It's just severely broken because the people who wrote it didn't bother checking the rules of Maths first. Programmers not knowing the rules of Maths doesn't mean Maths is ambiguous (it certainly creates a lot of confusion though!).
We have a standard because it’s ambiguous. If there was only one way to do it, we’d just do that,
Disagree. There is one way to do it - follow the rules of Maths. That's why they exist. The order of operations rules are at least 400 years old, and make it not ambiguous. If people aren't obeying the rules then they're just wrong - that doesn't make it ambiguous. It's like saying if e-calcs started saying 1+1=3 then that must mean 1+1 is ambiguous. It might create confusion, but it doesn't mean the Maths is ambiguous.
It's BE(D=M)(A=S). Different places have slightly different acronyms - B for bracket vs P for parenthesis, for example.
But, since your rule has the D&M as well as the A&S in brackets does that mean your rule means you have to do D&M as well as the A&S in the formula before you do the exponents that are not in brackets?
But seriously. Only grade school arithmetic textbooks have formulas written in this ambiguous manner. Real mathematicians write their formulas clearly so that there isn't any ambiguity.
Grade school is a US synonym for primary or elementary school; it doesn't seem to be used as a term in England or Australia. Apparently, they're often K-6 or K-8; my elementary school was K-4; some places have a middle school or junior high between grade school and high school.
I don't know why you're getting lost on the pedantry of defining "grade school", when I was clearly discussing the fact that you only see this kind of sloppy formula construction in arithmetic textbooks where students are learning the basics of how to perform the calculations. Once you get into applied mathematics and specialized fields that use actual mathematics, like engineering, chemistry and physics, you stop seeing this style of formula construction because the ambiguity of the terms leads directly to errors of interpretation.
I was taught that division is just inverse multiplication, and to be treated as such when it came to the order of operations (i.e. they are treated as the same type of operation). Ditto with addition and subtraction.
I think when a number or variable is adjacent a bracket or parenthesis then it's distribution to the terms within should always take place before any other multiplication or division outside of it. I think there is a clear right answer and it's 1.