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

CW
Answered by Chris W. Maths tutor

6508 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

The point P has coordinates (3, 4) The point Q has coordinates (a, b) A line perpendicular to PQ is given by the equation 3x + 2y = 7 Find an expression for b in terms of a.


Given: 𝑓(𝑥) = 𝑎𝑥^3 + 𝑏𝑥^2 − 3 and 𝑓"(−2) = 0. If it is further given that the point (−3; 6) lies on the graph of 𝑓. Show that 𝑎 = 1/3 and 𝑏 = 2.


2^6*2^10=?


How do you factorise fully 3 a^3 b + 12 a^2 b^2 + 9 a^5 b^3?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning