Which is the correct answer for 48÷2(9+3): 2 or 288?

  • Thread starter Thread starter RJS
  • Start date Start date
Click For Summary
The discussion centers on the mathematical expression 48÷2(9+3) and the conflicting answers of 2 and 288. Proponents of the answer 288 argue that following the order of operations (PEMDAS) leads to that result, while those supporting 2 emphasize that division and multiplication should be evaluated from left to right. The ambiguity of the notation is highlighted, with many suggesting that clearer parentheses would resolve the confusion. Additionally, various programming languages and calculators yield different results, further complicating the consensus. Ultimately, the thread underscores the importance of proper notation and understanding of operator precedence in mathematics.

What is the answer?

  • 2

    Votes: 25 50.0%
  • 288

    Votes: 25 50.0%

  • Total voters
    50
  • #31


A good a reason as any to register to this fine forum.

So if the near-consensus is that left-to-right is the correct way to view it. Then can there also be an agreement that (9+3)48/2 is incorrectly calculated by for example wolphramalpha?
 
Mathematics news on Phys.org
  • #32


RUBSTEP said:
Then can there also be an agreement that (9+3)48/2 is incorrectly calculated by for example wolphramalpha?

Not if you follow the way I've been taught.

BODMAS = Brackets, Orders, Division, Multiplication, Addition, Subtraction

They must be done in that order.

So for the above I get:

(9+3)48/2 = (12)48/2 = (12)24 = 288

I was confused earlier seeing the other rules, but now I see that my method is spot on. So I'm sticking with it.

As per Studiot, if you want the answer to come out 2, you need to put brackets in the correct position to indicate this.
 
  • #33


Code:
main(){
        printf("%d", 48*(9/2+3/2));
}
output:
240
 
  • #34


\frac{48}{2}\cdot(9+3)= 48\left(\frac{9}{2}+\frac{3}{2}\right)
 
  • #35


Two engineers here ended up with 2.

Something in my head says x(y) means x lots of y. So thus 48÷2(9+3) is saying 48 divided by two lots of (9+3).

Having it as 48÷2x(9+3) WOULD then equal 288.

Ps my casio calculator agrees with me. She can't be wrong (and i don't like matlab, it butchers fractions).
 
  • #36


Blenton said:
Two engineers here ended up with 2.

Something in my head says x(y) means x lots of y. So thus 48÷2(9+3) is saying 48 divided by two lots of (9+3).

Having it as 48÷2x(9+3) WOULD then equal 288.

Ps my casio calculator agrees with me. She can't be wrong (and i don't like matlab, it butchers fractions).

48÷2(9+3) or 48÷2x(9+3) in a calculator (or python or C or any programming language) gives you 288.

I'd add that 2 is gained only by changing the order of operations.
 
  • #37


This is absolutely hilarious.

My 6th grade son came home with this math problem and I posted it on my facebook page. 5 friends posted it on their pages and now it is around the world. My original post was 9pm central time on 4-6-2011. For what it's worth I said 2 and the 2 engineers I work with agree.

All of this inspired me to create this video.

https://www.youtube.com/watch?v=wv19iAncrrQ
 
  • #38


alcarl said:
For what it's worth I said 2 and the 2 engineers I work with agree.

So for the record, you're saying all calculators and programming languages are wrong?

I've run this in 4 languages now plus through I don't know how many calculators and I always get 288.
 
  • #39


jarednjames said:
So for the record, you're saying all calculators and programming languages are wrong?

Not all of them, just the ones that say 288 ;)
 
  • #40


alcarl said:
Not all of them, just the ones that say 288 ;)

All of them then.

The calculators follow the basic outline as described previously and spit out 288. If you get 2 you are doing it wrong. Have you actually put it into a calculator? Instead of making ridiculous videos like that, why not make a video of you inputting it into a scientific calculator, exactly as it's written, and have it show 2 as the answer?

If you can't do that, then you're argument basically comes down to "all the calculators and computers are wrong".

And that's before we get to programming languages.
 
  • #41


jarednjames said:
Instead of making ridiculous videos like that, why not make a video of you inputting it into a scientific calculator, exactly as it's written, and have it show 2 as the answer?

OK.

https://www.youtube.com/watch?v=gFKGbU6ARQg

Lighten up, this isn't something that's going to alter your life or anything.

The problem is that it's a poorly written equation. When you have juxtaposed values like that, some people will solve that section as a unit before moving on. Tons of debate all over the web, no consensus, no one is likely to change their mind easily. My son did the problem the way his teacher asked him to and now it's just funny watching this seemingly simple question get so much attention.
 
  • #42


