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

5337 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

How do you solve the simultaneous equations 3x + 4y = 5 and 2x – 3y = 9


Solve the following simultaneous equations 7x - 6y =38 and 3x + 9y =-3


Make s the subject of :v^2 = u^2 +2*a*s


Matt had 3 piles of coins, A, B and C. Altogether there was 72p. Pile B had twice as much as pile A. Pile C had three times as much as pile B.


We're here to help

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

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences