Patterns, Variables, and Algebraic Thinking

4. Order of Operations

Learning outcomes
  • I can explain the purpose of the order of operations.
  • I can apply PEMDAS/BEDMAS correctly.
  • I can evaluate numerical expressions involving multiple operations.
  • I can evaluate algebraic expressions by substituting values.
  • I can solve multi-step calculations accurately.

Why Do We Need an Order of Operations?

Many mathematical expressions contain more than one operation.

For example:

6+4×56+4\times5

Should we:

  • Add first?
  • Multiply first?

If everyone chose a different order, they would get different answers.

To avoid confusion, mathematicians around the world use a standard order of operations.

This ensures that everyone obtains the same answer.


PEMDAS / BEDMAS

The order of operations is commonly remembered using:

PEMDAS

  • P – Parentheses
  • E – Exponents
  • M – Multiplication
  • D – Division
  • A – Addition
  • S – Subtraction

or

BEDMAS

  • B – Brackets
  • E – Exponents
  • D – Division
  • M – Multiplication
  • A – Addition
  • S – Subtraction

Both acronyms describe the same mathematical rules.

Important: Multiplication and division have equal priority. Work from left to right.

Addition and subtraction also have equal priority. Work from left to right.


Step 1: Parentheses (Brackets)

Always evaluate expressions inside parentheses first.

Example

8+(6−2)8+(6-2)

Step 1:

6−2=46-2=4

Step 2:

8+4=128+4=12

Answer:

12\boxed{12}12​

Step 2: Exponents

Evaluate powers after parentheses.

Example

4+324+3^2

Calculate the exponent first.

32=93^2=9

Then:

4+9=134+9=13

Answer:

13\boxed{13}13​

Step 3: Multiplication and Division

Perform multiplication and division from left to right.

Example

24÷6×224\div6\times2

First:

24÷6=424\div6=4

Then:

4×2=84\times2=8

Answer:

8\boxed{8}8​

Notice that multiplication is not always done before division.


Step 4: Addition and Subtraction

Finally, perform addition and subtraction from left to right.

Example

18−5+218-5+2

First:

18−5=1318-5=13

Then:

13+2=1513+2=15

Answer:

15\boxed{15}15​

Addition is not always done before subtraction.


Worked Examples

Example 1

Evaluate:

7+3×47+3\times4

Multiply first:

3×4=123\times4=12

Then:

7+12=197+12=19

Answer:

19\boxed{19}19​

Example 2

Evaluate:

(9−4)×6(9-4)\times6

Parentheses first:

9−4=59-4=5

Multiply:

5×6=305\times6=30

Answer:

30\boxed{30}30​

Example 3

Evaluate:

18÷3+718\div3+7

Division first:

18÷3=618\div3=6

Then:

6+7=136+7=13

Answer:

13\boxed{13}13​

Example 4

Evaluate:

23+52^3+5

Exponent first:

23=82^3=8

Then:

8+5=138+5=13

Answer:

13\boxed{13}13​

Evaluating Algebraic Expressions

When an expression contains variables, first substitute the given values.

Example

Evaluate:

3x+43x+4

when:

x=5x=5

Step 1:

Substitute:

3(5)+43(5)+4

Step 2:

Multiply:

15+415+4

Step 3:

Add:

191919

Answer:

19\boxed{19}19​

Another Example

Evaluate:

2a2−32a^2-3

when:

a=4a=4

Step 1:

Substitute:

2(4)2−32(4)^2-3

Step 2:

Exponent:

42=164^2=16

Step 3:

Multiply:

2×16=322\times16=32

Step 4:

Subtract:

32−3=2932-3=29

Answer:

29\boxed{29}29​

Multi-Step Calculations

Many expressions require several steps.

Example

4+2(7−3)24+2(7-3)^2

Step 1:

Parentheses:

7−3=47-3=4

Step 2:

Exponent:

42=164^2=16

Step 3:

Multiplication:

2×16=322\times16=32

Step 4:

Addition:

4+32=364+32=36

Answer:

36\boxed{36}36​

Working carefully through each step reduces mistakes.


Common Mistakes

Mistake 1

Ignoring multiplication.

Incorrect:

5+4×2=(5+4)×2=185+4\times2=(5+4)\times2=18

Correct:

5+8=135+8=13

Mistake 2

Ignoring parentheses.

Incorrect:

10−3×2=1410-3\times2=14

Correct:

10−6=410-6=4

Mistake 3

Forgetting exponents.

Incorrect:

3+23=(3+2)3=1253+2^3=(3+2)^3=125

Correct:

3+8=113+8=11

Mistake 4

Doing multiplication before division (or addition before subtraction) regardless of order.

Incorrect:

24÷6×2=224\div6\times2=2

Correct:

24÷6=4,4×2=824\div6=4,\qquad4\times2=8

Always work from left to right when operations have equal priority.


Why the Order of Operations Matters

The order of operations allows mathematicians, scientists, engineers, and computer programmers to communicate calculations clearly.

It ensures that:

  • Everyone follows the same rules.
  • Expressions have only one correct value.
  • Mathematical formulas work consistently.

Without these rules, mathematics would be unreliable.


Real-World Applications

The order of operations is used in many fields.

Science

Calculating:

  • Speed.
  • Force.
  • Energy.
  • Chemical formulas.

Engineering

Design calculations require accurate multi-step mathematics.


Finance

