Straight Lines
Straight Lines
The equation of a straight line is , but it can also be written in other forms, such as and . On this page you will learn how to find the equation of a straight line and how to convert between the forms of straight line equation, as well as finding the length and midpoint of straight line segments. Finally, we will put all of this knowledge together to study parallel and perpendicular lines.
Equation of a Straight Line
The above is the equation of a straight line through two points . The first point is present clearly in the equation. The second point comes in for the calculation of the gradient, .
Example: Find the equation of the straight line through and .
Converting Between Forms of Straight Line Equations
There are three forms of straight line equation. We have already met . The other two are:
You need to know how to reach both of these from .
Note: It is traditional to multiply through by a factor if necessary to make whole numbers for a line in this form.
Parallel and Perpendicular Lines
Two lines are parallel if they have the same gradient.
Two lines are perpendicular if the gradient of the second line is the negative reciprocal of the gradient of the first line.
This means that lines and are:
Tip: It is easiest to compare gradients if you put lines in form.
Midpoint and Length of a Line Segment
Consider a line segment connecting two points . The midpoint and length of the line segment are:
Example: Find the midpoint and length of the line segment connecting and .
Example 1: Converting Between Forms of Straight Line Equations
Find the equation of the straight line passing through and , in the form , where , and are integers.
[3 marks]
Find :
Substitute into equation:
Multiply by to turn into whole numbers:
Example 2: Parallel and Perpendicular Lines
The line has a gradient of . Find equations for:
i) , a parallel line that passes through
ii) , a perpendicular line that passes through
in the form .
[4 marks]
i) is parallel to so has the same gradient as so has a gradient of .
ii) is perpendicular to so has gradient
Straight Lines Example Questions
Question 1: A straight line passes through and . Find its equation in form.
[2 marks]
Question 2: A straight line passes through the points and . Find its equation in form, where are integers.
[2 marks]
Find :
Substitute into equation:
Multiply by to get integers:
Question 3: The points and have a line segment between them.
a) What is the midpoint of the line segment?
b) What is the length of the line segment?
[4 marks]
Question 4: The line has the form .
a) What is the gradient of
b) Find in form the equation for the line , which passes through and is parallel to
c) Find in form the equation for the line , which passes through and is perpendicular to
[8 marks]
a)
b) is parallel to so has the same gradient as so has a gradient of
c) is perpendicular to so has a gradient of
Specification Points Covered
C1 – Understand and use the equation of a straight line, including the forms and ; gradient conditions for two straight lines to be parallel or perpendicular
Be able to use straight line models in a variety of contexts