How do I find the equation of a line connecting points a(p,q) and b(r,s)?

First we need to find the gradient of the line connecting points a and b:
gradient m = (change in y)/(change in x) = (q - s)/(p -r)

Now we use the following equation:

y - y1 = m(x - x1)

substituting suitable values for (x1, y1) (can be points a or b but we'll use point a this time) and m (calculated above):

Using point a:

y - q = [(q-s)/(p-r)](x - p)

and so the equation in the form y = f(x) is:
y = [(q-s)/(p-r)]x + (q-s)/(p-r) + q

Answered by Chris W. Maths tutor

5019 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

In 2017 the number of teachers in a school was 20. The number of teachers doubles each year. If in 2019 3/5 of the teachers are female how many male teachers are there in 2019?


How do you solve a simultaneous equation such as x+2y=10 and 3x+2y=18?


Factorise the following equation: 2x^2 + 8x + 8


write 2/(3+root(5)) in the form a + b*root(5), where a and b are rational numbers.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences