Linear Equations: Slope of a Line

Understand slope as steps, calculate the slope between two points, and find the equation of a line.

Solved: 0

Slope-Intercept Form & Function Notation

The slope (represented by aa in the equation y=ax+by = ax + b) describes the steepness and direction of a line.

Slope Steps Visualizer

-4-4-2-222440xyy = 1.5x+1+1.5+1+1.5+1+1.5
For every step right (+1), we go up by 1.5.

Understanding Slope as Steps

Think of the slope as taking steps on the graph:
- Every time we move 11 unit to the right (increase xx by 11), we go up or down by aa units (change yy by aa).
- If aa is positive (e.g. a=2a = 2), we go up by 22 for every step right.
- If aa is negative (e.g. a=โˆ’1a = -1), we move down by 1 for every step right.

The Slope Formula & Delta (ฮ”\Delta)

To find the slope between two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), we use the formula:
What is Delta (ฮ”\Delta)?
The Greek letter ฮ”\Delta (Delta) represents the change or difference between two values:
- ฮ”y=y2โˆ’y1\Delta y = y_2 - y_1 is the change in the vertical direction (often called the rise).
- ฮ”x=x2โˆ’x1\Delta x = x_2 - x_1 is the change in the horizontal direction (often called the run).

This is why the slope is often described as "rise over run" (riserun=ฮ”yฮ”x\frac{\text{rise}}{\text{run}} = \frac{\Delta y}{\Delta x}).

โš ๏ธ Crucial Order Note:
It does not matter which point you choose as the first point (x1,y1)(x_1, y_1) and which as the second point (x2,y2)(x_2, y_2)โ€”the calculated slope will be exactly the same. However, you must maintain the same subtraction order in both the numerator and the denominator! If you subtract the yy-coordinates as y2โˆ’y1y_2 - y_1, you must subtract the xx-coordinates as x2โˆ’x1x_2 - x_1. Mixing the order (like y2โˆ’y1x1โˆ’x2\frac{y_2 - y_1}{x_1 - x_2}) is incorrect and will result in the wrong sign.

Slope Between Two Points

-4-4-2-222440xyA(1, 2)B(3, 6)ฮ”x = 2ฮ”y = 4
Slope Calculation:
a=ฮ”yฮ”x=6โˆ’23โˆ’1=42=2a = \frac{\Delta y}{\Delta x} = \frac{6 - 2}{3 - 1} = \frac{4}{2} = 2

Finding the y-intercept bb and the Equation of a Line

Once we have the slope aa, we can find the y-intercept bb and write the full equation using a point (x1,y1)(x_1, y_1) on the line. Since the point lies on the line, its coordinates must satisfy the equation y=ax+by = ax + b.

Example:
Suppose we know the slope is a=3a = 3, and the line passes through the point (2,7)(2, 7).
  1. Start with the equation form: y=ax+by = ax + b
    Since a=3a = 3, this gives: y=3x+by = 3x + b
  2. Substitute the point (x1,y1)=(2,7)(x_1, y_1) = (2, 7) (where x1=2x_1 = 2 and y1=7y_1 = 7):
    y1=3x1+bโ€…โ€ŠโŸนโ€…โ€Š7=3โ‹…2+by_1 = 3x_1 + b \implies 7 = 3 \cdot 2 + b
  3. Solve for bb:
    7=6+bโ€…โ€ŠโŸนโ€…โ€Šb=17 = 6 + b \implies b = 1
  4. The full equation is: y=3x+1\boxed{y = 3x + 1}

Equation of a Line from Two Points

If we are given only two points, we can determine the entire equation by combining the two steps:
1. Calculate the slope aa from the two points using the slope formula.
2. Use the calculated slope aa and one of the points to find the y-intercept bb (exactly as shown in the example above).

Parallel Lines

Two lines are parallel if they lie in the same plane and never intersect, no matter how far they are extended. They rise or fall by the same amount for every unit moved horizontally, which means they have the same slope (a1=a2a_1 = a_2), but different y-intercepts (b1โ‰ b2b_1 \neq b_2).

Example:
- Line 1: y=2x+3y = 2x + 3 (slope a=2a = 2, y-intercept b=3b = 3)
- Line 2: y=2xโˆ’5y = 2x - 5 (slope a=2a = 2, y-intercept b=โˆ’5b = -5)
Both lines have a slope of 22, so they are parallel. Because they cross the y-axis at different heights (33 and โˆ’5-5), they are distinct, non-overlapping lines that will never touch.

Parallel Lines Visualizer

Select Shared Slope (a):
Blue Intercept (bโ‚):
Red Intercept (bโ‚‚):
y = 1.5x + 1
y = 1.5x - 2
-4-4-2-222440xy
Note: "If and only if" means the rule works in both directions: if the lines are parallel, their slopes must be equal; and if their slopes are equal, the lines must be parallel.
Learning Topics

Frequently Asked Questions

What is the slope-intercept form of a linear equation?
The slope-intercept form is y=ax+by = ax + b, where aa is the slope and bb is the y-intercept.
How do we express yy as a function of xx?
When we rewrite a linear equation to isolate yy in the form y=ax+by = ax + b, the value of yy is determined entirely by xx. This allows us to use function notation and write y=f(x)y = f(x).