Writing Algebraic Expressions
An algebraic expression uses letters to stand for numbers, like . Expressions let you describe a whole pattern in one short line, instead of listing case after case. On this page you’ll learn the vocabulary, turn words and patterns into expressions, and check whether two different-looking expressions really say the same thing.
Key ideas
Section titled “Key ideas”Variables, terms, coefficients and constants
Section titled “Variables, terms, coefficients and constants”A variable is a letter that stands for a number that can change, like or .
Take the expression . It has three terms, separated by and signs:
| Part | In | What it means |
|---|---|---|
| Terms | , , | the pieces being added |
| Coefficient of | the number multiplying | |
| Coefficient of | the sign belongs to the term | |
| Constant | a term with no variable |
Two small but important facts:
- means . We don’t write the multiplication sign.
- on its own has a coefficient of , and has a coefficient of .
Translating words into expressions
Section titled “Translating words into expressions”Let be the number. Here are the most common phrases:
| Words | Expression |
|---|---|
| 5 more than a number | |
| 3 less than a number | |
| twice a number | |
| a number divided by 4 | |
| 3 less than twice a number | |
| twice the sum of a number and 3 |
Watch out for “less than”. “3 less than a number” starts with the number and takes 3 away, so it’s , not .
Also watch for “the sum” or “the difference”. They tell you to add or subtract first, so you need brackets: “twice the sum of a number and 3” is .
Generalizing a growing pattern
Section titled “Generalizing a growing pattern”Here is a pattern made of toothpicks. Each figure adds one more square.
Put the counts in a table:
| Figure number, | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Toothpicks | 4 | 7 | 10 | 13 |
The count goes up by 3 each time, so the expression starts with . But gives for Figure 1, and we need . Add to fix it: .
The picture tells you why. Start with the orange toothpick on the left. Each square then adds three blue ones (top, bottom and right side). So squares need blue toothpicks plus orange one: .
Now you can find any figure without drawing it. Figure 50 uses toothpicks.
Equivalent expressions
Section titled “Equivalent expressions”Two expressions are equivalent if they give the same value for every value of the variable. For example, and are equivalent. There are three ways to check:
- Substitute numbers. Try several values of in both expressions and compare.
- Graph them. Graph each expression. Equivalent expressions give exactly the same line or curve.
- Use algebra. Simplify one expression until it looks like the other. Here, by the distributive property. You’ll practise this in simplifying algebraic expressions.
Why one number isn’t enough. Try in and . Both give ! But try : and . They’re not equivalent. A matching value can be a coincidence, so substituting can only suggest that two expressions are equivalent. A single value that doesn’t match does prove they are not equivalent. To be sure they are equivalent, use algebra.
Where this comes from
Section titled “Where this comes from”The word “algebra” comes from the Arabic al-jabr, part of the title of a book written in Baghdad around 820 CE by the mathematician Muhammad ibn Musa al-Khwarizmi. He solved problems entirely in words, with no letters for unknowns. Using letters like became common much later, in Europe in the 1600s. Today, the same idea runs every spreadsheet formula and computer program you use.
Worked examples
Section titled “Worked examples”Example 1: Naming the parts
Section titled “Example 1: Naming the parts”For the expression , list the terms, the coefficient of , the coefficient of , and the constant.
Solution.
- Terms: , , and . There are four terms.
- Coefficient of : the term is , which means , so the coefficient is .
- Coefficient of : .
- Constant: (keep the sign with the term).
Example 2: From words to an expression
Section titled “Example 2: From words to an expression”Write an expression for each. Let be the number.
- (a) 6 less than three times a number
- (b) the product of 5 and the sum of a number and 2
- (c) the cost, in dollars, of movie tickets at $14 each plus one $9 popcorn
Solution.
(a) “Three times a number” is . “6 less than” that means take 6 away: .
(b) “The sum of a number and 2” is . The product of 5 and that whole sum needs brackets: .
(c) tickets at 14 dollars each cost dollars. Add the popcorn: .
Check (c): 2 tickets and a popcorn cost dollars. That’s , which makes sense. ✓
Example 3: A tile pattern from a table
Section titled “Example 3: A tile pattern from a table”A tile pattern grows like this:
| Figure number, | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Tiles | 5 | 9 | 13 | 17 |
- (a) Write an expression for the number of tiles in Figure .
- (b) How many tiles are in Figure 20?
- (c) Which figure uses 101 tiles?
Solution.
(a) The number of tiles goes up by 4 each time, so start with . For Figure 1, , but we need 5. Add 1: the expression is .
Check Figure 3: . ✓
(b) tiles.
(c) We need . Take away 1: . Divide by 4: . It’s Figure 25.
Example 4: Are they equivalent?
Section titled “Example 4: Are they equivalent?”Which of these are equivalent to : or ?
Solution.
Substitute. Try a few values:
| 0 | |||
| 1 | |||
| 5 |
already fails at , so it is not equivalent. matches every time, which suggests it is equivalent, but three checks aren’t proof.
Use algebra. Multiply out the bracket, then combine the terms:
So and are equivalent. (If you graphed them, you would get the same line.)
Common mistakes
Section titled “Common mistakes”Writing “less than” backwards. “4 less than a number” is , not . Test it with a real number: 4 less than 10 is 6, and .
Forgetting brackets. “Three times the sum of a number and 5” is . Writing only multiplies the number by 3, not the 5. When you see “the sum” or “the difference”, you almost always need brackets.
Dropping the sign of a term. In , the coefficient of is , not . The sign in front of a term belongs to that term.
Using only the “jump” in a pattern. If a pattern goes 4, 7, 10, 13, the expression is not just . Always check your expression with Figure 1: , but there are 4 toothpicks, so you need .
Trusting one matching value. and both equal 4 when , but they aren’t equivalent. Test several values, including and a negative number, and use algebra to be sure.
Practice
Section titled “Practice”1. (Warm-up) For the expression , list the terms, the coefficient of , the coefficient of , and the constant.
Solution
Terms: , and .
Coefficient of : . Coefficient of : . Constant: .
2. (Warm-up) Write an expression for each. Let be the number.
- (a) 10 more than a number
- (b) 7 less than a number
- (c) a number divided by 3, minus 4
- (d) twice the difference of a number and 5
Solution
(a)
(b)
(c)
(d) “The difference of a number and 5” is . Twice that is .
3. (Warm-up) In the toothpick pattern above, Figure uses toothpicks. How many toothpicks are in Figure 10? Describe Figure 10 in words.
Solution
Figure 10 is a row of 10 squares, made of 31 toothpicks.
4. (Core) A phone plan costs $25 per month, plus $10 for each extra gigabyte (GB) of data.
- (a) Write an expression for the monthly cost, in dollars, if you use extra GB.
- (b) What does the plan cost in a month when you use 3 extra GB?
Solution
(a) Each extra GB adds 10 dollars, so extra GB add . The monthly cost is (or ).
(b) . The plan costs $55 that month.
5. (Core) Here is a pattern of dots:
| Figure number, | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Dots | 2 | 7 | 12 | 17 |
- (a) Write an expression for the number of dots in Figure .
- (b) How many dots are in Figure 50?
Solution
(a) The count goes up by 5 each time, so start with . For Figure 1, , but there are only 2 dots, so subtract 3. The expression is .
Check Figure 4: . ✓
(b) dots.
6. (Core) A row of triangles is made from toothpicks. One triangle uses 3 toothpicks, two triangles (sharing a side) use 5, and three triangles use 7.
- (a) Write an expression for the number of toothpicks in a row of triangles. Explain it using the picture.
- (b) How many triangles can you make in a row with 61 toothpicks?
Solution
(a) The count goes up by 2 each time: each new triangle shares one side with the one before it, so it needs only 2 new toothpicks. Start with 1 toothpick, and add 2 for each triangle: .
Check: gives . ✓
(b) Solve . Take away 1: . Divide by 2: . You can make 30 triangles.
7. (Core) Decide whether each pair of expressions is equivalent. Justify your answer.
- (a) and
- (b) and
- (c) and
Solution
(a) Not equivalent. Try : , but . One value that doesn’t match is enough to prove they’re different. (The 2 must multiply both and : .)
(b) Equivalent. Five ‘s take away one leaves four ‘s: for every value of .
(c) Not equivalent. Try : , but . (Be careful: they do match at and , which is why you should test more than one value.)
8. (Challenge) Priya tests the expressions and . When , both give . When , both give . She says they must be equivalent. Is she right? Explain.
Solution
No. Try :
They give different values, so they are not equivalent. Matching at two values was a coincidence. On a graph, is a curve and is a line; they just happen to cross at and . Equivalent expressions must match for every value, and their graphs would be the same.
9. (Challenge) A square frame is made of square tiles around the edge of an by square (with ). For example, a 5 by 5 frame has a border of 16 tiles. Two students count the tiles differently:
- Amir writes .
- Bea writes .
Explain how each student might have counted, and show that their expressions are equivalent.
Solution
Amir: go around the frame in four equal pieces. Each piece is one side of tiles, minus the corner where the next side starts, so each piece has tiles. Four pieces: .
Bea: count the whole top row and bottom row ( tiles each, so ). The left and right columns are left, and each is missing its top and bottom tile, so each has tiles: . Total: .
Equivalent? Use the distributive property on both:
Both simplify to , so they’re equivalent. Check with : and . ✓