Linear Equations

CalculusDifficulty: ░░░░Depth: 2Unlocks: 25

y = mx + b. Solving for unknowns, graphing lines.

Interactive Visualization

t=0s

Core Concepts

  • Linear mapping: y is determined from x by a constant rate plus an offset (constant-rate relationship).
  • Algebraic isolation: solve a linear equation by applying inverse operations to isolate the single unknown.

Key Symbols & Notation

y = m x + b

Essential Relationships

  • b is the value of y when x = 0 (the y-intercept).
  • Graph construction: start at (0,b) then use slope m (rise/run) to place additional points; all such points lie on a straight line.
▶ Advanced Learning Details

Graph Position

16
Depth Cost
25
Fan-Out (ROI)
11
Bottleneck Score
2
Chain Length

Cognitive Load

5
Atomic Elements
22
Total Elements
L0
Percentile Level
L3
Atomic Level

All Concepts (9)

  • Slope-intercept form: the specific algebraic form y = m x + b used to represent a line
  • Y-intercept (b): the value of y where the line crosses the y-axis (x = 0)
  • Linear function as a mapping: treating y = m x + b as a function that maps input x to output y
  • Independent vs. dependent variable: x as input (independent), y as output (dependent) in the equation
  • Graph-from-equation procedure: using the intercept and slope together to draw the line on a coordinate plane
  • Solving for unknown parameters in a linear equation: isolating x, y, m, or b given sufficient information
  • X-intercept concept for linear equations: the x-value where y = 0 (how to find it from m and b)
  • Determining a line from two points: computing m from two points and then finding b to get y = m x + b
  • Family-of-lines view: lines described by y = m x + b vary continuously with parameters m (steepness) and b (vertical shift)

Teaching Strategy

Self-serve tutorial - low prerequisites, straightforward concepts.

A linear equation is the math version of “steady change.” If you add the same amount of x, y changes by the same amount every time—no surprises, no curves.

TL;DR:

A linear equation relates x and y by a constant rate (slope) plus a starting value (intercept): y = m x + b. You can (1) solve for an unknown by isolating it with inverse operations, and (2) graph the equation as a straight line using b and m or by finding two points.

What Is a Linear Equation?

Why this concept exists (intuition first)

Many real situations have constant-rate behavior:

  • You start with some amount (a fee, an initial height, a baseline).
  • Then every extra unit adds (or subtracts) the same amount.

Examples:

  • A taxi costs a base fee plus a fixed cost per mile.
  • A tank starts with some water and fills at a constant liters-per-minute.
  • A paycheck is hours × hourly rate plus maybe a fixed bonus.

In all these, the relationship between input x and output y is predictable in one specific way:

  • If x increases by 1, y increases by the same constant amount each time.
  • If x increases by 10, y increases by 10 times that amount.

That “constant multiplier plus a starting value” is exactly what linear equations capture.


Definition

A linear equation (in two variables) is commonly written in slope–intercept form:

y = m x + b

Where:

  • m is the slope (rate of change)
  • b is the y-intercept (the value of y when x = 0)

You already know slope as “rise over run.” This lesson adds two key skills:

1) Algebraic isolation: solve for an unknown by undoing operations.

2) Graphing: turn y = m x + b into a line you can draw and interpret.


What makes it “linear”?

The word “linear” is linked to lines in the plane, but it also means the formula has variables only to the first power (no squares, roots, products like x·y, etc.).

Linear (in x):

  • y = 3x + 2
  • y = −0.5x + 7

Not linear (in x):

  • y = x² + 2
  • y = √x + 1
  • y = x·y + 3

Interpreting y = m x + b

Think of y = m x + b as a two-step machine:

1) Multiply x by m (scale the input by a constant rate).

2) Add b (shift everything up or down).

If you plug in x = 0:

y = m·0 + b = b

So b is literally where the line crosses the y-axis.

If you increase x by 1, y increases by m:

  • At x: y = m x + b
  • At x + 1: y = m(x + 1) + b = m x + m + b

