Variables, expressions and equations for kids – The Mechanical Menagerie

At the front of the toy shop stands a cabinet with a brass handle and a wooden fox inside. One full turn makes the fox bow. A little counter clicks round beside him. The first audience is waiting outside when Bea spots a gap in the instruction card. “Start at 3. The counter goes up by 2 for every complete turn. Open the parade doors when it reads 15.” The line that tells you how many turns to make has rubbed away.

Bea and Sami open the red-and-blue cabinet as Pip points to a jointed wooden fox beside the brass crank.
Opening the cabinet reveals the fox and the mechanism waiting to be set in motion.

Sami fetches a pencil. Pip fetches a much bigger handle. “Let’s try the pencil first,” says Bea. Join them at the workbench to turn words into expressions, balance equations and plot the fox’s rule on a graph. You can solve the missing instruction before the doors open.

1. Label the parts drawers · write a variable expression

A variable is a symbol, usually a letter, that represents a number. Let n stand for the number of wooden buttons in one drawer. An expression describes an amount. If another drawer contains four more buttons, its label can say n + 4. That label makes sense even before anybody counts the first drawer. Within the same calculation, every copy of a particular letter stands for the same number.

Four order tags translate four more than n to n + 4, four fewer than n to n − 4, four groups of n to 4n and n shared equally between four to n ÷ 4.
Start with the quantity named in the order, then decide what happens to it.

Four fewer than n is n − 4. Four equal bags with n buttons in each contain 4 × n, usually written 4n. The 4 is the coefficient. It says how many lots of n to take. If n buttons are shared equally between four trays, each share is n ÷ 4, also written n/4.

Put the story in order. “Take a number away from 12” gives 12 − n. “Take 12 away from a number” gives n − 12. For n = 15, taking 12 away from 15 gives 3, while taking 15 away from 12 gives −3. Subtraction keeps track of which amount you started with.

2. Listen to the toymaker · write an expression from a story

Each of three costume packets holds b little bells. Two larger bells lie loose on the workbench. How many bells are there altogether? Start with what b means. Three equal packets contribute b + b + b, or 3b. The two loose bells are added just once, giving 3b + 2.

Three sealed packets each hold b bells, with two individual bells beside them. Substituting b = 4 gives 3 × 4 + 2 = 14. Substituting b = 7 gives 3 × 7 + 2 = 23.
Keep the expression fixed while changing the number of bells in every packet.

To evaluate an expression, substitute a given number for the letter and calculate. With b = 4, the total is 3 × 4 + 2 = 14. With b = 7, it is 3 × 7 + 2 = 23. The label on the order stays the same while the packet size changes. Multiplication is done before the final addition.

Pip’s bracket test

What if the two large bells were inside every packet? Each packet would contain b + 2 bells. Three packets would contain 3(b + 2). At b = 4 that gives 3 × 6 = 18. A sketch of three bags and two loose bells helps you decide where the brackets belong.

3. Tidy the counting bench · use addition and multiplication laws

Count the switches on the owl display. There are a switches on one panel, eight on a second and two on the side. (a + 8) + 2 = a + (8 + 2) = a + 10. Moving the brackets is the associative law of addition. Swapping the order, as in 8 + a = a + 8, is the commutative law. Zero is the additive identity, so a + 0 = a.

Addition and multiplication allow terms or factors to change order or grouping. The diagram pairs 8 + 2 to give 10 and 5 × 2 to give 10, giving a + 10 and 10n respectively.
Pair convenient addends or factors. Adding zero and multiplying by one preserve the original value.

Multiplication also lets you swap factors and regroup them. In 5 × n × 2, swap n and 2, then group 5 × 2 first. The result is 10n. When n = 37, simply multiply 37 by 10 to get 370. Multiplying by one preserves the value, so 1 × n = n. Multiplying by zero gives zero.