jarednjames said:
All of them then.

The calculators follow the basic outline as described previously and spit out 288. If you get 2 you are doing it wrong. Have you actually put it into a calculator? Instead of making ridiculous videos like that, why not make a video of you inputting it into a scientific calculator, exactly as it's written, and have it show 2 as the answer?

If you can't do that, then you're argument basically comes down to "all the calculators and computers are wrong".

And that's before we get to programming languages.

http://epsstore.ti.com/OA_HTML/csks...nge=null&fStartRow=0&fSortBy=2&fSortByOrder=1

my scientific calculator at home also says 2. Do you people really interpret 8/2x as 8/2*x and not 8/(2*x)?
 
  • #43


Xitami said:
Code:
main(){
        printf("%d", 48*(9/2+3/2));
}
output:
240


You're doing integer division here, so C returns that 9/2=4 and 3/2=1, giving 48*5=240.

Try using 9.0 and 3.0.
 
  • #44


alcarl said:
OK.

Better, now there's a vote the other way.
Lighten up, this isn't something that's going to alter your life or anything.
Studiot said:
Suupose this was a drug calculation for the amount of warfarin you need to maintain your life.

If 2 units is correct then 288 will kill you.

That is why the 'alphabet' is not 'ay bee cee...' but 'alpa charlie bravo..' when it matters.

I would suggest you use (lots of) brackets to achieve this aim if there is any possibility of ambiguity. I often find that when I encounter a new program I have to do this on a known test calculation.

It is an issue that really needs addressing.

I completely agree with studiot on this matter. If you want the multiplication done first, put it in brackets.
 
  • #45


RJS said:
Yeah I understand that, but you re-wrote the problem. Like I stated above though, multiplication by juxtaposition supposedly takes priority before processing other operations. So wouldn't the answer to exactly how it's written really be 2?

According to whom does "multiplication by juxtaposition" take precedence? The standard for order of operations, at least in english-speaking countries, is PEMDAS, which does not include a priority rule for multiplication by juxtaposition. Just because the multiplication sign is implicit doesn't mean the priority of multiplication changes.

Ultimately, the priority rules are just a convention - but PEMDAS is the widely accepted convention. In some contexts (like certain symbolic expressions in academic papers), some other rule might be understood from context (eg., writing Z = \sum \exp(E_i/kT), the kT is understood to be together from a separate context, so one doesn't need to write E/(kT) usually), but without context the default will be PEMDAS, even if "multiplication by juxtaposition" seems more natural.

As an example, in Canada if you win the lottery you have to answer a "skill testing question" to get your prize money (due to some anti-gambling laws). The questions are always simple order of operations problems. If this were your skill-testing question, answering 2 would lose you your money, as the answer would be written down according to standard PEDMAS.
 
  • #46


Registered on this fine forum just because of this. :)

Regarding calculators, here is something interesting:
 

Attachments

  • headasplode.jpg
    headasplode.jpg
    36.3 KB · Views: 1,618
  • qrmbyc.jpg
    qrmbyc.jpg
    51 KB · Views: 1,282
  • #47


fraga said:
Registered on this fine forum just because of this. :)

Regarding calculators, here is something interesting:

That's explained in the link given above.

The makers changed things so that juxtaposition took priority.

There is nothing I've seen outside of these makers decision to do so that reinforces this. Certainly nothing in the science world which backs up this decision.

There are a lot of people registering "on this fine forum" just for this.
 
  • #48


jhae2.718 said:
You're doing integer division here, so C returns that 9/2=4 and 3/2=1, giving 48*5=240.

Try using 9.0 and 3.0.

It doesn't matter, the rearranging is wrong.
 
  • #49


jarednjames said:
There are a lot of people registering "on this fine forum" just for this.

Believe it or not, I initially saw this equation on a bodybuilding forum.
The pictures I posted came from there.

I then proceeded to google the equation.
This forum was on the top of the results.
That's why I registered.
 
  • #50


If I run the program with the correction, I get 288.

If we have 48/2(9+3), then if we correctly interpret it as
\frac{48}{2}(9+3)
Then we can distribute the 1/2 through the (9+3) term. E.g. 48/2(9+3)=48/2(12)=48*(12/2)=48*6=288

And (12/2) can be written as (9+3)/2, so I see no problem with writing it that way, other than the fact that writing 12 as the sum of three and nine is cumbersome.
 
  • #51


