Chuyển đến nội dung

Bài 5 · Expressions and Order of Operations

Expressions and Operations

Learn what a numerical expression is, how the four operations relate, how to read terms like sum and product, and how to translate words into expressions.

A numerical expression is a mathematical phrase made of numbers and operation signs, such as 8 + 3 × 2. It has a value but no equals sign: it is like a noun phrase, not a full sentence. An equation is a complete sentence that says two expressions are equal, like 8 + 3 × 2 = 14.

This lesson reviews the four operations, the words that describe them, and how to turn everyday language into expressions.

The four operations

Operation Symbol Result is called Example
Addition + sum 7 + 5 = 12
Subtraction − difference 7 − 5 = 2
Multiplication × or · product 7 × 5 = 35
Division ÷ or / quotient 35 ÷ 5 = 7

Addition and subtraction are inverse operations: one undoes the other. If 7 + 5 = 12 then 12 − 5 = 7. Multiplication and division are inverses too: if 7 × 5 = 35 then 35 ÷ 5 = 7. Inverse operations are the main tool for solving equations later.

Computers use * for multiplication and / for division, because × is not on most keyboards. In this course, the code uses * and /, and the text uses × and ÷.

Python The four operations and their inverses

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Division facts

  • You can never divide by zero: 5 ÷ 0 has no answer. Ask "what times 0 makes 5?" and you will see that nothing does.
  • 0 ÷ 5 = 0, because 0 × 5 = 0.
  • A division may leave a remainder: 17 ÷ 5 = 3 remainder 2, because 5 × 3 + 2 = 17.
Python Quotient and remainder

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Reading expressions in words

Math has a precise vocabulary. Here is how common phrases translate.

Words Expression
the sum of 9 and 4 9 + 4
6 more than 10 10 + 6
the difference of 9 and 4 9 − 4
6 less than 10 10 − 6 (note the order!)
the product of 3 and 8 3 × 8
twice 8 2 × 8
the quotient of 20 and 4 20 ÷ 4
20 divided by 4 20 ÷ 4

"6 less than 10" means 10 − 6, not 6 − 10. The phrase "less than" reverses the order. The same happens with "subtracted from": "4 subtracted from 9" is 9 − 4.

Grouping with parentheses

Parentheses ( ) tell you to treat what is inside as one unit. "Twice the sum of 3 and 4" is 2 × (3 + 4) = 14. Without parentheses, 2 × 3 + 4 would mean something different (10), because multiplication happens before addition. The next lesson explains these rules in full.

Translating a word problem

Maya buys 3 notebooks at 4 dollars each and a pen for 2 dollars. How much does she spend?

  1. Cost of notebooks: 3 × 4.
  2. Add the pen: 3 × 4 + 2.
  3. Evaluate: 12 + 2 = 14 dollars.

Writing the expression first is the key habit. Here is a version that builds the expression from named quantities, so every number has a meaning.

Python From a story to an expression

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Changing one number and re-running shows why expressions are useful: the structure stays and only the inputs change.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the product of 6 and 7?

    Product means the result of multiplication: 6 × 7 = 42. The sum would be 13 and the difference 1.
  2. 2. Which expression means '5 less than 12'?

    You start from 12 and take 5 away, so the expression is 12 − 5 = 7.
  3. 3. 17 ÷ 5 has quotient 3. What is the remainder?

    5 × 3 = 15, and 17 − 15 = 2.
  4. 4. Which operation undoes multiplication by 9?

    Multiplication and division are inverse operations. Dividing by 9 undoes multiplying by 9.

Summary

  • An expression has numbers and operations but no equals sign; an equation states that two expressions are equal.
  • Sum, difference, product and quotient name the results of the four operations.
  • Addition/subtraction and multiplication/division are inverse pairs.
  • Never divide by zero; watch the order in "less than" and "subtracted from".
  • Parentheses group parts of an expression.

Next: Order of Operations

Theo dõi tiến độ của bạn

Tạo tài khoản miễn phí để đánh dấu bài đã học và tiếp tục từ chỗ bạn dừng lại trên mọi thiết bị.