CH 7 Linear Functions
CH 7 Linear Functions
ALGEBRA
LINEAR FUNCTIONS
A criminologist discovered that, in a big city, if the number of police on street patrol was increased,
the number of crimes committed decreased. She noticed the following pattern:
Number of police 50 150 200 250 300
Is it possible for the criminologist to find an algebraic formula to fit this pattern? Algebraic modelling
is the study of relationships and the formulation of a mathematical rule or model to describe such
relationships.
CHAPTER OUTLINE
A2 7.01 Graphing linear functions
A2 7.02 The gradient formula
A2 7.03 Linear modelling
A2 7.04 Direct linear variation
A2 7.05 Conversion graphs
IN THIS CHAPTER YOU WILL:
• graph linear functions of the form y = mx + c
• find the gradient and y-intercept of a line from its graph
• use linear functions to model practical situations and interpret the meaning of the gradient and
y-intercept of the line in context
• graph and solve problems involving direct linear variation
• interpret and apply linear conversion graphs
iStock.com/Connel_Design
TERMINOLOGY
constant of variation conversion graph dependent variable
direct linear variation gradient independent variable
linear function linear modelling proportional to
rise run vertical intercept
y-intercept
WS
SkillCheck
Assignment
Homework 7
1 Graph this table of values on a number plane and rule a line through the points.
x −1 0 1 2
y −4 −1 2 5
2 Copy and complete each of these tables of values using the given formula.
a y = 2x + 7 b y = −x − 4
x −1 0 1 2 x −1 0 1 2
y y
4 If y = kx:
a find the value of y if k = 0.7 and x = 4
b find the value of k if x = 2.5 and y = 10.
The formula or equation y = 3x − 2 is called a linear function because its graph is a straight Drawing gradients
Homework
line. Linear means ‘of a line’, while a function is an algebraic rule similar to the ‘number
machine’ shown below, that changes an input value, x, into an output value, y.
WS
Function: y = 3x − 2 Graphing
Homeworklinear
input output functions
x=5 process y = 13
WS
A line has a gradient (the measure of its steepness) and a y-intercept (the value where the
line crosses the y-axis). A page of number
Homework
planes
WS
Gradient of a line
The gradient of a line is given by the formula: Graphing
Homework lines:
graphics calculator
rise ( ↑ )
m=
run ( → ) rise
• The rise is the vertical change in Graphing linear
Skillsheet
equations
EXAMPLE 1
WS
a Copy and complete this table of values for the linear function y = 3x − 2.
Gradient
Homework and
y-intercept
x −1 0 1 2 3
y WS
b What pattern do you notice in the y values in the bottom row of the completed table? y = mx + c
Homework
a
x −1 0 1 2 3
y −5 −2 1 4 7
0 1 2 3
rise 3
Gradient ( m ) = = =3
run 1
The y-intercept is −2.
Linear function
Gradient and
A linear function has the form y = mx + c, where m is the gradient and c is the
y-intercept of a line
y-intercept.
y = mx + c y = 3x − 2
y-intercept y-intercept −2
gradient gradient 3
x −1 0 1 2 3
y
Solution
a
x −1 0 1 2 3
y 6 4 2 0 –2
–2 –1 0 1 2 3 4 x
–1
–2
y = –2x + 4
EXAMPLE 3
Graph each linear function after finding its gradient and y-intercept.
2
a y = 2x + 1 b y = −4x c y = x − 4
3
Solution
a Gradient = 2, y-intercept = 1
To graph the line:
• plot the y-intercept, 1, on the y-axis y
5
• indicate a gradient of 2 from this point, y = 2x + 1
4
by moving across 1 unit and up 2 units
3
and marking that point
2 2
• rule a line through both points you marked 1
1
• draw arrows at the ends and label the line –2 –1 0 1 2 3 4 x
–1
with its equation.
–2
b Gradient = −4, y-intercept = 0
To graph the line:
y
• plot the y-intercept, 0, at the origin 1
1
• indicate a gradient of −4 from –2 –1 0 2 3 4 x
–1
this point, by moving across 1 unit
–2 –4
and down 4 units and marking that point
–3
• rule a line through both points you marked, –4 y = –4x
add arrows and label.
1 1
c gradient 1, y-intercept −1 d gradient , y-intercept WS
3 2
5
e gradient − , y-intercept 0 f gradient 0, y-intercept 5 Number plane
Homework
grid paper
4
2 Graph each linear function. Example
1
a y = 4x − 3 b y = x + 2 c y=x−2 1
2
3
d y = −2x e y = 2x − 5 f y= x−1 Example
5 2
4 1
g y = −x + 4 h y = x + 1 i y= x+3
3 4 Example
3
3 What is the gradient of this line? Select A, B, C or D. y
1 1 4
A B − 3
3 3
2
C 3 D −3
1
–2 –1 0 1 2 x
–1
–2
–2 –1 0 1 2 x –2 –1 0 1 2 x –2 –1 0 1 2 x
–1 –1 –1
–2 –2 –2
–3 –3
d y e y f y
4 4 2
3 3 1
2 2
–2 –1 0 1 2 x
1 1 –1
–2
–2 –1 0 1 2 x –2 –1 0 1 2 x
–1 –1
–2 –2
g y h y i y
3 2 1
2 1
–1 0 1 2 3 x
1 –1
–1 0 1 2 3 4 x
–1 –2
–2 –1 0 1 2 x
–1 –2 –3
–2 –3 –4
INVESTIGATION
GRADIENTS
a What does a line with a gradient of 0 look like?
b What does a line with a gradient of 1 look like?
c What does a line with a gradient of −1 look like?
d What is the highest gradient a line can have?
5.8
1
For this example, the steepness is , also written as
5.8
‘1 : 5.8’ or ‘1 in 5.8’.
Bulli Pass, north of Wollongong, has a gradient of
1
while Victoria Pass, east of Lithgow, has a
6
Shutterstock.com/Bennian
1
gradient of . Which pass is steeper?
8
8
A gradient of 8% (that is ) means a rise of
100
8 units for every 100 units of run.
Gradient formula
rise ( ↑ ) change in y
m= =
run ( → ) change in x
(4, 3)
(3, 0)
Solution
change in y
a m =
change in x
5−3
=
10 − 4
2
=
6
1 1
= A gradient of is not steep.
3 3
0−8
b =
m
3 − ( −1)
−8
=
4
= −2 Negative gradient, the line slopes downward
2− 2
c m=
8−3
0
=
5
= 0 Zero gradient line is flat
EXAMPLE 5
b x 2 6 9 12
y 4 −8 −17 −26
a
Choose any two points from the table, say (0, 5) and (4, 11):
change in y
m =
change in x
11 − 5
=
4−0
6
=
4
3
=
2 3
The gradient is .
2
b Using (2, 4) and (6, −8) from the table:
−8 − 4
m =
6−2
−12
=
4
= −3 Negative gradient (y decreases as x increases)
a b (0, 2) c 4
(4, 5) (11, 15)
(2, 0)
(5, 3)
(2, 1)
d (6, 8) e f
(11, 19)
(9, 9)
(10, 6)
(14, 4)
(4, 2)
g h i
(19, 7)
(4, 6) (9, 22)
(1, 3)
(0, 3)
(6, 10)
c d x 1 3 6 8
x 0 8 12 20
y 3 5 6 8 y 7 3 −3 −7
e x 0 10 25 40 f x 2 8 14 16
y −4 2 11 20 y 4 1 −2 −3
Dependent variable
Linear functions code
puzzle
Because the value of y depends on the value of x, y is called the
dependent variable and x is called the independent variable.
When a function is graphed, the independent variable is shown on
the horizontal axis, while the dependent variable is shown on the
Independent variable
vertical axis.
Solution
a C, because C depends on n.
b Choosing the ordered pairs (80, 1440) and (100, 1720) from the table:
1720 − 1440 280
m= = = 14
100 − 80 20
The gradient is 14.
c The linear function is: C = mn + c
The gradient is: m = 14 From the answer to part b
So: C = 14n + c
To find the value of c, the vertical intercept, substitute an ordered pair into the
function.
Substitute (100, 1720):
1720 = 14(100) + c
1720 = 1400 + c
c = 320
The vertical intercept is 320.
This formula should work for the
d The function is C = 14n + 320. other ordered pairs in the table.
EXAMPLE 7
Solution
a P, because C depends on P.
3500
(50, 3100)
3000 (150, 2800)
(200, 2650)
2000
1500
1000
500
0
50 100 150 200 250 300
Number of police patrolling, P
d From the equation, the gradient is −3 and it represents the rate of change in crime as
the number of police increases. As the number of police increases by 1, the number
of crimes decreases by 3.
e The vertical intercept is 3250, and this represents the number of crimes if no police
officers were on patrol. It is the value of C when P = 0.
f Substitute P = 100:
C = −3P + 3250
C = −3(100) + 3250
= 2950
2950 crimes are committed when 100 police are on patrol.
g Substitute C = 1900:
C = −3P + 3250
1900 = −3P + 3250
−3P = −1350
−1350
P=
−3
= 450
450 police officers are required to reduce the number of crimes to 1900.
Example
1 This is a matchstick pattern of houses.
6
Number of houses, h 1 2 3 4 5 6
Number of matches, N
2 This table shows the cost, C cents, of mobile phone calls under the Oz-Zone Budget
Plan, for calls of different lengths, t minutes.
Scores, S (runs)
is a set of 6 balls bowled by the same bowler. 150 (36, 162)
The variable, n, represents the number of
overs bowled, while S represents the total 100 (24, 108)
number of runs scored by the batting team. (18, 81)
50
a Is S the dependent variable or the (8, 36)
independent variable? 0
10 20 30 40 50
b Find the formula for S in terms of n.
Number of overs, n
c The gradient of this linear function is also
the team’s run rate. What is the gradient of the function and in what units is this
run rate measured?
d What is the vertical intercept and what does it represent?
e What was the score after:
i the 21st over? ii the 50th over?
f At the end of which over had the score reached:
i 54 runs? ii 180 runs?
g The graph for a real cricket match would not be a straight line but would normally
flatten out later in the innings. Why?
V = −420t + 1900, where V is the value in dollars and t is the time in years. 7
a Copy and complete this table for the formula V = −420t + 1900.
Time, t (years) 1 2 3 4
Value of computer, V ($)
6 This table shows the linear relationship between distances measured in miles and
distances measured in kilometres.
Miles, M 15 25 30 45
Kilometres, K 24 40 48 72
Temperature, T (°C) 12 15 19 22 28
Chirp rate, n (chirps/min) 72 96 128 152 200
Shutterstock.com/COLOA Studio
temperature is 26°C.
f At what temperature does a cricket chirp
144 times per minute?
g What is the vertical intercept of this function?
Why doesn’t the linear model work for this value?
(32, 432)
from the table into the equation, for example 400
(10, 135). 350
300
d = mp (22, 297)
250
135 = m (10) 200
(14, 189)
m = 10 150
(10, 135)
100
= 13.5
50
∴ The linear function is d = 13.5p.
0
5 10 15 20 25 30 35 40 45
Amount of petrol, p (litres)
Choose another point from the table to check that this formula is correct.
A direct linear relationship exists between x and y. If x increases (or decreases), y increases (or
decreases). If x is doubled (or halved), y is doubled (or halved).
EXAMPLE 8
The mass, M (in kilograms), of a metal varies directly as its volume, V (in cubic
centimetres).
Solution
a Metal mass
40 (140, 42)
35
(116, 34.8)
30
Mass, M (kg)
25
(80, 24)
20
15 (60, 18)
(48, 14.4)
10
5
EXAMPLE 9
The stretch, S (in centimetres), of a spring varies as the mass, M (in kilograms), of the load
pulling it. A load of 24 kg causes the spring to stretch 15 cm.
a Find the variation equation relating S to M.
b What is the stretch caused by a load of 13 kg?
c What is the mass of the load that will cause a stretch of 25 cm?
d What is a limitation of this linear model?
Solution
a S = kM
Substitute M = 24 and S = 15 to find k.
15 = k(24)
15
k=
24
5
= (or 0.625)
8
5M
∴S = (or S = 0.625M)
8
x 1 4 6 10 11 15
y 14 21 52.5
Example 2 The distance travelled by a bicycle varies directly with the number of revolutions made
9 by the pedals.
a Form a variation equation and find the constant of variation, given that the bicycle
travels 55 metres for 20 revolutions of the pedals.
b Calculate the distance travelled for 33 revolutions of the pedals.
c Calculate the number of revolutions of the pedals required for the bike to
travel 99 metres.
4 The graph illustrates the fact that the mass of fuel Fuel consumption of plane
an aeroplane requires varies directly with the
distance it flies. 600
Fuel, F (kg)
graph to find the constant of variation. 400
0
100 200 300
Distance, d (km)
6 For an object that is cooling, the drop in temperature varies directly with time. If the
temperature drops 8°C in 5 minutes, which of the following is the amount of time it
would take for the temperature to drop 10°C? Select A, B, C or D.
A 6.25 min B 7 min C 12.8 min D 16 min
10 Nick noticed that, during his road trip, the amount of petrol used by his car varied with
the amount of time he drove. It consumed 45 L of petrol in 4 hours. How long, to the
nearest minute, will Nick’s car take to consume 100 L of petrol?
11 The download time of a computer file is directly proportional to the size of the file. If a
file of 1800 kilobytes requires 36 seconds to download, calculate:
a how long it will take to download a 3000 kilobyte file
b the size of a file that requires 80 seconds to download.
13 At 3:30 p.m. one day, the shadows of objects of Shadows of objects of different heights
different heights were measured, then graphed.
350
a Find the equation of the line. (250, 325)
300
b Calculate the length of the shadow of a
Shadow, S (cm)
250
lamppost of height 244 cm.
200
c What is the height of a letterbox, correct
150
to the nearest centimetre, if its shadow is
120 cm long? 100
50
14 When an object is dropped under gravity, its
0
speed varies with time. Its speed after 5 seconds 100 200 300
is 49 m/s. Height of object, h (cm)
A conversion graph is used to convert between different units, such as between metric and Currency conversion
Homework
imperial units, or between currencies in foreign currency exchange. graph
EXAMPLE 10
This conversion graph converts between feet (an imperial unit) and centimetres
(a metric unit).
Converting feet to centimetres
200
180
160
140
Metric length (cm)
120
100
(b)
80
60
40
(a)
20
0
0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6
Imperial length (feet)
Solution
Example 1 Use the conversion graph from Example 10 to answer the following questions.
10 a A bookshelf is 3.5 feet tall. What is its height in centimetres?
b Michael is 180 cm tall. Convert this height to feet, correct to one decimal place.
c Convert each length to centimetres.
i 2 feet ii 2.5 feet iii 6 feet
d Convert your own height to feet and inches, given that 1 foot = 12 inches.
2 This currency conversion graph converts between the euro (€) and the Australian
dollar (A$).
Converting between Australian dollars and Euros
180
160
(100, 144)
140
Australian dollars ($A)
120
100
80
60
40
20
(0, 0)
0 10 20 30 40 50 60 70 80 90 100
Euros ( )
3 The conversion graph from Question 2 can also be used to convert small amounts.
For example, from the graph: €46 = A$66. So it is also true that €0.46 = A$0.66.
Use the graph to help you convert each of the following prices to Australian dollars.
a a can of drink €1.20 b posting a letter €0.80
c 30 min of Internet use €3.40 d a newspaper €1.25
5 Calculate the gradient of the currency conversion graph in Question 2, correct to two
decimal places. What does this value represent?
6 This height–weight graph shows the healthy weight range (shaded) for Australian adults
of different heights.
Height–weight graph
80
75
Overweight
70
65 ne
ht li
eig
’w
Healthy weight (kg)
60 eal
‘Id
Underweight
55
50
45
40
35
30
0
140 145 150 155 160 165 170 175 180 185 190
Height (cm)
90
80
70
60
Discount price ($)
50
40
30
20
10
0
10 20 30 40 50 60 70 80 90 100
Marked price ($)
100
90
80
70
Metric weight (kg)
60
50
40
30
20
10
0
25 50 75 100 125 150 175 200 225
Imperial weight (lb)
Mr and Mrs Dillon give their children weekly pocket money according to a function
based on the age of the child, as shown in the table below.
Age, n years 7 9 10 13 15 18
Pocket money, $P 4 12 16 28 36 48
Study tip
Attacking your weak areas
Most of your study time should be spent on attacking your weak areas to fill in any gaps
in your Maths knowledge. Don’t spend too much time on work you already know well,
unless you need a confidence boost! Ask your teacher, use study guides or other textbooks
to improve the understanding of your weak areas and to practise Maths skills. Use your
topic summaries for general revision, but spend longer study periods on overcoming any
difficulties in your mastery of the course.
This chapter, Linear functions, introduced the concept of the linear function and its graph
and applications. Learn the meanings of the gradient and vertical intercept of a linear
function and practise solving problems involving linear modelling, variation
and conversion graphs.
Make a summary of this topic. Use the outline at the start of this chapter as a guide. An
incomplete mind map is shown below. Use your own words, symbols, diagrams, boxes and
reminders. Gain a ‘whole picture’ view of the topic and identify any weak areas.
Gradient
and
vertical
intercept
Linear
modelling
LINEAR
Graphing
linear
FUNCTIONS
functions
Direct
linear
variation
Conversion
graphs
7.01 a y b y
3 1
2
–1 0 1 2 3 x
1 –1
–2
–1 0 1 2 3 4 x
–1 –3
–2 –4
(5, 5)
(4, 3)
4 Find the gradient of the function for each of these tables of values.
Exercise
7.02 a
x 0 4 6 12
y 12 14 15 18
b
x 2 5 9 11
y 42 30 14 6
5 The length, L inches, of a shoe has a linear relationship with the size, S, of the shoe.
Exercise
7.03
Shoe size, S 2 5 7 8 12
2 1
Length, L (inches) 9 10 10 11 12
3 3
a Which is the independent variable?
b Graph this linear relationship.
c What is the gradient, and what does this represent?
d How long is a shoe of size 0? How is this shown on the graph?
e What is the formula for L in terms of S?
f What is the length of a shoe of size 7 12 ?
g What size is a shoe of length 13 inches?
Exercise 6 The distance travelled by a car is directly proportional to the number of rotations of its
7.04 tyres. If 950 metres are travelled after 540 rotations, calculate how much distance, to the
nearest kilometre, is covered after 10 000 rotations.
a Convert each of these Thai prices to Australian dollars (to the nearest dollar).
i 800 baht ii 2450 baht
b Convert each of these Australian prices to Thai baht (to the nearest 50 baht).
i A$65 ii A$82
c Calculate the gradient of this graph, correct to two decimal places. What does this
value represent?
Converting Thai baht to Australian dollars
100
90
80
70
Australian dollar ($A)
60
50
40
30
20
10
0 Qz
250 500 750 1000 1250 1500 1750 2000 2250 2500 2750
Thai baht Chapter quiz