Tuesday, May 10, 2011

6/2(1+2)=?

I saw this interesting situation on my daughter's facebook. Two Casio calculators cannot agree on the answer.
So, what do you think is the correct answer?
I have spoken to mathematician and many learned people and finally came to a conclusion:

The discrepancy came about because of ambiguity in the way formula is written! At the first place, Casio should have just reported "Syntax error".

First, 6÷2(1+2) is not the same as 6÷2*(1+2) from the way machine will interpret it.
In school, we always write 2(a+c) to mean 2a+2c. Thus, the answer became 6÷6=1. So the equation is actually:
And when it is written 6÷2*(1+2), then, it became 3*(3), ie, evaluate the brackets first, and left to right! And the answer became 9! The equation is written as:
Updates: My reader Brendan gave a link to support 9. This link looks at the whole situation from mathematical correctness! Worth reading.

From my logical thinking without bringing in all the "legality" point of view, 6÷2(1+2) is simply 6÷2(3)=9, ie, evaluating form left to right!
So, do you agree with the professor's argument from the link above?
For me, I am not concerned but just to remind ourselves that accuracy in entering formula into a machine is important. All this argument is academic which we leave it to the professors. 

12 comments:

Medie007 said...

my answer would've been 1 too. when bracket comes into play, u have to solve whatever it is inside the brackets. say if x[a+b(d-e)], you'll still solve (d-e) first before you times the answer with b, then u add with the a, then only you multiply by x.

plus, the question should've been (6/2)(1+2) if you want the answer to be 9.

thats what i recall... from my rusty maths knowledge.

Anonymous said...

the answer is 9 :)

matthew said...

The weather is terribly warm.

i e R said...

answer is one. what u typed in the calculator is actually the formula on diagram 1 too.

also, + - * /.... plus minus multi then divide.

so the equation has to be times/multi then only divide, when not in brakets.

William said...

Very interesting... if anyone starts to argue about this, I think it won't end. So, in my humble opinion, Casio should have rejected this entry because it is technically ambiguous.
Interestingly, if you enter 6/2*(1+2), the answer becomes 9! haha...

Brendan said...

2(1+2) is the same as 2*(1+2). multiplication and division have the same priority level. The answer is nine.

http://www.wolframalpha.com/input/?i=6%2F2%281%2B2%29

http://answers.yahoo.com/question/index?qid=20110426225954AAhacB1

William said...

Brendan,
2(1+2) is supposed to be the same as 2*(1+2). But now, we are talking about how the machine interpret the result.

If the two were entered into a spreadsheet, the first one will be "illegal". Putting aside all mathematical technicality, I will logically take that 2(1+2) is one and will be evaluated first to give 6.
Your second link gave the argument based on "technicality" and it is very interesting! I will also buy his argument from his learned point of view. SO, the result is 9, which agrees with my first thought.

Anonymous said...

BIDMAS:
-BRACKETS
-INDECIES
-DIVISION
-MULTIPLICATION
-ADDITION
-SUBTRACTION
Following these rules 6/2(1+2)=BRACKETS=6/2(3)=DIVISION=3(3)=MULTIPLICATION=9
Using bidmas the anser to this sum would be 9

caper said...

People are incorrectly separating the 2 from the parentheses. It is a factor of the 2 numbers inside it. People are trying to solve this as a calculator would, but that is the wrong way. Solve it using algebra techniques with a pen & paper (See URL at the bottom)

Now, think of the Identity Law: a = 1a = 1(a)

Ask yourself: what is a ÷ a = ?? Ans: 1
a ÷ a = 1

Now, Identity Law says any variable that has no coefficient actually has a 1, whether it is written or not. So,

a ÷ 1a = 1 ALWAYS.

It is NOT a ÷ 1 * a = a². That is ridiculous.

This proves that 1a = (1a) and (1 * a). 1a is not the same meaning as 1 * a.
Therefore,
a ÷ 2a = 1/2
6 ÷ 2a = 3/a

Let a = 2+1.

6 ÷ 2a = 3 /a
6 ÷ 2(2+1) = 3/(2+1)

6 ÷ 2(2+1) ? Ans: 1 Proven with the laws of math.

6 ÷ 2(2+1) = 1

~caper26

William said...

caper26, thanks for your thought. That is why maths is so interesting!

Anonymous said...

Answer is 9. 1 is wrong.

bodmas rule

bracket
operations
division
multiplication
addition
subtraction

caper26 said...

4xyz ÷ 2xz = 2y

Why is it when people use numbers, they use a different rule set than algebra?

6 ÷ 2x = 3/x
Let x = 2+1
6 ÷ 2(2+1) = 3/(2+1)

Anyone with a solid mathematical background will know the importance of factorizing.
In this particular instance, a 2 was factored from 2 terms inside the parentheses.
It is illegal to use this 2 as an operand on its own without restoring it to the other terms first.
This is why the P in your pemdas, is first. The parentheses must be "solved" first, ie,
evaluated fully and properly.
This would be coincidental with the distributive property. 2(2+1) = [2(2) + 2(1)]
What people fail to understand is what properties ARE in maths.
They are equality statements, which means you replace expression A with expression B
in a larger expression or equation and STILL GET THE SAME SOLUTION.
a(b + c) = (ab + ac)
Here, a = b = 2, and c = 1.
I have seen people try to argue that a = 6/2.
If that were the case, the expression would then look like (6/2)(2+1).
This is not how the original equation looks, however.
I have been asked, "Why did you choose to use distributive property when you can
solve what is inside parentheses without it"? What? Really?
That is a "justification" for your incorrect answer?? The justification is quite opposite
in that you are getting a different answer without it, which means THAT solution is wrong.
Properties are there for proofs, and to make solutions "more apparant" if there is confusion.
This is exactly what the distributive property does in this case: It removes the so-called "ambiguity".
There is no ambiguity here, only a right and wrong answer.