Equations of lines and slope
Finding equations of lines
An equation of a line describes all the points that lie on that line. One of the most common ways to write this equation is in slope-intercept form, which shows both the slope and where the line crosses the -axis.
This equation describes all coordinate points that lie on the line. Here’s what each part means:
- and form any coordinate point on the line
- is the slope of the line (slope = rise/run, covered in the next section)
- is the -intercept, where the line crosses the -axis
So if we have the line , then:
- The slope is (or )
- The -intercept is , so the line crosses the -axis at .
If an equation isn’t solved for , like , rewrite it: , so , giving and .
Slope
The slope of a line tells you how steep the line is and in which direction it moves as you go from left to right. Slope is rise over run: how much changes for each -unit change in . Given two points on a line, you can find the slope using the slope formula:
Subtract in the same order top and bottom: if is first in the numerator, must be first in the denominator.
A positive slope rises and a negative slope falls as you move left to right. A slope of means a horizontal line (), while a vertical line () has an undefined slope. Parallel lines have equal slopes; perpendicular lines have slopes that are negative reciprocals of each other (like and ).
Let’s solve this example step-by-step!
Example:
Suppose you want the equation of the line that passes through the points and .
Step 1: find the slope. Start with the slope formula and substitute the two points. Keep the same point order in the numerator and denominator; subtracting a negative means adding, so .
Step 2: substitute the slope into .
Step 3: use a point to solve for . Any point on the line will satisfy the equation. Using :
So the final equation of the line is:
Step 1: ; Step 2: gives .
Answer: D.