Variables and constants
When you say "I bought pencils", you may mean any number , , or . The letter is doing the job of a flexible label.
Idea
A variable is a letter (like ) that stands for a number whose value is either unknown or can change. A constant is a fixed number like or .
In an expression like :
- is the variable,
- is the coefficient of (the number multiplying it),
- is a constant.
Why bother with letters? Because they let us write one rule that works for many situations. The rule "double the number and add " can be written as . Plug in to get . Plug in to get . One expression, infinitely many answers.
Letters also let us state laws of arithmetic in a compact way. For example, the commutative law of addition is just , true for any numbers and . Try it for : . ✓ Try it for : . ✓
A subtle convention: in algebra we write instead of , the multiplication sign is invisible when one factor is a letter. Similarly means . But between two numbers we still need the dot or cross: or .
Worked examples
Example 1. Identify the variable, coefficient and constant in .
Variable: . Coefficient of : . Constant: .
Example 2. Translate to algebra: "five more than three times a number".
Let the number be . "Three times" gives . "Five more" gives .
Example 3. A box has books. Three boxes have how many books?
.
Example 4. State the distributive law using letters.
for any numbers .
Try it yourself
- State the variable, coefficient and constant in .
- Write "twice a number, subtract " using .
- If a pencil costs , how much do pencils cost?
- State the commutative law of multiplication using letters.
- Write an expression for "one-third of , increased by ".
- Identify variables and constants in .
- Write the rule "perimeter of a square equals four times its side" using and .
- Translate: "ten less than half a number".
Activity
In pairs, make ten flashcards. One side has a sentence like "double the number plus seven"; the other side has the algebraic expression. Mix them up and quiz your partner.
Pick three different values of (your favourite numbers!) and evaluate for each. Note how only one expression handles all three.