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 rectangular frame is made of square tiles around the edge of a rectangle that is tiles wide and tiles long (with ). For example, a 5 by 7 frame has a border of 20 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: count the two long sides in full ( tiles each, so ). The two short sides are left, and each is missing the corner tiles at both ends, so each has tiles: . Total: .
Bea: go around the frame in four pieces, giving each corner to just one side. Each short side then has its tiles minus one corner, so tiles, and each long side has its tiles minus one corner, so tiles. Total: .
Equivalent? Use the distributive property on both:
Both simplify to , so they’re equivalent. Check with : and . ✓ Another check: a 5 by 7 rectangle has tiles, and the inside without the border is 3 by 5, or tiles, leaving in the frame. ✓
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
Foundations
Section titled “Foundations”H1. (Foundations) For the expression :
- (a) List the terms. How many are there?
- (b) Give the coefficient of , the coefficient of , and the coefficient of .
- (c) Give the constant.
H2. (Foundations) Write an expression for each. Let be the number.
- (a) 8 less than a number
- (b) the quotient of a number and 6, plus 2
- (c) 4 more than five times a number
- (d) three times the difference of 9 and a number
- (e) 2 less than half a number
H3. (Core) A school club sells hot chocolate for $2 a cup and cookies for $3 each at a winter fundraiser.
- (a) Write an expression for the money raised, in dollars, from selling cups of hot chocolate and cookies.
- (b) The supplies cost $40. Write an expression for the club’s profit.
- (c) Find the profit when the club sells 45 cups and 30 cookies.
H4. (Core) Rectangular tables are pushed together end to end in a long row. One table seats 6 people (2 on each long side and 1 at each end). Two tables seat 10, and three tables seat 14.
- (a) Write an expression for the number of people a row of tables can seat. Explain where each part of your expression comes from in the seating arrangement.
- (b) How many people can 15 tables seat?
- (c) A class of 30 students and their teacher want to sit in one row. What is the smallest number of tables they need? Explain.
H5. (Core) A candle is 24 cm tall when it is lit. It burns down at a steady rate:
| Hours burning, | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| Height (cm) | 24 | 22 | 20 | 18 |
- (a) Write an expression for the height of the candle, in centimetres, after hours.
- (b) How tall is the candle after 7.5 hours?
- (c) Explain why your expression only makes sense for values of from 0 to 12.
H6. (Core) Which of these expressions are equivalent to ?
- (a) Make a table of values for all five expressions using , and .
- (b) Use your table to rule out any expressions that are not equivalent.
- (c) Use algebra to confirm which expressions are equivalent.
Challenge
Section titled “Challenge”H7. (Challenge) Liam wrote these two expressions, and both are wrong.
- “5 less than the product of 4 and a number” as
- “the sum of a number and 7, divided by 2” as
Explain each mistake, write the correct expression, and use to show that Liam’s expressions give different values from the correct ones.
H8. (Challenge) For each pair, decide whether the two expressions are always, sometimes, or never equal to each other. Justify each answer. For “sometimes”, give every value of that makes them equal.
- (a) and
- (b) and
- (c) and
- (d) and
H9. (Challenge) A row of hexagons is made from toothpicks, with neighbouring hexagons sharing one side. One hexagon uses 6 toothpicks, two use 11, and three use 16.
- (a) Ana writes for the number of toothpicks in a row of hexagons. Ben writes . Explain how each student might have counted.
- (b) Show that their expressions are equivalent.
- (c) Can a row of hexagons use exactly 100 toothpicks? Explain.
H10. (Challenge) Three gyms in Halifax use these expressions for the total cost, in dollars, of a membership for months:
- Gym A:
- Gym B:
- Gym C:
Kai notices that all three cost $45 for one month. He says the three expressions must be equivalent.
- (a) Find the cost at each gym for 6 months.
- (b) Which expressions are equivalent? Prove it with algebra.
- (c) Describe what the graphs of the three expressions would look like on the same grid, and explain what went wrong with Kai’s reasoning.