To avoid confusion with numerical calculations, mathematicians decided on a strict order of operations when calculations are are done involving any or all of the basic operations.
To understand the confusion, think about this calculation:
Working from left to right, which is not how mathematicians work, we might add $5$5 to $6$6 first to get $11$11, then times the result by $2$2 to get $22$22, and then add $4$4 to that, giving a final answer of $26$26.
Working from right to left, as some languages are written, we might add $2$2 to the $4$4 to get $6$6 then times that result by $5$5 to get $30$30, and then finally add $6$6 to give a final answer of $36$36.
Neither of these answers would be correct, according to a mathematician.
The mathematician would understand a global convention, where,
So where does that leave us with the calculation $6+5\times2+4$6+5×2+4?
Well, there are no brackets or parentheses, so we can move straight to multiplication and division. But there's only a single multiplication, so we'll do that first:
Finally, the addition becomes $20$20, and so $20$20 is the mathematical answer.
You might like to think about what we just discusses about order of operations in these examples involving decimals:
Look carefully at what happens when we simplify the calculation line by line:
Notice how the bracketed things are dealt with first, and within those brackets the multiplication is done before the addition.
After the brackets have been completely dealt with, the multiplication left and the division are done separately before we add what remains.
This calculation only involves two divisions only.
The wrong way to proceed is to deal with the second division before the first. The only time we would do that is if the last division was bracketed. Then $12.8\div\left(6.4\div2\right)$12.8÷(6.4÷2) becomes $12.8\div3.2=4$12.8÷3.2=4. This turns out to be four times the actual answer!
If we proceed correctly, however, we would calculate it as...
If we reach for a calculator to evaluate this, we had better hope that the calculator is a scientific calculator, because a simple desk top calculator can give you the wrong answer.
I used my simple desk top calculator and got an answer of $102.35$102.35
I used a scientific calculator and got an answer of $110.35$110.35
The desk top calculator calculated from left to right. The scientific calculator completed the division first.
My desk top calculator got it wrong again. Some desk top calculators follow the conventions, and you should test it yourself before relying on mathematical answers.
The correct answer is $2$2 because the division must be done first.
The left hand bracket is dealt with first, the the right hand bracket is dealt with, and then finally the division between the two brackets happens. In steps..
That's exactly what my scientific calculator shows me!
Find the value of $531.44\div8+8$531.44÷8+8, giving your answer as a decimal.
Find the value of $5.22+19.11\div0.7+94.87$5.22+19.11÷0.7+94.87, giving your answer as a decimal.
Find the exact value of $\left(4.48\div2\right)\div\left(0.8\times0.4\right)$(4.48÷2)÷(0.8×0.4).
Understand operations on fractions, decimals, percentages, and integers