Fast pairings. In 9 + p + 1, pair 9 with 1 to get p + 10. In 4 × q × 25, pair 4 with 25 to get 100q. Swapping the numbers in subtraction or division can change the result. For example, 12 ÷ 3 = 4, while 3 ÷ 12 = 1/4.

4. Compare two parts lists · see equivalent expressions

The toymaker now puts two extra bells inside each of three packets. Draw three groups. Give each group the same long block labelled b and two little unit blocks. Reading group by group gives 3(b + 2). Slide all three b blocks together, then all the unit blocks together. The second arrangement reads 3b + 6.

Three groups of one b block and two unit blocks are rearranged into three b blocks plus six units without changing the total. A separate bar shows 3b + 2, four units shorter.
Equal b blocks represent the same unknown amount. Regrouping preserves every unit, so 3(b + 2) and 3b + 6 agree for every allowed b.

Those two expressions are equivalent because they have the same value for every allowed b. The bars explain why. Nothing was added or removed. This is the distributive law. Each part inside the bracket gets multiplied by 3. The earlier order, 3b + 2, has four fewer unit blocks.

Can one test prove that labels match?

At b = 2, the labels 2b and b + 2 both give 4. At b = 3 they give 6 and 5. One disagreement is enough to disprove equivalence. To show two labels agree for every b, look for matching parts or use a law that works for every value.

5. Open the repair envelope · write a one-step equation

A repair slip reads, “A number of small gears plus 3 equals 8.” Let x be the original number of small gears. x + 3 is an expression. x + 3 = 8 is an equation. The equals sign says that the two sides have the same value. You may also write 8 = x + 3.

Translate each side separately. “Nine fewer than a number is 14” becomes n − 9 = 14. “A number shared equally among five gives six per tray” becomes n ÷ 5 = 6. In a one-step equation, one inverse operation will get the unknown on its own. Writing the equation and solving it are two separate jobs.

6. Lay out the gear tiles · model and solve

Use one labelled tile to represent x and small squares to represent individual gears. Each little square is worth +1. The x tile represents an unknown quantity. Its drawn length is just a symbol. Set up one x tile and three unit tiles on the left, with eight unit tiles on the right.

A long x tile and three unit tiles are equal to eight unit tiles. Three units are crossed out on each side, leaving x equal to five units.
Count the labelled unit tiles. Removing the same three from both sides keeps their values equal.

Remove three unit tiles from the left and three from the right. Equal amounts have been removed from equal totals, so what remains must still match. There is one x tile on the left and five units on the right. x = 5. Test the answer in the original repair slip. Five gears plus three gears gives eight.

Try reversing the move. For x − 4 = 9, add four to each side to restore the original pile. The result is x = 13. Check 13 − 4 = 9. This is the reason for doing the same operation to both sides.

7. Read the drawer diagram · write and solve its equation

Sami opens a drawer with four compartments, all holding the same number of brass keys. A bracket spans the whole drawer and says 28. Let k be the number of keys in one compartment. Cover the working in the illustration and write what the four equal parts say.

A bar labelled 28 keys is partitioned into four equal sections, each labelled k. Four copies of k equal 28, so one section holds seven keys.
Trace the top bracket to find the whole. Each equal part stands for the same unknown number of keys.

Reading the model gives k + k + k + k = 28, or 4k = 28. Divide both sides into four equal shares. k = 7 keys per compartment. Count the whole drawer again to check. Four lots of seven keys give 28. If the bracket had covered only two compartments, it would have given the total for those two. Always check its endpoints.

8. Find the inverse · solve one-step equations with whole numbers

To solve for an unknown, identify the operation that has already happened to it. Addition and subtraction undo each other. Multiplication and division by the same non-zero number undo each other. Write the operation you apply to both sides, then check the number in the original equation.

Four cards solve n plus 8 equals 21, n minus 8 equals 21, 6n equals 42, and n divided by 6 equals 7. The respective answers are 13, 29, 7 and 42.
Name the operation on the unknown. Apply its inverse to each side, then test the answer in the original equation.

