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

5215 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

Christine has more money than David. If Christine gave David £30, then they would have the same amount. If David gave Christine £33, then Christine would have twice as much money as David. How much money does each person have?


There are 5 blue counters and 5 red. x takes 2 counters out of the bag without replacing them. What is the probability x took 2 red counters.


How do I draw a straight line graph given a y=mx+c equation by the table method?


The population of sheep on an island is 170. The population of the sheep is expected to increase by 3% each year, what will the population of sheep be in 5 years time? [3 marks]


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