Eighth Grade Mathematics: Deriving Linear Equations of the Form y = mx + b
While proportional relationships passing through the origin are vital models, many real-world scenarios begin with an initial value or starting amount, such as a savings account opened with a seed deposit, a cellular phone plan with a base monthly charge, or water draining from a partially filled reservoir. When a line is shifted vertically away from the origin, its equation gains an added constant b, representing the vertical intercept. In this chapter, you will use geometric translations and the slope formula to derive the slope-intercept form y = mx + b.
Geometric Derivation via Vertical Translation
Consider a reference line passing through the origin with equation y = mx. Suppose you translate (shift) every point on this line vertically upward or downward by a constant distance of b units.
y
| / y = mx + b
| / /
| / / y = mx
(0, b)* //
| \ b //
| \ //
+---*-----------------> x
(0,0)
Every original coordinate (x, y_orig) on the line y = mx transforms into a new coordinate (x, y_new) where the x-value remains unchanged, but the vertical y-value changes by b:
y_new = y_orig + b
Because y_orig is known to equal m * x from our derivation of lines through the origin, we substitute m * x directly into the relationship:
y = m * x + b (or y = mx + b)
This vertical shift moves the line parallel to itself. The slope m remains completely unchanged because translating a line vertically does not tilt or rotate it; it merely relocates where the line intersects the vertical y-axis.
Algebraic Derivation Using the Slope Formula
We can also derive y = mx + b purely algebraically using the formal definition of slope between two specific points on the line.
Let the line cross the y-axis at the point (0, b), which is defined as the y-intercept. Now choose any other general point P(x, y) lying anywhere on the line.
Point 1: (x1, y1) = (0, b) <--- The y-intercept
Point 2: (x2, y2) = (x, y) <--- Any arbitrary point on the line
Substitute these two coordinate pairs directly into the slope formula:
y2 - y1 y - b
m = --------- = -------
x2 - x1 x - 0
Simplifying the denominator gives:
y - b
m = -----
x
To isolate the variable y, perform standard inverse operations. First, multiply both sides by x:
m * x = y - b
Next, add b to both sides of the equation:
m * x + b = y
y = mx + b
This elegant algebraic derivation demonstrates that y = mx + b is simply a direct rearrangement of the fundamental definition of slope.
Anatomy of the Slope-Intercept Form
The equation y = mx + b is celebrated in mathematics because it exposes the two most vital characteristics of a linear relationship directly from its algebraic structure:
y = m * x + b
| |
Slope y-intercept
(Rise/Run) (0, b)
The coefficient m represents the slope: the vertical change for every 1-unit increase in x. The constant b represents the y-intercept: the coordinate where the line crosses the vertical y-axis, corresponding to the point (0, b).
Example: Graph the equation y = -3x + 4
Step 1: Identify key components:
Slope m = -3 = -3/1 (Rise = -3, Run = +1)
y-intercept b = 4 (Point (0, 4))
Step 2: Plot the y-intercept at (0, 4).
Step 3: From (0, 4), apply slope: move DOWN 3 units, RIGHT 1 unit to reach (1, 1).
Step 4: Move DOWN 3 units, RIGHT 1 unit again to reach (2, -2).
Step 5: Connect points with a straight line.
Chapter Exercises
Exercise 1: Use the slope formula between the points (0, -5) and an arbitrary point (x, y) to derive the equation of a line having a slope of m = 4. Show each step of algebraic manipulation.
Exercise 2: Write the equation in slope-intercept form for a line that crosses the y-axis at (0, 7) and passes through the point (3, 1). Identify the slope and y-intercept clearly.
Exercise 3: Explain in paragraph form the physical and geometric meaning of both m and b in the equation C = 2.50m + 5.00, which models the cost C in dollars of a taxicab ride of m miles.
Solutions and Explanations
Solution 1: To derive the equation of the line, apply the slope formula m = (y - y1) / (x - x1) using the given point (x1, y1) = (0, -5), the arbitrary point (x, y), and the slope m = 4. Substituting these values into the formula yields 4 = (y - (-5)) / (x - 0). Simplifying the double negative in the numerator and the subtraction of zero in the denominator gives 4 = (y + 5) / x. Multiply both sides of the equation by x to eliminate the fraction: 4x = y + 5. Finally, isolate y by subtracting 5 from both sides: y = 4x - 5. This matches the slope-intercept form y = mx + b, where m = 4 and b = -5.
Solution 2: To write the equation in slope-intercept form, first determine the slope m between the y-intercept (0, 7) and the second point (3, 1). Using the slope formula: m = (1 - 7) / (3 - 0) = -6 / 3 = -2. Because the line crosses the vertical axis at (0, 7), the y-intercept is b = 7. Substituting the slope m = -2 and y-intercept b = 7 into the slope-intercept template y = mx + b gives the linear equation y = -2x + 7.
Solution 3: In the taxicab equation C = 2.50m + 5.00, the variable m represents the independent quantity of miles driven, and C represents the dependent total cost in dollars. The slope is 2.50, which physically represents the rate of change: the fare increases by 2.50 dollars for every additional 1 mile traveled. Geometrically, this is the rise over run of the graph. The constant term 5.00 is the y-intercept b, which corresponds to the point (0, 5.00) on the vertical axis. Physically, this represents the initial value, or base fee: the passenger is charged a flat 5.00 dollars simply to step into the taxi before the vehicle has traveled any distance (when m = 0).