Photo by Chris Liverani on Unsplash

The order of operations

The order of operations tells us which calculations to perform first and which to perform afterward to reach the correct answer. It is essential both for solving mathematics problems and for building equations in mental arithmetic games. In this article, the Fastmath team explains the basics to help you solve future questions.

Parentheses, addition, subtraction, multiplication, and division

Let’s begin with the basic operations. Their order is:

  1. Parentheses: Evaluate expressions inside parentheses first, working from the innermost pair outward.
  2. Multiplication and division: Work from left to right.
  3. Addition and subtraction: Work from left to right.

An example makes this clearer:

5×4÷2+6−3÷3+1= ?5×4÷2+6−3÷3+1= ?20÷2+6−1+1= ?10+6−1+1= ?16−1+1= ?15+1=16\begin{aligned} 5 \times 4 \div 2 + 6 - 3 \div 3 + 1 &=\ ? \\ \colorbox{#dcfce7}{$5 \times 4$} \div 2 + 6 - \colorbox{#dcfce7}{$3 \div 3$} + 1 &=\ ? \\ \colorbox{#dcfce7}{$20 \div 2$} + 6 - 1 + 1 &=\ ? \\ \colorbox{#dcfce7}{$10 + 6$} - 1 + 1 &=\ ? \\ \colorbox{#dcfce7}{$16 - 1$} + 1 &=\ ? \\ \colorbox{#dcfce7}{$15 + 1$} &=16 \\ \end{aligned}

In the expression above, we calculate the multiplication and division first, then add and subtract the results.

Other operators

Mental arithmetic equations can also use operators such as:

  • Exponentiation (ana^n)
  • Roots (  \sqrt{\ \ })
  • Factorials (!!)
  • Summation (∑\sum)

Unless parentheses specify otherwise, evaluate these before addition, subtraction, multiplication, and division.

Let’s look at an example:

4!÷23+17−1×∑n=15n−1= ?4!÷23+17−1×∑n=15n−1= ?24÷8+4×15−1= ?3+60−1= ?63−1=62\begin{aligned} 4!\div2^3+\sqrt{17-1}\times\sum_{n=1}^{5}n-1&=\ ? \\ \colorbox{#dcfce7}{$4!$}\div\colorbox{#dcfce7}{$2^3$}+\colorbox{#dcfce7}{$\sqrt{17-1}$}\times\colorbox{#dcfce7}{$\sum_{n=1}^{5}n$}-1&=\ ? \\ \colorbox{#dcfce7}{$24\div8$}+\colorbox{#dcfce7}{$4\times15$}-1&=\ ? \\ \colorbox{#dcfce7}{$3+60$}-1&=\ ? \\ \colorbox{#dcfce7}{$63-1$}&=62 \\ \end{aligned}

Notice that we evaluate these special operations first, followed by multiplication and division, then addition and subtraction.

When an equation contains parentheses, finish evaluating the expression inside each pair first. The same order of operations applies within them:

4×(6÷(5−3))+4(3!÷2−1)= ?4×(6÷(5−3))+4(3!÷2−1)= ?2×(6÷2)+4(6÷2−1)= ?2×3+4(3−1)= ?6+42= ?6+16=22\begin{aligned} \sqrt{4}\times\left(6\div\left(5-3\right)\right)+4^{\left(3!\div2-1\right)}&=\ ? \\ \colorbox{#dcfce7}{$\sqrt{4}$}\times\left(6\div\colorbox{#dcfce7}{$\left(5-3\right)$}\right)+4^{\left(\colorbox{#dcfce7}{$3!$}\div2-1\right)}&=\ ? \\ 2\times\colorbox{#dcfce7}{$\left(6\div2\right)$}+4^{\left(\colorbox{#dcfce7}{$6\div2$}-1\right)}&=\ ? \\ \colorbox{#dcfce7}{$2\times3$}+4^{\colorbox{#dcfce7}{$\left(3-1\right)$}}&=\ ? \\ 6+\colorbox{#dcfce7}{$4^2$}&=\ ? \\ \colorbox{#dcfce7}{$6+16$}&=22 \\ \end{aligned}

Knowing the order of operations helps you calculate correctly and build valid mental arithmetic equations. You may occasionally forget or mix up the order at first, but regular practice will help you remember and apply it confidently.

Share:
  • Share on Facebook
  • Share on X

More articles

All articles
enth