608
Whats your such opinion (discuss.tchncs.de)
you are viewing a single comment's thread
view the rest of the comments
[-] Vagabond@kbin.social 22 points 1 year ago

8÷2(2+2) comes out to 16, not 1.

Saw it posted on Instagram or Facebook or somewhere and all of the top comments were saying 1. Any comment saying 16 had tons of comments ironically telling that person to go back to first grade and calling them stupid.

[-] theshatterstone54@feddit.uk 31 points 1 year ago

Let's see.

8÷2×(2+2) = 8÷2×4

At this point, you solve it left to right because division and multiplication are on the same level. BODMAS and PEMDAS were created by teachers to make it easier to remember, but ultimately, they are on the same level, meaning you solve it left-to-right, so....

8÷2×4 = 4×4 = 16.

So yes, it does equal 16.

[-] themeatbridge@lemmy.world 5 points 1 year ago

Depends on whether you're a computer or a mathematician.

2(2+2) is equivalent to 2 x (2+2), but they are not equal. Using parenthesis implicitly groups the 2(2+2) as part of the paretheses function. A computer will convert 2(4) to 2 x 4 and evaluate the expression left to right, but this is not what it written. We learned in elementary school in the 90s that if you had a fancy calculator with parentheses, you could fool it because it didn't know about implicit association. Your calculator doesn't know the difference between 2 x (2+2) and 2(2+2), but mathematicians do.

Of course, modern mathematicians work primarily in computers, where the legacy calculator functions have become standard and distinctions like this have become trivial.

[-] theshatterstone54@feddit.uk 4 points 1 year ago

It seems you are partly correct. You are correct in saying that this is how it used to be done (but that was 100 years ago, it seems) and you are correct that in modern times, this would be interpreted as I did it, above.

Link: https://mindyourdecisions.com/blog/2019/07/31/what-is-8-%C3%B7-22-2-the-correct-answer-explained/

[-] themeatbridge@lemmy.world 3 points 1 year ago

I'm old but I'm not that old.

The author of that article makes the mistake of youth, that because things are different now that the change was sudden and universal. They can find evidence that things were different 100 years ago, but 50 years ago there were zero computers in classrooms, and 30 years ago a graphing calculator was considered advanced technology for an elementary age student. We were taught the old math because that is what our teachers were taught.

Early calculators couldn't (or didn't) parse edge cases, so they would get this equation wrong. Somewhere along the way, it was decided that it would be easier to change how the equation was interpreted rather than reprogram every calculator on earth, which is a rational decision I think. But that doesn't make the old way wrong, anymore than it makes cursive writing the wrong way to shape letters.

load more comments (1 replies)
[-] SmartmanApps@programming.dev 1 points 1 year ago

No, that video is wrong. Not only that, if you check the letter he referenced Lennes' Letter, you'll find it doesn't support his assertion that the rules changed at all! And that's because they didn't change. Moral of the story Always check the references.

load more comments (1 replies)
[-] Umbrias@beehaw.org 2 points 1 year ago

Under pemdas divisor operators must literally be completed after multiplication. They are not of equal priority unless you restructure the problem to be of multiplication form, which requires making assumptions about the intent of the expression.

[-] theshatterstone54@feddit.uk 7 points 1 year ago

Okay, let me put it in other words: Pemdas and bodmas are bullshit. They are made up to help you memorise the order of operations. Multiplication and division are on the same level, so you do them linearly aka left to right.

[-] Umbrias@beehaw.org 2 points 1 year ago

Pemdas and bodmas are not bullshit, they are a standard to disambiguate expression communication. They are order of operations. Multiplication and division are not on the same level, they are distinct operations which form the identity when combined with a multiplication.

Similarly, log(x) and e^x are not the same operation, but form identity when composited.

Formulations of division in algebra allow it to be at the same priority as multiplication by restructuring it as multiplication, but that requires formulating the expression a particular way. The ÷ operator however is strictly division. That's its purpose. It's not a fantastic operator for common usage because of this.

