Word problems sometimes ask us to write a linear function to model a situation.
The word problem may be phrased in such a way that we can easily find a linear function using the slope-intercept form of the equation for a line.
Hannah's electricity company charges her per kWh (kilowatt-hour) of electricity, plus a basic connection charge of per month. Write a linear function that models her monthly electricity bill as a function of electricity usage.
Here, when Hannah uses zero electricity (that is, when ), the bill is . So, the -intercept is .
The rate of change is . That is, for each increase of by unit (in this case, kilowatt-hours), there is an increase in by .Substitute in the slope-intercept form .
In other problems, it may be easier to use the point-slope form of the equation.
Roger has a house in Telluride, Colorado, but starts a new job in Denver. Every Monday, he drives his car miles from Telluride to Denver, spends the week in a company apartment, and then drives back to Telluride on Friday. He doesn't use his car for anything else.
After weeks of this, his odometer shows that he has travelled miles since he bought the car.
Write a linear model which gives the odometer reading of the car as a function of the number of weeks since Roger started the new job.
First, find the rate of change. Be sure to multiply the distance by : he has to go and come back!
miles per week
This represents the slope of the line. But, since we are not given the odometer reading of the car before he starts the job, we don't know the -intercept yet.
But that's okay. We have the coordinates of a point: . So we can use the point-slope form .
Note that you can use this equation to find the -intercept if you want to.