Difference:

(m x + m + b) − (m x + b) = m

So slope m is “how much y changes per 1 unit of x.”


A quick vocabulary table

TermSymbolMeaningHow to find it
Slopemrate of change (rise/run)from two points: m = (y₂ − y₁)/(x₂ − x₁)
y-interceptby when x = 0plug in x = 0, or read from form y = m x + b
solution(x, y)a point that makes the equation trueany point on the line

A solution to y = m x + b is not one number—it’s a whole set of points (x, y). That’s why the graph is a line: infinitely many solutions.

Core Mechanic 1: Solving Linear Equations by Isolation

Why isolation matters

In algebra, “solve” usually means: find the value of the unknown that makes the statement true.

You do this by using inverse operations to undo whatever is happening to the unknown.

The key idea:

  • Whatever you do to one side, you must do to the other side.
  • Your goal is to get the unknown by itself.

The inverse-operation roadmap

Common operations and their inverses:

Operation on xExampleInverse operation
+ax + 5subtract a (−5)
−ax − 5add a (+5)
×a3xdivide by a (/3)
÷ax/4multiply by a (×4)

A typical pattern: undo addition/subtraction first, then multiplication/division.


Solving for x in y = m x + b

Sometimes you want x in terms of y (for example, given an output y, what input x produced it?).

Start:

y = m x + b

Step 1: remove b (subtract b from both sides):

y − b = m x

Step 2: remove m (divide both sides by m, assuming m ≠ 0):

x = (y − b) / m

So the inverse relationship is:

x = (y − b)/m

That’s a perfect example of algebraic isolation.


Solving single-variable linear equations

Even if you don’t see y = m x + b, many linear equations reduce to a similar idea.

Example form:

a x + c = d

Solve by undoing the +c, then undoing ×a:

ax + c = d

ax = d − c

x = (d − c)/a


When there are parentheses (distribute carefully)

Sometimes the unknown is inside parentheses:

2(x − 3) + 5 = 17

You can:

1) Distribute first, then isolate, or

2) Isolate the parentheses group first.

Both work if you stay consistent.


A note on m = 0

If m = 0, then y = m x + b becomes:

y = 0·x + b = b

That’s a horizontal line. Solving for x from y = b is different:

  • If y = b, any x works.
  • If y ≠ b, no x works.

This is your first glimpse of how solving can yield:

  • one solution,
  • infinitely many solutions,
  • or no solution.

“Check your solution” habit

After solving, substitute back into the original equation.

If both sides match, you’re done.

This is especially useful when negatives or fractions appear.

Core Mechanic 2: Graphing Lines from y = m x + b

Why graphing is powerful

A formula can feel abstract, but a graph makes it concrete:

  • You can see the intercept.
  • You can see the direction (increasing/decreasing).
  • You can compare two lines and predict where they might meet.

For linear equations, graphing is especially friendly because the graph is always a straight line.


Method A: Intercept + slope (fastest from y = m x + b)

Given:

y = m x + b

1) Plot the y-intercept (0, b).

2) Use slope m = rise/run to get a second point.

3) Draw the line through the points.

Example slope interpretations:

  • m = 2 means rise 2, run 1.
  • m = −3 means down 3, right 1.
  • m = 1/4 means up 1, right 4.
  • m = −2/5 means down 2, right 5.

Because a line is determined by two points, once you have two accurate points, you can draw it.


Method B: Make a small table (plug in x values)

If slope/intercept form is messy, pick x values and compute y.

Steps:

1) Choose convenient x values (often 0, 1, 2, or symmetric values like −1, 0, 1).

2) Compute y for each.

3) Plot those points and draw the line.

This method is slower but very reliable.


Method C: Two intercepts (when convenient)

Sometimes it’s easy to find where the line crosses axes:

  • y-intercept: set x = 0.
  • x-intercept: set y = 0 and solve for x.

If you can find both intercepts, you get two points immediately.