There are valid orders of operations, such as depmas which I just made up which would make the above expression extremely ambiguous. Completely mathematically valid, order of ops is an established convention, not mathematical fact.

[-] teawrecks@sopuli.xyz 3 points 1 year ago

This comment is the epitome of being confidently wrong on the internet.

[-] Umbrias@beehaw.org 2 points 1 year ago

For one misinterpretation? Are you sure about that?

[-] SmartmanApps@programming.dev 1 points 1 year ago

There was 3 misinterpretations - see my reply to them.

[-] SmartmanApps@programming.dev 1 points 1 year ago

confidently wrong on the internet

I made a hashtag for people #LoudlyNotUnderstandingThings :-)

[-] SmartmanApps@programming.dev 2 points 1 year ago

They are order of operations

No, they're not.

Multiplication and division are not on the same level

Yes, they are.

they are distinct operations which form the identity when combined with a multiplication

In other words, they are the inverse operation of each other - welcome to why they have the same precedence.

order of ops is an established convention, not mathematical fact

It's a mathematical fact.

[-] SmartmanApps@programming.dev 2 points 1 year ago

Under pemdas divisor operators must literally be completed after multiplication

Not literally. It's only a mnemonic, not the actual rules.

They are not of equal priority

Yes, they are. Binary operators have equal precedence, and unary operators have equal precedence.

[-] SmartmanApps@programming.dev 1 points 1 year ago

8÷2×(2+2)

But that's not the same thing as 8÷2(2+2). 2x(2+2) is 2 Terms, 2(2+2) is 1 Term. 8÷2×(2+2)=16 ((2+2) is in the numerator), 8÷2(2+2)=1 (2(2+2) is in the denominator)

[-] nudnyekscentryk@szmer.info 12 points 1 year ago* (last edited 1 year ago)

And both you and people arguing that it's 1 would be wrong.

This problem is stated ambiguously and implied multiplication sign between 2 and ( is often interpreted as having priority. This is all matter of convention.

[-] Vagabond@kbin.social 10 points 1 year ago

I see what you're getting at but the issue isn't really the assumed multiplication symbol and it's priority. It's the fact that when there is implicit multiplication present in an algebraic expression, and really best practice for any math above algebra, you should never use the '÷' symbol. You need to represent the division as a numerator and denominator which gets rid of any ambiguity since the problem will explicitly show whether (2+2) is modifying the numerator or denominator. Honestly after 7th grade I can't say I ever saw a '÷' being used and I guess this is why.

That said, I'll die on a hill that this is 16.

[-] MotoAsh@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

There is another example where the pemdas is even better covered than a simple parenthetical multiplication, but the answer there is the same: It's the arbitrary syntax, not the math rules.

You guys are both correct. It's 16 and the problem is a syntax that implies a wrong order of operations. The syntax isn't wrong, either, just implicative in your example and seemingly arbitrary in the other example I wish I remembered.

load more comments (3 replies)
load more comments (2 replies)
load more comments (3 replies)
[-] EuroNutellaMan@lemmy.world 8 points 1 year ago

No, 2+2 = 🐟 so it would be 8÷2🐟 and since 🐟 is no longer a number it becomes 4🐟. So the answer is 4 fishes.

[-] SmartmanApps@programming.dev 2 points 1 year ago* (last edited 1 year ago)

since 🐟 is no longer a number

It's still a pronumeral though, equal to 4, so the answer is still 8÷8=1.

[-] Zoot@reddthat.com 5 points 1 year ago* (last edited 1 year ago)

Back in gradeschool I was always taught that in Pemdas, the parenthesis are assumed to be there in 8÷(2×(2+2)) where as 8÷2×(2+2) would be 16, 8÷2(2+2) is the above and equals 1.

[-] Vagabond@kbin.social 16 points 1 year ago

Not quite. It's true you resolve what's inside the parentheses first, giving you. 8÷2(4) or 8÷2x4.
Now this is what gets most people. Even though Multiplication technically comes before Division the Acronym PEMDAS, that's really just to make it sound correct phonetically. Really they have equal priority in the order of operations and the appropriate way to resolve the problem is to work from left to right solving each multiplication or division sign as you encounter them. Giving you 16. Same for addition and subtraction.

So basically the true order of operations is:

  1. Work left to right solving anything inside parentheses
  2. Work left to right solving any exponentials
  3. Work left to right solving any multiplication or division
  4. Work left to right solving any addition or subtraction

Source: Mechanical Engineering degree so an unfortunate amount of my life spent in math and physics classes.

[-] Zoot@reddthat.com 4 points 1 year ago* (last edited 1 year ago)

Absolutely, its all seen as equal so it has to go left to right However as I said in the beginning the way I was taught atleast, is when you see 2(2+2) and not 2×(2+2) you assume that 2(2+2) actually means (2×(2+2 )) and so must do it together.

[-] Vagabond@kbin.social 4 points 1 year ago* (last edited 1 year ago)

Ah sorry just realized what you were saying. I've never been taught that. Maybe it's just a difference in teaching styles, but it shouldn't be since it can actually change the outcome. The way I was always taught was if you see a number butted up against an expression in parentheses you assume there is a multiplication symbol there.

So you were taught that 2(2+2) == (2(2+2))
I was taught 2(2+2)==2*(2+2)

Interesting difference though because again, assuming invisible parentheses can really change up how a problem is done.

Edit: looks like theshatterstone54's comment assumed a multiplication symbol as well.

load more comments (1 replies)
[-] Zoop@beehaw.org 2 points 1 year ago* (last edited 1 year ago)

That's basically what I was taught, too.

Edit to add: Ha, I just realized how similar our usernames are. Neat! :)

