

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
How to find the equation of a line that connects two points in the plane using two different methods. The first method involves finding the slope of the line and then using it to derive the equation. The second method involves setting up a linear function that becomes an identity when the coordinates of the points are plugged in. Both methods result in the same equation for the line.
Typology: Study notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


It is easy to write the equation of the unique line that connects two points in the plane, but you have to do it right. Hereโs two ways (even though they are essentially the same). If you have two points in the plane, say (a, b), and (c, d), it is easy, for example from a picture, to find the slope of the line connecting them: indeed, that has to be
m =
d โ b c โ a
b โ d a โ c Since a line has an equation of the form
y = mx + k
we only need to find k, and that we can do by โforcingโ the line to go through one of the point (the pother one will also follow, since we have picked the right slope. For example, we can plug in x = a, y = b, and see that k must be such that
b = ma + k =
b โ d a โ c a + k
k = b โ a
b โ d a โ c
b (a โ c) โ a (b โ d) a โ c
ab โ bc โ ab + ad a โ c
ad โ bc a โ c
and the equation now becomes
y = mx + k = b โ d a โ c
x + ad โ bc a โ c
(b โ d) x + (ad โ bc) a โ c
You really would not want to memorize (1). It is much faster to retrace the steps we made to find k! Another way is to write a linear function that will become an identity when we plug in the two pairs describing the points. One standard way to do this is to make sure we get 0 = 0 when, say, x = a, y = b. This means that the function must look like A (y โ b) = B (x โ a)
for some numbers A and B. Now, we make sure that the two sides are both equal to, say 1, when x = c, y = d. I.e., we need
A (d โ b) = 1, B (c โ a) = 1
that is
A =
d โ b
c โ a
so that the equation is y โ b d โ b
x โ a c โ a
Of course, our choice of 0 = 0, and 1 = 1 was just one of the many possible, and we could also have started working with the other point first. This just underlines that there are several ways in which to write an equation for the same line. Obviously, (1), and (2) define the same line. We can go from one to the other with a few algebraic steps. For instance, starting with (2), we can write
y โ b =
d โ b c โ a (x โ a)
y = b +
d โ b c โ a
(x โ a)
y =
b (c โ a) + (d โ b) (x โ a) c โ a
y =
bc โ ba โ da + ba + x (d โ b) c โ a
y = (bc โ da) + x (d โ b) c โ a
which is precisely (1), when you multiply both numerator and denominator by โ1.