this post was submitted on 03 Dec 2023
385 points (95.5% liked)

196

15693 readers
2266 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 7 months ago (5 children)

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

[–] [email protected] 49 points 7 months ago (3 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))
[–] [email protected] 3 points 7 months ago (1 children)

prefix notation doesn't need parentheses either though, at least in this case. lisp uses them for readability and to get multiple arity operators. infix doesn't have any ambiguity either if you parenthesize all operations like that.

[–] [email protected] 2 points 3 months ago

infix doesn’t have any ambiguity either if you parenthesize all operations like that

There isn't any ambiguity even if you don't.

[–] [email protected] 2 points 3 months ago

16 is the right answer if you use PEMDAS only: (8 ÷ 2) × (2 + 2)

You added brackets and changed the answer. 2(2+2) is a single term, and if you break it up then you change the answer (because now the (2+2) is in the numerator instead of in the denominator).

1 is the right answer

The only right answer

both are correct answers

Nope, 1 is the only correct answer.

this is also one of the reasons why postfix and prefix notations have an advantage over infix notation

Except they don't. This isn't a notation problem, it's a people don't remember the rules of Maths problem.

[–] KoalaUnknown 17 points 7 months ago* (last edited 7 months ago) (20 children)

Yes

8 / 2 (2+2)

8 / 2 (4)

4 (4)

16

[–] [email protected] 18 points 7 months ago* (last edited 7 months ago) (3 children)

No

8 / 2 (2+2)

8 / 2 (4)

8 / 8

1

[–] Coreidan 17 points 7 months ago (18 children)

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

load more comments (18 replies)
[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (2 children)

a(b) is a×b. Step 2 could be rewritten as 8 / 2 × 4. Working left to right, step 3 becomes 4 × 4.

[–] [email protected] 13 points 7 months ago (3 children)

No, because implicit multiplication binds more tightly than explicit. a/b(c) becomes a/(b×(c))

[–] [email protected] 5 points 7 months ago (3 children)
[–] [email protected] 9 points 7 months ago (4 children)

Most maths textbooks written by mathematicians.

I don't mean when they're explaining "here's how the order of operations works". I mean in the basic way that they write more advanced problems and the answers they give for them.

This video, and the prequel to it linked in the description, go into some detail showing who uses what convention and why.

[–] Nihilore 5 points 7 months ago (2 children)

Interestingly I’ve wondered if this is regional, as a fellow Aussie I learned the same as you but it seems in other places they learn the other way

[–] [email protected] 6 points 7 months ago

FWIW I went to school in Asia, using an internationally-focused curriculum, rather than going through the Australian curriculum here in Aus.

The video I linked includes some discussion with a calculator manufacturer who apparently is under the impression that teachers in North America are asking for strict BIDMAS, so the calculator manufacturer actually switched their calculators to doing that. Until they then got blowback from the rest of the world's teachers, so they switched back to BIDMAS with juxtaposition being prioritised over division. The video also presents the case that outside of teachers—among actual maths and physics academics—prioritising juxtaposition is always preferred, even in North America.

[–] [email protected] 1 points 3 months ago

I'm an Australian teacher who has also taught the U.K. curriculum (so I have textbooks from both countries) and, based on these comments you mention, have also Googled some U.S. textbooks, and I've yet to see any Maths textbooks that teach it "the other way". I have a very strong suspicion that it's just a lot of people in the U.S. claiming they were taught that way, but not actually being true. I had someone from Europe claim the way we (and the U.K.) teach it wasn't taught there (from memory it was Lithuania, but I'm not sure now), so I just Googled the curriculum for their country and found that indeed it is taught the same way there as here. i.e. people will just make up things in order not to admit they were wrong about something (or that their memory of it is faulty).

[–] [email protected] 4 points 7 months ago

Huh, I'll be darned. I'm not as much of a math nerd as I thought

[–] [email protected] 2 points 7 months ago

Here is an alternative Piped link(s):

This video

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

load more comments (1 replies)
[–] [email protected] 4 points 7 months ago (1 children)

That's exactly where the calculators in the op differ. For more examples, Casio calculators do implicit multiplication first, while ti's treat it the same as explicit multiplication and division. I think that the latter is more predictable personally, but really you just need to know your calculator.

load more comments (1 replies)
[–] [email protected] 1 points 3 months ago

Right answer, wrong words. The actual rules are Terms and The Distributive Law.

load more comments (1 replies)
[–] [email protected] 1 points 7 months ago

Write it out on paper, with numerator above the denominator. You'd have to write 8(2+2), 2(2+2) can only be written if both are in the denominator.

load more comments (18 replies)
[–] Th0rgue 2 points 7 months ago* (last edited 7 months ago) (1 children)

Depends on the system you use. Most common system worldwide and in the academic circles (the oldest of the two) has 1 as the answer.

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

Depends on the system you use

There are no other systems - only people who are following the actual rules of Maths and those who aren't. And yes, 1 is the correct answer

[–] [email protected] 2 points 3 months ago

the correct answer is 16, right?

No, the correct answer is 1.