Have a play with it (move the point, try different slopes):
../geometry/images/geom-line-equn.js?mode=ptNow let's discover more.
(x1, y1) is a known point
m is the slope of the line
(x, y) is any other point on the line
It is based on the slope:
Slope m = change in y change in x = y − y1 x − x1
Starting with the slope:
we rearrange it like this:
So, it is just the slope formula in a different way!
slope "m" = 31 = 3
We know m , and also know that (x1, y1) = (3, 2) , and so we have:
That is a perfectly good answer, but we can simplify it a little:
m = −3 1 = −3
We can pick any point for (x1, y1) , so let's choose (0,0) , and we have:
Which can be simplified to:
What is the equation for a vertical line?
The slope is undefined!
In fact, this is a special case, and we use a different equation, like this:
Every point on the line has x coordinate 1.5,
that’s why its equation is x = 1.5
You may already be familiar with the y=mx+b form (called the slope-intercept form of the equation of a line).
It is the same equation, in a different form!
The "b" value (called the y-intercept) is where the line crosses the y-axis.
So point (x1, y1) is actually (0, b)
and the equation becomes: