ASCENTLEARNING
Join a weekly class
Skip to learning content
Year 7 · Algebra · 35 min

Variables, formulas and substitution

Read the letters in a formula, replace them with known values and calculate an unknown quantity with the right units.

01 / LEARN

The idea, step by step

Letters stand for quantities

A variable is a letter representing a number. Always say what it measures: n might be a number of tickets, while C is a total cost in dollars. A formula is an equation connecting quantities, such as C=6⁢n+4.

A ticket seller charges 6 dollars per ticket and a single booking fee of 4 dollars. In C=6⁢n+4, the coefficient of n is 6: multiply the number of tickets by 6. The constant term 4 is added once and does not change with n.

A number beside a letter means multiplication: 6⁢n=6×n. Two letters together also mean multiplication: a⁢b=a×b. Write a single copy of a variable as n.

C=6⁢n+4

Substitute first, then calculate

Substitution means replacing a letter with its given value. Replace every occurrence of that letter. If a=3, then a+a+2=3+3+2=8.

Write the numbers into the original structure before calculating. If p=4, then 3⁢(p+2)=3⁢(4+2)=3×6=18. The bracket groups the whole sum; the 3 multiplies both parts of that sum.

After substitution, use the order of operations: brackets, powers, multiplication and division, then addition and subtraction. A square is not a double: when s=5, s2=5×5=25, while 2⁢s=2×5=10.

3⁢(p+2)=3×(p+2)

Use a formula to find an unknown output

Read the meaning and units of each variable, identify the known values, and substitute them. The quantity on the left of a formula is often the unknown output to calculate.

For a rectangle, P=2⁢l+2⁢w, where P is perimeter, l is length and w is width. If l=8 cm and w=3 cm, then P=2×8+2×3=22 cm. Perimeter measures distance around the shape, so use cm, not square centimetres.

Finish by checking the result in context. A cost should include every stated charge; a distance should have a distance unit. Substitution calculates the output from known inputs. Finding an input from a known output is a later equation-solving task.

P=2⁢l+2⁢w

A common trap

When x=4, 3⁢x becomes 34.

Instead: 3⁢x means 3×x, so 3⁢x=3×4=12. Substitution replaces a quantity; it does not join digits.

02 / WORKED EXAMPLES

See the thinking

Example 1

Replace both variables

Evaluate 2⁢r+s when r=4 and s=3.

  1. The coefficient 2 means multiply r by 2: 2⁢r+s=2×r+s.
  2. Replace r with 4 and s with 3: 2×4+3.
  3. Multiply before adding: 8+3=11.
2⁢r+s=11.
Example 2

Keep the brackets

Evaluate 4⁢(q+3) when q=2.

  1. Substitute without changing the grouping: 4⁢(q+3)=4⁢(2+3).
  2. Calculate inside the brackets: 4×5.
  3. Multiply: 4×5=20.
4⁢(q+3)=20. The 4 multiplies the whole bracket.
Example 3

Calculate a cost from a formula

A craft club charges 3.50 dollars for each session plus a once-only joining fee of 5 dollars. Its formula is C=3.5⁢n+5, where n is the number of sessions and C is the total cost in dollars. Find the cost of 4 sessions.

  1. The known input is n=4; the unknown output is C.
  2. Substitute: C=3.5×4+5.
  3. Calculate the session charges first: C=14+5=19.
  4. The fee is included once. The total is 19 dollars, which is greater than the 14 dollars for the sessions alone.
The total cost is 19 dollars.

Check your understanding

A square tile has side length s cm and area A=s2. When s=6, is the area 12 or 36 square centimetres? Explain.

Show answer

36 square centimetres.

Substitute s=6: A=62=6×6=36. The answer 12 comes from doubling 6, which is 2⁢s, rather than squaring it.

03 / WORKSHEET

Your turn

8 questions · 27 marks · Work at your own pace.

Read the questions online
  1. A museum charges 6 dollars per ticket plus one booking fee of 4 dollars. The formula is C=6⁢n+4, where C is the total cost in dollars. State what n represents, give the coefficient of n, and explain what the constant term represents.
    3 marks
  2. Rewrite 5⁢a, a⁢b and 3⁢(b+2) using multiplication signs. Then evaluate a⁢b when a=2 and b=4.
    4 marks
  3. When u=3 and v=5, evaluate
    1. (a)3⁢u+v and
    2. (b)u+u+v. Show each substitution. Are the results equal?
    4 marks
  4. Evaluate 4⁢(p+2) when p=3. Leo instead calculates 4×3+2=14. Explain why his method does not match the expression.
    3 marks
  5. Evaluate s2+2⁢s when s=5. Show the values of s2 and 2⁢s separately before adding them.
    3 marks
  6. Three seedlings have heights a, b and c, all in centimetres. Their mean height is given by m=a+b+c3. Find m when a=12, b=15 and c=18. Explain why you add before dividing.
    3 marks
  7. A rectangular label has length l=9 cm and width w=4 cm. Use P=2⁢l+2⁢w to find its perimeter. State the unit and check your answer by adding its four side lengths.
    3 marks
  8. A bike hire business uses C=7⁢h+4, where C is the total cost in dollars and h is the number of hours. Find the cost for
    1. (a)2 hours and
    2. (b)4 hours. Mia says doubling 2 hours to 4 hours doubles the total cost. Use your results and the formula to explain whether she is correct.
    4 marks
