Order of Operations

To correctly solve an equation or simplify an expression, you must perform the operations (multiplication, addition, exponents) in the correct order. This order is: Parentheses (first), Exponents, Multiplication, Division, Addition, Subtraction (last).

You can remember this order by the acronym PEMDAS.

  1. Parentheses
  2. Exponents
  3. Multiplication
  4. Division
  5. Addition
  6. Subtraction

The mnemonic ‘Please Excuse My Dear Aunt Sally’ will help you remember the acronym.

Here is one example of simplifying an expression with many operations. Each line shows the next step in the process:

3\cdot2^3/(2+2^2)+2 \\=3\cdot2^3/(2+4)+2\\=3\cdot2^3/6+2\\=3\cdot8/6+2\\=24/6+2\\=4+2\\=6

Below, notice how we get a different (and incorrect) solution when we improperly perform an addition before the division.

 3\cdot2^3/(2+2^2)+2  \\=3\cdot2^3/(2+4)+2\\=3\cdot2^3/6+2\\=3\cdot8/6+2\\=24/6+2\\ \neq 24/8  \qquad\qquad \text{Incorrect order}\\=3 \qquad \qquad \quad \;  \text{Wrong answer}

The previous example shows why order is important. Here is another example of correctly simplifying an expression with several operations:


Notice how we began by adding the 2 and 1 in the exponent position of the 3? Any operations in an exponent should be computed first, they are in unwritten but implied parenthesis. For example:


Division can actually occur before multiplication, and subtraction can come before addition (PEDMSA would work too), but parenthesis must come first overall, then exponents, then division or multiplication, then addition or subtraction.


Notice we also get the same result when we perform division before multiplication and subtraction before addition.


Practice Questions

  1. 4\cdot3^2/(2\cdot3)^{1+1}+2^2
  2. (2\cdot5/(4+1)+4)\cdot3
  3. 2\cdot4+1-3-5\cdot6
  4. 4\cdot(3+2)^{3}/25
  5. (4\cdot5-6\cdot3)/2^{3}