Calculating:

  • Interest.
  • Taxes.
  • Discounts.
  • Investment returns.

Computing

Computer programs follow the order of operations exactly when evaluating expressions.


Worked Example

Evaluate:

5+2(9−5)2÷45+2(9-5)^2\div4

Solution

Step 1:

Parentheses:

9−5=49-5=4

Step 2:

Exponent:

42=164^2=16

Step 3:

Multiply and divide from left to right:

2×16=322\times16=3232÷4=832\div4=8

Step 4:

Addition:

5+8=135+8=13

Answer:

13\boxed{13}13​

Key Terms

Order of Operations — The agreed sequence for evaluating mathematical expressions.

Parentheses (Brackets) — Symbols used to group parts of an expression that should be evaluated first.

Exponent — A number indicating repeated multiplication.

Substitution — Replacing a variable with a known value.

Expression — A mathematical phrase containing numbers, variables, and operations.

Evaluate — To calculate the value of an expression.


Key Takeaways

  • The order of operations ensures that mathematical expressions are evaluated consistently.
  • Follow PEMDAS or BEDMAS:
    1. Parentheses (Brackets)
    2. Exponents
    3. Multiplication and Division (left to right)
    4. Addition and Subtraction (left to right)
  • Multiplication and division have equal priority, as do addition and subtraction.
  • When evaluating algebraic expressions, substitute the given values before applying the order of operations.
  • Solving multi-step calculations carefully helps avoid common mistakes and ensures accurate results.

Suggested Images

https://images.openai.com/static-rsc-4/vztDo_ofIboR-mHNFJDbIHrFLX78zoRdfiVFNYJ77R57ULr1R0MWqldWtuzxOdaKrgg67xNB43jMM1eg-Sh0VVUZg2OqWax-F-UylMhDjYhQRzMKxQxj7hfYpciRcwPDjkk4APy-XBg9tpGpDBcmHgUbi_ds7BiE_9qWZkx5X9-hlx2xk2rMgeXP99m2RO-K?purpose=fullsize
https://images.openai.com/static-rsc-4/y6Qf6y-CWzEzGroLef5oPNt9ueI0yMOzOGyjcZv9zmgwENxMKau2s8lVrqRPdYKO1r8gOP0rm_6hqQHxMonZ8DFc0Zt6RsVPsvzcNt4HCUW6866pmvmddrwSKGifh6ozRbU29iW6UwqhE1UalmQKOfWMkflCPhCpwHVNnVD-0m7whQg-VzJjtVDxpN7s_xs8?purpose=fullsize
https://images.openai.com/static-rsc-4/uZTYHxh-SyZFnxhsY3l4ucbFq9g2qD1IjLOUWLkW9R4CbWHQd08xni7DQpjOGKr550smn1FT_0pTSAjdj8bZxoNVDdcdZmrJxeKuhqwGcALmZ8BLllPxvQbME_ohmNztQkHFuUemaaQijJ7WescTq3h_NEDFQbHnHki1ftZVfrV7kC5wQgK6ubR2zET3n2LL?purpose=fullsize
7
https://images.openai.com/static-rsc-4/TBr_vi-oQnILfvI7nO-T6fGC4mrGL-p17UpCZcn2uwOzYlUYtBiDhH_vYoSY0qTsbOw0y2Xe84g8vGdkxiagI9SWp1lp-VxdEH0oB9-32Y1WYdTgCCLnvKcn04vNwi5emExJ864cyPj4GHYAH_Z_bfxk648UVph7DsZ-DYzfsYsJoSDrHoZCjrV1tXkzxEg7?purpose=fullsize
https://images.openai.com/static-rsc-4/jQdlp16T7PN0Xduz55-bF78RNlxbdzbI-TES2mKEyE2MSA0znn__ejOptJgeUDNWn25vHPu4bufHRsq-HY_hUl3rprc-3qdbq3-FQDUMGLamVmEQJr9NHkwyRwfvoSHGOXgmg-MnEtMQsY3Of2W4SDFHYZMWvvlaeDjHDRDLlK_RKJBgKa9l4LLwu9VWgsTI?purpose=fullsize
https://images.openai.com/static-rsc-4/uWOJIiN022SUfN4e57HY_KxXS7-0r-_5TbT4FZ9uCNM_0cYzkjmzpBYf_kVjhMpcRCmKqd4YH68ANxx7DEjOUGxR9YoGGC9-npxWFmzo85Yb4o5hg0N6SvWggIwk1KxVa-oPtwb0j9CtSczkTqjkJ8wLBy1kTrBcBE8D7ik91ss7syW_zkSyzlyKZtuIF0BS?purpose=fullsize
6

Suggested placement:

  1. After "PEMDAS / BEDMAS" – Colourful infographic illustrating the sequence of operations, emphasizing that multiplication/division and addition/subtraction are performed left to right.
  2. After "Worked Examples" – Step-by-step visual solution showing each stage of evaluating a multi-operation numerical expression.
  3. After "Evaluating Algebraic Expressions" – Diagram demonstrating how to substitute a value for a variable before applying the order of operations.
  4. After "Common Mistakes" – Educational poster highlighting frequent errors (such as ignoring brackets or performing multiplication before division regardless of order) alongside the correct solutions.
  5. After "Real-World Applications" – Images of a calculator, engineering calculations, and scientific formulas illustrating where the order of operations is used in everyday life and STEM fields.