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


Joel G. GCSE Maths tutor, A Level Maths tutor, GCSE Economics tutor, ...
View profile
£18 /hr

Joel G.

Degree: Economics with a year in industry (Bachelors) - Liverpool University

Subjects offered: Maths, Geography+ 1 more


“I am an economics student at the University of Liverpool. I am really interested in economics and mathematics and I would love to share this intererest with yourselves. I I have taught children from year 7 to year 11 how to debate thr...”

PremiumOsian S. GCSE Maths tutor, A Level Maths tutor, GCSE Further Mathemat...
View profile
£22 /hr

Osian S.

Degree: Mathematics (Masters) - Warwick University

Subjects offered: Maths, Further Mathematics

Further Mathematics

“Hi, I'm Osian, a Master's student at the University of Warwick. I've had fun with mathematics from a young age, and I hope to be able to instill this passion for mathematics in you, through my tutorials! Throughout my time at Warwick,...”

Sarah R. GCSE Economics tutor, A Level Physics tutor, GCSE Physics tu...
View profile
£18 /hr

Sarah R.

Degree: Physics (Bachelors) - Exeter University

Subjects offered: Maths, Physics+ 2 more

-Personal Statements-

“Hi! I'm Sarah and I'm a second year Physics student at the University of Exeter.  Maths and Physics have been a huge part of my education and general interests for a long time and I hope that I can pass on my knowledge and enthusiam t...”

About the author

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

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

Express 4/(2-√2) in the form a+b√2 and write down the values of a and b.

The number of uniform spherical shots that can be made from a given mass of lead varies inversely to the cube of the radius. When the radius is 1mm the number of shots made is 2744. How many shots of radius 1.4mm can be made from the same mass.

How do I solve simultaneous equations?

Differentiate f(x) = 3x^2+5x+3

View GCSE Maths tutors


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