Given two coordinate points (a1,b1) and (a2,b2), how do I find the equation of the straight line between them?

Firstly, remember that we can write such a line in the form y = mx + c, where x and y are our two axes, m is the gradient of the line, and c is the y-axis intersection point. Given this general formula, we need to use our two co-ordinates to work out two values: m and c. Let's start with m. We can think of m as the amount we go up or down (the y-axis) when we take one step forward (along the x-axis). In other words, m is simply the vertical difference between our two coordinates divided by the horizontal difference: m = (b2 - b1)/(a2 - a1). Now what about c? Now we only have one 'unknown' in our equation y = mx + c, and because we know both our points (a1,b1) and (a2,b2) are on the line, that means they satisfy the equation. Therefore, we can plug in either (a1,b1) or (a2,b2) into y = mx + c and solve for c. So: b1 = ma1 + c, and we get c = b1/(ma1). Equally, we could have used c = b2/(m*a2), and it can be a good double check to see if they're the same value. Now we have both m and c, and so our equation is: y = ((b2 - b1)/(a2 - a1))x + b1/(ma1).

LH
Answered by Lewis H. Maths tutor

7376 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Use the substitution u=x^2-2 to find the integral of (6x^3+4x)/sqrt( x^2-2)


A car is travelling with a velocity of "0.5t^2+t+2" m/s at t=0 (where t is in seconds), find the acceleration of the car at a) t=0 b)t=2


(A) express 4^x in terms of y given that 2^x = y. (B) solve 8(4^x ) – 9(2^x ) + 1 = 0


An arithmetic progression has a tenth term (a10) = 11.1 and a fiftieth term (a50) = 7.1 Find the first term (a) and the common difference (d). Also find the sum of the first fifty terms (Sn50) of the progression.


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:

© 2025 by IXL Learning