Linear Equations

Download as PDF

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.

Linear Equations — an original Algebra911 reference diagram defining linear equations with its key formula and a worked example.
Linear Equations: The Ultimate Guide for Algebra

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 x2, x, or 1x in a linear equation. For example, y=2x+1 is a linear equation. For every single step you take in the x direction, you take a constant two steps in the y direction. An equation like y=x23 is not linear because the x is squared, which creates a curved line (a parabola) when graphed.

Linear equations are the building blocks of algebra and appear in many real-world situations. They can have one variable, like 5x10=0, or two variables, like the more common y=3x5. Understanding them is the first major step toward mastering algebra.

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 NameGeneral FormulaKey Information Revealed
Slope-Intercept Formy=mx+bEasily shows the slope (m) and the y-intercept (b). Best for graphing.
Point-Slope Formyy1=m(xx1)Uses a specific point (x1,y1) and the slope (m). Best for creating an equation from a point and a slope.
Standard FormAx+By=COrganizes x and y terms on one side. Useful for finding intercepts quickly. By convention, A, B, and C are integers and A is non-negative.

1. Slope-Intercept Form: y=mx+b

This is often called the most popular form because it's so intuitive for graphing. The variable m represents the slope of the line (its steepness), and b represents the y-intercept, which is the point where the line crosses the vertical y-axis.

2. Point-Slope Form: yy1=m(xx1)

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, m is the slope, and (x1,y1) are the coordinates of the known point. You can easily rearrange this form into slope-intercept form with a little algebra.

3. Standard Form: Ax+By=C

Standard form places the x and y terms on the left side of the equation and a constant on the right. It's less visual than slope-intercept form but is useful for certain types of problems, like easily finding the x- and y-intercepts. To find the y-intercept, set x=0 and solve for y. To find the x-intercept, set y=0 and solve for x.

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 (x1,y1) and (x2,y2). The formula for the slope, represented by the variable m, is:

m=RiseRun=y2y1x2x1

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 0.
  • Undefined Slope: The line is perfectly straight up and down (vertical). The run is 0, which leads to division by zero in the formula.
Example 1

Find the slope of the line that passes through the points (2,1) and (4,10).

Solution:

  1. First, label your points. Let (x1,y1)=(2,1) and (x2,y2)=(4,10).
  2. Next, plug these values into the slope formula: m=y2y1x2x1
  3. Substitute the numbers: m=1014(2)
  4. Simplify the numerator and the denominator. Be careful with the double negative in the denominator: m=94+2=96
  5. Reduce the fraction to its simplest form: m=32

The slope of the line is 32. This means for every 2 units you move to the right, you must move 3 units up.

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 x-values and solving for y, the fastest method is to use the slope-intercept form, y=mx+b.

Here is a step-by-step guide to graphing using this form:

  1. Isolate y: Make sure your equation is in slope-intercept form. If it's in another form, use algebra to solve for y.
  2. Plot the Intercept: Find the y-intercept, b, on the y-axis. This is your starting point. Remember, its coordinates are (0,b).
  3. Use the Slope: From your y-intercept, use the slope, m, to find a second point. Remember that m=riserun. If the slope is positive, you go up (rise) and right (run). If it's negative, you go down (rise) and right (run).
  4. 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.
Example 2

Graph the linear equation y=23x+4.

Solution:

  1. The equation is already in slope-intercept form. We can identify the y-intercept and the slope.
    • The y-intercept b is 4. So, our first point is (0,4).
    • The slope m is 23. This means a "rise" of 2 (down 2 units) and a "run" of 3 (right 3 units).
  2. Plot the y-intercept at (0,4) on the coordinate plane.
  3. From the point (0,4), apply the slope. Move down 2 units and then right 3 units. This brings you to a new point at (3,2).
  4. Draw a straight line passing through both (0,4) and (3,2). This line represents all possible solutions to the equation y=23x+4.

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 m and the y-intercept for b directly into the slope-intercept form y=mx+b.

Scenario 2: You are given the slope and one point.

This is the perfect time to use point-slope form: yy1=m(xx1). You substitute the given slope for m and the coordinates of the point for (x1,y1). Often, you will then be asked to convert the result to slope-intercept form.

Example 3

Write the equation of a line that has a slope of 4 and passes through the point (2,5). Write the final answer in slope-intercept form.

Solution:

  1. We have the slope m=4 and a point (x1,y1)=(2,5). We'll start with point-slope form.
  2. The formula is yy1=m(xx1).
  3. Substitute the given values: y5=4(x2). This is a valid equation for the line, but we need to convert it to slope-intercept form.
  4. Distribute the 4 on the right side: y5=4x8.
  5. Isolate y by adding 5 to both sides of the equation: y=4x8+5.
  6. Simplify: y=4x3.

The final equation in slope-intercept form is y=4x3.

Scenario 3: You are given two points.

If you have two points, you can first use the slope formula m=y2y1x2x1 to find the slope. Once you have the slope, this scenario becomes identical to Scenario 2. Pick one of the original points and use point-slope form to find the equation.

Key formulas for linear equations by Algebra911.
Key formulas for linear equations by Algebra911.

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 0. Every point on the line has the exact same y-coordinate. Because the slope m=0, the equation y=mx+b simplifies to y=(0)x+b, which becomes just y=b. The equation of a horizontal line is always in the form y=c, where c is the y-coordinate of every point on the line.

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 x=c, where c is the x-coordinate of every point on the line.

Line TypeEquation FormSlopeExample
Horizontaly=cm=0y=3 is a horizontal line passing through (0,3).
Verticalx=cUndefinedx=2 is a vertical line passing through (2,0).

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 x in the numerator of the slope formula. Remember, it's always rise (y-values) over run (x-values).
  • Sign Errors with Negatives: When subtracting negative numbers, as in 5(2), remember that it becomes addition (5+2). This is especially common in the slope and point-slope formulas.
  • Confusing Horizontal and Vertical Lines: Students often mix up y=c and x=c. A good way to remember is that y=c has a 0 slope and is flat, while x=c is straight up and down with an undefined slope.
  • Forgetting to Distribute: In point-slope form, yy1=m(xx1), make sure you distribute the slope m to both the x and the x1 inside the parentheses.
  • Incorrectly Identifying the Y-Intercept: The b value is only the y-intercept when the equation is in the form y=mx+b. If the equation is 2y=4x+6, you must first divide everything by 2 to get y=2x+3 before you can say the y-intercept is 3.

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 y=c and a slope of 0.
  • Vertical lines have the form x=c and an undefined slope.

Key Formulas

Slope Formula: m=y2y1x2x1
Slope-Intercept Form: y=mx+b
Point-Slope Form: yy1=m(xx1)
Standard Form: Ax+By=C

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 2x+5=11, contains an equals sign and can be solved for a variable's value. A linear expression, like 2x+5, is a mathematical phrase with no equals sign and cannot be solved, only simplified or evaluated.

Can a linear equation have only one variable?

Yes, absolutely. An equation like 4x8=12 is a single-variable linear equation. Its solution is a single point on a number line, not a line on a coordinate plane. Equations like y=5 and x=1 are technically two-variable equations where the coefficient of the other variable is zero.

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 y2 on top, you must start with x2 on the bottom.

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 x=0). The x-intercept is where the line crosses the horizontal x-axis (this occurs when y=0).

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 Ax+By=C for y to convert it into the more graph-friendly slope-intercept form y=mx+b.