P1 Chapter 5::: Straight Line Graphs
P1 Chapter 5::: Straight Line Graphs
Graphs
[email protected]
www.drfrostmaths.com
@DrFrostMaths
x -5 -4 -3 -2 -1 0 1 2 3 4 5 6
-1
-2
-3
𝑥=2 -4
For any point we pick on the
line, the 𝑥 value is always 2.
Lines and Equations of Lines
A line consists of all points which satisfy some equation in terms
of 𝑥 and/or 𝑦.
Sorry,
Yes, you you
can
2 3can’t
+ join
join−1as:as= 5
22 you
so 30 ++ 25==
can 85
join.
Get lost.
Examples
This means we can substitute the values of a coordinate into our equation
whenever we know the point lies on the line.
The point 5, 𝑎 lies on the line with equation 𝑦 = 3𝑥 + 2. Determine the value of 𝑎.
Find the coordinate of the point where the line 2𝑥 + 𝑦 = 5 cuts the 𝑥-axis.
a) 𝑦-axis: Let 𝒙 = 𝟎.
𝟑
𝟐𝒚 = 𝟑 → 𝒚=
𝟐
𝟑
𝟎,
𝟐
b) 𝑥-axis: Let 𝒚 = 𝟎
𝒙+𝟎=𝟑
𝟑, 𝟎
Δ𝑦
𝑚=
Δ𝑥
Δ is the (capital) Greek letter
“delta” and means “change in”.
Textbook Note:
𝑦 −𝑦
The textbook uses 𝑚 = 𝑥2 −𝑥1 for two points 𝑥1 , 𝑦1 and 𝑥2 , 𝑦2 . Reasons I don’t use it for non-algebraic coordinates:
2 1
• Students often get the 𝑦1 and 𝑦2 the wrong way round (or with the 𝑥’s)
• Students often make sign errors when dealing with negatives, e.g. −3 − −4
• It can’t be done as easily mentally,
• Students see it as “yet another formula to learn” when really all you need is to appreciate is what gradient is, i.e. “𝑦
change per 𝑥 change”.
Examples
Find the gradient of the line that goes through the points:
𝑎 − −5
= −1
4−2
𝑎+5
= −1
2
𝑎 = −7
𝑦 = 𝑚𝑥 + 𝑐
One form we can put a straight line equation in is:
𝑦 = 𝑚𝑥 + 𝑐
Gradient 𝑦-intercept
1 2
Express 𝑦 = 𝑥 − in the form 𝑎𝑥 + 𝑏𝑦 + 𝑐 = 0, where 𝑎, 𝑏, 𝑐 are integers.
3 3
Usefulness
Coverage Symmetry This more ‘elegant’ form also
means it ties in with vectors
We can extend to 3D points to
get the equation of a plane:
𝑦 = 𝑚𝑥 + 𝑐 doesn’t In general, the ‘linear 𝑎 𝑥
and matrices. In FM, you will
allow you to combination’ of two 𝑏 ⋅ 𝑦 +𝑑 =0 (2)
learn about the ‘dot product’
represent vertical variables 𝑥 and 𝑦 is 𝑎𝑥 + 𝑏𝑦, 𝑐 𝑧
of two vectors: Conveniently, in equation (1),
lines. Standard form i.e. “some amount of 𝑥 and
𝑎 𝑥
allows us to do this by some amount of 𝑦”. There is ⋅ 𝑦 = 𝑎𝑥 + 𝑏𝑦 𝑎
𝑏 the vector is perpendicular
just making 𝑏 zero. a greater elegance and 𝑏
symmetry to this form over thus since 𝑎𝑥 + 𝑏𝑦 + 𝑐 = 0, to the line. And in equation (2),
𝑦 = 𝑚𝑥 + 𝑐 because 𝑥 and 𝑦 we can represent a straight 𝑎
𝑥+4=0
2 𝑥
2𝑥 + 𝑦 = 4 ⋅ 𝑦 =4 2
1 1
Test Your Understanding
2 3
Express 𝑦 = 𝑥 + in the form 𝑎𝑥 + 𝑏𝑦 + 𝑐 = 0, where 𝑎, 𝑏, 𝑐 are integers.
5 5
5𝑦 = 2𝑥 + 3
2𝑥 − 5𝑦 + 3 = 0
Exercise 5A/5B
Pearson Pure Mathematics Year 1/AS
Pages 90-91, 92-93
Equations using two points/point + gradient
Find the equation of the line that goes through 3,5 and has gradient 2.
Let’s revisit:
Find the equation of the line that goes through 3,5 and has gradient 2.
No manipulation required! Just plug in
𝑦−5=2 𝑥−3 numbers and we’re done.
Again, note that 𝑥 and 𝑦 are variables so
need to remain as such.
Quickfire Questions
In a nutshell: You can use this formula whenever you have (a) a gradient
and (b) any point on the line.
Important Fro Side Note: I’ve found that many students shun this formula and just use the
GCSE method. Please persist with it – it’ll be much easier when fractions are involved.
Further Mathematicians, don’t even think about using the GCSE method, because you’ll
encounter massive headaches when you consider algebraic points. Trust me on this one!
Using 2 points
Find the equation of the line that goes Test Your Understanding:
through 4,5 and 6,2 , giving your Find the equation of the line that
equation in the form goes through −1,9 and 4,5 , giving
𝑎𝑥 + 𝑏𝑦 + 𝑐 = 0. your equation in the form
𝑎𝑥 + 𝑏𝑦 + 𝑐 = 0.
1 1
𝑚= 3 𝑚=−
2 3
2
𝒃
1
𝒂
𝑚=3
x -5 -4 -3 -2 -1 0 1 2 3 4 5 6
𝒂
-1
𝑚 = −2
-2
𝒃
Find the gradients of
-3
Using the changes above, we can see the gradient each pair of
𝒃
of one line is 𝒎 = 𝒂 and the other 𝒎 = −𝒂. One
𝒃 perpendicular lines.
is the ‘negative reciprocal’ of the other. -4 What do you notice?
Perpendicular Lines
The gradients of parallel lines are equal.
If two lines are perpendicular, then the gradient of one is the negative
reciprocal of the other.
1
𝑚1 = −
𝑚2
To show that two lines are perpendicular:
𝑚1 𝑚2 = −1
Extension Problems 2 [MAT 2014 1D] The reflection of the point 1,0 in
1 [MAT 2004 1D] the line 𝑦 = 𝑚𝑥 has coordinates: (in terms of 𝑚)
What is the reflection of the point Using a similar method:
3,4 in the line 𝟏 − 𝒎𝟐 𝟐𝒎
3𝑥 + 4𝑦 = 50? ,
𝟑 𝟏 + 𝒎𝟐 𝟏 + 𝒎𝟐
Gradient of 𝟑𝒙 + 𝟒𝒚 = 𝟓𝟎 is − .
𝟒
∴ Equation of line passing through
(𝟑, 𝟒) perpendicular to ths line: 3 [STEP I 2004 Q6] The three points 𝐴, 𝐵, 𝐶 have coordinates
𝟒 𝑝1 , 𝑞1 , 𝑝2 , 𝑞2 and 𝑝3 , 𝑞3 , respectively. Find the point
𝒚−𝟒= 𝒙−𝟑 of intersection of the line joining 𝐴 to the midpoint of 𝐵𝐶,
𝟑
Find intersection of two lines to get and the line joining 𝐵 to the midpoint of 𝐴𝐶. Verify that
closest point of 𝟑, 𝟒 to original line: this point lies on the line joining 𝐶 to the midpoint of 𝐴𝐵.
𝟔, 𝟖 The point 𝐻 has coordinates (𝑝1 + 𝑝2 + 𝑝3 , 𝑞1 + 𝑞2 +
Thus reflected point is 𝟗, 𝟏𝟐 𝑞3 ). Show that if the line 𝐴𝐻 intersects the line 𝐵𝐶 at
right angles, then 𝑝22 + 𝑞22 = 𝑝32 + 𝑞32 , and write down a
6,8
similar result if the line 𝐵𝐻 intersects the line 𝐴𝐶 at right
angles.
3,4 Deduce that if 𝐴𝐻 is perpendicular to 𝐵𝐶 and also 𝐵𝐻 is
perpendicular to 𝐴𝐶, then 𝐶𝐻 is perpendicular to 𝐴𝐵.
Distances between points
Recall: Δ (said ‘delta’) means “change in”.
How could we find the
(5,9) distance between these two
points?
Hint: Pythagoras
5
Δ𝑦 = 3 Form a right-angled triangle
using the change in 𝑥 and
change in 𝑦, then use
Pythagoras.
(1,6) Δ𝑥 = 4
Quickfire Questions:
Distance between:
Extension Problems
1 [MAT 2001 1C]
The shortest distance from the origin to the line 3𝑥 + 4𝑦 = 25 is what?
𝟑
Gradient of 𝟑𝒙 + 𝟒𝒚 = 𝟐𝟓 is − 𝟒. Therefore gradient of line going
𝟒
through origin and closest point is 𝟑 (see diagram). This line
𝟒
therefore has equation 𝒚 = 𝟑 𝒙
Solving two equations simultaneously, we get point of intersection
𝑨(𝟑, 𝟒).
Therefore distance 𝑶𝑨 = 𝟑𝟐 + 𝟒𝟐 = 𝟓.
0,0
What’s the point of straight line equations?
We saw in Chapter 2 that lots of things in real life have a ‘quadratic’ relationship, e.g.
vertical height with time. Lots of real life variables have a ‘linear’ relationship, i.e.
there is a fixed increase/decrease in one variable each time the other variable goes
up by 1 unit.
Temperature and
altitude (in a particular
location) (And a pure maths one:)
The 𝑛th term of an
arithmetic series.
3, 5, 8, 11, 14, …
Modelling
𝑦
100 A mathematical model is
an attempt to model a
A Level Maths Mark
Such a linear model can be drawn as a line But if we choose a well-known model such as a
of best fit. linear one, then we can use established
The data obviously doesn’t fit this line mathematical theory in useful ways:
exactly. This chosen model may only • We need to choose the most appropriate
partially fit the data (and the further the ‘parameters’ 𝑚 and 𝑐 so the model best
points are away from the line, the less matches the data. You will learn in S1 there
suitable this model is). are existing techniques to do this.
We might decide another model, e.g. • We can then predict a student’s A Level mark
𝑦 = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐, is more appropriate. based on their maths mark.
Example
𝑦
100
Temperature °𝐹
80
60
40
20
𝑥
50 100 150 200 250
Altitude (m)
a Determine 𝑚 and 𝑐 (you can assume the line goes through 0,70 and 250,20 .
−𝟕𝟎
𝒎=
= −𝟎. 𝟐 𝒄 = 𝟕𝟎
𝟐𝟓𝟎
b Interpret the meaning of 𝑚 and 𝑐 in this context.
The temperature at sea level is 𝟕𝟎°𝑪. The temperature goes down 𝟎. 𝟐°𝑪 for each extra
metre in altitude.
c Predict at what altitude the temperature reaches 0°𝐹.
𝟎 = −𝟎. 𝟐𝒙 + 𝟕𝟎 → 𝒙 = 𝟑𝟓𝟎°𝑪
Evaluating if a linear model is most suitable
Choosing a model for our data usually involves making simplifying
assumptions. For a linear model we are assuming:
The 𝑦 value goes up the same amount for each unit increase in 𝑥.
The current population of Bickerstonia is 26000. This year (2017) the population
increased by 150. Matt decides to model the population 𝑃 based on the years 𝑡
after 2017 by the linear model:
𝑃 = 𝑚𝑡 + 𝑐