Algebraic expressions
What this chapter covers
- Use letters to represent quantities with unknown values, and say whether a variable has a fixed or a varied value, with a reason (5.1)
- Write algebraic expressions for situations (5.1)
- Find the value of an algebraic expression by substituting given values of the variables (5.1)
- Identify the terms in an algebraic expression and state the coefficient of a variable in a term (5.1)
- Identify like terms and unlike terms (5.1)
- Add and subtract two or more algebraic expressions by collecting like terms (5.2)
- Write repeated multiplication in power form, such as a × a × a = a³ and (a + b)(a + b) = (a + b)² (5.2)
- Multiply and divide algebraic expressions with one term (5.2)
A tour company offers a holiday package to Pulau Pangkor: RM380 for an adult and RM280 for a child. How much does a family pay? It depends on how many adults and children go. If we let a be the number of adults and c the number of children, the total cost is 380a + 280c ringgit. That is an algebraic expression. In this chapter you will learn to use letters for unknown values, write and simplify expressions, and work out their values.
| English | Bahasa Melayu |
|---|---|
| variable | pemboleh ubah |
| letter | huruf |
| algebraic expression | ungkapan algebra |
| term, algebraic term | sebutan, sebutan algebra |
| coefficient | pekali |
| like terms, unlike terms | sebutan serupa, sebutan tidak serupa |
5.1Variables and algebraic expressions
Variables: fixed or varied?
Mr Lim gives RM50 to a charity every month, so we know his amount. Encik Azlan gives the same amount every month, but we are not told how much. Madam Kavitha's amount depends on her shop's profit each month. Encik Azlan's and Madam Kavitha's amounts are unknown.
| Type | Meaning | Example |
|---|---|---|
| Fixed value | The quantity stays the same all the time. | x, Encik Azlan's monthly donation (the same every month) |
| Varied value | The quantity changes over time. | y, Madam Kavitha's donation (changes with the profit) |
Example 1 (textbook p. 106)
- The annual interest rate for a fixed deposit at a bank. Let k be the interest rate. k has a fixed value because the rate does not change throughout the year.
- The time Faizal takes to travel from his house to school every day. Let t be the time. t has a varied value because the time changes from day to day (traffic, weather).
Show answerHide answer
b) d: fixed, because the house and the school do not move.
c) T: varied, because the temperature changes during the day.
(Any sensible letter is accepted.)
Writing algebraic expressions
A bag holds an unknown number of blocks, x. Each change to the situation changes the expression for the total number of blocks.
| Words | Expression |
|---|---|
| 3 more than x / x increased by 3 | x + 3 |
| subtract 7 from x / 7 less than x | x − 7 |
| 4 times x / twice y | 4x / 2y |
| the sum of y and z divided by 9 | y + z9 |
| m kg at RMp per kg | mp (RM) |
Example 2 (textbook p. 108)
Yusri buys 5 apples at x sen each and 8 oranges at y sen each. Write an expression for the total amount he pays.
- Apples: 5 × x = 5x
- Oranges: 8 × y = 8y
- Total payment = 5x + 8y sen
Example 3: an area (textbook p. 112)
- Area of the park = x × y = xy m²
- Area of the flower bed = 15 × 15 = 225 m²
- Area covered with bricks = (xy − 225) m²
Show answerHide answer
b) y + z9
c) Izhar is 2k years old, so the difference is 2k − h years.
The value of an algebraic expression
To find the value of an expression, substitute (replace) each variable with its value, then calculate. Put each value in brackets.
Example 4 (textbook p. 109)
Given x = 3 and y = 2, find the value of 8x − 5y + 7.
- 8x − 5y + 7 = 8(3) − 5(2) + 7
- = 24 − 10 + 7
- = 21
Example 5 (textbook p. 109)
In a class, 13 of the boys are members of Kadet Remaja Sekolah, and all the girls except 9 are members.
- Let x be the number of boys and y the number of girls. Members = 13x + y − 9
- When x = 12 and y = 16: 13(12) + 16 − 9 = 4 + 16 − 9 = 11 members
Show answerHide answer
b) 3(2) − 4(−4) + 8 = 6 + 16 + 8 = 30
c) 5(5 − (−4)) = 5(9) = 45
d) −42 + 7(2) − 3 = −2 + 14 − 3 = 9
Terms and coefficients
Example 6: identify the terms (textbook p. 110)
| Expression | Terms | Number of terms |
|---|---|---|
| x + 5x | x, 5x | 2 |
| x8 − 7y | x8, 7y | 2 |
| pq − 2q + 13 | pq, 2q, 13 | 3 |
| m2 − 2m + n − 6 | m2, 2m, n, 6 | 4 |
| 3xy written as | Coefficient | of the variable |
|---|---|---|
| 3 × xy | 3 | xy |
| 3x × y | 3x | y |
| 3y × x | 3y | x |
Example 7 (textbook p. 111)
In the term −3k2mn, state the coefficient of a) k2mn b) −mn c) 3k2
- −3k2mn = −3 × k2mn, so the coefficient of k2mn is −3.
- −3k2mn = 3k2 × (−mn), so the coefficient of −mn is 3k2.
- −3k2mn = −mn × 3k2, so the coefficient of 3k2 is −mn.
Show answerHide answer
b) −y2 (8x × (−y2))
c) −8x (−8x × y2)
d) 8y2 (−x × 8y2)
Like terms and unlike terms
| Like terms | Why | Unlike terms | Why |
|---|---|---|---|
| −2m and 37m | both m | 2v and 2w | v and w are different |
| 6ab and 7ba | ba is the same as ab | 5xy and −yz | xy and yz are different |
| 5k2 and −k2 | both k2 | 9x2 and 8x | powers 2 and 1 are different |
Example 8 (textbook pp. 111–112)
- 4xy and xy2: like (same variables xy)
- 12pq and 12pr: unlike (pq and pr are different)
- 3abc and 0.5bca: like (abc is the same as bca)
- −7h and 6h2: unlike (the powers of h are different)
Show answerHide answer
5.2Algebraic expressions involving basic arithmetic operations
Adding and subtracting algebraic expressions
| Removing brackets after a − sign | Result |
|---|---|
| −(a + b) | −a − b |
| −(a − b) | −a + b |
| −(−a + b) | +a − b |
| −(−a − b) | +a + b |
Example 9 (textbook p. 113)
a) (3x + 5y) + (8x − y − 9)
- = 3x + 5y + 8x − y − 9 (remove brackets)
- = 3x + 8x + 5y − y − 9 (gather like terms)
- = 11x + 4y − 9
b) (12mn − 4p) + (6 + 7p) − (10mn + p − 2)
- = 12mn − 4p + 6 + 7p − 10mn − p + 2 (the last bracket: + becomes −, − becomes +)
- = 12mn − 10mn − 4p + 7p − p + 6 + 2
- = 2mn + 2p + 8
Example 10: a rope (textbook p. 117)
- Length of rope = 2d + (d + 2y) + (3y − 2d)
- = 2d + d − 2d + 2y + 3y
- = (d + 5y) cm
a) (3x − 2y) + (5x + 9y)
b) (6ab + 2bc + 10) − (ab + 3bc − 2)
c) (4xy + 5k) − (−3k + 7) + (13xy − k)
Show answerHide answer
b) 6ab − ab + 2bc − 3bc + 10 + 2 = 5ab − bc + 12
c) 4xy + 13xy + 5k + 3k − k − 7 = 17xy + 7k − 7
Repeated multiplication
The area of a square and the volume of a cube are repeated multiplications.
Example 11 (textbook p. 115)
- m × m × m × m = m4 (4 times)
- (x + 7) × (x + 7) = (x + 7)2 (2 times)
- (p − 3q) × (p − 3q) × (p − 3q) = (p − 3q)3 (3 times)
- The other way round: (9p − q)3 = (9p − q)(9p − q)(9p − q)
b) Simplify (8x + 3y) × (8x + 3y) × (8x + 3y).
c) Write (h − 4k)3 as a repeated multiplication.
Show answerHide answer
b) (8x + 3y)3
c) (h − 4k)(h − 4k)(h − 4k)
Multiplying and dividing terms
Example 12: multiplying (textbook p. 116)
Simplify 3ab2 × 4a3b.
- = 3 × a × b × b × 4 × a × a × a × b
- = 3 × 4 × a × a × a × a × b × b × b (gather numbers and the same variables)
- = 12a4b3
Example 13: dividing (textbook p. 116)
Simplify 20m4n2 ÷ 5m2n3.
- = 20m4n25m2n3 (write as a fraction)
- = 20 × m × m × m × m × n × n5 × m × m × n × n × n
- Cancel 5, m × m and n × n: = 4m2n
Example 14: multiply and divide (textbook p. 116)
Simplify 21xy × 6x ÷ 14y3z.
- = 21 × x × y × 6 × x14 × y × y × y × z
- 21 × 6 = 126 and 126 ÷ 14 = 9; one y cancels.
- = 9x2y2z
Example 15: a rectangle (textbook p. 117)
A rectangle has an area of 12a3b2 cm² and a width of 3ab cm. Length = 12a3b2 ÷ 3ab = 12 × a × a × a × b × b3 × a × b = 4a2b cm. Check: 3ab × 4a2b = 12a3b2 ✓
Show answerHide answer
b) −4 × 7 × m × m × m × n = −28m3n
c) 8x6y42xy3 = 4x5y
d) 2 × 5 × m × m × m × n3 × n × n × n = 10m33n2
Summary
| Idea | Key fact | Example |
|---|---|---|
| Variable | A letter for an unknown quantity: fixed value (always the same) or varied value (changes over time) | days in a week: fixed; daily rainfall: varied |
| Expression | Numbers and variables joined by operations | 5x + 8y, x2, xy − 225 |
| Value | Substitute in brackets, then calculate | x = 3, y = 2: 8(3) − 5(2) + 7 = 21 |
| Coefficient | The factor multiplying a variable, sign included | In −3k2mn, coefficient of k2mn is −3 |
| Like terms | Same variables, same powers | 2x and −35x; 6ab and 7ba |
| Unlike terms | Different variables or different powers | 2x and 6y; 2x and −7x2 |
| Add, subtract | Remove brackets (− changes every sign), gather like terms | 5a + 6a = 11a; 12bc − 3bc = 9bc |
| Power | Repeated multiplication | m × m × m = m3; (a + b)(a + b) = (a + b)2 |
| Multiply, divide | Write out the factors; multiply or cancel | 5mn × 2n = 10mn2; 36pq ÷ 4p = 9q |