Equation of a line
Write the equation of a line given gradient and y-intercept, find the equation from two points, and determine equations of parallel lines.
Worked examples
Writing the equation of a line from gradient and y-intercept
Straightforward
Problem
Write the equation of a line with gradient and y-intercept .
1
Write the general equation of a straight line.
2
Substitute the gradient and the y-intercept .
3
Simplify.
Answer
Finding the equation of a line from two points
Moderate
Problem
Find the equation of the line passing through and .
1
Find the gradient using the gradient formula.
2
Write the equation using , then substitute one point to find .
Using :
3
Solve for .
4
Write the equation of the line.
Answer
Finding the equation of a line parallel to a given line
Challenging
Problem
Find the equation of the line that is parallel to and passes through the point .
1
Identify the gradient of the parallel line. Parallel lines have equal gradients.
The line has gradient , so the new line also has .
2
Write the equation of the new line with and an unknown y-intercept.
3
Substitute the given point to find .
4
Solve for .
5
Write the equation of the line.
Answer
Practise
Q1·Straightforward
A line has gradient and y-intercept . Which of the following is the equation of the line?
Explanation
The general form is . Substituting and gives .
Q2·Straightforward
A line has gradient and y-intercept . Which of the following is the equation of the line?
Explanation
Substituting and into gives .
Q3·Straightforward
A line has gradient and y-intercept . Which of the following is the equation of the line?
Explanation
Substituting and into gives .
Q4·Straightforward
A line has gradient and passes through the origin. Which of the following is the equation of the line?
Explanation
The y-intercept is because the line passes through the origin. Substituting and gives .
Q5·Moderate
A line passes through and . Find the gradient of the line.
Explanation
.
Q6·Moderate
A line passes through and . The gradient is . Find the y-intercept of the line.
Explanation
Using : , so . The y-intercept is .
Q7·Moderate
A line passes through and . Find the y-intercept of the line.
Explanation
. Using : , so .
Q8·Moderate
A line passes through and . Which of the following is the equation of the line?
Explanation
. Using : , so . The equation is .
Q9·Challenging
Line A is and Line B is . Which statement best describes the two lines?
Explanation
Both lines have gradient . Parallel lines have equal gradients and different y-intercepts. Line A and Line B will never intersect.
Q10·Challenging
Find the y-intercept of the line that is parallel to and passes through the point .
Explanation
Parallel to means . Substituting into : , so .
Q11·Challenging
Which of the following lines is parallel to ?
Explanation
The line has gradient . The only option with gradient is . The different y-intercepts confirm they are distinct parallel lines.
Q12·Challenging
Find the y-intercept of the line that is parallel to and passes through the point .
Explanation
A line parallel to has gradient . Substituting into : , so .