maths.freeArithmetic › Order of operations

Order of operations

Brackets, powers, multiply/divide, add/subtract — and why the order is not optional.

An expression like 3 + 4 × (2 − 1)² has only one correct value because everyone agrees on the order: brackets first, then exponents, then multiplication and division left to right, then addition and subtraction left to right. The animation below performs exactly one operation per step, in that order.

Ví dụ đã làm: 3 + 4 * (2 - 1)^2

Evaluate 3 + 4 * (2 - 1)^2

7

Bước một bước

  1. 3 + 4 \left(-1 + 2\right)^{2} = 7

    Add: -1 + 2 = 1.

Giải đáp
7

Symbols used here

\leq,\ \geq
less/greater than or equal
Inequalities that allow equality; < and > exclude it.
\pm
plus or minus
Both signs at once: x = 3 ± 2 means 5 and 1.
\neq
not equal
The two sides are different.
\approx
approximately equal
Equal to the precision shown, not exactly.
\sqrt{x},\ \sqrt[n]{x}
square root, n-th root
The non-negative number whose square (n-th power) is x.
a \bmod n
remainder
What is left after dividing a by n.
\%
per cent
Per hundred: 15% = 15/100.
a : b,\ \frac{a}{b}
ratio, fraction
a for every b; a divided by b.

How to: Order of operations

  1. Add: -1 + 2 = 1.

Questions people ask

Why does the order of operations matter?

Because 2 + 3 × 4 would otherwise be two different numbers. The convention (brackets, exponents, multiplication and division, addition and subtraction) exists so every reader gets the same value from the same expression.

How do I check an arithmetic answer?

Estimate first (round every number and compute roughly), then compare. If the estimate and the exact answer disagree by more than a little, one of them is wrong. The solver shows every operation, so you can find which line went astray.

Why are fractions harder than decimals?

They are not harder, they are more exact: 1/3 is a precise number, 0.333 is an approximation. Fractions need a common denominator to add, which is the one extra step people trip on.

Thử đi.

More in Arithmetic