8F

Applying algebra

Writing algebraic expressions and rules for real situations such as costs, perimeters and patterns, and using them to answer questions.

Algebra earns its keep when it describes something real. A phone plan, a taxi fare or a growing tile pattern can each be captured in one short rule. Once you have the rule, you can answer questions about any size without drawing or counting.

Writing a model

Ask: what stays fixed, and what changes? The fixed part is a constant. The part that changes is a coefficient times the pronumeral.

Example 1●

A taxi charges a $\$4$ flag fall plus $\$2.50$ per kilometre. (a) Write an expression for the cost of a $d$ km trip. (b) Find the cost of a $12$ km trip.

(a) $4 + 2.5d$ dollars
The flag fall is paid once. The per-kilometre charge is paid d times.
(b) $4 + 2.5 \times 12 = 4 + 30 = 34$, so $\$34$
Substitute d = 12.
Example 2●●

A rectangle is $x$ cm wide and $3$ cm longer than it is wide. Write expressions for its perimeter and its area.

Length $= x + 3$
The length is the width plus 3.
$P = 2x + 2(x + 3) = 4x + 6$
Perimeter adds all four sides: 2 widths and 2 lengths.
$A = x(x + 3) = x^2 + 3x$
Area is width times length.

Rules from patterns

Here's a row of squares made from matchsticks. One square takes $4$ matches. Each extra square shares a side with the one before, so it needs only $3$ more.

Squares $n$$1$$2$$3$$4$
Matches $M$$4$$7$$10$$13$

The matches go up by $3$ each time, so the rule contains $3n$. Check $n = 1$: $3 \times 1 = 3$, but we need $4$, so add $1$. The rule is $M = 3n + 1$.

Matchstick pattern

Each dot is one pattern: n squares in a row and the matches it needs.

Try this

Try this: predict how many matches $8$ squares need, then drag the point to check. Then work out, without the graph, how many squares you can make with exactly $100$ matches.

Example 3●●

Find a rule for this table, then find $y$ when $x = 20$.

$x$$1$$2$$3$$4$
$y$$3$$8$$13$$18$
Start with $5x$
y goes up by 5 each time, so the rule has 5x.
$y = 5x - 2$
At x = 1, 5x = 5 but y = 3, so subtract 2. Check x = 3: 15 − 2 = 13. Correct.
At $x = 20$: $y = 100 - 2 = 98$

Your turn

A gym charges a $\$60$ joining fee plus $\$15$ per week. Write a rule for the cost $C$ after $w$ weeks, and find the cost for one year ($52$ weeks).

Show the working

$C = 60 + 15w$. For $52$ weeks: $C = 60 + 15 \times 52 = 60 + 780 = 840$. So $\$840$.

Practice
  1. A plumber charges $\$90$ to come out plus $\$70$ per hour. The cost for $h$ hours is:

  2. A taxi costs $3.6 + 2.2d$ dollars for a $d$ km trip. Find the cost of a $15$ km trip, in dollars.

  3. A rectangle is $w$ cm wide and $5$ cm longer than it is wide. Its perimeter is:

  4. Matchstick squares in a row need $M = 3n + 1$ matches. How many matches for $15$ squares?

  5. Using $M = 3n + 1$, how many squares can be made with exactly $160$ matches?

  6. Which rule fits the table $x$: $1, 2, 3, 4$ and $y$: $6, 10, 14, 18$?

  7. A table fits the rule $y = 6x - 4$. Find $y$ when $x = 15$.

  8. A pool charges $\$45$ to join plus $\$12$ per week. What is the cost, in dollars, for $26$ weeks?

  9. Challenge: Triangles in a row are made from matchsticks. $1$ triangle needs $3$ matches, $2$ need $5$, $3$ need $7$. How many matches for $20$ triangles?

  10. Challenge: Plan A costs $\$20$ a month plus $\$1$ per GB. Plan B costs $\$5$ a month plus $\$2$ per GB. For how many GB do the plans cost the same?

Formula sheet