M4.8.8 Chapter 8
Word problems and regions
A yard has hens and goats: 30 heads and 84 legs. How many of each?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Write two equations from a word problem and solve them
- Shade the region on a graph that fits two inequalities
A word problem gives facts about two unknown numbers. Turn each fact into an equation. The two equations together are simultaneous equations, and you can solve them with the methods of this book.
Take the yard. Let x be the number of hens and y the number of goats. Every animal has one head, so x + y = 30. A hen has 2 legs and a goat has 4, so 2x + 4y = 84.
Draw it first
Facts into equations
1 Count heads. One head each: x + y = 30.
2 Count legs. 2 for each hen and 4 for each goat: 2x + 4y = 84.
Worked example
A yard has hens and goats: 30 heads and 84 legs. Hens have 2 legs and goats have 4. How many of each?
- Let x be the number of hens and y the number of goats.
- Heads: x + y = 30. Legs: 2x + 4y = 84.
- Multiply the first equation by 2: 2x + 2y = 60. Subtract it from the second: 2y = 24.
- Divide by 2: y = 12. Then x = 30 − 12 = 18.
- Check the legs: 2 × 18 + 4 × 12 = 36 + 48 = 84.
Answer: 18 hens and 12 goats
Always check against the words, not only the equations. 18 + 12 = 30 heads is right, and 84 legs is right. Make sure the answers make sense: a number of animals is a whole number and is not negative.
Now a shape. A rectangle has a perimeter of 34 cm. Its length is 5 cm more than its width. Let l be the length and w the width, in cm.
Worked example
A rectangle has a perimeter of 34 cm. Its length is 5 cm more than its width. Find the sides.
- Let l be the length and w the width, both in cm.
- The perimeter gives 2l + 2w = 34. The length gives l = w + 5.
- Put w + 5 in place of l: 2(w + 5) + 2w = 34, so 4w + 10 = 34.
- Take 10 from both sides: 4w = 24, so w = 6.
- Then l = 6 + 5 = 11.
- Check: 2 × 11 + 2 × 6 = 34 cm.
Answer: The width is 6 cm and the length is 11 cm.
Now inequalities with two letters. The inequality y > x is true for many points, not for one. The points that make it true fill a region of the graph. The line y = x is the boundary.
Draw the boundary solid when the sign is ≤ or ≥, because points on the line fit. Draw it dashed when the sign is < or >, because points on the line do not fit. Then test a point to find which side to hatch. Hatching means shading with lines, so a question that says shade the region wants the same thing.
Draw it first
Hatch a region
1 Draw each boundary. x = 1 and y = 6 are solid. y = x is dashed, because the sign is strict.
2 Choose a point that is on none of the lines, such as T (2, 4), and test it in each inequality.
3 Hatch the region that fits all three. T fits each one: 2 ≥ 1, 4 > 2 and 4 ≤ 6.
To find the side of one line, test a point that is not on it. For y > x + 1, try (0, 0). It gives 0 > 1, which is false, so the origin is on the wrong side. Hatch the other side, above the line.
Worked example
Show the region that fits x ≥ 1, y ≥ 2 and x + y ≤ 8.
- Draw the solid lines x = 1, y = 2 and x + y = 8. They are solid because the signs are ≥ and ≤.
- Test (0, 0) in x + y ≤ 8: 0 + 0 = 0, and 0 ≤ 8 is true. So hatch the side of x + y = 8 that holds the origin.
- Keep only the part with x ≥ 1 and y ≥ 2. The smallest y in the region is 2.
- The corners are where pairs of lines meet. Where y = 2 meets x + y = 8, x + 2 = 8, so x = 6.
- Where x = 1 meets x + y = 8, 1 + y = 8, so y = 7.
- The region is a triangle with corners (1, 2), (6, 2) and (1, 7).
Answer: The triangle with corners (1, 2), (6, 2) and (1, 7).
See it three ways
With things
Amina takes at most 6 pieces of fruit: x apples and y mangoes. She wants at least 1 apple and at least 1 mango.
As a picture
In words
Every whole-number point inside the triangle, or on its edge, is a basket Amina can take. For example, 2 apples and 3 mangoes is 5 pieces.
In symbols
x ≥ 1, y ≥ 1 and x + y ≤ 6.
Try it
Hatch your own region
You need: squared paper, a ruler, a pencil.
- Draw the lines x = 1 and y = 1 solid, and x + y = 7 dashed.
- Test the point (2, 2) in all three signs: x ≥ 1, y ≥ 1 and x + y < 7.
- Hatch the triangle that fits all three.
What you will see: The point (2, 2) fits, so it is inside. The dashed edge is not included. So (3, 4), where x + y = 7, is not in the region.
A wrong idea many people have
You can pick either side of the boundary to hatch without testing.
Why it feels right: The sign y > x + 2 sounds like "up", so it feels as if the side is obvious.
The test that breaks it: Test (0, 0) in y > x + 2. It gives 0 > 2, which is false. So the side with the origin is not the region. Test (0, 5): 5 > 2 is true.
What is true: Put a point that is not on the line into the inequality. If it is true, hatch its side. If it is false, hatch the other side.
A wrong idea many people have
A boundary line is always drawn solid.
Why it feels right: Most of the lines in a graph are solid, so it feels like the normal way.
The test that breaks it: Take y < x. The point (3, 3) is on the line y = x. Put it in: 3 < 3 is false. So (3, 3) is not in the region, and the line must show that it is left out.
What is true: A solid line says the points on it are included (≤ or ≥). A dashed line says they are not (< or >).
Key words
- region
- the part of a graph where every point fits the inequalities.
- boundary
- the line that edges a region. It is solid when included and dashed when not.
Back to your guess
The answer is A: 18 hens and 12 goats.
Hens have 2 legs and goats have 4. 18 hens and 12 goats give 36 + 48 = 84 legs and 30 heads. The other pairs have 30 heads, but the legs are 96 and 90.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
A farmer has chickens (2 legs each) and cows (4 legs each): 20 heads and 56 legs. Let c be the number of chickens and w the number of cows. Which equations fit?
See the answer
c + w = 20 and 2c + 4w = 56
One head each gives c + w = 20. Legs give 2c + 4w = 56. Here c is the number of chickens and w the number of cows.
- If you chose A: You swapped the totals. Heads add to 20 and legs add to 56. Go to M4.8.8.
- If you chose B: You gave 4 legs to the chickens and 2 to the cows. Chickens have 2 legs each, so the chicken term is 2c. Go to M4.8.8.
- If you chose C: Legs are added, not multiplied. Each chicken adds 2 and each cow adds 4, so the legs equation is 2c + 4w. Go to M4.8.8.
Solve the farmer's equations c + w = 20 and 2c + 4w = 56. Here c is the number of chickens and w the number of cows. How many of each are there?
See the answer
12 chickens and 8 cows
Multiply the first equation by 2: 2c + 2w = 40. Subtract it from the second: 2w = 16, so w = 8. Then c = 12. Legs: 24 + 32 = 56.
- If you chose A: Check the legs: 2 × 8 + 4 × 12 = 64, not 56. The numbers are the wrong way round. Go to M4.8.8.
- If you chose C: This has 20 heads, but the legs are 2 × 10 + 4 × 10 = 60, not 56. Go to M4.8.8.
- If you chose D: This has 20 heads, but the legs are 2 × 14 + 4 × 6 = 52, not 56. Go to M4.8.8.
A rectangle has a perimeter of 30 cm. Its length is twice its width. What is the width?
See the answer
5 cm
The length is l = 2w. Put it in 2l + 2w = 30: 4w + 2w = 30, so 6w = 30 and w = 5. The length is 10 cm.
- If you chose B: That is the length, which is twice the width. The width is the shorter side. Go to M4.8.8.
- If you chose C: That is half the perimeter, l + w. The width is only part of that. Go to M4.8.8.
- If you chose D: You divided the perimeter by 4, as for a square. The sides here are different, so 4 equal sides do not fit. Go to M4.8.8.
Which inequalities describe the hatched region?
See the answer
x ≥ 2, y ≥ 1 and x + y ≤ 7
The region is on and right of x = 2, on and above y = 1, and on and below x + y = 7. The lines are solid, so the signs include equals.
- If you chose A: The lines are solid, so the edges are included. That needs ≥ and ≤, not > and <. Go to M4.8.8.
- If you chose B: The hatching is to the right of x = 2 and above y = 1, and below x + y = 7. All three signs are the wrong way. Go to M4.8.8.
- If you chose D: The hatching is below the line x + y = 7. Test (3, 2): 3 + 2 = 5, which is not 7 or more. Go to M4.8.8.
Why is the line for y > x + 1 drawn dashed?
See the answer
The sign is strict, so points on the line do not fit.
A point on the line makes y equal to x + 1, and y > x + 1 needs y to be more. So no point on the line fits, and the line is dashed.
The region fits y ≥ 1, y < x and x ≤ 5. Which of the four points is inside it?
See the answer
D (4, 2)
For D (4, 2): 2 ≥ 1, 2 < 4 and 4 ≤ 5 are all true. The other points each break one of the rules.
- If you chose A: This point is on the dashed line y = x, and y < x does not include it. Points on a dashed line are not in the region. Go to M4.8.8.
- If you chose B: The line x = 5 is solid, but 6 is beyond it. The region needs x to be 5 or less. Go to M4.8.8.
- If you chose C: Here y is 4 and x is 2, so y > x. The region needs y < x, below the dashed line. Go to M4.8.8.
A shed holds bicycles (2 wheels) and tricycles (3 wheels), 14 in all, with 33 wheels. How many tricycles are there?
See the answer
5 tricycles
Let b be the number of bicycles and t the number of tricycles. Then b + t = 14 and 2b + 3t = 33. Multiply the first by 2: 2b + 2t = 28. Subtract: t = 5.
A rectangle has a perimeter of 40 cm. Its length is 4 cm more than its width. What is the width?
See the answer
8 cm
Let the width be w. Then the length is w + 4 and 2(w + 4) + 2w = 40. So 4w + 8 = 40, 4w = 32 and w = 8.
From an earlier chapter
The lines y = x + 3 and y = 9 − x cross. Find the crossing point. Give x first, then y.
See the answer
x = 3, y = 6
Put the right sides equal: x + 3 = 9 − x, so 2x = 6 and x = 3. Then y = 3 + 3 = 6.
Keep it
Copy this into your exercise book.
Name the unknowns, write a fact as each equation, solve, check in the words. For a region: solid for ≤ and ≥, dashed for < and >, and test a point.
Draw: A triangle made of three lines, hatched inside, with one test point marked.