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

Related Maths GCSE answers

All answers ▸

Find the value of 5x - 3y when x = -2 and y = -4


The first four terms of an arithmetic sequence are : 11, 17, 23, 29. In terms of n, find an expression for the nth term of this sequence.


Factorise fully the following: 12x^3 + 3x^2 + 15x


A 4 digit number is picked. It's second digit is a prime number, it must be even and it must be greater than 5000. How many possible numbers can be picked?