What the parameters do (shape intuition)

Consider y = m x + b:

Changing b (holding m fixed):

  • shifts the line up/down
  • does not change steepness

Changing m (holding b fixed):

  • changes steepness
  • changes direction (increasing vs decreasing)

A simple comparison table:

m valueBehavior as x increasesVisual
m > 0y increasesline goes up to the right
m < 0y decreasesline goes down to the right
m = 0y stays constanthorizontal line

Connecting to “rate of change” you already know

If slope is m = Δy/Δx, then:

  • Δx = 1 ⇒ Δy = m
  • Δx = k ⇒ Δy = m k

That’s the constant-rate idea in a single line.


A quick geometry note (distance is not needed here)

You might wonder about vectors like v or norms like ‖v‖. Those matter more when measuring distances or doing projections. For linear equations at this level, you mainly need coordinates (x, y) and slope.

Still, keep in mind: a point (x, y) can be seen as a vector p = ⟨x, y⟩, and a line is a set of such points. Later nodes (like systems of equations) will lean harder on that viewpoint.

Application/Connection: Modeling and Preparing for Systems of Linear Equations

Why linear equations show up everywhere

Linear equations are the first serious “modeling language” in math:

  • They’re simple enough to solve exactly.
  • They approximate many relationships over small ranges.
  • They scale to many variables (leading to linear algebra and systems).

In calculus, linear thinking matters because:

  • Tangent lines are local linear approximations.
  • Derivatives give slopes (rates), which plug directly into y = m x + b style reasoning.

Turning a story into y = m x + b

A common workflow:

1) Identify what x represents (input).

2) Identify what y represents (output).

3) Find the starting value (when x = 0) → that’s b.

4) Find the rate “per 1 unit of x” → that’s m.

Example pattern:

  • “Base fee of 10 plus 2 per mile”
  • x = miles
  • y = total cost
  • b = 10
  • m = 2
  • y = 2x + 10

Units matter:

  • If x is miles and y is dollars, then slope m has units dollars/mile.

Finding an equation from two points

Often you’re given two data points (x₁, y₁) and (x₂, y₂) that lie on a line.

Step 1: compute slope:

m = (y₂ − y₁) / (x₂ − x₁)

Step 2: plug into y = m x + b using one point to solve for b.

Using (x₁, y₁):

y₁ = m x₁ + b

b = y₁ − m x₁

Now you have the line.


How this unlocks systems of linear equations

A system is just multiple linear equations at once, like:

y = 2x + 1

y = −x + 7

Graphically, solving the system means: find the point where the lines intersect (the (x, y) that satisfies both).

Algebraically, you set them equal or eliminate a variable.

Everything in systems depends on you being fluent with:

  • slope/intercept meaning,
  • isolating variables,
  • checking solutions.

So this node is your foundation: once one line makes sense, two lines become a solvable “meeting point” problem.


Three outcomes when comparing two lines

Two lines can:

1) Intersect once → one solution

2) Be parallel (same m, different b) → no solutions

3) Be the same line (same m and b) → infinitely many solutions

You saw a preview of this earlier with m = 0 and inconsistent equations. Systems formalize and generalize that idea.

Worked Examples (3)

Solve for x: y = 3x − 5 when y = 10

We’re told the relationship is y = 3x − 5 and the output y equals 10. Find the input x that produces that output.

  1. Start with the equation and substitute y = 10:

    10 = 3x − 5

  2. Add 5 to both sides to undo “−5”:

    10 + 5 = 3x

    15 = 3x

  3. Divide both sides by 3 to undo “×3”:

    15/3 = x

    x = 5

  4. Check by substituting x = 5 back into y = 3x − 5:

    y = 3(5) − 5 = 15 − 5 = 10 ✓

Insight: Isolation is just reversing the operations applied to x: subtract/add first, then multiply/divide. Checking catches small sign errors.

Graph y = −(1/2)x + 4 using intercept + slope