In n + 8 = 21, take away 8 to get 13. In n − 8 = 21, put the 8 back to get 29. The same two known numbers can give different answers because the action on n is different. For 6n = 42, use 42 ÷ 6 to get n = 7. For n ÷ 6 = 7, multiply 7 by 6 to get n = 42.

When the unknown comes second

For 20 − n = 8, ask “What did I take away from 20 to leave 8?” The missing amount is 20 − 8 = 12. For 24 ÷ n = 6, use the related fact 6 × n = 24, so n = 4. Check 20 − 12 = 8 and 24 ÷ 4 = 6.

9. Listen for the unknown · write and solve a word problem

The bell maker sends a note. “We gave five bells to the fox team. Seventeen remain.” Bea wants to know how many bells were there before the donation. Draw three boxes labelled before, change and after. The first box is empty. Let b stand for the opening stock. The story reads b − 5 = 17.

Bea arranges small brass bells, Pip lifts one by its loop and Sami lines up a wooden cam wheel with the fox’s axle.
The crew lays out the moving parts and the bells for the fox’s first rehearsal.

Adding back five gives b = 22 bells. The check fits the story. Starting with 22 and giving away five leaves 17. If the note had said “we started with 17”, the equation would instead be 17 − 5 = e, where e stands for the ending stock. That answer is 12 bells. Underline the sentence that tells you what is missing.

Two arrows trace a bell donation. An unknown stock minus five leaves 17, so the start was 22. Starting with 17 and donating five leaves 12.
Follow the stock from start to finish. The position of the unknown determines which question the equation answers.

Your turn at the packing bench. A customer receives five identical boxes holding 45 wooden birds altogether. Define p as the number in each box. The whole order reads 5p = 45. Dividing both sides by 5 gives 9 birds per box. Just “9” would leave the packing assistant guessing what to put where.

10. Try the fox’s counter · check an ordered pair

Now take the fox’s instruction card. Let x be the number of complete turns since the start and y the counter reading. The counter starts at 3 and adds 2 for each turn. Its equation is y = 2x + 3. The two letters have different jobs. An ordered pair (x, y) records the number of turns first and the reading second.

For y equals two x plus three, the ordered pair gives x first and y second. With x equal to four, the rule gives eleven. The pair (4, 11) fits and (4, 10) does not.
Put the first coordinate into the rule and compare the result with the second coordinate.

Does (4, 11) fit? Put 4 in place of x. Twice 4 plus 3 gives 11, exactly the second number. What about (4, 10)? The same four turns must still produce 11, so that pair fails. A pair satisfies an equation when using both values makes the two sides equal.

Work backwards when the reading is known. If y = 13, then 13 = 2x + 3. First remove the starting 3, leaving 10 clicks made by turning. Each turn adds two, so x = 5. Substituting five forwards gives 2 × 5 + 3 = 13. Here you are reversing a two-part rule, a step on from the one-operation repair slips.

11. Fill the test log · complete a two-variable table

Pip starts his table at one turn. Sami adds a column before it. Zero turns matters because the counter already shows 3 even before anyone touches the handle. For each new value of x, double that value and add the same starting 3.

The table pairs complete turns zero, one, two, three, four and five with readings three, five, seven, nine, eleven and thirteen. To find turns from thirteen, subtract three and divide by two to get five.
The start value appears at zero turns. Each extra turn increases the counter reading by two.
Fox test log · y = 2x + 3
Turns (x) 0 1 2 3 4 5
Reading (y) 3 5 7 9 11 13

Across the log, each additional turn increases the reading by 2. Down any column, the equation tells you how the two entries are related. To fill the entry for x = 4 without filling any earlier gaps, substitute 4 directly. To fill a gap between neighbouring readings, you can also count on by twos and check with the rule.

