Linear Functions in Real Life: Graph It, Predict It, Use It
Materials Needed
- Graph paper or a digital graphing tool such as Desmos
- Pencil, ruler, and colored pens or highlighters
- Calculator or spreadsheet application
- Sticky notes or index cards
- Optional: a timer, coffee-shop menu, rideshare pricing example, or utility bill
Lesson Overview
Recommended time: 60–90 minutes
Theme: Use linear functions to model everyday situations, make predictions, and communicate relationships visually.
Learning Objectives
By the end of the lesson, the learner will be able to:
- Identify the slope and y-intercept of a linear function.
- Explain what slope and y-intercept mean in a real-world context.
- Write a linear equation in the form y = mx + b from a graph, table, or situation.
- Graph a linear function accurately using a table of values and the slope-intercept form.
- Use a linear model to make and evaluate predictions.
Success Criteria
A successful learner can:
- Correctly identify m as slope and b as y-intercept.
- Calculate slope using rise/run or (y2 − y1)/(x2 − x1).
- Write an equation that matches a given situation or graph.
- Label axes, units, and important points on a graph.
- Explain what the equation means rather than only producing an answer.
Introduction: The Hook and Purpose
Hook: “Which Deal Is Better?”
Imagine two delivery services:
- Service A: $6 booking fee plus $2 per mile
- Service B: $1 booking fee plus $3 per mile
Ask:
- Which service is cheaper for a 2-mile trip?
- Which is cheaper for a 10-mile trip?
- At what distance would the prices be equal?
Invite the learner to make an estimate before calculating. Explain that linear functions help describe situations where a quantity changes at a constant rate. Today’s lesson will show how to represent these relationships with words, tables, equations, and graphs.
Quick Prior-Knowledge Check
Ask the learner to answer verbally or in writing:
- What does it mean for something to change at a constant rate?
- What information can a graph communicate quickly?
- What might a starting fee represent in a real-world situation?
Body: Instruction and Practice
Part 1 — I Do: Understanding the Structure of a Linear Function
Introduce the slope-intercept form:
y = mx + b
- y: the output or dependent variable
- x: the input or independent variable
- m: the slope, or rate of change
- b: the y-intercept, or starting value
Use the delivery example:
C = 2d + 6
- C is the delivery cost.
- d is the number of miles.
- 2 is the slope: the cost increases by $2 for every mile.
- 6 is the y-intercept: the initial booking fee is $6.
Emphasize that the slope is not simply “the number in front of x.” It has meaning and units:
$2 per mile
Modeling a Table
| Distance, d | Cost, C = 2d + 6 |
|---|---|
| 0 miles | $6 |
| 1 mile | $8 |
| 2 miles | $10 |
| 5 miles | $16 |
Explain that the points (0, 6), (1, 8), (2, 10), and (5, 16) should lie on the same straight line.
Modeling a Graph
- Plot the y-intercept, (0, 6).
- Use the slope, 2 = 2/1: move up 2 units and right 1 unit.
- Plot additional points.
- Draw a straight line through the points.
- Label the horizontal axis “Distance in miles” and the vertical axis “Cost in dollars.”
Formative check: Ask, “What does the point (0, 6) mean in this context?” The expected response is that the cost is $6 when the delivery distance is zero.
Part 2 — We Do: Find the Equation from a Situation
Work through the following scenario together:
A coworking space charges a $25 registration fee and $12 per day.
- Identify the starting value.
- Identify the rate of change.
- Choose variables.
- Write the equation.
- Use the equation to find the cost for 7 days.
Guide the learner toward:
C = 12d + 25
For 7 days:
C = 12(7) + 25 = 109
The total cost is $109.
Think-Pair-Share or Think-Aloud Variation
If working with others, have learners first solve independently, then compare reasoning with a partner. If working independently, ask the learner to explain each step aloud as though teaching it to someone else.
We Do: Calculate Slope from Two Points
Use the points (2, 9) and (6, 21).
Apply the slope formula:
m = (21 − 9)/(6 − 2) = 12/4 = 3
The slope is 3. The output increases by 3 units for every 1-unit increase in x.
Ask:
- Is the line increasing or decreasing?
- What would a negative slope mean in a real-world situation?
- What units might the slope have?
Part 3 — You Do: Practice with Real-World Models
Activity A: Choose Your Scenario
Choose one scenario, or create a similar one from personal experience.
- Fitness coaching: A trainer charges $40 to register and $30 per session.
- Freelance work: A designer charges a $75 project fee plus $45 per hour.
- Streaming data: A mobile plan costs $35 per month plus $8 for each additional data package.
- Travel: A rental car costs $50 per day plus $0.25 per mile.
For the chosen scenario:
- Define the variables.
- Write a linear equation.
- Identify the slope and explain its meaning.
- Identify the y-intercept and explain its meaning.
- Create a table with at least five values.
- Graph the relationship.
- Use the equation to answer one prediction question.
Example prediction question: How much would the service cost after 6 sessions, 4 hours, 3 days, or 2 additional data packages?
Activity B: Graph Detective
Use a graphing tool or sketch three lines:
- y = 2x + 3
- y = −x + 5
- y = 0.5x − 2
For each line, record:
- Whether the line increases, decreases, or remains constant
- The slope
- The y-intercept
- One real-world interpretation
Discuss how changing the slope affects steepness and how changing the y-intercept shifts the line vertically.
Activity C: Compare Two Plans
Return to the delivery services:
Service A: A = 2d + 6
Service B: B = 3d + 1
- Calculate the cost of each service for 2, 5, and 10 miles.
- Make a table comparing the services.
- Graph both equations on the same coordinate plane.
- Find the distance at which the prices are equal by solving:
2d + 6 = 3d + 1 - Explain which service is better for short trips and which is better for long trips.
Expected solution:
2d + 6 = 3d + 1
5 = d
The services cost the same at 5 miles. Service B is cheaper for trips under 5 miles, while Service A is cheaper for trips over 5 miles.
Application Challenge: Build Your Own Linear Model
Create a realistic pricing model for something you might use, offer, or manage. Examples include tutoring, pet sitting, transportation, consulting, meal delivery, or a subscription service.
Your model must include:
- A fixed starting fee
- A constant rate of change
- An equation in the form y = mx + b
- A table with at least four data points
- A labeled graph
- A written explanation of the slope and y-intercept
- One prediction and one limitation of the model
Example limitation: A model may work well for the first 10 hours but become unrealistic if a bulk discount or maximum charge applies.
Formative Assessment Throughout the Lesson
- Ask the learner to identify the slope and y-intercept in several equations.
- Have the learner explain the meaning of a point such as (0, 25).
- Check whether the learner labels graph axes with appropriate units.
- Ask the learner to predict whether a line should increase or decrease before graphing it.
- Use an “error analysis” prompt: “A learner says the equation for a $10 starting fee and $4 per hour is y = 10x + 4. What did they misunderstand?”
Summative Assessment
Evaluate the completed personal linear model using the following criteria:
| Criteria | Successful Performance |
|---|---|
| Equation | The equation correctly represents the situation. |
| Slope | The slope is identified and explained with appropriate units. |
| Y-intercept | The starting value is identified and explained in context. |
| Table | The table contains accurate values that follow a constant pattern. |
| Graph | The graph includes correctly plotted points, labeled axes, units, and a straight line. |
| Prediction | The learner uses the equation accurately to make and explain a prediction. |
| Communication | The learner explains the model clearly in complete sentences. |
Differentiation and Adaptations
Support for Learners Who Need More Structure
- Provide a template with blanks: y = ___x + ___.
- Use whole-number slopes before introducing fractions or decimals.
- Provide a labeled table with the first one or two rows completed.
- Use color coding: one color for the starting value and another for the rate of change.
- Allow the learner to explain answers verbally instead of writing every explanation.
Extension for Advanced Learners
- Model a situation with a negative slope, such as depreciation or battery loss.
- Compare two linear functions and determine their intersection algebraically and graphically.
- Investigate a piecewise situation where the rate changes after a threshold.
- Use regression with real data from a spreadsheet and discuss how closely the data follows a linear pattern.
- Explore domain restrictions and explain why some real-world models cannot extend indefinitely.
Flexible Delivery Options
- Homeschool: Use personal expenses, travel plans, or freelance work as the modeling context.
- Classroom: Have small groups compare scenarios and present their graphs.
- Training or workplace: Model rates, project costs, production, customer volume, or time savings.
- Digital format: Complete graphs and tables using a graphing calculator, spreadsheet, or online graphing tool.
- Low-tech format: Use graph paper, sticky notes, and a ruler to construct the model by hand.
Conclusion: Closure and Recap
Three-Minute Recap
Ask the learner to complete these statements:
- “The slope tells me…”
- “The y-intercept tells me…”
- “A positive slope means…”
- “A negative slope means…”
- “I can use a linear function to…”
Exit Ticket
A gym charges a $30 enrollment fee and $18 per month.
- Write an equation for the total cost after m months.
- Identify the slope and y-intercept.
- Find the cost after 8 months.
- Explain what the point (0, 30) means.
Answer key:
- C = 18m + 30
- Slope: 18, meaning the cost increases by $18 per month.
- Y-intercept: 30, meaning the enrollment fee is $30.
- After 8 months: C = 18(8) + 30 = 174, so the cost is $174.
- The point (0, 30) represents the initial enrollment cost before any monthly payments.
Reflection
Have the learner write one sentence answering:
“Where could I use a linear function to make a better decision in everyday life?”