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)](-p) + q

Chris W. A Level Maths tutor, GCSE Maths tutor, A Level Further Mathe...

2 years ago

Answered by Chris, a GCSE Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£22 /hr

Pooja D.

Degree: Medicine (Bachelors) - Birmingham University

Subjects offered:Maths, Science+ 6 more

-Personal Statements-
-Medical School Preparation-

“I have tutored for the past 4 years and have gathered many ways of teaching concepts to students in a way that is easily-digestible and understandable. ”

Maddie S. 13 plus  Maths tutor, GCSE Maths tutor, 11 Plus Maths tutor
£20 /hr

Maddie S.

Degree: Film and Televison Production (Bachelors) - York University

Subjects offered:Maths


“Who am I?I am a student at The University of York. I've just finished the first year of my Film and TV Production BSc degree.The main reason I chose to come to York was because it was a science based degree; I'd love to instill my ...”

£24 /hr

Lloyd S.

Degree: Mathematics G100 (Bachelors) - Bristol University

Subjects offered:Maths, Further Mathematics

Further Mathematics

“About Me:I am 19 and from Devon, currently in my first year studying Maths at the University of Bristol. I have a real passion for Maths and I really hope I can help you to understand, and maybe even enjoy doing maths - I know not ev...”

About the author

Chris W.

Currently unavailable:

Degree: Mathematics (Bachelors) - Durham University

Subjects offered:Maths, Science+ 5 more

Further Mathematics
-Personal Statements-

“Hi! I'm Chris, a maths undergraduate at Durham University. I achieved 4 A* at A-Level and on track for a First at university. ”

You may also like...

Other GCSE Maths questions

Pythagoras' Theorem

Expand and simplify the following equation 5a(4b - 3) - 2a(6 + b)

How do I solve Hannah’s sweet question?

Calculate 8^0

View GCSE Maths tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss