Linear Function
Modeling
Learn to use linear functions to model real-world situations involving distance, cost, and constant rates of change.
What Is a Linear Function?
A linear function is a relationship between two quantities where one changes at a constant rate compared to the other. Its graph is always a straight line.
The Building Blocks: Slope and Y-Intercept
Visualizing \( y = 2x + 3 \)
The Core Formula
Finding Slope from Two Points
Linear vs. Non-Linear
| Linear | Non-Linear | |
|---|---|---|
| Graph Shape | Straight line | Curve (parabola, exponential, etc.) |
| Rate of Change | Constant | Changes |
| Equation Example | \( y = 3x + 5 \) | \( y = x^2 + 1 \) |
| Table Pattern | Equal differences in \( y \) | Unequal differences in \( y \) |
| Real-World Example | Driving at constant speed | Ball thrown in the air |
How to Build a Linear Model
Example 1: Taxi Cost
A taxi charges a $3 base fee plus $2 per mile. Write a linear function for the total cost \( C \) after \( d \) miles, and find the cost of a 7-mile ride.
Example 2: Distance Traveled
A hiker starts 4 miles from the trailhead and walks at a steady 3 miles per hour. Write a function for the hiker's distance \( d \) from the trailhead after \( t \) hours.
Example 3: Savings Account
Maya has $50 in savings and deposits $15 each week. After how many weeks will she have at least $200?
Interpreting Slope in Context
The slope \( m \) always tells you the rate at which the output changes. Pay attention to units to interpret it correctly.
Interpreting the Y-Intercept
The y-intercept \( b \) is the output value before any input happens. In context, it is the starting condition.
Example: Draining a Pool
A pool has 1200 gallons of water. A pump removes 50 gallons per minute. Write a function for the water remaining \( W \) after \( t \) minutes.
Common Mistakes to Avoid
Summary: Linear Models at a Glance
| Scenario | Slope \( m \) | Intercept \( b \) | Equation |
|---|---|---|---|
| Taxi ride | $2/mile | $3 base fee | \( C = 2x + 3 \) |
| Hiking | 3 mi/hr | 4 mi start | \( d = 3t + 4 \) |
| Savings | $15/week | $50 initial | \( S = 15w + 50 \) |
| Pool drain | -50 gal/min | 1200 gal | \( W = -50t + 1200 \) |
Question 1 of 5
A gym charges a $25 monthly membership fee plus $5 per class. Which equation models the total monthly cost \( C \) for attending \( n \) classes?
Question 2 of 5
A candle is 30 cm tall and burns at a rate of 2 cm per hour. What is the height \( h \) after \( t \) hours?
Question 3 of 5
The equation \( y = 8x + 20 \) models the cost of a phone plan. What does the 8 represent?
Question 4 of 5
A car rental costs $40/day plus a one-time $15 insurance fee. How much does a 5-day rental cost?
Question 5 of 5
A table shows: when \( x = 2 \), \( y = 11 \) and when \( x = 5 \), \( y = 23 \). What is the slope of the linear function?