12. Two machines, two graphs · read coordinates and plot a rule

The owl has a separate chime counter. Its graph uses t for complete turns and z for the number of chimes. Start with the graph itself. Read the axis names, find zero and check the value of one marked interval. On this vertical axis the labels rise by threes.

The five plotted points are (0,0), (1,3), (2,6), (3,9) and (4,12). Dashed guides from (2,6) reach both axes. At one, two and four turns the table reads three, six and twelve chimes.
Read the axis labels and scale first. Go up from the number of turns to a dot, then across to the number of chimes.

Find t = 2 on the horizontal axis, move up to the plotted point, then across to the vertical scale. The reading is 6 chimes. The three requested table entries are (1, 3), (2, 6) and (4, 12). The point above 4 is four marked intervals high, and four intervals of three make 12.

Now plot the fox, going the other way. Use the fox table in mission 11. Label the horizontal axis x for complete turns and the vertical axis y for the counter reading. Choose evenly spaced scales covering x = 0 to 5 and y = 0 to at least 13. From x = 3, travel up to y = 9 and mark (3, 9). Repeat for every column, including (0, 3).

Six unjoined points show zero through five complete turns with readings 3, 5, 7, 9, 11 and 13. Vertical labels increase by two. The highlighted point (3,9) is midway between the 8 and 10 gridlines.
Match the horizontal and vertical values from one table column. Plot one dot per complete turn.

The readings line up, but this log records completed turns. Plot separate dots. Joining them would suggest that the log gives readings for fractions of a turn too. Check the two graphs at three turns. The fox and owl both reach 9 there, even though they start at different readings and gain different amounts per turn.

13. Make a new instruction card · write a two-variable equation

A wooden hare has a different maker’s note. “The counter already shows 4. Each full turn adds 3.” Choose h for full turns and s for the reading. After h turns, the turns have contributed 3h. Add the starting four once, giving s = 3h + 4. At zero turns it gives 4. At two turns it gives 10. Both match the note.

Find a rule from a regular table. A second card guarantees a constant increase per turn. Its table lists inputs 0, 1, 2 and outputs 5, 9, 13. Each step of one adds 4 and the zero-turn output is 5, so the rule is output = 4 × input + 5. A useful shortcut is to read the change per turn first and the starting value second. Then test a column you didn’t use to find the start.

Pip’s swapped labels

The labels 4x + 5 and 5x + 4 both give 9 at one turn. At zero turns they give 5 and 4. A zero-input check exposes the mix-up immediately. The maker’s description of what happens on every turn is what lets us extend the rule.

The missing instruction · open the parade doors

Return to the fox. The counter starts at 3, advances by 2 on each complete turn and must read 15 at the opening cue. Write an equation, find the number of turns and use another method to check. Then decide whether a reading of 14 could ever be the cue under the same rule.

Lift the fox’s instruction flap

Set 2x + 3 equal to 15. Take away the starting 3 from each side to get 2x = 12. Divide both sides by 2, giving x = 6 complete turns. Check 2 × 6 + 3 = 15. The table gives a second check. At five turns the reading is 13, so one more turn gives 15. Starting at an odd number and adding two always leaves an odd number. The counter skips 14.

Bea writes “SIX COMPLETE TURNS” on the blank line. She turns the brass handle while Sami watches the counter and Pip counts aloud. On the sixth turn the fox bows, the doors swing wide and the wooden animals make their entrance. Pip bows back. Nobody had written an equation for that part.

Bea turns the brass crank as the wooden fox, owl, hare and badger parade across the lit shop window. Sami watches and Pip waves to the families outside.
The menagerie takes its evening bow in the toymaker’s window.

Take the toymaker’s shift · eight new workshop puzzles

For each slip, write down what the letter stands for. Give an answer with a unit when the story calls for one, then lift the flap to check your working.

