Linear Equations
Dive into the world of linear equations! These essential algebraic tools describe straight-line relationships you see every day, from calculating trip distances to predicting trends. This guide will give you the confidence to master lines, slopes, and intercepts with clear explanations and examples.

What Is a Linear Equation?
A linear equation is an algebraic equation that, when graphed on a coordinate plane, forms a perfectly straight line. This is their defining characteristic and what makes them so predictable and useful. These equations describe a relationship between variables where the rate of change is constant.
At its core, a linear equation involves one or two variables, and none of these variables have an exponent greater than 1. You won't find any terms like
Linear equations are the building blocks of algebra and appear in many real-world situations. They can have one variable, like
The Three Main Forms of Linear Equations
To work with linear equations effectively, we need to know how to write them. Mathematicians have developed three primary forms, each with its own strengths. Knowing how to recognize, use, and convert between these forms is a critical skill.
| Form Name | General Formula | Key Information Revealed |
|---|---|---|
| Slope-Intercept Form | Easily shows the slope ( | |
| Point-Slope Form | Uses a specific point | |
| Standard Form | Organizes |
1. Slope-Intercept Form:
This is often called the most popular form because it's so intuitive for graphing. The variable
2. Point-Slope Form:
This form is your best friend when you know the slope of a line and a single point that it passes through. In the formula,
3. Standard Form:
Standard form places the
What Is Slope and How Is It Calculated?
The slope of a line is a number that measures its steepness and direction. It's often described as "rise over run." The "rise" is the vertical change between two points, and the "run" is the horizontal change between those same two points. A larger slope value means a steeper line.
To calculate the slope, you need any two points on the line. Let's call them
There are four types of slope you'll encounter:
- Positive Slope: The line goes uphill from left to right.
- Negative Slope: The line goes downhill from left to right.
- Zero Slope: The line is perfectly flat (horizontal). The rise is
. - Undefined Slope: The line is perfectly straight up and down (vertical). The run is
, which leads to division by zero in the formula.
Find the slope of the line that passes through the points
Solution:
- First, label your points. Let
and . - Next, plug these values into the slope formula:
- Substitute the numbers:
- Simplify the numerator and the denominator. Be careful with the double negative in the denominator:
- Reduce the fraction to its simplest form:
The slope of the line is
How Do You Graph a Linear Equation?
Graphing a linear equation makes the abstract algebra visual. While you can always plot points by plugging in various
Here is a step-by-step guide to graphing using this form:
- Isolate y: Make sure your equation is in slope-intercept form. If it's in another form, use algebra to solve for
. - Plot the Intercept: Find the y-intercept,
, on the y-axis. This is your starting point. Remember, its coordinates are . - Use the Slope: From your y-intercept, use the slope,
, to find a second point. Remember that . If the slope is positive, you go up (rise) and right (run). If it's negative, you go down (rise) and right (run). - Draw the Line: Use a ruler to draw a straight line that passes through your two points. Add arrows to both ends to show that the line continues infinitely.
Graph the linear equation
Solution:
- The equation is already in slope-intercept form. We can identify the y-intercept and the slope.
- The y-intercept
is . So, our first point is . - The slope
is . This means a "rise" of (down 2 units) and a "run" of (right 3 units).
- The y-intercept
- Plot the y-intercept at
on the coordinate plane. - From the point
, apply the slope. Move down units and then right units. This brings you to a new point at . - Draw a straight line passing through both
and . This line represents all possible solutions to the equation .
How Do You Write the Equation of a Line?
Sometimes you'll be given information about a line and asked to write its equation. The form you start with depends on the information you're given.
Scenario 1: You are given the slope and the y-intercept.
This is the most straightforward case. Simply substitute the slope for
Scenario 2: You are given the slope and one point.
This is the perfect time to use point-slope form:
Write the equation of a line that has a slope of
Solution:
- We have the slope
and a point . We'll start with point-slope form. - The formula is
. - Substitute the given values:
. This is a valid equation for the line, but we need to convert it to slope-intercept form. - Distribute the
on the right side: . - Isolate
by adding to both sides of the equation: . - Simplify:
.
The final equation in slope-intercept form is
Scenario 3: You are given two points.
If you have two points, you can first use the slope formula

What About Horizontal and Vertical Lines?
Horizontal and vertical lines are special cases of linear equations. They can seem tricky because one of the variables is missing from their simplified equation.
Horizontal Lines
A horizontal line has a slope of
Vertical Lines
A vertical line has an undefined slope. Every point on this line has the exact same x-coordinate. Because the slope is undefined (due to division by zero in the slope formula), we cannot use slope-intercept or point-slope form. The equation of a vertical line is always in the form
| Line Type | Equation Form | Slope | Example |
|---|---|---|---|
| Horizontal | |||
| Vertical | Undefined |
Common Mistakes to Avoid
As you work with linear equations, some common pitfalls can trip you up. Being aware of them is the first step to avoiding them!
- Mixing up Slope Formula: A very common error is to put the change in
in the numerator of the slope formula. Remember, it's always rise ( -values) over run ( -values). - Sign Errors with Negatives: When subtracting negative numbers, as in
, remember that it becomes addition ( ). This is especially common in the slope and point-slope formulas. - Confusing Horizontal and Vertical Lines: Students often mix up
and . A good way to remember is that has a slope and is flat, while is straight up and down with an undefined slope. - Forgetting to Distribute: In point-slope form,
, make sure you distribute the slope to both the and the inside the parentheses. - Incorrectly Identifying the Y-Intercept: The
value is only the y-intercept when the equation is in the form . If the equation is , you must first divide everything by to get before you can say the y-intercept is .
Quick Reference and Summary
This lesson covered the fundamentals of linear equations. Here are the most important takeaways to remember:
- A linear equation graphs a straight line and has variables with no exponent higher than 1.
- Slope measures the steepness of a line.
- The three main forms provide different ways to write and analyze the equation of a line.
- You can graph a line quickly using its slope and y-intercept.
- Horizontal lines have the form
and a slope of 0. - Vertical lines have the form
and an undefined slope.
Key Formulas
Frequently Asked Questions
What's the difference between a linear equation and a linear expression?
The key difference is the equals sign. A linear equation, like
Can a linear equation have only one variable?
Yes, absolutely. An equation like
Why is the slope of a vertical line undefined?
The slope formula requires dividing the change in y by the change in x. For any two points on a vertical line, the x-coordinate is the same, so the change in x is zero. Since division by zero is not allowed in mathematics, we say the slope is undefined.
Does it matter which point is (x1, y1) and which is (x2, y2) for the slope formula?
No, it does not matter. As long as you are consistent with the order in both the numerator and the denominator, you will get the same correct answer. If you start with
What is an intercept?
An intercept is a point where the graph of an equation crosses an axis. The y-intercept is where the line crosses the vertical y-axis (this occurs when
How are linear equations used in real life?
Linear equations model any situation with a constant rate of change. They are used to calculate costs based on a fixed fee and a per-item price, convert temperatures between Celsius and Fahrenheit, predict simple profit growth, and estimate distances in travel.
What should I do if my equation isn't in one of the three main forms?
You can always use the rules of algebra to rearrange the equation into the form you need. For example, you can solve the standard form equation