Writing Line Equations
Build a line equation from a point and a direction.
Builds on The Coordinate Plane · Defining Slope · Finding Slope
The bigger question: How can a picture become an equation?
On this page
Idea
To describe a line you need two pieces of information: how steep it is, and one point it passes through.
Slope alone is not enough, because many parallel lines share it. One point alone is not enough either, because many lines pass through it. Put the two together and only one line is left. The point-slope form writes it down for you.
Rule
If a line has slope and passes through the known point , its equation is
Everything else on this page is a way of finding and before using this one formula.
How it is used
The formula never changes. Only the way you find and a point changes.
| What you are given | How to get | Which point to use |
|---|---|---|
| Slope and a point | already given | the given point |
| Two points , | either one - the equation comes out the same | |
| A point and the origin | the origin , it simplifies fastest | |
| Both intercepts, and | the -intercept | |
| Inclination angle and a point | the given point |
Two things are worth remembering.
If the line passes through the origin, the constant term is . The equation always has the form .
If the inclination angle is bigger than , the tangent is negative, so the line falls. For example , not .
At the end, clear any fractions and move everything to one side. This gives the standard form . Answers are usually written this way.
Worked example
Write the equation of the line with slope passing through the point .
Identify the knowns:
Substitute into the point-slope form:
Distribute and simplify:
Collect on one side for standard form:
Explore
Drag A and B. The blue line reaches the edges of the window, because a line has no ends. The green circles mark where it crosses the axes. Move one point and watch the equation change. Try putting B on the origin. Then line the two points up vertically and watch the slope become undefined.
Try this. Move the two points and compare the equation. Equal x values produce a vertical line; equal points cannot define one.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
The slope fixes the coefficient of x, but not the intercept.
Hint 2 · Take the next step
Substitute x = 1, y = 3 into y = 2x + b.
Show the reasoning
Answer:
gives . Check both the point and the slope; matching just one is insufficient.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.