Writing
Linear Equations
Master writing equations in slope-intercept and point-slope form from two points, a point and slope, or a real-world context.
What Is a Linear Equation?
A linear equation describes a straight-line relationship between two variables. Every point \((x, y)\) on the line satisfies the equation. The two most useful forms are:
where \( m \) = slope, \( b \) = \( y \)-intercept
where \( (x_1, y_1) \) is any point on the line
Understanding Slope
Slope measures steepness: the ratio of vertical change (rise) to horizontal change (run) between any two points on a line.
The \(y\)-Intercept
The \(y\)-intercept is where the line crosses the \(y\)-axis. At this point \(x = 0\). In \(y = mx + b\), the constant \(b\) is the \(y\)-intercept.
Slope-Intercept Form: \(y = mx + b\)
This is the most common form. It reveals two things at a glance:
Point-Slope Form: \(y - y_1 = m(x - x_1)\)
Point-slope form is ideal when you know the slope and any one point on the line. No need to solve for \(b\) first.
When to Use Which Form?
| Given Information | Best Form | Why? |
|---|---|---|
| Slope + \(y\)-intercept | \(y = mx + b\) | Plug in directly |
| Slope + one point | \(y - y_1 = m(x - x_1)\) | No need to find \(b\) |
| Two points | Find \(m\), then either | Compute slope first |
| Real-world context | Identify \(m\) and a point | Rate = slope, known value = point |
How to Write a Linear Equation
Example 1: From Two Points
Problem: Write the equation of the line through \((1, 2)\) and \((4, 8)\).
Example 2: From a Point and Slope
Problem: Write the equation of the line with slope \(m = -\frac{3}{4}\) passing through \((4, 1)\).
Example 3: From a Real-World Context
Problem: A plumber charges a $50 service fee plus $30 per hour. Write an equation for the total cost \(C\) after \(h\) hours.
Example 4: Context with Two Data Points
Problem: A candle is 12 inches tall after 1 hour and 6 inches tall after 4 hours. Write an equation for height \(h\) after \(t\) hours.
Why Does Point-Slope Work?
Point-slope form comes directly from the definition of slope. If a line has slope \(m\) and passes through \((x_1, y_1)\), then for any other point \((x, y)\) on the line:
That's it. Point-slope form is the slope formula rearranged. Every point on the line makes the equation true; every point off the line does not.
Common Mistakes to Avoid
Summary of Forms
| Feature | Slope-Intercept | Point-Slope |
|---|---|---|
| Formula | \(y = mx + b\) | \(y - y_1 = m(x - x_1)\) |
| You need | Slope + \(y\)-intercept | Slope + any point |
| Best for | Graphing quickly | Writing from given info |
| Shows directly | Where line crosses \(y\)-axis | That a specific point is on the line |
| Convert to other | Substitute \((0, b)\) into PS | Distribute and solve for \(y\) |
Question 1 of 5
What is the slope of the line through \((2, 3)\) and \((6, 11)\)?
Question 2 of 5
Write the equation of the line with slope \(m = 3\) passing through \((1, 5)\) in slope-intercept form.
Question 3 of 5
A line passes through \((-1, 4)\) and \((3, -2)\). What is the equation in slope-intercept form?
Question 4 of 5
A gym membership costs $25 per month plus a $40 sign-up fee. Which equation models the total cost \(C\) after \(m\) months?
Question 5 of 5
Which equation in point-slope form represents the line through \((5, -2)\) with slope \(\frac{1}{3}\)?