this post was submitted on 03 Dec 2023
420 points (99.8% liked)

196

16597 readers
1876 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 140 points 1 year ago (1 children)

watches the people with basic math skills fight to the death over the answer

[–] [email protected] 46 points 1 year ago* (last edited 1 year ago) (29 children)

If you really wanna see a bloodbath, watch this:

You know that a couple has two children. You go to the couple's house and one of their children, a young boy, opens the door. What is the probability that the couple's other child is a girl?

[–] [email protected] 46 points 1 year ago (27 children)

50%, since the coins are independent, right?

load more comments (27 replies)
load more comments (28 replies)
[–] [email protected] 112 points 1 year ago (21 children)

Different compilers have robbed me of all trust in order-of-operations. If there's any possibility of ambiguity - it's going in parentheses. If something's fucky and I can't tell where, well, better parenthesize my equations, just in case.

load more comments (21 replies)
[–] [email protected] 98 points 1 year ago (4 children)

There's quite a few calculators that get this wrong. In college, I found out that Casio calculators do things the right way, are affordable, and readily available. I stuck with it through the rest of my classes.

[–] [email protected] 53 points 1 year ago (4 children)

Casio does a wonderful job, and it's a shame they aren't more standard in American schooling. Texas Instruments costs more of the same jobs, and is mandatory for certain systems or tests. You need to pay like $40 for a calculator that hasn't changed much if at all from the 1990's.

Meanwhile I have a Casio fx-115ES Plus and it does everything that one did, plus some nice quality of life features, for less money.

[–] [email protected] 33 points 1 year ago

$40??!! My ti that was required was like over $200!!

[–] [email protected] 24 points 1 year ago* (last edited 1 year ago) (4 children)

TI did the same thing Quark and Adobe did later on – got dominance in their markets, killed off their competition, and then sat back and rested on their laurels thinking they were untouchable

EDIT: although in part, we should thank TI for one thing – if they hadn’t monopolized the calculator market, Commodore would’ve gone into calculators instead of computers

load more comments (4 replies)
load more comments (2 replies)
[–] [email protected] 17 points 1 year ago (6 children)

My Casio calculators get this wrong, even the newer ones. BTW the correct answer is 16, right?

[–] [email protected] 51 points 1 year ago (6 children)
  • 16 is the right answer if you use PEMDAS only: (8 ÷ 2) × (2 + 2)
  • 1 is the right answer if you use implicit/explicit with PEMDAS: 8 ÷ (2 × (2 + 2))
  • both are correct answers (as in if you don’t put in extra parentheses to reduce ambiguity, you should expect expect either answer)
  • this is also one of the reasons why postfix and prefix notations have an advantage over infix notation
    • postfix (HP, RPN, Forth): 2 2 + 8 2 ÷ × .
    • prefix (Lisp): (× (÷ 8 2) (+ 2 2))
load more comments (6 replies)
[–] [email protected] 21 points 1 year ago* (last edited 1 year ago) (19 children)

Yes

8 / 2 (2+2)

8 / 2 (4)

4 (4)

16

[–] [email protected] 27 points 1 year ago* (last edited 1 year ago) (17 children)

No

8 / 2 (2+2)

8 / 2 (4)

8 / 8

1

[–] [email protected] 20 points 1 year ago (18 children)

No. Order of operations is left to right, not right to left. 1 is wrong.

load more comments (18 replies)
load more comments (16 replies)
load more comments (18 replies)
load more comments (4 replies)
load more comments (2 replies)
[–] [email protected] 76 points 1 year ago (11 children)

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.

[–] [email protected] 57 points 1 year ago (7 children)

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".

[–] [email protected] 26 points 1 year ago (21 children)

The real answer is that anyone who deals with math a lot would never write it this way, but use fractions instead

load more comments (21 replies)
load more comments (6 replies)
[–] [email protected] 17 points 1 year ago (35 children)

BDMAS bracket - divide - multiply - add - subtract

load more comments (35 replies)
load more comments (9 replies)
[–] [email protected] 73 points 1 year ago (4 children)

Please Excuse My Dear Aunt Sally, she downloaded a shitty ad-infested calculator from the Google Play store.

load more comments (4 replies)
[–] [email protected] 64 points 1 year ago* (last edited 1 year ago) (18 children)

[...] the question is ambiguous. There is no right or wrong if there are different conflicting rules. The only ones who claim that there is one rule are the ones which are wrong!

https://people.math.harvard.edu/~knill/pedagogy/ambiguity/index.html

As youngsters, math students are drilled in a particular
convention for the "order of operations," which dictates the order thus:
parentheses, exponents, multiplication and division (to be treated
on equal footing, with ties broken by working from left to right), and
addition and subtraction (likewise of equal priority, with ties similarly
broken). Strict adherence to this elementary PEMDAS convention, I argued,
leads to only one answer: 16.

Nonetheless, many readers (including my editor), equally adherent to what
they regarded as the standard order of operations, strenuously insisted
the right answer was 1. What was going on? After reading through the
many comments on the article, I realized most of these respondents were
using a different (and more sophisticated) convention than the elementary
PEMDAS convention I had described in the article.

