Knaph

Linear functions and models47 of 972 min read

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

  1. 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 y=10x+25y = 10x + 25.

A story card about a gym with a joining fee of 25 dollars and 10 dollars a month, an arrow to a table of months 0 to 3 with total costs 25, 35, 45, 55, and the equation y = 10x + 25.

A falling story

A hiker is at 1,200 m and walks down 50 m every minute. Height y after x minutes: y=−50x+1200y = -50x + 1200. 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 x=6x = 6: 10 × 6 + 25 = 85, so it costs 85 dollars. To find when it costs 125, solve 10x+25=12510x + 25 = 125, so x=10x = 10.

Careful

Check the sign of m. If the amount goes down, m is negative.

Try it at home

  1. Write a short story about something that starts at a number and changes steadily.
  2. Name x and y and write the equation.
  3. 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 y=mx+by = mx + b and check it against the story.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.