Exercises: Equations of Lines

Interactive exercises on slopes, linear equations, parallel and perpendicular lines.
3AC Mathematics 4 Interactive Exercises

Practise calculating slopes, finding equations of lines, and identifying parallel and perpendicular lines.

Instructions: Enter your answers in the boxes, then click Check. You can also reveal the solutions or reset an exercise.

Exercise 1: Calculate the slope

Consider the two points A(1,2) and B(3,6) . Calculate the slope of the line passing through A and B.

1° m=

2° Determine the equation of the line in the form y=ax+b :


Exercise 2: Find the slope and y-intercept

For each function, identify the slope a and the y-intercept b.

1° f(x)= 2x+5 : a = b =

2° g(x)= −3x+1 : a = b =

3° h(x)=4 : a = b =


Exercise 3: Determine the equation of a line

Find the equation of the line passing through the two given points.

1° The line passes through A(0,2) and B(1,5) .

2° The line passes through A(0,−1) and B(2,3) .


Exercise 4: Parallel and perpendicular lines

Consider the line d:y=2x+3 .

1° Find the slope of a line parallel to d: m=

2° Find the slope of a line perpendicular to d: m=

3° Find the equation of the line parallel to d and passing through A(1,5) :