Read the worked solutions

Equivalent correct methods earn the corresponding marks. Include units where asked.

  1. A museum charges 6 dollars per ticket plus one booking fee of 4 dollars. The formula is C=6⁢n+4, where C is the total cost in dollars. State what n represents, give the coefficient of n, and explain what the constant term represents.
    3 marks

    The repeated charge is 6 dollars for each ticket, so n counts tickets. (1 mark)

    The number multiplying n is its coefficient, 6. (1 mark)

    The term 4 adds one booking fee regardless of the number of tickets. (1 mark)

    n is the number of tickets; its coefficient is 6; the constant 4 is the single booking fee in dollars.
  2. Rewrite 5⁢a, a⁢b and 3⁢(b+2) using multiplication signs. Then evaluate a⁢b when a=2 and b=4.
    4 marks

    5⁢a=5×a. (1 mark)

    a⁢b=a×b. (1 mark)

    3⁢(b+2)=3×(b+2). Keep the whole bracket together. (1 mark)

    Substitute both values: a⁢b=2×4=8. (1 mark)

    5×a, a×b, 3×(b+2); a⁢b=8.
  3. When u=3 and v=5, evaluate
    1. (a)3⁢u+v and
    2. (b)u+u+v. Show each substitution. Are the results equal?
    4 marks

    (a) Replace both variables: 3⁢u+v=3×3+5. (1 mark)

    Calculate 9+5=14. (1 mark)

    (b) Replace every occurrence: u+u+v=3+3+5. (1 mark)

    Calculate 11. Since 14≠11, the results are different. (1 mark)

    1. (a)14;
    2. (b)11. The results are different.
  4. Evaluate 4⁢(p+2) when p=3. Leo instead calculates 4×3+2=14. Explain why his method does not match the expression.
    3 marks

    Substitute while retaining brackets: 4⁢(p+2)=4⁢(3+2). (1 mark)

    Calculate the bracket, then multiply: 4×5=20. (1 mark)

    The 4 multiplies the whole sum p+2. Leo's calculation multiplies only p by 4. (1 mark)

    20. Leo has not multiplied the whole bracket by 4.
  5. Evaluate s2+2⁢s when s=5. Show the values of s2 and 2⁢s separately before adding them.
    3 marks

    Square the value: s2=52=5×5=25. (1 mark)

    Double the value: 2⁢s=2×5=10. (1 mark)

    Add: s2+2⁢s=25+10=35. (1 mark)

    s2=25, 2⁢s=10, so s2+2⁢s=35.
  6. Three seedlings have heights a, b and c, all in centimetres. Their mean height is given by m=a+b+c3. Find m when a=12, b=15 and c=18. Explain why you add before dividing.
    3 marks

    Replace the heights: m=12+15+183. (1 mark)

    Add the numerator, then divide: m=453=15 cm. (1 mark)

    The fraction bar means divide the whole sum a+b+c by 3, so that sum must be calculated first. (1 mark)

    The mean height is 15 cm. The fraction bar groups the entire sum in the numerator.
  7. A rectangular label has length l=9 cm and width w=4 cm. Use P=2⁢l+2⁢w to find its perimeter. State the unit and check your answer by adding its four side lengths.
    3 marks

    Substitute: P=2×9+2×4. (1 mark)

    Calculate: P=18+8=26 cm. Perimeter is a length. (1 mark)

    Add the four sides: 9+4+9+4=26 cm, matching the formula. (1 mark)

    P=26 cm; 9+4+9+4=26 cm confirms it.
  8. A bike hire business uses C=7⁢h+4, where C is the total cost in dollars and h is the number of hours. Find the cost for
    1. (a)2 hours and
    2. (b)4 hours. Mia says doubling 2 hours to 4 hours doubles the total cost. Use your results and the formula to explain whether she is correct.
    4 marks

    For h=2, C=7×2+4=14+4=18 dollars. (1 mark)

    For h=4, C=7×4+4=28+4=32 dollars. (1 mark)

    Twice the 2-hour cost is 2×18=36 dollars, which is not 32 dollars. (1 mark)

    The hourly part doubles, but the constant 4-dollar charge is added only once for each hire. Doubling the whole original cost would count that fixed charge twice. (1 mark)

    1. (a)18 dollars;
    2. (b)32 dollars. Mia is incorrect: twice 18 dollars is 36 dollars, while the 4-dollar fixed charge is paid only once.
Checking saved progress…

Continue learning

Writing expressions with operations and brackets

Next lesson
Curriculum reference & lesson scope

Australian Curriculum (ACARA), verified through QCAA · 9.0

AC9M7A01: Variables in everyday formulas

Use letters to express everyday formulas and replace known variables with numbers to calculate the remaining quantity. Notation and order-of-operations practice support this work; formal equation solving is taught separately.

Official curriculum source ↗

Source checked 2026-11-02. Schools may sequence content differently.

Back to Algebra

Save your next step.

Create a free account to save your learning progress. Lessons and downloads stay free, with or without an account.

Create free account