Math Facebook Challenge: Multiply or End-to-End?

  • Context: High School 
  • Thread starter Thread starter davenn
  • Start date Start date
  • Tags Tags
    Challenge
Click For Summary

Discussion Overview

The discussion revolves around the order of operations in mathematical expressions, particularly in the context of a Facebook challenge. Participants explore whether multiplication should be prioritized over addition when no brackets are present, and how this relates to common practices in everyday calculations and programming environments.

Discussion Character

  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants assert that multiplication should be performed first, resulting in an answer of 0, regardless of the absence of brackets.
  • Others argue that working from left to right could yield a different answer, such as 10, leading to confusion about the correct approach.
  • A participant suggests that common practices in everyday life, such as calculating costs, follow the multiplication first rule.
  • Concerns are raised about how certain software, like Excel, evaluates expressions, particularly regarding the treatment of negative numbers and exponents.
  • Several participants reference the order of operations rules, including BODMAS and PEDMAS, to clarify their understanding of how to approach calculations.
  • There is a proposal for a party game that involves creating expressions that yield the same result regardless of the order of operations, highlighting the playful aspect of the discussion.

Areas of Agreement / Disagreement

Participants express differing views on the order of operations, with some agreeing on the multiplication first rule while others suggest alternative interpretations. The discussion remains unresolved with multiple competing perspectives on how to approach the problem.

Contextual Notes

Participants reference various interpretations of mathematical rules and their applications in different contexts, such as programming and everyday calculations. There is mention of specific software behavior that may not align with traditional mathematical conventions.

davenn
Science Advisor
Gold Member
Messages
9,724
Reaction score
11,804
hi gang

this came up in one of those crazy facebook challenges
and you can imagine the arguments that ensued

upload_2016-8-2_7-52-29.png
My maths knowledge isn't brilliant ... so in the above, if there are no brackets,
do you still do the multiplication first or do you just work your way through from end to end ?

I thought, regardless of brackets being there or not, I should follow the mult. first rule, giving result of 0
Now I'm not so sure, maybe those who just worked from end to end and got the answer of 10
are the people that are correct ?regards
Dave
 
Mathematics news on Phys.org
Your answer is correct. 0.
Edit: even modern programming editors read it this way, hell, even Excel does.
 
fresh_42 said:
Your answer is correct. 0.
Edit: even modern programming editors read it this way, hell, even Excel does.
OK, so the multiplication rule is followed even if there are no brackets
 
It makes me think that a good party game (for maths nerds at least) would be to write an expression like the above that gives the same answer both ways - ie respecting operator precedence and ignoring it in favour of strict left to right evaluation. No brackets allowed, of course.

Given a time limit of say thirty seconds, points could be awarded based on length of expression, number of operators, and how many of the numerals 0-9 are used, in order to determine a winner.

Or - to prevent somebody using an expression they've used before - first roll a dice a few times to randomly identify three or four numerals that are not allowed to be used.
 
davenn said:
OK, so the multiplication rule is followed even if there are no brackets
Especially then!
 
  • Like
Likes   Reactions: davenn
Just a simple remark on this.
Most people use this in everyday life, at least if they do some do-it-yourself works or sum up their shopping costs.
##5$A + 2$A## is, if we make it exact ##5 \cdot $A + 2 \cdot $A = 7 \cdot $A##. The same with meters. And it's the reason why we cannot add ##1## to ##1m##. The multiplication at the meter comes first and before addition can take place.
 
  • Like
Likes   Reactions: davenn
fresh_42 said:
Especially then!

ohhh really ! wow
shows you how bad my maths abilities are hahaha
I failed school cert maths twice :frown::oops:
 
Question on Excel spreadsheet: At one time a few years ago -5^2+3 would give you 28. The leading "-" in an expression would always be evaluated first. To get it to read it properly, you would need to put parenthesis such as -(5^2)+3. This was even the case in exponentials such as Gaussians. (At least this was the case when these expressions involved cell values, etc.) Does anyone know, has this ever been corrected?
 
It still gives that incorrect result in MS Office Professional Plus 2013.
 
  • Like
Likes   Reactions: Charles Link
  • #10
andrewkirk said:
It makes me think that a good party game (for maths nerds at least) would be to write an expression like the above that gives the same answer both ways - ie respecting operator precedence and ignoring it in favour of strict left to right evaluation. No brackets allowed, of course.

Given a time limit of say thirty seconds, points could be awarded based on length of expression, number of operators, and how many of the numerals 0-9 are used, in order to determine a winner.

Or - to prevent somebody using an expression they've used before - first roll a dice a few times to randomly identify three or four numerals that are not allowed to be used.

Hi Andrew

sorry for whatever reason, I missed this first comment of yours. You agree with fresh_42 that regardless of if there are brackets or not
you still do multiplication first ?Dave
 
  • #11
Not exactly, and I don't think that's what fresh was saying either.
Multiplication is done before addition or subtraction, unless overruled by brackets. So in
(1+2) x 3
we do the addition first because the brackets tell us to, and we get 9. But in
1 + 2 x 3
we do the multiplication first, and we get 7.

The rules can be expressed as an order of precedence, where 'a > b' indicates 'do a before b':

calculations inside brackets > exponentiation > multiplication or division > leftmost calculations

Having done the first three of these, we are left with a string of numbers separated by '+' and '-' signs, which can be evaluated from left to right.
 
  • Like
Likes   Reactions: davenn
  • #12
andrewkirk said:
Multiplication is done before addition or subtraction, unless overruled by brackets. So in
(1+2) x 3
we do the addition first because the brackets tell us to, and we get 9. But in
1 + 2 x 3
we do the multiplication first, and we get 7.

The rules can be expressed as an order of precedence, where 'a > b' indicates 'do a before b':

calculations inside brackets > exponentiation > multiplication or division > leftmost calculations

outstanding !

really appreciate the clarification/confirmation :smile:
it's what I though but my cage was being rattled by others and I had to check with those that should know :smile:
Regards
Dave
 
  • #13
Remember BODMAS from school days ?
 
  • Like
Likes   Reactions: davenn
  • #14
Nidum said:
Remember BODMAS from school days ?

nope hahaha ... no wonder I failed school cert maths twice :rolleyes:

The only reason I didn't finish my geology degree was because I hadn't done the two required maths papers
kinda frustrating to know that was all that stood in my pathD
 
  • #15
No parentheses and no exponents. Multiplications are done first; additions and subtractions from left to right;
result is 0.
 
  • Like
Likes   Reactions: davenn and Pepper Mint
  • #16
Nidum said:
Remember BODMAS from school days ?
PEDMAS for me.
 
  • #17
Nidum said:
Remember BODMAS from school days ?
2milehi said:
PEDMAS for me.
The "B" would mean brackets, so telling "grouping symbols". The "O" is not clear immediately, but could mean "order" as in "degree" or "exponent".
 
  • #18
Nidum said:
Remember BODMAS from school days ?
-I- sure do!

Or BEDMAS.

symbolipoint said:
The "B" would mean brackets, so telling "grouping symbols". The "O" is not clear immediately, but could mean "order" as in "degree" or "exponent".
See the page linked with the text BODMAS -- http://www.skillsyouneed.com/num/bodmas.html
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 61 ·
3
Replies
61
Views
12K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 40 ·
2
Replies
40
Views
18K
  • · Replies 64 ·
3
Replies
64
Views
16K
  • · Replies 83 ·
3
Replies
83
Views
22K
  • · Replies 97 ·
4
Replies
97
Views
24K
  • · Replies 46 ·
2
Replies
46
Views
14K
Replies
5
Views
3K