Slope and Y-Intercept- Writing Linear Equations Made Easy

What Slope and Y-Intercept Actually Mean

Before you can write linear equations, you need to understand what you're actually working with. Slope measures how steep a line is. Y-intercept is where the line crosses the y-axis.

That's it. Two concepts. Once you see them clearly, the algebra practically solves itself.

The Slope-Intercept Form

Every linear equation you write should end up in this form:

y = mx + b

Where:

This is the most useful form because it tells you everything about a line at a glance.

How to Find Slope From Two Points

Given two points (x₁, y₁) and (xβ‚‚, yβ‚‚), the slope formula is:

m = (yβ‚‚ - y₁) / (xβ‚‚ - x₁)

Let's work through a real example. Points: (2, 3) and (6, 11)

m = (11 - 3) / (6 - 2) = 8 / 4 = 2

Positive slope means the line goes up as you move right. Negative slope means it goes down. A slope of zero is a flat horizontal line.

Slope Quick Reference

Finding the Y-Intercept

The y-intercept is the value of y when x = 0. That's all it is.

If you have the equation y = 2x + 5, the y-intercept is 5. The point is (0, 5).

Sometimes you need to find it. If you know the slope and one point on the line, plug in what you know and solve for b.

Example: slope = 3, point = (2, 7)

7 = 3(2) + b

7 = 6 + b

b = 1

Writing Linear Equations: Four Common Situations

1. Given Slope and Y-Intercept

Easiest case. Just plug into y = mx + b.

Slope = 4, y-intercept = -2

Answer: y = 4x - 2

2. Given Slope and One Point

Use point-slope form first, then rearrange.

Slope = -1, point = (3, 5)

y - 5 = -1(x - 3)

y - 5 = -x + 3

y = -x + 8

3. Given Two Points

Find the slope first, then find the y-intercept.

Points: (1, 2) and (4, 8)

Slope: m = (8 - 2) / (4 - 1) = 6/3 = 2

Using point (1, 2): 2 = 2(1) + b β†’ b = 0

Answer: y = 2x

4. Given a Table of Values

Pick any two x,y pairs to find slope. Then use one pair to find b.

x y
0 4
2 10
5 19

m = (10 - 4) / (2 - 0) = 6/2 = 3

Since x = 0 gives y = 4, the y-intercept is 4

Answer: y = 3x + 4

Point-Slope Form: When to Use It

Point-slope form is:

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

Use this when you know the slope and one point. It's often easier than solving for b directly, especially when the point has ugly coordinates.

Practical How-To: Writing Any Linear Equation

Follow this decision tree:

  1. Do you have the slope? If no, find it from two points or a graph.
  2. Do you have the y-intercept? If yes β†’ plug into y = mx + b. If no β†’ find it using one point.
  3. Write your equation. Rearrange to y = mx + b if needed.

Getting Started Checklist

Forms of Linear Equations Compared

Form Equation Best Used When
Slope-Intercept y = mx + b You know slope and intercept
Point-Slope y - y₁ = m(x - x₁) You know slope and one point
Standard Form Ax + By = C Working with integers, intercepts
Two-Point Form (y - y₁)/(x - x₁) = (yβ‚‚ - y₁)/(xβ‚‚ - x₁) You have two points only

Common Mistakes to Avoid

Final Take

Writing linear equations comes down to two numbers: slope and y-intercept. Get those right, plug them in, and you're done. The formulas exist to serve youβ€”don't memorize them as rituals. Understand what each one does and use the right tool for the given information.