Building
Linear Models
Learn how to construct linear equations from real-world data, two given points, or stated conditions using \( y = mx + b \).
What Is a Linear Model?
A linear model is an equation of the form \( y = mx + b \) that describes a relationship where one quantity changes at a constant rate with respect to another. The graph is always a straight line.
Why Linear Models Matter
Linear models appear everywhere: predicting costs, forecasting revenue, modeling depreciation, and estimating population growth over short intervals. If the rate of change is roughly constant, a line is the simplest and most powerful tool.
Anatomy of the Line
The Slope Formula
Given two points \( (x_1, y_1) \) and \( (x_2, y_2) \), the slope is:
This ratio is constant between any two points on the same line. Once you know \( m \), substitute either point into \( y = mx + b \) to solve for \( b \).
Point-Slope vs. Slope-Intercept
| Point-Slope Form | Slope-Intercept Form | |
|---|---|---|
| Equation | \( y - y_1 = m(x - x_1) \) | \( y = mx + b \) |
| You need | A point + slope | Slope + \( y \)-intercept |
| Best when | Given data points, no intercept | Intercept is known or required |
| Final step | Rearrange to \( y = mx + b \) | Already in standard output form |
How to Build a Linear Model
Example 1: Two Points
A company's revenue was $12,000 after 2 months and $27,000 after 5 months. Build a linear model for revenue \( R \) as a function of time \( t \) (months).
Example 2: Slope + Condition
A tank drains at a constant rate of 3 gallons per minute. After 10 minutes the tank holds 50 gallons. Write a linear model for the volume \( V \) remaining after \( t \) minutes.
Example 3: Straight-Line Depreciation
A machine costs $40,000 and will have a salvage value of $4,000 after 8 years. Find the linear depreciation model.
Interpreting \( m \) and \( b \)
Building from a Data Table
When given a table of values, pick any two rows to compute \( m \). Then use one row as your point.
| \( x \) | \( y \) |
|---|---|
| 1 | 7 |
| 3 | 13 |
| 5 | 19 |
| 7 | 25 |
Is the Data Actually Linear?
Before building a linear model, verify that the rate of change is constant. Compute \( \frac{\Delta y}{\Delta x} \) between consecutive points. If the ratios are equal (or approximately equal), the data is linear.
Parallel and Perpendicular Lines
Common Mistakes
Summary of Linear Model Forms
| Form | Equation | When to Use |
|---|---|---|
| Slope-Intercept | \( y = mx + b \) | Final answer form; intercept given |
| Point-Slope | \( y - y_1 = m(x - x_1) \) | Building tool; point + slope given |
| Standard | \( Ax + By = C \) | Systems of equations; integer coefficients |
| Two-Point Method | Compute \( m \), then point-slope | Two data points, no slope given |
Question 1 of 5
Find the equation of the line through \( (1, 5) \) and \( (4, 14) \).
Question 2 of 5
A car rental costs $30/day plus $0.20 per mile. Which model represents the total daily cost \( C \) as a function of miles \( m \)?
Question 3 of 5
A machine purchased for $60,000 depreciates linearly to a salvage value of $12,000 over 6 years. What is the annual depreciation (slope)?
Question 4 of 5
In the model \( y = -2.5x + 100 \), what does the \( y \)-intercept represent?
Question 5 of 5
Data shows: \( (2, 10) \), \( (4, 16) \), \( (6, 22) \), \( (8, 28) \). Which equation models this data?