We want to draw the line described by y = −(1/2)x + 4.

  1. Identify parameters:

    m = −1/2, b = 4

  2. Plot the y-intercept:

    When x = 0, y = 4 → point (0, 4)

  3. Use slope m = −1/2 = rise/run:

    Rise = −1 (go down 1)

    Run = 2 (go right 2)

  4. From (0, 4), move right 2 and down 1 to get a second point:

    (0 + 2, 4 − 1) = (2, 3)

  5. Optional: repeat to get another point for accuracy:

    From (2, 3) move right 2 and down 1 → (4, 2)

  6. Draw a straight line through the plotted points (0, 4), (2, 3), (4, 2)

Insight: A negative slope means the line decreases as x increases. Using rise/run keeps you from guessing the steepness.

Find the equation of a line through (2, 1) and (6, 9)

We’re given two points and assume they lie on a linear relationship. Find y = m x + b.

  1. Compute the slope:

    m = (y₂ − y₁)/(x₂ − x₁)

    Take (x₁, y₁) = (2, 1) and (x₂, y₂) = (6, 9):

    m = (9 − 1)/(6 − 2) = 8/4 = 2

  2. Use y = m x + b with one point, say (2, 1):

    1 = 2(2) + b

  3. Solve for b:

    1 = 4 + b

    1 − 4 = b

    b = −3

  4. Write the equation:

    y = 2x − 3

  5. Check with the other point (6, 9):

    2(6) − 3 = 12 − 3 = 9 ✓

Insight: Two points determine one line. First find m from the “change ratio,” then solve for b using a known point.

Key Takeaways

  • A linear equation models constant-rate change: every +1 in x changes y by the same amount m.

  • Slope–intercept form is y = m x + b, where m is slope and b is the y-intercept (y when x = 0).

  • To solve for an unknown, isolate it using inverse operations while keeping both sides balanced.

  • From y = m x + b, solving for x gives x = (y − b)/m (when m ≠ 0).

  • Graphing from y = m x + b is efficient: plot (0, b), then use rise/run from m to get another point.

  • A line is the set of all points (x, y) that satisfy the equation; there are infinitely many solutions.

  • Comparing lines previews systems: intersect once (one solution), parallel (no solution), same line (infinitely many).

Common Mistakes

  • Sign errors when moving terms (e.g., treating “−5” as “+5” when isolating).

  • Misreading slope fractions: m = 1/3 means right 3, up 1 (not right 1, up 3).

  • Forgetting to apply an operation to both sides of the equation during isolation.

  • Confusing b with the x-intercept: b is always the y-value at x = 0.

Practice

easy

Solve for x: 4x + 7 = 31.

Hint: Undo +7 first, then undo ×4.

Show solution

4x + 7 = 31

4x = 31 − 7 = 24

x = 24/4 = 6

medium

Graph y = (3/2)x − 1 by listing three points, including the y-intercept.

Hint: Start with x = 0 for the intercept. Then pick x values that avoid fractions (like x = 2 and x = 4).

Show solution

x = 0 → y = (3/2)·0 − 1 = −1 → (0, −1)

x = 2 → y = (3/2)·2 − 1 = 3 − 1 = 2 → (2, 2)

x = 4 → y = (3/2)·4 − 1 = 6 − 1 = 5 → (4, 5)

Plot (0, −1), (2, 2), (4, 5) and draw the line.

hard

Find the equation y = m x + b of the line that passes through (−1, 4) and (3, −2).

Hint: Compute m = (y₂ − y₁)/(x₂ − x₁). Then use b = y − m x with either point.

Show solution

Let (x₁, y₁) = (−1, 4), (x₂, y₂) = (3, −2)

m = (−2 − 4)/(3 − (−1)) = (−6)/4 = −3/2

Use y = m x + b with (−1, 4):

4 = (−3/2)(−1) + b = 3/2 + b

b = 4 − 3/2 = 8/2 − 3/2 = 5/2

So y = (−3/2)x + 5/2

Connections

Quality: B (4.0/5)