Chapter 2
Chapter 2
Coordinate geometry
and linear relations
Objectives
The number plane (Cartesian plane) is divided into four quadrants by two perpendicular axes.
These axes intersect at a point called the origin. The position of any point in the plane can be
represented by an ordered pair of numbers (x, y), called the coordinates of the point. Given
the coordinates of two points, we can find the equation of the straight line through the two
points, the distance between the two points and the midpoint of the line segment joining the
points. These are the beginning ideas of coordinate geometry. The topic of calculus, which is
introduced later in this book, builds on these ideas.
A relation is defined as a set of ordered pairs in the form (x, y). Sometimes we can give
a rule relating the x-value to the y-value of each ordered pair, such as y = 2x + 1, and this
is a more convenient way of describing the relation. A relation may also be represented
graphically on a set of axes. If the resulting graph is a straight line, then the relation is called
a linear relation.
34
In this first section we look at the method to find the coordinates of the midpoint of a line
segment and we apply Pythagoras theorem to find the distance between two points.
A(2, 3)
P(2, 1 )
2
B(2, 4)
y
D(3, 2)
C(1, 2)
P(1, 2)
B(x2, y2)
P(x, y)
x x1 = x2 x
2x = x1 + x2
x=
x1 + x2
2
and
PC = BD
A(x1, y1)
x x1
y2 y
x2 x
y y1
C
x
y y1 = y2 y
2y = y1 + y2
y=
y1 + y2
2
35
The coordinates of the midpoint P of the line segment AB joining A(x1 , y1 ) and B(x2 , y2 )
are
x + x y + y
1
2
1
2
,
2
2
That is, we take the average of the x-coordinates and the average of the y-coordinates.
Example 1
Find the midpoint of the line segment joining A(2, 6) with B(3, 4).
Solution
The midpoint of line segment AB has
coordinates
2 + (3) 6 + (4) 1
,
= ,1
2
2
2
Explanation
The coordinates of the midpoint of the line
segment joining A(x1 , y1 ) and B(x2 , y2 ) are
x + x y + y
1
2
1
2
,
2
2
B(x2, y2)
AB2 = AC 2 + BC 2
A(x1, y1)
= (x2 x1 )2 + (y2 y1 )2
Therefore, the distance between the two points
A(x1 , y1 ) and B(x2 , y2 ) is
AB = (x2 x1 )2 + (y2 y1 )2
y2 y1
x2 x1
C
x
Example 2
Calculate the distance EF if E is (3, 2) and F is (4, 2).
Solution
EF =
=
=
=
(x2 x1 )2 + (y2 y1 )2
(4 (3))2 + (2 2)2
72 + (4)2
65
= 8.06
Explanation
y
E
2
1
3 2 1 0
1
2
1 2 3
36
2A
Section summary
The coordinates of the midpoint of the line segment joining A(x1 , y1 ) and B(x2 , y2 ) are
x + x y + y
1
2
1
2
,
2
2
(x2 x1 )2 + (y2 y1 )2
Exercise 2A
Example 1
Find the coordinates of M, the midpoint of AB, where A and B have the following
coordinates:
a A(2, 12), B(8, 4)
c A(1.6, 3.4), B(4.8, 2)
Find the midpoints of each of the sides of a triangle ABC, where A is (1, 1), B is (5, 5)
and C is (11, 2).
km
14
N
W
12
10
1cm = 2 km
+ C
6
4
2
2
10 km
If M is the midpoint of XY, find the coordinates of Y when X and M have the following
values:
a X(4, 2), M(0, 3)
c X(6, 3), M(2, 1)
5 Find the coordinates of the midpoint of the line joining (1, 4) and (a, b), in terms of a
and b. If (5, 1) is the midpoint, find the values of a and b.
Example 2
Find the distance between each of the following (correct to two decimal places):
a (3, 6) and (4, 5)
c (2, 3) and (5, 8)
37
Calculate the perimeter of a triangle with vertices (3, 4), (1, 5) and (7, 2).
y
8
C
D
8
There is an off-shore oil drilling platform in Bass Strait situated at D(0, 6), where
1 unit = 5 km. Pipes for this oil drill come ashore at M(6, 1) and N(3, 1). Assuming
the pipelines are straight, which is the shorter DM or DN?
rise
run
y
B (x2, y2)
A (x1, y1)
rise = y2 y1
run = x2 x1
0
rise y2 y1
=
run
x2 x 1
38
Example 3
Find the gradient of each line:
y
a
3
2
1
2
Solution
20
a Gradient m =
0 (2)
=
2
2
x
0
3
2
03
20
Explanation
=1
b Gradient m =
y2 y1
x2 x 1
y2 y1
x2 x 1
Notes:
The gradient of a line that slopes upwards from left to right is positive, as illustrated in
Example 3a.
The gradient of a line that slopes downwards from left to right is negative, as illustrated in
Example 3b.
The gradient of a horizontal line (parallel to the x-axis) is zero, since y2 y1 = 0.
The gradient of a vertical line (parallel to the y-axis) is undefined, since x2 x1 = 0.
Example 4
Find the gradient of the line that passes through the points (1, 6) and (3, 7).
Solution
m=
y2 y1
x2 x 1
76
=
3 1
1
=
4
Cambridge Senior Maths AC/VCE
Mathematical Methods 1&2
Explanation
The gradient can also be found using
m=
=
y1 y2
x1 x 2
1
67
=
1 (3)
4
39
Positive gradient
From Year 10 you will be familiar with the trigonometric
ratio
opposite
tan =
adjacent
opposite
adjacent
Consider a straight line with positive gradient. The line forms an acute angle, , with the
positive direction of the x-axis.
y
y2 y1
x2 x 1
B(x2, y2)
(x1 x2 )
A(x1, y1)
m = tan
where is the angle that the line makes with
the positive direction of the x-axis.
y2 y1
x2 x1
Example 5
Determine the gradient of the line passing through the points (3, 2) and (5, 7) and the
angle that the line makes with the positive direction of the x-axis.
Explanation
The gradient is given by
Solution
72
m=
53
m=
5
=
2
tan =
y2 y1
x2 x 1
5
2
= 68.1986 . . .
= 68.20
40
Negative gradient
Now consider a line with negative gradient.
The line forms an acute angle with the
negative direction of the x-axis, and an obtuse
angle with the positive direction of the x-axis.
We have = 180 .
From the diagram, we see that the gradient
satisfies
(y1 y2 )
y2 y1
=
= tan
m=
x2 x 1
x2 x 1
y
x2 x1
A(x1, y1)
y2 y1
B(x2, y2)
0
From your work on circular functions in Year 10 you may recall that
tan = tan(180 ) = tan
Thus the gradient satisfies
m = tan = tan
Example 6
Determine the gradient of the line passing through the points (5, 3) and (1, 5) and the
angle that the line makes with the positive direction of the x-axis.
Explanation
The gradient is negative and so the angle
between the line and the positive direction
of the x-axis is obtuse.
Solution
m=
5 (3)
1 5
4
3
tan =
4
3
= 180 (53.130 . . . )
= 126.87
Section summary
The gradient of a line segment AB joining two points A(x1 , y1 ) and B(x2 , y2 ) is
y2 y1
x2 x 1
provided x1 x2
The gradient of a line is defined as the gradient of any line segment of that line.
A horizontal line has gradient zero.
A vertical line does not have a gradient.
2B
41
Let be the angle that a line makes with the positive direction of the x-axis.
The gradient m is positive if and only if is acute.
Exercise 2B
Example 3
2 1 0
2
1
6
4
2
2
1
1 0
1 2 3
h
(6, 10)
3 2 1 0
(0, 8)
5
(3, 2)
(2, 0)
1 2 3 4
3
2
1
0
1
3
2
1
2 3
42
Example 4
Sketch a graph of a line with gradient 0 which passes through the point (1, 6).
For each of the following, find the gradient of the line that passes through the two
points with the given coordinates:
a
c
e
g
i
k
b
d
f
h
j
l
a Find the gradient of the straight line that passes through the points with coordinates
(5a, 2a) and (3a, 6a).
b Find the gradient of the straight line that passes through the points with coordinates
(5a, 2a) and (5b, 2b).
a A line has gradient 6 and passes through the points with coordinates (1, 6) and
(7, a). Find the value of a.
b A line has gradient 6 and passes through the points with coordinates (1, 6) and
(b, 7). Find the value of b.
Find the angle, correct to two decimal places, that the lines joining the given points
make with the positive direction of the x-axis:
a (0, 3), (3, 0)
c (0, 2), (4, 0)
Example 5, 6
2B
Find the angle, correct to two decimal places, that the lines joining the given points
make with the positive direction of the x-axis:
a (4, 2), (6, 8)
c (3, 4), (6, 1)
e (3b, a), (3a, b)
43
In this section we discuss different ways of determining the equation of a straight line.
In general two independent pieces of information are required. The following given
information is considered:
gradient and y-axis intercept
gradient and a point
two points.
The line y = 2x + 4
Consider the line with gradient 2 and y-axis intercept 4.
This line passes through the point A(0, 4). Let B(x, y) be
any other point on the line.
y4 y4
=
Gradient of line segment AB =
x0
x
We know that the gradient of the line is 2. Therefore
y4
=2
x
y
B(x, y)
A(0, 4)
0
y 4 = 2x
y = 2x + 4
So the coordinates (x, y) satisfy the equation y = 2x + 4.
Conversely, if a point B(x, y) in the plane satisfies y = 2x + 4, then
y4
=2
x
Thus we know that the gradient of the line segment joining point B to the point A(0, 4) is 2.
Therefore the line through A(0, 4) and B(x, y) has gradient 2 and y-axis intercept 4.
The line y = mx + c
In the same way as for the line y = 2x + 4, we can show that:
The line with gradient m and y-axis intercept c has equation y = mx + c.
Conversely, the line with equation y = mx + c has gradient m and y-axis intercept c.
44
Example 7
Find the gradient and y-axis intercept of the line y = 3x 4.
Solution
The gradient is 3 and the y-axis intercept
is 4.
Explanation
m = 3 and c = 4
Example 8
Find the equation of the line with gradient 3 and y-axis intercept 5.
Explanation
y = mx + c
Solution
y = 3x + 5
Example 9
State the gradient and y-axis intercept of the line 3y + 6x = 9.
Explanation
Solution
3y + 6x = 9
3y = 9 6x
y=
9 6x
3
y = 3 2x
i.e.
y = 2x + 3
Therefore m = 2 and c = 3.
P(x, y)
y y1
=m
x x1
A(x1, y1)
and so we have
y y1 = m(x x1 )
45
Example 10
Find the equation of the line which passes through the point (1, 3) and has gradient 4.
Explanation
Solution
Method 1
= 4x + 4 + 3
= 4x + 7
Method 2
When x = 1, y = 3.
Therefore
3 = 4 (1) + c
7=c
Solve for c.
The equation is y = 4x + 7.
Example 11
Find the equation of the line that passes through the point (3, 2) and has a gradient of 2.
Explanation
Solution
y 2 = 2(x 3)
y 2 = 2x + 6
y = 2x + 8
The equation is
y = 2x + 8
which could also be expressed as
2x + y 8 = 0
2
1
0
(3, 2)
1 2 3 4
46
y2 y1
x2 x 1
P(x, y)
B(x2, y2)
A(x1, y1)
y y1 = m(x x1 )
We can also find the equation directly by taking the point P(x, y) and noting that
y y1
=m
x x1
Example 12
Find the equation of the straight line passing through the points (1, 2) and (3, 2).
Solution
m=
y2 y1
x2 x 1
2 (2)
31
4
=
2
=
=2
y (2)
2=
x1
2x 2 = y + 2
y = 2x 4
Explanation
First find the gradient m and then use
y y1
=m
x x1
(3, 2)
P(x, y)
0
2
(1, 2)
Example 13
Find the equation of the straight line with y-axis intercept 3 which passes through the
point with coordinates (1, 10).
Solution
The gradient is
m=
10 (3)
= 13
10
Explanation
Find the gradient using (x1 , y1 ) = (0, 3)
and (x2 , y2 ) = (1, 10).
The general equation of a line with y-axis
intercept 3 is y = mx 3.
47
Two intercepts
A special case of finding the equation of a line given the coordinates of two points is when
the intercept with each axis is known, that is, finding the line through (a, 0) and (0, b), where
a, b 0.
In this case, the gradient is
b
b0
=
m=
0a
a
Thus the equation of the line is
b
y 0 = (x a)
a
Multiplying both sides of the equation by a gives
(0, b)
ay + bx = ab
Dividing both sides of the equation by ab gives the
following:
(a, 0)
Example 14
4 A
3
2
1
B
0
Solution
The intercept form of the equation is
x y
+ =1
2 4
Explanation
The coordinates of A and B are (0, 4) and
(2, 0).
48
Equation y = 2
Equation x = 3
x=3
3
2
y=2
1
0
Section summary
Gradientintercept form: The line with gradient m and y-axis intercept c has equation
y2 y1
x2 x 1
2C
49
Intercept form: If a line has x-axis intercept a and y-axis intercept b, the equation of
the line is
x y
+ =1
a b
Horizontal line: A line parallel to the x-axis through the point (a, c) has equation y = c.
Vertical line: A line parallel to the y-axis through the point (a, c) has equation x = a.
General form: Every straight line satisfies an equation of the form mx + ny + p = 0,
Exercise 2C
Example 7
State the gradient and y-axis intercept of the graph of each equation:
a y = 3x + 6
b y = 6x + 7
c y = 3x 6
d y = x 4
Example 8
a Find the equation of the straight line with gradient 3 and y-axis intercept 5.
b Find the equation of the straight line with gradient 4 and y-axis intercept 6.
c Find the equation of the straight line with gradient 3 and y-axis intercept 4.
Example 9
State the gradient and y-axis intercept of the graph of each equation:
a 3x y = 6
b 4x 2y = 8
b 3x + 4y = 10
d 5x 2y = 4
a Find the equation of the straight line that has gradient 3 and passes through the point
with coordinates (6, 7).
b Find the equation of the straight line that has gradient 2 and passes through the
point with coordinates (1, 7).
Find the equations of the straight lines passing through the following pairs of points.
(Express your answer in gradientintercept form.)
a (1, 4), (2, 3)
Example 13
c x 3y = 6
Example 11
Example 12
d 2x 6y = 10
Express in gradientintercept form and hence state the gradient and y-axis intercept of
each of the following linear relations:
a 2x y = 9
Example 10
c 5x 10y = 20
For the straight line that has y-axis intercept 6 and passes through the point with
coordinates (1, 8), find:
a the gradient
b the equation
Find the equation of the straight line that passes through the point (1, 6) and has
gradient:
a 2
b 2
50
Write, in the form y = mx + c, the equations of the lines which have the given gradient
and pass through the given point:
a m = 2;
Example 14
2C
b m = 2;
(1, 4)
c m = 5;
(0, 4)
(3, 0)
10 Find equations defining the lines which pass through the following pairs of points:
b (3, 0), (0, 6)
d (2, 0), (0, 3)
11 Find the equations, in the form y = mx + c, of the lines which pass through the
following pairs of points:
a (0, 4), (3, 6)
c (3, 0), (3, 3)
e (1.5, 2), (4.5, 8)
12
4
3
2
1
2 1 0
1 2
2
1
1 0
1
2
1 2 3
1 2
1 2
4
3
2
1
2 1 0
2 110
2
c
2
1
3 2 1 0
13
4
3
2
1
2 1 0
1 2
Do the points P(1, 3), Q(2, 1) and R(2 12 , 3) lie on the same straight line?
14 For which of the following does the line pass through the origin?
a y+x=1
15
b y + 2x = 2(x + 1)
c x+y=0
d xy=1
a Find the equation of the line that is parallel to the y-axis and passes through the point
with coordinates (4, 7).
b Find the equation of the line that is parallel to the x-axis and passes through the
point with coordinates (4, 11).
c Find the equation of the line that is parallel to the y-axis and passes through the point
with coordinates (11, 7).
d Find the equation of the line that is parallel to the x-axis and passes through the
point with coordinates (5, 1).
51
Example 15
Sketch the graph of 2x + 4y = 10.
Solution
2.5
y = 2.5
1
Example 16
Sketch the graph of y = 2x 6 by first finding the intercepts.
Solution
x-axis intercept (y = 0): 0 = 2x 6
x=3
y-axis intercept (x = 0):
y = 2(0) 6
y = 6
6x + 3y = 9.
52
The graph window setting can be adjusted using the window setting icon 6.
Ensure the graph window is selected and the intercepts are visible on the graph.
53
To find the intercepts, go to Analysis > G-Solve. Select y-Intercept for the y-axis
intercept and select Root for the x-axis intercept.
Note: The equation is displayed in gradientintercept form in the top-left corner of the
graph screen.
From Section 2B we know that the gradient of a line is the tangent of the angle of slope (that
is, the angle formed by the line with the positive direction of the x-axis).
Example 17
For each of the following lines, find the magnitude of the angle (correct to two decimal
places) that the line makes with the positive direction of the x-axis:
b 3y = 3x 6
a y = 2x + 3
c y = 0.3x + 1.5
Solution
a
3y = 3x 6
y = 2x + 3
y= x2
Gradient = 2
tan = 2
Hence
Therefore
Gradient = 1
= 63.43
Hence
tan = 1
Therefore
= 45
y = 0.3x + 1.5
Gradient = 0.3
Hence
Therefore
tan = 0.3
= (180 16.699 . . . )
= 163.30
54
2D
Section summary
The most practical way to sketch a straight line is to plot two points known to be on the
y-axis. These are the best two points to use in order to sketch a line that does not
pass through the origin and is not parallel to one of the axes.
To sketch a line with equation of the form y = mx, plot one other point on the line
besides the origin.
The gradient m of a line y = mx + c is equal to tan , where is the angle of slope
measured between the line and the positive direction of the x-axis.
Exercise 2D
1
For each of the following, give the coordinates of the axis intercepts:
a x+y=4
Example 15
b xy=4
b y= x+2
b y = 3x 9
b y = x + 2
b xy=1
d y = 2x + 10
c y = 2x + 1
d y = 2x + 1
c yx=1
d x y = 1
c y = 4 12 x
g 4y 6x = 24
d y = 3x 2
h 8x 3y = 24
c y = 2
d x=5
c y = 5x + 10
c y = 2x 4
c 3x + 4y = 24
f 7x 2y = 15
Sketch the graphs of each of the following by first determining the axis intercepts:
a y = 2x 10
b x 4y = 8
e 4x 3y = 15
For each of the following, sketch the graph by first finding the axis intercepts:
a y= x1
d yx=8
Example 16
c x y = 6
b y = 3x + 1
f 3x + 6y = 12
b x = 2
55
Find the magnitude of the angle, correct to two decimal places, made by each of the
following with the positive direction of the x-axis:
b y = x
e y = 2x
a y=x
d x+y=1
c y= x+1
f y = 2x
10 Find the magnitude of the angle, correct to two decimal places, made by each of the
following with the positive direction of the x-axis:
b 2y = 2x + 1
a y = 3x + 2
c 2y 2x = 6
d 3y + x = 7
11 A straight line has equation y = 3x 4. The points with coordinates (0, a), (b, 0), (1, d)
and (e, 10) lie on the line. Find the values of a, b, d and e.
Parallel lines
Two non-vertical lines are parallel if they have the same gradient.
Conversely, two non-vertical lines with the same gradient are parallel.
This is easily proved through considering the angles of inclination of such lines to the
positive direction of the x-axis and using the following two results:
y
1 Two non-vertical lines are parallel if and only if the corresponding angles 1 and 2 formed
by the lines and the positive direction of the x-axis are equal.
2 If 1 and 2 are two angles which are acute, obtuse or zero, then tan 1 = tan 2 implies
1 = 2 .
y
For example, consider the lines
y = 2x + 3
y = 2x + 3
4
y = 2x 4
3
y = 2x 4
2
Both lines have gradient 2, and so they are parallel.
1
x
2 1 0
1
2
2
3
4
Cambridge Senior Maths AC/VCE
Mathematical Methods 1&2
56
Perpendicular lines
We prove that two lines are perpendicular if and only if the product of their gradients is 1
(or if one is horizontal and the other vertical).
Two lines with gradients m1 and m2 (both non-zero) are perpendicular if and only if
m1 m2 = 1.
Proof Initially we consider the case where the two lines intersect at the origin.
Step 1 Draw two lines passing through the origin with one of the lines having
positive gradient, m1 , and the other negative gradient, m2 . Form right-angled triangles
OPQ and OAB with OQ = OB.
y
AB
Gradient m1 =
gradient
BO
m2
gradient
m1
Q
OQ
P
Gradient m2 =
A
PQ
Product m1 m2 =
OQ AB
PQ BO
OQ AB
PQ OQ
AB
PQ
Step 2 We now prove: If two lines passing through the origin are perpendicular, then
y
Q
90
AB
AB
=
= 1
m 1 m2 =
PQ
AB
O
Step 3 We next prove the converse: If for two lines passing through the origin the
origin parallel to the original two lines. The slopes of the new lines are the same. So
the result holds for lines that do not necessarily pass through the origin.
57
Example 18
Find the equation of the straight line which passes through (1, 2) and is:
a parallel to the line with equation 2x y = 4
b perpendicular to the line with equation 2x y = 4.
Solution
The equation 2x y = 4 is equivalent
to y = 2x 4. The line y = 2x 4 has
gradient 2.
Explanation
y 2 = 2(x 1)
Example 19
The coordinates of the vertices of a triangle ABC are A(0, 1), B(2, 3) and C(3, 2 12 ).
Show that the side AB is perpendicular to the side AC.
Solution
Let m1 be the gradient of the line AB and
let m2 be the gradient of the line AC.
m1 =
3 (1)
20
=2
m2 =
=
Explanation
We use the fact that two lines with
gradients m1 and m2 (both non-zero) are
perpendicular if and only if m1 m2 = 1.
2 12 (1)
30
1 12
3
1
2
58
2E
Section summary
Two non-vertical lines are parallel if they have the same gradient. Conversely, if two
non-vertical lines are parallel, then they have the same gradient.
Two lines are perpendicular if the product of their gradients is 1 (or if one is
horizontal and the other vertical). Conversely, if two lines are perpendicular, then the
product of their gradients is 1 (or one is horizontal and the other vertical).
Exercise 2E
Example 18
Find the equation of the straight line which passes through (4, 2) and is:
a
b
c
d
e
f
g
h
For which of the following pairs of equations are the corresponding lines parallel to
each other? Sketch graphs to show the pairs of non-parallel lines.
a 2y = 6x + 4; y = 3x + 4
c 3y 2x = 12; y + 13 = 23 x
Example 19
b x = 4 y; 2x + 2y = 6
d 4y 3x = 4; 3y = 4x 3
perpendicular to the line x = 3 and which passes through the point (3, 4)
perpendicular to the line y = 3 and which passes through the point (2, 3)
perpendicular to the line x = 2 and which passes through the point (2, 4)
perpendicular to the line y = 4 and which passes through the point (3, 4).
Find the equation of the straight line which passes through the point (1, 4) and is
perpendicular to the line with equation y = 12 x + 6.
Points A and B have coordinates (1, 5) and (3, 7) respectively. Find the coordinates of
the midpoint M of the line segment AB and find the equation of the line which passes
through the point M and is perpendicular to the line AB.
If the points A, B and C have the coordinates A(5, 2), B(2, 3) and C(8, 3), show that
the triangle ABC is a right-angled triangle.
Given the points A(3, 7), B(6, 1) and C(20, 8), prove that AB is perpendicular to BC.
59
Given that the lines 4x 3y = 10 and 4x y = m are perpendicular and intersect at the
point (4, 2), find the values of and m.
10 The line y = 2x + 3 intersects the y-axis at A. The points B and C on this line are
such that AB = BC. The line through B perpendicular to AC passes through the point
D(1, 6). Find:
a the equation of BD
b the coordinates of B
c the coordinates of C.
the origin.
y = 3x + c, where the y-axis intercept c of the lines varies the graphs are the straight lines
with gradient 3.
y = mx + 2, where the gradient m of the lines varies the graphs are the straight lines with
y = 3x + 2
y = 3x + 2
y = x + 2
y =
y=x+2
1
x+2
2
y=
(0, 2)
1
x+2
2
The variable m is called a parameter. We will consider other families of graphs in later
chapters of this book.
60
Example 20
Find the value of m if the line y = mx + 2 passes through the point (3, 11).
Solution
We can write
11 = 3m + 2
Therefore 3m = 9 and hence m = 3. It is the line y = 3x + 2.
Example 21
A family of lines have equations of the form y = mx + 2, where m is a negative number.
a Find the x-axis intercept of a line in this family in terms of m.
b For which values of m is the x-axis intercept greater than 3?
c Find the equation of the line perpendicular to the line y = mx + 2 at the point (0, 2).
Explanation
Solution
a When y = 0:
mx + 2 = 0
mx = 2
x=
2
m
2
>3
m
2 < 3m
2
<m
3
Section summary
Families of straight lines can be described through the use of a parameter. For example:
All the non-vertical lines passing through (0, 2) have equation of the form y = mx + 2,
2F
61
Exercise 2F
Example 20
The line with equation y = mx 3, where m is a positive number, passes through the
point (2, 7). Find the value of m.
The line with equation y = 2x + c, where c is a number, passes through the point (3, 11).
Find the value of c.
Example 21
The line with equation y = mx + 2, where m is a positive number, passes through the
point (3, 8). Find the value of m.
ii 2
62
d Find the equation of the line perpendicular to the line 3x + by = 12 at the point (4, 0).
2G Linear models
Skillsheet
There are many practical situations where a linear relation can be used.
Example 22
Austcoms rates for local calls from private telephones consist of a quarterly rental fee of
$50 plus 25c for every call. Construct a cost function that describes the quarterly telephone
bill and sketch the linear graph for this.
Solution
Let
100
80
60
C = 0.25n + 50
The number of calls is counted in whole numbers
including zero.
Draw the graph of the function C = 0.25n + 50 where
n is a whole number including zero.
40
20
50 100 150 200 n
Note: The graph should be a series of discrete points rather than a continuous line,
because n is a whole number. With the scale used it is not practical to show it
correctly.
An important linear relation is the relation between distance travelled and time taken when an
object is travelling with constant speed. If a car travels at 40 km/h, the relationship between
distance travelled (s kilometres) and time taken (t hours) is
s = 40t
(for t 0)
The graph of s against t is a straight-line graph through the origin. The gradient of this graph
is 40.
2G
2G Linear models
63
Example 23
A car starts from point A on a highway 10 kilometres past the Wangaratta post office. The
car travels at a constant speed of 90 km/h towards picnic stop B, which is 120 kilometres
further on from A. Let t hours be the time after the car leaves point A.
a Find an expression for the distance d1 of the car from the post office at time t hours.
b Find an expression for the distance d2 of the car from point B at time t hours.
c On separate sets of axes sketch the graphs of d1 against t and d2 against t and state the
gradient of each graph.
Solution
a At time t the distance of the car from the post office is 10 + 90t kilometres.
b At time t the distance of the car from B is 120 90t kilometres.
c
d2
d1
4
, 130
3
10
O
Gradient = 90
120
4
3
Gradient = 90
Exercise 2G
Example 22
The weekly wage, $w, of a vacuum cleaner salesperson consists of a fixed sum of $350
plus $20 for each cleaner sold. If n cleaners are sold per week, construct a rule that
describes the weekly wage of the salesperson.
Example 23
a A train moves at 50 km/h in a straight line away from a town. Give a rule for the
distance, d1 km, from the town at time t hours after leaving the town.
b A train has stopped at a siding 80 km from the town and then moves at 40 km/h in
a straight line away from the siding towards the town. Give a rule for the distance,
d2 km, from the town at time t hours after leaving the siding.
c On separate sets of axes sketch the graphs of d1 against t (0 t 4) and d2 against t
and state the gradient of each graph.
a An initially empty container is being filled with water at a rate of 5 litres per minute.
Give a rule for the volume, V litres, of water in the container at time t minutes after
the filling of the container starts.
b A container contains 10 litres of water. Water is then poured in at a rate of 5 litres
per minute. Give a rule for the volume, V litres, of water in the container at time
t minutes after the pouring starts.
64
2G
The reservoir feeding an intravenous drip contains 500 mL of a saline solution. The
drip releases the solution into a patient at the rate of 2.5 mL/minute.
a Construct a rule which relates the amount of solution left in the reservoir, v mL, to
time, t minutes.
b State the possible values of t and v.
c Sketch the graph of the relation.
The cost ($C) of hiring a taxi consists of two elements, a fixed flagfall and an amount
that varies with the number (n) of kilometres travelled. If the flagfall is $2.60 and the
cost per kilometre is $1.50, determine a rule which gives C in terms of n.
A car rental company charges $85, plus an additional amount of 24c per kilometre.
a Write a rule to determine the total charge $C for hiring a car and travelling
x kilometres.
b What would be the cost to travel 250 kilometres?
Two towns A and B are 200 km apart. A man leaves town A and walks at a speed of
5 km/h towards town B. Find the distance of the man from town B at time t hours after
leaving town A.
The following table shows the extension of a spring when weights are attached to it.
x, extension (cm)
w, weight (g)
50
50.2
50.4
50.6
50.8
51.0
51.2
A printing firm charges $35 for printing 600 sheets of headed notepaper and $47 for
printing 800 sheets.
a Find a formula, assuming the relationship is linear, for the charge, $C, in terms of
number of sheets printed, n.
b How much would they charge for printing 1000 sheets?
10
An electronic bank teller registered $775 after it had counted 120 notes and $975 after it
had counted 160 notes.
a Find a formula for the sum registered ($C) in terms of the number of notes (n)
counted.
b Was there a sum already on the register when counting began?
c If so, how much?
65
Example 24
Explain why the simultaneous equations 2x + 3y = 6 and 4x + 6y = 24 have no solution.
Solution
First write the equations in the form y = mx + c. They become
2
2
y= x+2
and
y= x+4
3
3
Each of the lines has gradient 23 . The y-axis intercepts are 2 and 4 respectively. The
equations have no solution as they correspond to parallel lines and they are different lines.
Example 25
The simultaneous equations 2x + 3y = 6 and 4x + 6y = 12 have infinitely many solutions.
Describe these solutions through the use of a parameter.
Solution
The two lines coincide, and so the solutions are all points on this line. We make use of a
6 3
third variable as the parameter. If y = , then x =
. The points on the line are all
6 3
2
points of the form
, .
2
The solution to this system of equations is given by the calculator as shown. The variable
c1 takes the place of .
66
keyboard.
Select the simultaneous equations icon ~.
Enter the two equations into the two lines and
type x, y in the bottom-right square to indicate
the variables.
Select EXE .
6 3
, y = where is any real number.
Choose y = to obtain the solution x =
2
Math1
Example 26
The family of lines y = mx + 2 with varying gradient m all pass through the point (0, 2).
a For what values of m does the line y = mx + 2 not intersect the line y = 5x 3?
b For what values of m does the line y = mx + 2 intersect the line y = 5x 3?
c If the line y = mx + 2 intersects the line y = 5x 3 at the point (5, 22), find the value
of m.
Solution
a The y-axis intercept of y = mx + 2 is 2 and the y-axis intercept of y = 5x 3 is 3. The
lines will not intersect if they are parallel, that is, if they have the same gradient. So
m = 5.
b The lines intersect when m 5.
c If (5, 22) lies on the line y = mx + 2, then
22 = 5m + 2
20 = 5m
m=4
Thus the lines intersect at (5, 22) when m = 4.
Example 27
The lines y = x + k and y = mx + 4 intersect at (1, 3). Find the values of m and k.
Solution
When x = 1, y = 3.
So 3 = 1 + k and 3 = m + 4.
Hence k = 2 and m = 1.
67
Example 28
The lines (m 2)x + y = 2 and mx + 2y = k intersect at (2, 8). Find the values of m and k.
Solution
(m 2)x + y = 2
(1)
mx + 2y = k
(2)
When x = 2, y = 8. Substituting these values into equations (1) and (2), we have the
equations
2(m 2) + 8 = 2
(3)
2m + 16 = k
(4)
Example 29
Consider the simultaneous linear equations (m 2)x + y = 2 and mx + 2y = k. Find the
values of m and k such that the system of equations has:
a no solution
c a unique solution.
Solution
(m 2)x + y = 2
(1)
mx + 2y = k
(2)
We know that for no solution or infinitely many solutions, the corresponding lines are
parallel or coincide. If the corresponding lines are parallel or coincide, the gradients are
the same.
Gradient of line (1) = 2 m
m
Gradient of line (2) =
2
m
Hence
2m=
2
4 2m = m
m=4
Substitute m = 4 in equations (1) and (2). We have
2x + y = 2
4x + 2y = k
a There is no solution if m = 4 and k , 4.
b If m = 4 and k = 4, there are infinitely many solutions as the equations are equivalent.
c The solution is unique if m , 4 and k is any real number.
68
A fixed charge of $25 per quarter + 50c per unit of gas used
Method B A fixed charge of $50 per quarter + 25c per unit of gas used
Determine the number of units which must be used before method B becomes cheaper
than method A.
Solution
Let
C ($)
C1 = 0.5x + 25
100
C2 = 0.25x + 50
C1 = 25 + 0.5x
50
C2 = 50 + 0.25x
25
Example 31
Robyn and Cheryl race over 100 metres. Robyn runs so that it takes a seconds to run
1 metre, and Cheryl runs so that it takes b seconds to run 1 metre. Cheryl wins the race by
1 second. The next day they again race over 100 metres but Cheryl gives Robyn a 5-metre
start so that Robyn runs 95 metres. Cheryl wins this race by 0.4 seconds. Find the values
of a and b and the speed at which Robyn runs.
Solution
For the first race: Time for Robyn time for Cheryl = 1 s.
100a 100b = 1
(1)
For the second race: Time for Robyn time for Cheryl = 0.4 s.
95a 100b = 0.4
(2)
Subtract (2) from (1). This gives 5a = 0.6 and therefore a = 0.12.
Substitute in (1) to find b = 0.11.
25
1
=
m/s.
Robyns speed =
0.12
3
Cambridge Senior Maths AC/VCE
Mathematical Methods 1&2
2H
69
Section summary
There are three cases for a system of two linear equations with two variables:
unique solution (lines intersect at a point), e.g. y = 2x + 3 and y = 3x + 3
infinitely many solutions (lines coincide), e.g. y = 2x + 3 and 2y = 4x + 6
no solution (lines are parallel), e.g. y = 2x + 3 and y = 2x + 4.
There are many applications of simultaneous linear equations with two variables. The
problems often arise by working with two quantities both changing at a constant but
often different rate.
Exercise 2H
Example 24
Example 25
Example 26
The family of lines y = mx + 6 with varying gradient m all pass through the point (0, 6).
a For what values of m does the line y = mx + 6 not intersect the line y = 4x 5?
b For what values of m does the line y = mx + 6 intersect the line y = 4x 5?
c If the line y = mx + 6 intersects the line y = 4x 5 at the point (5, 15), find the value
of m.
Example 27
The lines y = 2x + k and y = mx 4 intersect at (2, 6). Find the values of m and k.
Example 28
The lines (m 2)x + y = 4 and mx + 3y = k intersect at (2, 8). Find the values of m
and k.
Example 29
Find the value of m for which the pair of simultaneous equations 3x + my = 5 and
(m + 2)x + 5y = m have:
a infinitely many solutions
b no solutions.
Example 30
Two bicycle hire companies have different charges. Company A charges $C, according
to the rule C = 10t + 20, where t is the time in hours for which a bicycle is hired.
Company B charges $C, according to the rule C = 8t + 30.
a Sketch each of the graphs on the same set of axes.
b Find the time, t, for which the charge of both companies is the same.
70
Example 31
2H
John and Michael race over 50 metres. John runs so that it takes at a seconds to run
1 metre and Michael runs so that it takes b seconds to run 1 metre. Michael wins the
race by 1 second. The next day they again race over 50 metres but Michael gives John a
3-metre start so that John runs 47 metres. Michael wins this race by 0.1 seconds. Find
the values of a and b and the speed at which Michael runs.
10 The distances, dA km and dB km, of cyclists A and B travelling along a straight road
from a town hall step are given respectively by dA = 10t + 15 and dB = 20t + 5, where t
is the time in hours after 1 p.m.
a Sketch each of the graphs on the one set of axes.
b Find the time in hours at which the two cyclists are at the same distance from the
town hall step.
11 A helicopter can be hired for $210 per day plus a distance charge of $1.60 per km or,
alternatively, at a fixed charge of $330 per day for an unlimited distance.
a For each of the methods of hiring, find an expression for cost, $C, in terms of the
distance travelled, x km.
b On one set of axes, draw the graph of cost versus distance travelled for each of the
methods.
c Determine for what distances the fixed-charge method is cheaper.
12
Three power boats in a 500 km handicap race leave at 5 hourly intervals. Boat A leaves
first and has a speed for the race of 20 km/h. Boat B leaves 5 hours later and travels at
an average speed of 25 km/h. Boat C leaves last, 5 hours after B, and completes the race
at a speed of 40 km/h.
a
b
c
d
13
10
O
T Trawler
10
H Hovercraft
2H
14
71
A school wishes to take some of its students on an excursion. If they travel by tram it
will cost the school $2.80 per student. Alternatively, the school can hire a bus at a cost
of $54 for the day plus a charge of $1 per student.
a For each mode of transport, write an expression for the cost ($C) of transport in
terms of the number of students (x).
b On one set of axes, draw the graph of cost, $C, versus number of students, x, for
each mode of transport.
c Determine for how many students it will be more economical to hire the bus.
15
Anne and Maureen live in towns that are 57 km apart. Anne sets out at 9 a.m. one day
to ride her bike to Maureens town at a constant speed of 20 km/h. At the same time
Maureen sets out to ride to Annes town at a constant speed of 18 km/h.
a Write down a rule for the distance, d km, that each of them is from Annes place at a
time t minutes after 9 a.m.
b On the same set of axes, draw graphs of the distance, d km, versus time, t minutes
after 9 a.m., for each cyclist.
c Find the time at which they will meet.
d How far has each of them travelled when they meet?
Review
72
Chapter summary
The midpoint of the line segment joining (x1 , y1 ) and (x2 , y2 ) is the point with coordinates
x + x y + y
1
2
1
2
,
2
2
AS
Nrich
is
AB =
(x2 x1 )2 + (y2 y1 )2
B(x2, y2)
x
0
A(x1, y1)
y
y2 y 1
Gradient m =
x2 x 1
B(x2, y2)
A(x1, y1)
0
For a line with gradient m, the angle of slope () can be found using
m = tan
where is the angle the line makes with the positive direction of the x-axis.
The gradientintercept form of the equation of a straight line is
y = mx + c
where m is the gradient and c is the y-axis intercept.
The equation of a line passing through a given point
(x1 , y1 ) and having gradient m is
y
P(x, y)
y y1 = m(x x1 )
A(x1, y1)
0
y
where
B(x2, y2)
(x, y)
y2 y 1
m=
x2 x 1
A(x1, y1)
0
Two straight lines are perpendicular to each other if and only if the product of their
Chapter 2 review
73
Find the length and the coordinates of the midpoint of the line segment joining each of
the following pairs of points:
a A(1, 2) and B(5, 2)
Find the gradients of the lines joining each of the following pairs of points:
a (4, 3) and (8, 12)
d (0, a) and (a, 0)
Review
Technology-free questions
Find the equation of the straight line of gradient 4 which passes through the point with
coordinates:
a (0, 0)
b (0, 5)
c (1, 6)
d (3, 7)
a The point (1, a) lies on the line with equation y = 3x 5. Find the value of a.
b The point (b, 15) lies on the line with equation y = 3x 5. Find the value of b.
Find the equation of the straight line joining the points (5, 2) and (3, 4).
Find the equation of the straight line of gradient 23 which passes through (4, 1).
Find the equation of the straight line which passes through the point (2, 3) and is
inclined at 30 to the positive direction of the x-axis.
Find the equation of the straight line which passes through the point (2, 3) and makes
an angle of 135 with the positive direction of the x-axis.
10
Find the equation of the straight line passing through the point (4, 8) and which is
perpendicular to the line with equation y = 3x + 2.
11
A straight line has equation y = 2x + 1. The points with coordinates (0, a), (b, 0), (2, d)
and (e, 7) lie on this line. Find the values of a, b, d and e.
12
Sketch the graph of each of the following by first determining axis intercepts. Clearly
label each axis intercept.
a y = 2x 8
d y 2x 8 = 0
b 3x + y = 6
e y = 6x + 6
c 3x + y + 6 = 0
f 2x + 5y + 10 = 0
Review
74
13
a Find the equation of the line parallel to the x-axis passing through the point (8, 9).
Sketch the graph.
b Find the equation of the line parallel to the y-axis passing through the point (8, 9).
Sketch the graph.
c Find the equation of the straight line that passes through the origin and has gradient:
i 3
ii 3
Sketch the graphs of each of these.
14
15
The weekly wage $S of a car salesperson consists of a fixed sum of $800 plus $500 for
each car sold. If n cars are sold in a week, construct a formula that describes the weekly
wage of the salesperson in terms of n.
16
Multiple-choice questions
1
The coordinates of the midpoint of AB, where A has coordinates (4, 12) and B has
coordinates (6, 2), are
A (4, 8)
B (4.5, 8)
C (5, 8)
D (5, 7)
E (1, 5)
If (6, 3) is the midpoint of the line segment joining the points (4, y) and (x, 6), then
the value of x + y is
A 0
B 16
C 20
D 10
E 28
The gradient of the line passing through the points (5, 8) and (6, 10) is
1
1
3
1
B
C
D
E
A 2
2
2
18
2
The gradient of the line passing through points (4a, 2a) and (9a, 3a) is
A a
B 5a
C 1
D 5
E 1
The equation of the straight line with gradient 3 that passes through the point (1, 9) is
A y= x+9
D y = 13 x + 1
B y = 3x + 9
E y = 13 x + 6
C y = 3x + 6
Chapter 2 review
A straight line passes through the points (2, 6) and (2, 14). The equation of the
line is
B y = 21 x 7
E y = 12 x 8
A y= x8
D y = 2x 10
7
C y = 12 x 10
The line with equation y = 2x 6 passes through the point (a, 2). The value of a is
A 2
Review
75
B 4
C 5
D 4
E 2
A y = 3x 3
D y = 3x + 3
C y = 13 x 3
B 5
C 10
D 10
E 12
10 The cost ($C) of hiring a car is given by the formula C = 2.5x + 65, where x is the
number of kilometres travelled. A person is charged $750 for the hire of the car. The
number of kilometres travelled was
A 65
B 145
C 160
D 200
E 274
11 The solution of the two simultaneous equations 2ax + 2by = 3 and 3ax 2by = 7 for x
and y is
3 4a
3 4a2
A x = 2a, y =
B x = 2, y =
2b
2b
1
2
C x= , y=
D x = 0, y = 0
a
2b
E x = 3a, y = 7b
Extended-response questions
1
The cost of hiring a motor cruiser consists of a down payment of $500 and a running
charge of $100 per day, or part of a day. The cost of fuel is $27.50 per day. There is
also a charge of $50 for filling the freshwater tanks and charging the batteries. Food for
a cruise of n days costs $62.50 per day.
a Give a formula for C, the total cost in dollars of hiring the cruiser for n days (all
costs to be included).
b For how many days can a cruiser be hired if the cost of a cruise is to be no more
than $3000?
c A rival company has a fixed rate of $300 per day. For how many days would it be
cheaper to hire from this company?
Review
76
The cost of fitting a new plug and cable for an electric drill is $C, when the length of
the cable is x metres and C = 4.5 + 1.8x.
a
b
c
d
The profit made on a single journey of an Easyride bus tour is $P, when there are x
empty seats and P = 1020 24x.
a Write down a formula relating cost, $C, to n, the number of kWh of electricity used:
i for the first 50 kWh
ii for the next 150 kWh
iii for more than 200 kWh.
b Draw a graph of C against n. Use the graph, or otherwise, to determine the
charges for:
i 30 kWh
ii 90 kWh
iii 300 kWh
c How much electricity could be used for a cost of $20?
5
y
10
Scale:
1 unit = 1 km
N
W
E
S
O 2
Sea 4
Chapter 2 review
Review
77
Scale:
1 unit = 10 m
irrigation channel
10
B
5
A
O
C 4
8B
Scale:
1 unit = 2 mm
4
a If a straight cut is made joining A
and B, find the y-coordinate of the
2
A
C
point V at which the cut will cross the
D
vertical axis.
b Find the equation of the line joining V
5 4 3 2 1 0 1 2 3 4 5
and C.
c Would the cuts AB and VC be equally inclined to the vertical axis? Explain your
answer.
Review
78
20
N
W
E
S
60
Scale:
1 unit = 1 km
Scale: 1 unit = 1 km
40
N
W
30
20
10
0
40
80
20 Q 40
30 40 50 60 70 80 90
A(2, 8)
B(8, 6)
3y = 4x 14
0
C
Chapter 2 review
Wheelrite, a small company that manufactures garden wheelbarrows, has overhead expenses of $30 000 per year. In addition, it costs $40 to manufacture each
wheelbarrow.
a Write a rule which determines the total cost, $C, of manufacturing x wheelbarrows
per year.
b If the annual production is 6000 wheelbarrows, what is the overall cost per
wheelbarrow?
c How many wheelbarrows must be made so that the overall cost is $46 per
wheelbarrow?
d Wheelrite sells wheelbarrows to retailers for $80 each. Write a rule which
determines the revenue, $R, from the sale of x wheelbarrows to retailers.
e Sketch the graphs for C and R against x on the same axes.
f What is the minimum number of wheelbarrows that must be produced for Wheelrite
to make a profit each year?
g Write a rule which determines the profit, $P, from the manufacture and sale of x
number of wheelbarrows.
13
Review
12
79
Fixed charge
Price per unit
Fixed charge
Price per unit
$100
$0.08125
$27.50
$0.075
a Suppose a customer used 1560 units of electricity in a year. Calculate which is the
cheaper method of payment.
b Copy and then complete the following table:
Number of units of electricity
1000
2000
3000
Review
80
y (m)
B
14 In a metal fabricating yard which has been
flooded by overflow from a local river, a
C
A
large steel frame has been partly submerged.
D
The ends A, B, C and D are the only parts
M
visible above the level of the flood water. The
coordinates of the ends relative to an overhead
y (m)
crane are A(10, 16), B(16, 20), C(24, 8) and
B
B
20
D(18, 4). The overhead crane moves eastwest
A
C
15
along its rail, and Athe distance east from a
10
D
point O(0, 0) is denoted by x. The cranes
hook
C
5
moves northsouth across the frame
M and the
D
distance to the north of the south rail is denoted
0
5 10 15 20 25 x (m)
by y. Units are in metres. The steel frame is to
be raised out of the water by lifting it at the midpoint, M, of its middle section.
20
10
5
0
a Find the coordinates, x and y, of the point to which the hook must be moved so that
it will be directly above the midpoint, M, of the steel frame.
b In order to minimise the risk of the hook slipping, the hook will be moved slowly
along a line parallel to AB. Find the equation of the line along which the hook will
be moved.
15 The diagram below shows part of a micro-electronics circuit, as seen through a
magnifying glass; the circuit has been etched onto a chip of plated silica.
The four points A, B, C and D stand away from the chip itself. A is (100, 60), B is
1
mm.
(200, 100), C is (160, 200) and D is (60, 160). Units are in 25
The unit S is a moveable micro-soldering unit, its tip being at P(0, 120). It is desired
to program the tip of the soldering iron, P, to solder wires to the points A, B, C and D,
moving along the dashed lines as shown in the graph.
a Find equations for the lines defining each section of the path along which P must be
programmed to move.
b Will any of the turns be through right angles? Explain.
y
C
S
120
D
P
120
P
B
B
A
100
A
100
Scale: 1 unit =
x
1
25
15
mm