Linear Modeling
from Data & Word Problems
Learn to build linear equations from real-world data, interpret slope and intercept, and translate word problems into the powerful form \( y = mx + b \).
What Is a Linear Model?
A linear model is an equation of the form \( y = mx + b \) that approximates the relationship between two variables. It lets us predict outputs for inputs we haven't observed yet.
Why Linear Models Matter
Linear models are the foundation of applied mathematics. They appear everywhere: predicting costs, analyzing trends, and making decisions with data.
Visualizing \( y = mx + b \)
The Slope Formula
Given two points \( (x_1, y_1) \) and \( (x_2, y_2) \), the slope is:
Once you know \( m \), plug one point into point-slope form to find the full equation:
Three Forms of Linear Equations
| Form | Equation | Best Used When |
|---|---|---|
| Slope-Intercept | \( y = mx + b \) | You know slope & \( y \)-intercept |
| Point-Slope | \( y - y_1 = m(x - x_1) \) | You know slope & one point |
| Standard | \( Ax + By = C \) | You need integer coefficients |
Exact Model vs. Best-Fit Model
Step-by-Step Modeling Process
Example 1: Taxi Fare
A taxi charges a flat fee plus a per-mile rate. A 3-mile ride costs $11.50 and a 7-mile ride costs $21.50. Find the linear model for the cost \( C \) in terms of miles \( d \).
Example 1: Graph
Example 2: Phone Plan
A cell phone plan charges a monthly base fee plus a rate per gigabyte of data. The table below shows two months of bills:
| Month | Data (GB) | Bill ($) |
|---|---|---|
| January | 5 | 62 |
| March | 12 | 90 |
Example 3: Temperature Conversion
Water freezes at \( 0^\circ\text{C} = 32^\circ\text{F} \) and boils at \( 100^\circ\text{C} = 212^\circ\text{F} \). Build a linear model converting Celsius to Fahrenheit.
Interpreting Slope & Intercept
The numbers in a linear model have real-world meaning. Always interpret them in the context of the problem.
Common Mistakes
Summary: Key Concepts
| Concept | Formula / Rule | Meaning |
|---|---|---|
| Slope | \( m = \dfrac{y_2 - y_1}{x_2 - x_1} \) | Rate of change per unit |
| Intercept | \( b = y_1 - m \cdot x_1 \) | Value of \( y \) when \( x = 0 \) |
| Model | \( y = mx + b \) | Predict \( y \) for any \( x \) |
| Verification | Plug in both points | Both must satisfy the equation |
Question 1 of 5
A plumber charges a flat service fee plus an hourly rate. A \(2\)-hour job costs \(\$140\) and a \(5\)-hour job costs \(\$260\). What is the hourly rate?
Question 2 of 5
Using the plumber problem above (\( \$40 \)/hr, \(2\)-hour job = \( \$140 \)), what is the flat service fee?
Question 3 of 5
A car's value depreciates linearly. It was worth \( \$24{,}000 \) when new and \( \$18{,}000 \) after \(3\) years. What is the linear model for value \( V \) after \( t \) years?
Question 4 of 5
In the model \( C = 0.15n + 9.99 \) where \( C \) is the monthly cost and \( n \) is the number of text messages, what does \(0.15\) represent?
Question 5 of 5
A pool is being filled. After \(2\) hours it has \(1{,}200\) gallons and after \(5\) hours it has \(3{,}000\) gallons. How many gallons will it contain after \(8\) hours?