[-] SmartmanApps@programming.dev 1 points 1 year ago

It’s true you resolve what’s inside the parentheses first, giving you. 8÷2(4) or 8÷2x4.

Not "inside parenthesis" (Primary School, when there's no coefficient), "solve parentheses" (High School, The Distributive Law). Also 8÷2(4)=8÷(2x4) - prematurely removing brackets is how a lot of people end up with the wrong answer (you can't remove brackets unless there is only 1 term left inside).

load more comments (1 replies)
load more comments (1 replies)
[-] savedbythezsh@sh.itjust.works 4 points 1 year ago

Great explainer on the subject: https://youtu.be/lLCDca6dYpA?si=gUJlQJgfDxi-n_Y6

And a follow up on how calculators actually implement this inconsistently: https://youtu.be/4x-BcYCiKCk?si=g5pqwXvBqSS8Q5fX

load more comments (2 replies)
[-] Umbrias@beehaw.org 4 points 1 year ago

Under normal interpretations of pemdas this is simply wrong, but it's ok. Left to right only applies very last, meaning the divisor operator must literally come after 2(4).

This isn't really one of the ambiguous ones but it's fair to consider it unclear.

[-] rasensprenger@feddit.de 4 points 1 year ago

Pemdas puts division and multiplication on the same level, so 34/22 is 12 not 3. Implicit multiplication is also multiplication. It's a question of convention, but by default, it's 16.

https://en.m.wikipedia.org/wiki/Order_of_operations

load more comments (28 replies)
load more comments (1 replies)
[-] ryathal@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

Math should be taught with postfix notation and this wouldn't be an issue. It turns your expression into this.
8 2 ÷ 2 2 + ×

load more comments (1 replies)
[-] mitrosus@discuss.tchncs.de 2 points 1 year ago

2(4) is not exactly same as 2x4.

[-] SmartmanApps@programming.dev 1 points 1 year ago

2(4) is not exactly same as 2x4

Correct! It's exactly the same as (2x4).

[-] mitrosus@discuss.tchncs.de 1 points 1 year ago

No. No. You choose to be ignorant.

load more comments (1 replies)
load more comments (2 replies)
this post was submitted on 07 Dec 2023
608 points (100.0% liked)

Asklemmy

47233 readers
796 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS