Writing a Function from a Story
A word problem hides an equation. Find the start, find the steady change, and the function writes itself.
Three questions
- What are x and y? 2. What is the amount at the start? (This is b.) 3. How much does y change for each 1 of x? (This is m, negative if y goes down.)
A gym charges $25 to join and $10 a month. Let x be months and y the total cost in dollars. The start is $25 and the change is $10 per month, so .
A falling story
A hiker is at 1,200 m and walks down 50 m every minute. Height y after x minutes: . The slope is negative because she goes down.
Check the equation with the story. After 10 minutes, y = −50 × 10 + 1,200 = 700 m. The hiker is 700 m up, which makes sense.
Use the function
Once you have the equation, answer questions. How much after 6 months at the gym? Put in : 10 × 6 + 25 = 85, so it costs 85 dollars. To find when it costs 125, solve , so .
Careful
Check the sign of m. If the amount goes down, m is negative.
Try it at home
- Write a short story about something that starts at a number and changes steadily.
- Name x and y and write the equation.
- Answer one question with it.
Words in this lesson
- linear function - a function whose graph is a straight line: y = mx + b.
- model - an equation that describes a real situation.
Big idea
Find the start (b) and the steady change (m), then write and check it against the story.