[Math] Order of operations (BODMAS)

arithmetic

$$40-20/2+15\times1.5\\\hspace{.1in}\\40-20/2+15\times1.5=\\ 40-10+22.5=7.5$$

I'm studying and this is from an example.

In BODMAS, aren't addition and subtraction have same level?

So, in the 3rd line, it should be from left to right, correct?

Best Answer

$$40-10+22.5=52.5$$

You're correct, subtraction and addition have the same level of priority, so when both exist, then you operate from left to right. You are entirely correct about that. If you were puzzled when you saw the "answer" $\,7.5$, good for you, since $\;\;40-10+22.5\neq 7.5!$

Now, note: $$40-(10+22.5)=7.5$$

because operations in "brackets" (or parentheses) have greatest priority.

So let's be forgiving: perhaps the author of the problem statement/review notes forgot parentheses!