Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
net
Higher
Mathematics
Straight Lines
Contents
Straight Lines
1
2
3
4
5
6
7
8
9
10
11
1
A
A
A
A
A
A
A
A
A
A
A
CfE Edition
This document was produced specially for the HSN.uk.net website, and we require that any
copies or derivative works attribute the work to Higher Still Notes.
For more details about the copyright on these notes, please see
http://creativecommons.org/licenses/by-nc-sa/2.5/scotland/
1
3
4
6
7
8
11
12
13
14
17
Higher Mathematics
Straight Lines
Straight Lines
1
( x1, y1 )
( x 2 , y2 )
x
( x 2 , y2 )
d
( x1, y1 )
O
EXAMPLE
hsn.uk.net
Page 1
CfE Edition
Higher Mathematics
Straight Lines
( x1, y1 )
Note
The y2 y1 and
x2 x1 come from the
method above.
y2 y1
x 2 x1
( x2 x1 )
d=
+ ( y2 y1 ) units.
EXAMPLES
2. A is the point ( 2, 4 ) and B ( 3,1) . Calculate the length of the line AB.
( x2 x1 ) + ( y2 y1 )
2
The length is
2
( 3 ( 2 ) ) + (1 4 )2
52 + ( 3 )2
25 + 9
34 units.
( x2 x1 ) + ( y2 y1 )
2
( 1 12 ) + ( 1 + 154 )
2
(
= ( 32 ) + ( 11
4)
( 22 12 ) + 44 + 154
2
9 + 121
4 16
36 121
16 + 16
Note
You need to become
confident working with
fractions and surds so
practise!
= 157
16
=
hsn.uk.net
157
units.
4
Page 2
CfE Edition
Higher Mathematics
Straight Lines
Note
Simply writing
The midpoint is (4, 2)
would be acceptable in
an exam.
= ( 4, 2 ) .
x = 25
So B is the point ( 25, 26 ) .
hsn.uk.net
y = 26.
Page 3
CfE Edition
Higher Mathematics
Straight Lines
Gradients
( x1, y1 )
O
y2 y1
x 2 x1
Note
is the Greek letter
theta.
It is often used to stand
for an angle.
y y
change in vertical height
= 2 1
change in horizontal distance x 2 x1
=
tan
Also, since
for x1 x 2 .
Opposite y2 y1
=
we obtain:
Adjacent x 2 x1
m = tan
where is the angle between the line and the positive
direction of the x-axis.
positive direction
x
Note
As a result of the above definitions:
lines with positive gradients slope
up, from left to right;
hsn.uk.net
Page 4
CfE Edition
Higher Mathematics
Straight Lines
EXAMPLES
1. Calculate the gradient of the straight line shown in the diagram below.
y
32
m = tan
= tan32
= 062 (to 2 d.p.).
2. Find the angle that the line joining P ( 2, 2 ) and Q (1, 7 ) makes with
the positive direction of the x-axis.
=
m
The line has gradient
m = tan
And so
y2 y1 7 + 2
= = 3.
x2 x1 1 + 2
tan = 3
m =5
x
O
We need to be careful because the in the question is not the in
m = tan .
y
So we work out the angle a and use this to find
:
a = tan 1 ( m )
= tan 1 ( 5 )
= 78690.
m =5
a
hsn.uk.net
Page 5
CfE Edition
Higher Mathematics
Straight Lines
Collinearity
Points which lie on the same straight line are said to be collinear.
To test if three points A, B and C are collinear we can:
1. Work out mAB .
2. Work out mBC (or mAC ).
3. If the gradients from 1. and 2. are the same then A, B and C are collinear.
C
B
mBC
mAB
A
If the gradients are different then the points are not collinear.
C
B
A
mBC
mAB
62 4 1
2 ( 1) 3 1
mQR=
= =
= 6= 2
80 8 2
0 ( 6 )
Since mPQ = mQR and Q is a common point, P, Q and R are collinear.
mPQ=
hsn.uk.net
Page 6
CfE Edition
Higher Mathematics
Straight Lines
if m = 23 then m = 32 .
Note that this rule cannot be used if the line is parallel to the x- or y-axis.
If a line is parallel to the x-axis (m = 0) , then the perpendicular line is parallel
to the y-axis it has an undefined gradient.
If a line is parallel to the y-axis then the perpendicular line is parallel to the
x-axis it has a gradient of zero.
EXAMPLES
1 .
So m = 75 since mST m =
2. Triangle MOP has vertices M ( 3, 9 ) , O ( 0, 0 ) and P (12, 4 ) .
Show that the triangle is right-angled.
Sketch:
M ( 3, 9 )
94
90
40
mMP =
mOP =
3 12
3 0
12 0
= 3
= 13
= 5
mOM =
P (12, 4 )
15
= 13
O ( 0, 0 )
Note
The converse of Pythagorass Theorem could also be used here:
hsn.uk.net
Page 7
CfE Edition
Higher Mathematics
Straight Lines
2
d OP
= 122 + 42 = 160
(12 ( 3 ) )2 + ( 4 9 )2
2
d MP
=
= 152 + ( 5 )2
2
d OM
=
( 3 )2 + 92 =90
= 250.
2
2
2
d MP
, triangle MOP is right-angled at O.
Since d OP + d OM =
To work out the equation of a straight line, we need to know two things: the
gradient of the line, and a point which lies on the line.
The straight line through the point ( a, b ) with gradient m has the equation
y b= m ( x a ) .
Notice that if we have a point ( 0, c ) the y-axis intercept then the equation
y mx + c . You should already be familiar with this form.
becomes =
It is good practice to rearrange the equation of a straight line into the form
ax + by + c =
0
y =c
O
y
x =k
hsn.uk.net
Page 8
CfE Edition
Higher Mathematics
Straight Lines
EXAMPLES
1. Find the equation of the line with gradient 13 passing through the point
( 3, 4 ) .
y b= m ( x a )
y ( 4=) 13 ( x 3 )
Note
It is usually easier to
multiply out the fraction
before expanding the
brackets.
(3)
3 y + 12 =x 3
3 y= x 15
0.
x 3 y 15 =
y2 y1
x2 x1
2 1
= = 15 .
3 ( 2 )
mAB =
Now we have a gradient, and can use this with one of the given points:
y b= m ( x a )
y 2= 15 ( x 3 )
5 y 10 =x 3
5 y= x + 7
x 5y + 7 =
0.
hsn.uk.net
Page 9
CfE Edition
Higher Mathematics
Straight Lines
y mx + c has gradient m.
The line with equation =
It is important to remember that you must rearrange the equation into this
form before extracting the gradient.
EXAMPLES
So the gradient is 32 .
5. The line through points A ( 3, 3 ) and B has equation 5 x y 18 =
0.
Find the equation of the line through A which is perpendicular to AB.
First, find the gradient of AB:
5 x y 18 =
0
=
y 5 x 18.
5 y + 15 =
( x 3)
5 y + 15 = x + 3
0.
x + 5 y + 12 =
hsn.uk.net
Page 10
CfE Edition
Higher Mathematics
Straight Lines
Medians
C
M
The standard process for finding the equation of a median is shown below.
EXAMPLE
Step 1
Calculate the midpoint of the
relevant line.
10 + 4 2 + ( 4 )
M=
,
2
2
14 2
= ,
2 2
= ( 7, 1) .
Step 2
Calculate the gradient of the line
between the midpoint and the
opposite vertex.
Using A ( 4, 9 ) and M ( 7, 1) :
y y
mAM = 2 1
x 2 x1
1 ( 9 )
= = 83 .
74
Step 3
Find the equation using this
gradient and either of the two
points used in Step 2.
( 3)
3 y + 27 = 8 x 32
3=
y 8 x 59
8 x 3 y 59 =
0.
hsn.uk.net
Page 11
CfE Edition
Higher Mathematics
Straight Lines
Altitudes
C
D
The standard process for finding the equation of an altitude is shown below.
EXAMPLE
Step 1
Calculate the gradient of the
side which is perpendicular to
the altitude.
Using B ( 4, 3 ) and C ( 7, 2 ) :
y 2 y1
mBC =
x 2 x1
23
1.
= = 11
7 4
Step 2
Calculate the gradient of the
1 .
altitude using m m =
1 :
Using mBC mAD =
mAD = 11.
Step 3
Find the equation using this
gradient and the point that the
altitude passes through.
hsn.uk.net
Page 12
CfE Edition
Higher Mathematics
Straight Lines
Perpendicular Bisectors
C
D
A
The standard process for finding the equation of a perpendicular bisector is
shown below.
EXAMPLE
Step 1
Calculate the midpoint of the line
segment being bisected.
Step 2
Calculate the gradient of the line
used in Step 1, then find the
gradient of its perpendicular
1 .
bisector using m m =
2 + 4 1 + 7
Midpoint AB =
,
2
2
= (1, 4 ) .
= 66
= 1.
1 .
m = 1 since mAB m =
Step 3
Find the equation of the
perpendicular bisector using
the point from Step 1 and the
gradient from Step 2.
hsn.uk.net
Page 13
CfE Edition
Higher Mathematics
Straight Lines
10 Intersection of Lines
Many problems involve lines which intersect (cross each other). Once we have
equations for the lines, the problem is to find values for x and y which satisfy
both equations, i.e. solve simultaneous equations.
There are three different techniques and, depending on the form of the
equations, one may be more efficient than the others.
We will demonstrate these techniques by finding the point of intersection of
the lines with equations 3 y= x + 15 and y= x 3 .
Elimination
This should be a familiar method, and can be used in all cases.
3 y= x + 15
y= x 3
18
: 2 y =
y = 9.
Put y = 9 into : x= 9 + 3
= 12.
So the lines intersect at the point (12, 9 ) .
Equating
This method can be used when both equations have a common x- or ycoefficient. In this case, both equations have an x-coefficient of 1.
Make x the subject of both equations:
x= y + 3.
=
x 3 y 15
Equate:
3 y 15 =y + 3
2 y = 18
y = 9.
Substitute y = 9 into:
y= x 3
x= 9 + 3
= 12.
hsn.uk.net
Page 14
CfE Edition
Higher Mathematics
Straight Lines
Substitution
This method can be used when one equation has an x- or y-coefficient of 1
(i.e. just an x or y with no multiplier).
Substitute y= x 3 into:
Substitute x = 12 into:
y= x 3
=
y 12 3
= 9.
3 y= x + 15
3 ( x 3 ) =x + 15
3 x 9 = x + 15
2 x = 24
x = 12.
So the lines intersect at the point (12, 9 ) .
EXAMPLE
0 and
1. Find the point of intersection of the lines 2 x y + 11 =
x + 2y 7 =
0.
Eliminate y:
2 x y + 11 =
0
x + 2y 7 =
0
2 +: 5 x + 15 =
0
x = 3.
Put x = 3 into : 6 y + 11 =0
y = 5.
So the point of intersection is ( 3,5 ) .
2. Triangle PQR has vertices P ( 8,3 ) , Q ( 1,6 ) and R ( 2, 3 ) .
Q
T
P
M
S
R
hsn.uk.net
Page 15
CfE Edition
Higher Mathematics
Straight Lines
6=
6
1.
Note
This is the standard
method for finding the
equation of an altitude.
2
2
( 72 , 92 ) .
Note
This is the standard
method for finding the
equation of a median.
mRT=
9
2
( 3 )
=
7 2
2
15
2= 15
3=
3
2
5.
y + 3= 5 ( x 2 )
y + 3 = 5 x 10
5 x y 13 =
0.
(c) Now solve the equations simultaneously to find M.
Eliminate y:
x + y 5 =
0
5 x y 13 =
0
Note
Any of the three
techniques could have
been used here.
0
+: 6x 18 =
x = 3.
Put x = 3 into : 3 + y 5 =
0
y = 2.
So the point of intersection is M ( 3,2 ) .
hsn.uk.net
Page 16
CfE Edition
Higher Mathematics
Straight Lines
11 Concurrency
hsn.uk.net
Page 17
CfE Edition