Linear and Quadratic Functions
Senior 3 · Mathematics
Linear and Quadratic Functions
Lesson 2 of 5
25 min
Air gets colder as you climb. Suppose a weather station at a height of 1,500 m records and, at the same moment, a station at 2,500 m records (illustrative readings). If the temperature falls at a steady rate, the two readings fix a straight line, and that line lets you estimate the temperature at any height in between.
A line is fixed by two facts: either one point and the gradient, or two points. This lesson turns each into an equation.
Important
The point–gradient form. The line with gradient through the point has equation
Why: take any other point on the line. The gradient between and must be , so . Multiply both sides by .
Worked example 1: a point and a gradient
Find the equation of the line with gradient through . Give it in the form and in general form.
Solution
General form: . Check the point: ✓.
Important
A line through two points and
The same steps in one formula (the two-point form), when and :
Worked example 2: two points
Find the equation of the line through and .
Solution Gradient: . Use point :
General form: . Check : ✓.
Worked example 3: the temperature model
Use the readings and , where is the height in metres and the temperature in . (a) Find in terms of . (b) Estimate the temperature at 2,000 m. (c) At what height would it be ?
Solution (a) : the temperature falls per metre, or per kilometre.
(b) , halfway between the readings, as it should be.
(c) , so and m. This is outside the measured range, so it is only an estimate: the line is a model, and real air does not cool at exactly the same rate everywhere.
Worked example 4: special lines and three points
(a) Find the line through and , and the line through and . (b) Do , and lie on one line?
Solution (a) Both points of the first pair have : the line is vertical, . Both points of the second pair have : the line is horizontal, (gradient ).
(b) and . The gradients are equal and the lines share the point , so , and are collinear (on one line), .
Definition
Collinear points: points that lie on one straight line.
Test: , and are collinear exactly when (or when all three share the same ).
Example: , and are collinear; , and are not, because .
Warning
Watch the double minus. Through , the form is , not .
A vertical line has no form. Through and the gradient formula divides by 0; write instead.
Tip
Always check the second point. Substituting the point you did not use takes ten seconds and catches almost every sign error.
Khan Academy: Point-slope and slope-intercept form from two points. Watch how the gradient is found first, then the point–gradient form is written and rearranged to y = mx + c.
Practice
Give each answer in the form and in general form, unless the line is vertical. The last three are harder.
Sources and credits
The graph, worked examples, practice items and quiz questions were written by Ganzaa; the temperature readings and battery figures are illustrative.