Skip to main content
Skip to main content

What is a Linear Equation?

Visual representation of a straight line on a coordinate plane
A linear equation creates a straight line when graphed

A linear equation is a mathematical statement that shows the relationship between two variables (usually x and y) that creates a straight line when graphed on a coordinate plane.

Linear equations are powerful tools that help us describe relationships between quantities. For example, they can show how the cost of apples relates to how many pounds you buy, or how the temperature changes over time.

All linear equations follow this general pattern: y = mx + b, where m represents the slope (steepness) of the line and b represents the y-intercept (where the line crosses the y-axis).

Slope-Intercept Form

Diagram showing slope and y-intercept on a line graph
Slope-intercept form shows both steepness and starting point

The slope-intercept form is the most common way to write a linear equation. It looks like this:

Slope-Intercept Formula

y = mx + b

Where m is the slope and b is the y-intercept

Let's understand what each part means:

Slope (m): This tells us how steep the line is. It's calculated as "rise over run" - how much the line goes up or down divided by how much it goes left or right.

Y-intercept (b): This is the point where the line crosses the y-axis. It tells us the value of y when x is zero.

Example: In the equation y = 2x + 3, the slope is 2 and the y-intercept is 3. This means the line crosses the y-axis at (0, 3) and for every 1 unit you move right, you move 2 units up.

Point-Slope Form

Visual showing how a point and slope determine a line
Point-slope form uses a known point and the slope

Sometimes we know one point on the line and the slope, but not the y-intercept. In these cases, we use the point-slope form:

Point-Slope Formula

y - y₁ = m(x - x₁)

Where m is the slope and (x₁, y₁) is a point on the line

This form is especially useful when you have two points and need to find the equation of the line that passes through them.

Example: If we know a line has slope 4 and passes through the point (1, 2), we can write the equation as: y - 2 = 4(x - 1)

We can then simplify this to slope-intercept form: y - 2 = 4x - 4 → y = 4x - 2

General Form of a Line

Comparison of different forms of linear equations
General form organizes the equation with all terms on one side

The general form of a linear equation is another way to write linear equations. It looks like this:

General Form

Ax + By = C

Where A, B, and C are integers, and A should be positive

In this form, all the terms are on one side of the equation, and they're usually written with integer coefficients.

Example: The equation y = 2x + 3 can be rewritten in general form as: 2x - y = -3

To convert from slope-intercept form to general form:
1. Move all terms to one side: y = 2x + 3 → 2x - y + 3 = 0
2. If necessary, multiply through to eliminate fractions: 2x - y = -3

The general form is useful for certain calculations and for comparing equations.

X and Y Intercepts

Graph showing x-intercept and y-intercept points
Intercepts are where the line crosses the axes

Intercepts are important points where a line crosses the axes. There are two types:

Y-intercept: This is where the line crosses the y-axis. At this point, x = 0. In the slope-intercept form y = mx + b, the y-intercept is b.

X-intercept: This is where the line crosses the x-axis. At this point, y = 0. To find the x-intercept, set y = 0 in the equation and solve for x.

Example: For the equation y = 2x + 6:
Y-intercept: When x = 0, y = 2(0) + 6 = 6 → (0, 6)
X-intercept: When y = 0, 0 = 2x + 6 → 2x = -6 → x = -3 → (-3, 0)

Intercepts are helpful for graphing lines quickly. If you know both intercepts, you can plot them and draw the line through them.

Equation of a Line Quiz

Test your understanding of linear equations with this 5-question quiz. Choose the correct answer for each question.

1. What is the slope-intercept form of a linear equation?
2. In the equation y = -3x + 5, what is the y-intercept?
3. What is the slope of a line that passes through points (2, 4) and (4, 10)?
4. Which form would be most useful if you know a point on the line and the slope?
5. What is the x-intercept of the equation 2x + 3y = 12?

Frequently Asked Questions

Here are answers to common questions about linear equations:

Math Trivia

Discover interesting facts about linear equations and mathematics:

Copyright © 2025 Workybooks. Made with ♥ in California.