1. The owl’s feathers. Four identical packets each hold f feathers. Five feathers sit loose on the bench. Write the total, then evaluate it when f = 6.

Reveal the working for ticket 1

The packets contribute 4f. The total is 4f + 5. With f = 6 it gives 4 × 6 + 5 = 29 feathers.

2. The swift count. Rewrite 2 × m × 50 so you can evaluate it in your head when m = 19. Which laws make the move possible?

Reveal the working for ticket 2

Swap factors and regroup them. The commutative and associative laws of multiplication give (2 × 50) × m = 100m. With m = 19, the answer is 1,900.

3. Two orders or one? Do 2(c + 3) and 2c + 3 always order the same number of parts? Explain with groups.

Reveal the working for ticket 3

Two groups of c + 3 have two c blocks and six extra units. That is 2c + 6, which exceeds 2c + 3 by three. The expressions are not equivalent.

4. The balance tray. One unknown tile and four unit tiles balance thirteen unit tiles. Which equation records the balance, and what is the unknown worth?

Reveal the working for ticket 4

x + 4 = 13. Remove four unit tiles on both sides. One x tile has the same value as nine units, so x = 9.

5. The fox’s spare paws. A maker gives away seven spare paw pieces and has eighteen left. Write and solve an equation for the original stock.

Reveal the working for ticket 5

Let p stand for the starting number of pieces. Then p − 7 = 18. Add 7 to each side, giving p = 25 pieces. Check 25 − 7 = 18.

6. The divided drawer. A number of keys divided equally among eight trays gives six per tray. Write an equation, find the total and check it.

Reveal the working for ticket 6

Let k be the total. k ÷ 8 = 6. Multiplying both sides by 8 gives k = 48 keys. Dividing 48 by 8 puts six in each tray.

7. Which hare belongs? The hare uses s = 3h + 4. Which of (3, 13) and (4, 13) satisfies the rule? What reading goes with four turns?

Reveal the working for ticket 7

At h = 3, the result is 9 + 4 = 13, so (3, 13) fits. At h = 4, it is 12 + 4 = 16. The four-turn point is (4, 16).

8. The badger’s test log. A counter starts at 2 and gains 4 per full turn. Write the rule using x and y. Where do you plot its three-turn reading? Which input gives a reading of 22?

Reveal the working for ticket 8

The rule is y = 4x + 2. At x = 3, y = 14, so plot (3, 14). To reach 22, take away 2 and divide the remaining 20 by 4. Five turns give the point (5, 22).

Keep practising with the Comic Club

For another introduction to unknowns and balancing equations, join The Mystery of the Missing Ink. To follow rules into number sequences and function machines, board The Patternline Express. Browse all Online Learning Guides.

Choose a Year 6 algebra skill on IXL

Expressions, substitution and equivalence

  1. Write variable expressions
  2. Write variable expressions: word problems
  3. Evaluate variable expressions
  4. Laws of addition with variables
  5. Laws of multiplication with variables
  6. Identify equivalent expressions using bar models

Modelling and solving one-step equations

  1. Write a one-step equation from words
  2. Model and solve one-step equations using algebra tiles
  3. Write and solve one-step equations that represent diagrams
  4. Solve one-step addition and subtraction equations with whole numbers
  5. Solve one-step multiplication and division equations with whole numbers
  6. Solve one-step equations with whole numbers
  7. Write one-step equations: word problems
  8. Solve one-step equations: word problems

Two variables, tables and graphs

  1. Does (x, y) satisfy an equation?
  2. Find a value using two-variable equations
  3. Complete a table for a two-variable relationship
  4. Complete a table from a graph
  5. Graph a two-variable relationship
  6. Write a two-variable equation

For families and teachers

Set out three counters as the starting reading. Give a child two more counters for every pretend turn of a handle. Ask them to show the same test run using counters, a table, a graph point and an equation. For more practice connecting a picture with an equation, try Oak National Academy’s Year 6 bar-model lesson.