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

  • Context: High School 
  • Thread starter Thread starter davenn
  • Start date Start date
  • Tags Tags
    Challenge
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
17 replies · 3K views
Messages
9,736
Reaction score
11,895
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
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.
 
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?
 
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
 
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
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
 
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
 
Nidum said:
Remember BODMAS from school days ?
PEDMAS for me.
 
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