In this more sophisticated convention, which is often used in
algebra, implicit multiplication is given higher priority than explicit
multiplication or explicit division, in which those operations are written
explicitly with symbols like x * / or ÷. Under this more sophisticated
convention, the implicit multiplication in 2(2 + 2) is given higher
priority than the explicit division in 8÷2(2 + 2). In other words,
2(2+2) should be evaluated first. Doing so yields 8÷2(2 + 2) = 8÷8 = 1.
By the same rule, many commenters argued that the expression 8 ÷ 2(4)
was not synonymous with 8÷2x4, because the parentheses demanded immediate
resolution, thus giving 8÷8 = 1 again.

This convention is very reasonable, and I agree that the answer is 1
if we adhere to it. But it is not universally adopted.

load more comments (18 replies)
[–] [email protected] 50 points 1 year ago (30 children)

People keep debating over this stuff. I have a simpler solution. Math is not real.

load more comments (30 replies)
[–] GTG3000 49 points 1 year ago (2 children)

I'm with the right answer here. / and * have same precedence and if you wanted to treat 2(2+2) as a single unit, you should have written it like (2*(2+2)).

[–] [email protected] 75 points 1 year ago (13 children)

It's pretty common even in academic literature to treat implied multiplication as having higher precedence than explicit multiplication/division. Otherwise an expression like 1 / 2n would have to be interpreted as (1 / 2) * n rather than the more natural 1 / (2 * n).

A lot of this bullshit can be avoided with better notation systems, but calculators tend to be limited in what you can write, so meh. Unless you want to mislead people for the memes, just put parentheses around things.

load more comments (13 replies)
load more comments (1 replies)
[–] [email protected] 46 points 1 year ago* (last edited 1 year ago) (1 children)

this is why I never use ÷ (or more realistically "/") without explicit brackets denoting order of operations.

load more comments (1 replies)
[–] [email protected] 32 points 1 year ago (27 children)

this comment section illustrates perfectly why i hate maths so much lmao

love ambiguous, confusing rules nobody can even agree on!

[–] [email protected] 38 points 1 year ago (5 children)

The problem isn't math, it's the people that suck at at it who write ambigous terms like this, and all the people in the comments who weren't educated properly on what conventions are.

load more comments (5 replies)
[–] [email protected] 16 points 1 year ago (28 children)

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)

load more comments (28 replies)
load more comments (25 replies)
[–] [email protected] 28 points 1 year ago

Just write it out as a fraction and avoid all the confusion

[–] [email protected] 26 points 1 year ago

The calculator is correct

[–] [email protected] 25 points 1 year ago (1 children)
load more comments (1 replies)
[–] ICastFist 24 points 1 year ago (16 children)

The problem is that there's no "external" parentheses to really tell us which is right: (8 / 2) * 4 or 8 / (2 * 4)

The amount of comments here shows how much debate this "simple" thing generates

[–] [email protected] 32 points 1 year ago

When there are no parentheses, you process left to right on the same tier of operations. That's how it's always been processed.

[–] [email protected] 19 points 1 year ago (1 children)

Afaik the order of operations doesn't have distributive property in it. It would instead simply become multiplication and would go left to right and would therefore be 16.

load more comments (1 replies)
load more comments (14 replies)
[–] [email protected] 24 points 1 year ago* (last edited 8 months ago) (19 children)

For anyone like me who has math as their worst subject: PEMDAS.

PEMDAS is an acronym used to mention the order of operations to be followed while solving expressions having multiple operations. PEMDAS stands for P- Parentheses, E- Exponents, M- Multiplication, D- Division, A- Addition, and S- Subtraction.

So we gotta do it in the proper order. And remember, if the number is written like 2(3) then its multiplication, as if it was written 2 x 3 or 2 * 3.

So we read 8/2(2+2) and need to do the following;

  • Read the Parentheses of (2 + 2) and follow the order of operations within them, which gets us 4.
  • Then we do 2(4) which is the same as 2 x 4 which is 8
  • 8 / 8 is 1.

The answer is 1. The old calculator is correct, the phone app which has ads backed into it for a thing that all computers were invented to do is inaccurate.

[–] [email protected] 32 points 1 year ago* (last edited 1 year ago) (12 children)

Well that's just wrong... Multiplication and division have equal priorities so they are done from left to right. So: 8 / 2 * (2 + 2)=8 / 2 * 4=4 * 4=16

load more comments (12 replies)
[–] [email protected] 20 points 1 year ago* (last edited 1 year ago) (2 children)

Uh.. no the 1 is wrong? Division and multiplication have the same precedence, so the correct order is to evaluate from left to right, resulting in 16.

[–] [email protected] 27 points 1 year ago (1 children)

The real correct order is to use brackets to remove ambiguity.

load more comments (1 replies)
load more comments (1 replies)
load more comments (16 replies)
[–] [email protected] 24 points 1 year ago (10 children)
load more comments (10 replies)
[–] [email protected] 21 points 1 year ago (3 children)

The correct answer is 16. Multiplication and Division happen at the same level of priority, and are evaluated left-to-right.

[–] [email protected] 18 points 1 year ago (29 children)

No it's ambiguous, you claiming there is one right answer is actually wrong.

load more comments (29 replies)
load more comments (2 replies)
[–] [email protected] 19 points 1 year ago (7 children)

Left is correct; implicit multiplication takes precedence over explicit multiplication or division.

load more comments (7 replies)
load more comments
view more: next ›