Order of Operations

< 21.2 Fundamental Laws of Arithmetic | Topic Index | 22.1 What is Geometry >

Evaluating expressions involving several numbers &amp; several operations is one of the basic tasks in arithmetic. But many expressions may yield different results depending on the sequence in which the operations are evaluated

If we take 3 + 8 + 7 + 4 or 3*8*7*4 we can perform the additions &amp; multiplications in any order that we want and the result would be the same. Hence the order of addition or multiplication can be changed. As per the fundamental laws of arithmetic, they are &ldquo;associative&rdquo;.

But take a simple math problem, which recently became a viral sensation in the Internet for reasons which are not really connected with math! What is the value of the expression 8 &divide; 2(2 + 2)?

It can have 2 different values depending on the order in which the operations are performed!

Which is correct? It has confused even the technical staff who edit the magazine Popular Mechanics.
 * 1) 2 + 2 = 4. 2 * 4 = 8 &amp; 8 &divide; 8 = 1
 * 2) 2 + 2 = 4. 8 &divide; 2 = 4. 4 * 4 = 16

BODMAS 

In the 17th century itself, mathematicians realized that, an expression which has a mix of different operations, could yield different results, depending on the order in which these operations were performed. Hence, they agreed that these operations should be performed as per an assigned priority. In India we call it the BODMAS rule. In western countries it is known as PEMDAS.

A math expression can have several operations in it. In arithmetic, the following are considered the normal operations. They are given along with a letter of the alphabet which is a short form for that operation.

B – Brackets O – Order (Exponentiation) D – Division M – Multiplication A – Addition S – Subtraction

Of the above, only &lsquo;O&rsquo; may need some explanation. It refers to operations like or 2^1/4. This refers to the exponentiation operation. The reason it is called O is not very clear.

The priority allotted to the operations is given below.


 * 1) B has the highest priority
 * 2) O has the next highest priority
 * 3) M &amp; D have equal priority, but their priority is next to O
 * 4) A &amp; S have equal priority, but their priority is next to M &amp; D

But statement 3 &amp; 4 are not absolutely true. As in the case of the problem we started the article, there are cases where the order in which the operations are done, can give different results.

But, mathematicians had already realized these exceptions and included an additional clause while applying BODMAS. The unfortunate aspect is that most people are not aware of this additional clause!

The additional clause says that in case operations of equal priority, like M &amp; D or A &amp; S, occur together, the operations should be carried out in the &ldquo;left to right&rdquo; direction.

Applying this additional clause, we can see that the correct result is the 2ndone.

The table below summarizes whatever we have discussed.
 * 1) First the bracket (2 +2) is worked out as 4.
 * 2) Then from left to right 8 &divide; 2 = 4.
 * 3) Then 4 * 4 = 16

BODMAS is a convention

BODMAS is not a math concept which can be logically deduced. It is just a convention commonly accepted by mathematicians all over the world to ensure that the result of multiple operations yields the same result.

It is like the use of the symbol &ldquo;X&rdquo; for multiplication and &ldquo;+&rdquo; for addition. It is just a convenience, to ensure clarity in communication.

To give a non-math example, it is like the direction of driving a car. When we are in a particular country, we adopt their convention! In the US we drive on the right side of the road, while in India we drive on the left side of the road! Imagine the dangers of not following this convention!

Collectively we can call these the &ldquo;Information&rdquo; aspect of math. They are neither concepts or skills. They have to be learnt from external sources and remembered by repeated use.

That this problem has become viral on the Internet is a sign that even in today&rsquo;s technological world, fundamentals of math have still not been clearly understood.

< 21.2 Fundamental Laws of Arithmetic | Topic Index | 22.1 What is Geometry >