GoalFind gradients and equations of lines, solve simultaneous equations by graph, use practical graphs and direct proportion, and compare data with the right diagrams.
New words
gradient · how steep a line is: the change in y divided by the change in xline of best fit · a straight line drawn close to the points of a scatter graphfrequency polygon · a graph joining points plotted at class midpoints and frequencies
Explanation
This lesson revises Units 18 and 19. The gradient of a line through two points is the change in y divided by the change in x. A line y = mx + c has gradient m and meets the y-axis at (0, c); lines with the same m are parallel. The point where two graphs cross gives the solution of the simultaneous equations. A line through the origin shows direct proportion, and the gradient is the constant of proportionality. In a real-life graph the starting value and the rate of change have meanings. For data, a frequency polygon plots frequency against class midpoint, a scatter graph shows correlation, and a diagram with the stems in the middle compares two sets. Compare using averages and range, and write your conclusion in words.
Diagram
Use it to…
frequency polygon
compare grouped continuous data
line graph
show a trend over time
scatter graph
look for correlation between two measures
back-to-back stem and leaf
compare two sets with all the values shown
Worked examples
A line passes through (−2, 7) and (4, −5). Find its equation. Gradient = (−5 − 7) ÷ (4 − (−2)) = −12 ÷ 6 = −2. So y = −2x + c. Using (4, −5): −5 = −8 + c, so c = 3. The equation is y = −2x + 3. Check with (−2, 7): −2 × (−2) + 3 = 7. The line 3y + 6x = 12 rearranges to y = −2x + 4, so it is parallel to this line.
Solve y = 0.5x + 1 and 2x + y = 11. The second equation is y = 11 − 2x. The graph shows the two lines crossing at (4, 3). Algebra check: 0.5x + 1 = 11 − 2x gives 2.5x = 10, so x = 4 and y = 0.5 × 4 + 1 = 3. The solution is x = 4, y = 3.
Two classes took a typing test. The scores in words per minute are shown in the diagram. Class R: median 40, range 21, mean 40.1. Class S: median 32.5, range 14, mean 32.9. Class R types faster: its median is 7.5 words per minute higher, and its mean is 7.2 higher. Class S is more consistent, because its range is smaller. So Class R is faster, while Class S is more similar to each other.
Class activity
Review poster. On a sheet of paper, draw one small example of each of: a straight-line graph with its equation, two lines crossing, a frequency polygon, a scatter graph with a line of best fit, and a stem-and-leaf diagram with two sets of leaves around shared stems. Under each write one sentence saying what it shows. Put it on the wall and use it to explain the week to someone at home.
Practice
1
Masses (kg) of 30 parcels: 0 ≤ m < 2: 3; 2 ≤ m < 4: 9; 4 ≤ m < 6: 11; 6 ≤ m < 8: 5; 8 ≤ m < 10: 2. Write the midpoints, draw the frequency polygon, name the modal class and estimate the mean. What fraction weighed 6 kg or more?
Midpoints 1, 3, 5, 7, 9. Plot (1, 3), (3, 9), (5, 11), (7, 5), (9, 2). Modal class 4 ≤ m < 6. Mean ≈ (3 + 27 + 55 + 35 + 18) ÷ 30 = 138 ÷ 30 = 4.6 kg. Fraction 6 kg or more: 7/30.
2
The scatter graph shows the fuel in a tank (litres) after different distances driven (km). Describe the correlation. The line of best fit passes through (0, 47.8) and (500, 6.4). Find the gradient, say what it means, estimate the fuel at 250 km and the distance when the tank is empty.
Strong negative correlation. Gradient = (6.4 − 47.8) ÷ 500 = −0.0828 litres per km, about 8.3 litres per 100 km. At 250 km: 47.8 − 0.0828 × 250 ≈ 27.1 litres. Empty when 47.8 ÷ 0.0828 ≈ 577 km. This is outside the data, so it is only a rough estimate.
3
Four lines have the equations A: y = 3x − 1, B: 2y = 6x + 5, C: 3y + x = 9 and D: y − 3x = 4. Find the gradient of each line. Which lines are parallel? Which line crosses the y-axis at (0, 4)? What happens if you try to solve A and D as simultaneous equations?
A: gradient 3. B: y = 3x + 2.5, gradient 3. C: y = −x/3 + 3, gradient −1/3. D: y = 3x + 4, gradient 3. Lines A, B and D are parallel. D crosses the y-axis at (0, 4). A and D are parallel, so they never meet and the pair has no solution: setting 3x − 1 = 3x + 4 gives −1 = 4, which is impossible.
4
The cost C of custom badges is in direct proportion to the number n. 40 badges cost $62. Write a formula, find the cost of 250 badges and the greatest number you can buy for $100. What is the gradient of the graph of C against n?
k = 62 ÷ 40 = 1.55, so C = 1.55n. 250 badges cost 250 × 1.55 = $387.50. For $100: n = 100 ÷ 1.55 ≈ 64.5, so at most 64 badges. The gradient is 1.55 (dollars per badge).