Simple math equation

Nathan

SF VIP
Found this on Facebook, a lot of people are getting the wrong answer! What is your answer, and how did you calculate it?

MATH.jpg
 

I'd say 8 divided by 2 = 4, and 4 divided by 2 = 2. that would make my answer 4 divided by 2, which would be 2. I could be totally wrong, but then I will be in good company.
 
Well I think we all agree to work the bracket(4-2 which equals 2), From there that product should be multiplied by 2, since the 2 is adjacent to the parenthesized equation. That equals 4. finally, the 8 gets divided by 4(eg: 8/4) which equals 2.

Edit: using a calculator tapping out 8÷2 x 2 does equal 8... :unsure:
 
Last edited:
It depends on the precedence rules. In Python it goes:
PEMDAS
P – Parentheses.
E – Exponentiation.
M – Multiplication.
D – Division.
A – Addition.
S – Subtraction

... in which case, the answer would be 2.
If you just went from left to right, the answer would be 8.
 
Today's kids can just ask the internet to do their homework.
 

Attachments

  • Screenshot_20230421_214938_Chrome.jpg
    Screenshot_20230421_214938_Chrome.jpg
    27.8 KB · Views: 4
After watching this video I don't care anymore! :ROFLMAO:

A good explanation. I think some people consider one having priority over another, when it is Multiplication AND Division... left to right.
This rule applies in both PEMDAS and BODMAS. It is P, E, M&D, A&S, or B,O, D&M, A&S.
 
This is what Bard gave me:

According to PEMDAS, we perform the operations in parentheses first. So, we evaluate 4 - 2 = 2. Then, we have 8 / 2(2). Since we have multiplication and division of equal precedence, we perform the operations from left to right. So, we evaluate 8 / 2 = 4. Then, we have 4(2) = 8. Therefore, the answer is 8.

So AI says that multiplication and division have equal precedence, so we just go from left to right.
 
ChatGPT gave me an answer of 2! :ROFLMAO:

To use PEMDAS (or BEDMAS) precedence rules, we perform the operations in the following order:

Parentheses
Exponents
Multiplication and Division (from left to right)
Addition and Subtraction (from left to right)
Using this order, we evaluate the expression:

8 / 2(4 - 2)

First, we simplify the expression inside the parentheses:

8 / 2(2)

Next, we perform the division:

8 / 4

Finally, we perform the multiplication:

2

Therefore, the answer is 2.
 

Back
Top