I can see what's been done. I was running it in Python as a check but with very strict brackets (wrong order) which gave me the same answer.
 
  • #52


I voted for the answer 2 for the following reason. Everywhere in written mathematics (textbooks, papers, exams etc) that I see implied multiplication it is always is given higher precedence than division.

Something like 8 x^2 \div 2x, for example, invariably means 8 x^2 \div (2x). So I've taken to modifying BIDMAS in the following was to also include "implied" multiplication.

BIIDMAS : (brackets, indices, implied multiplication, division, multiplication, addition, subtraction).
 
Last edited:
  • #53


uart said:
I voted for the answer 2 for the following reason. Everywhere in written mathematics (textbooks, papers, exams etc) that I see implied multiplication it is always is given high precedence than division.

Something like 8 x^2 \divide 2x, for example, invariably means 8 x^2 \divide (2x). So I've taken to modifying BIDMAS in the following was to also include "implied" multiplication.

BIIDMAS : (brackets, indices, implied multiplication, division, multiplication, addition, subtraction).

Well unless that is official notation it's worthless. I've never seen it given precedence.

I'm curious how does 8x2x = 8x22x?
 
  • #54


Well unless that is official notation it's worthless

I'm not sure what you mean. I'm talking about how written mathematical equations with implied multiplication are invariably interpreted in my experience.

Implied multiplication is where the "times" symbol is not explicitly written but is implied by algebraic convention.

In written mathematics for example 8 x^2 \div 2x invariably means 8 x^2 \div (2x).

James. I challenge you to find one example in a well written mathematical text or paper where the divide symbol is allow to "break" an implied multiplication. That is an instance where for example 8 x^2 \div 2x is written but (8 x^2 \div 2) \times x is meant.
 
Last edited:
  • #55


uart said:
I'm not sure what you mean. I'm talking about how written mathematical equations with implied multiplication are invariably interpreted in my experience.

8 x^2 \div 2x, for example, invariably means 8 x^2 \div (2x).

Ah, so there's a divide in there.

Well it's only implied and allows interpretation. If you follow the standard rule on it, the implication is worthless.

The only way to guarantee it is to use brackets - which is something I always do. I'll go overkill on brackets if I need to because I want to make sure everyone knows exactly what I'm doing.
 
  • #56


jarednjames said:
Ah, so there's a divide in there.
Yes it was always there but a latex error preventing it from displaying properly for the first minute after I posted.

If you follow the standard rule on it, the implication is worthless.
Then please take on my challenge.

James. I challenge you to find one example in a well written mathematical text or paper where the divide symbol is allow to "break" an implied multiplication. That is an instance where for example 8 x^2 \div 2x is written but (8 x^2 \div 2) \times x is what is meant.
 
Last edited:
  • #57


I don't think the \div symbol is used once in any mathematical text I have.
 
  • #58


uart said:
Then please take on my challenge.
jhae2.718 said:
I don't think the ÷ symbol is used once in any mathematical text I have.

That was about to be my exact response to that challenge.

It's a non-issue if you use the alternate notation seen pretty much everywhere else.

You can do the division and leave the x term there and not have a problem.

Example:

9 / 2x = 4.5 / x

9x / 2x = 4.5

I've done no multiplication what-so-ever and still have simplified equations (or the answer in the latter case).
 
  • #59


jarednjames said:
That was about to be my exact response to that challenge.

It's a non-issue if you use the alternate notation seen pretty much everywhere else.

You can do the division and leave the x term there and not have a problem.

Example:

9 / 2x = 4.5 / x

9x / 2x = 4.5

I've done no multiplication what-so-ever and still have simplified equations (or the answer in the latter case).

Utter nonsense! If you do the division first in that example you get,

9 / 2x = 4.5 x instead of the usual interpretation which would be 9 / 2x = 4.5 / x.
 
  • #60


uart said:
Utter nonsense! If you do the division first in that example you get,

9 / 2x = 4.5 x instead of the correct 9 / 2x = 4.5 / x

I put brackets into try and force the multiplication in the calculator.

9/2x = 4.5/x = 18/4x

If you want to simplify the equation, you can just work with the numbers and ignore the x values. Cancel it down in other words.

Not quite what we're going for ey? I see, I've gone the wrong way.

In which case, 9 / 2x = 4.5x, you are correct. But then you've answered your own question of when the division can interrupt the multiplication, surely?
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
28K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 56 ·
2
Replies
56
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 10 ·
Replies
10
Views
10K
  • · Replies 20 ·
Replies
20
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
2
Views
2K