Linear functions · Lesson 1

Slope and intercept in context

A linear function can be written f(x)=mx+bf(x) = mx + b. The input is xx, the output is f(x)f(x), and two numbers describe the whole function: the slope mm and the yy-intercept bb.

The slope is a rate. Each time the input goes up by 1, the output changes by mm. In a context, that means mm units of output per 1 unit of input: dollars per month, gallons per mile, degrees per minute. If the input goes up by 10, the output changes by 10m10m.

The intercept is a starting value. When the input is 0, f(0)=m⋅0+b=bf(0) = m \cdot 0 + b = b. In a context, bb is the amount at the start: a sign-up fee, a starting height, the water in a tank before draining begins.

Example: a plan costs f(n)=15n+40f(n) = 15n + 40 dollars after nn months. The 15 multiplies nn, so it is the cost per month: 15 dollars each month. The 40 stands alone, so it is the cost at n=0n = 0: a one-time 40 dollar charge when the plan starts. After 6 months the plan has cost 15(6)+40=13015(6) + 40 = 130 dollars.

The sign of the slope gives the direction. If m>0m > 0, the function is increasing: the output rises as the input rises. If m<0m < 0, it is decreasing. In V(t)=1200−150tV(t) = 1200 - 150t, the slope is −150-150, so the value goes down by 150 each time tt goes up by 1. If m=0m = 0, the function is constant.

When the function is written as mx+bmx + b, ask one question about a number. Does it multiply the input? Then it is a rate per unit. Does it stand alone? Then it is the value when the input is 0.

Worked example Easy

The total cost, in dollars, of a phone plan after nn months is given by the function f(n)=15n+40f(n) = 15n + 40.

What is the best interpretation of 40 in this context?

  1. The amount, in dollars, by which the total cost increases each month
  2. The cost, in dollars, of the plan at the start, before any months have passedAnswer
  3. The total cost, in dollars, of the plan after 1 month
  4. The total cost, in dollars, of the plan after nn months

How to solve it

  1. The 15 multiplies nn, so it is a rate: 15 dollars for each month.
  2. The 40 stands alone. Set n=0n = 0: f(0)=15(0)+40=40f(0) = 15(0) + 40 = 40. So 40 dollars is the cost before any months have passed.
  3. In context, that is a one-time charge when the plan begins: the cost of the plan at the start.

Why each choice is right or wrong

  • A. Incorrect. This treats 40 as the rate. The rate is the number that multiplies nn: the total cost goes up 15 dollars each month.
  • B. Correct. When n=0n = 0, f(0)=15(0)+40=40f(0) = 15(0) + 40 = 40. The 40 doesn't depend on nn, so it is a one-time cost at the start.
  • C. Incorrect. This reads the constant as the value at n=1n = 1. After 1 month the total is f(1)=15(1)+40=55f(1) = 15(1) + 40 = 55 dollars. The constant is the value at n=0n = 0.
  • D. Incorrect. The total cost after nn months is the whole expression 15n+4015n + 40, which is f(n)f(n). The 40 is only the part that doesn't depend on nn.

Worked example Medium

The amount of fuel, in gallons, remaining in a truck's tank after the truck has traveled dd miles is modeled by the function f(d)=36−0.05df(d) = 36 - 0.05d.

According to the model, how many gallons of fuel does the truck use for every 100 miles it travels?

  1. 0.050.05
  2. 2020
  3. 55Answer
  4. 3131

How to solve it

  1. The slope is −0.05-0.05: for each mile, the fuel remaining goes down by 0.05 gallon. So the truck uses 0.05 gallon per mile.
  2. For 100 miles, multiply the rate by 100: 0.05×100=50.05 \times 100 = 5 gallons.
  3. Check with the function: f(0)=36f(0) = 36 and f(100)=36−5=31f(100) = 36 - 5 = 31. The fuel remaining drops from 36 to 31 gallons, a difference of 5.

Why each choice is right or wrong

  • A. Incorrect. 0.05 gallon is the fuel used per mile. The question asks about 100 miles, so multiply by 100.
  • B. Incorrect. This divides 1 by 0.05, which gives miles per gallon: the truck travels 20 miles on each gallon. The question asks for gallons, not miles.
  • C. Correct. The truck uses 0.05 gallon per mile, so over 100 miles it uses 0.05×100=50.05 \times 100 = 5 gallons. The fuel remaining goes from f(0)=36f(0) = 36 to f(100)=31f(100) = 31.
  • D. Incorrect. f(100)=36−0.05(100)=31f(100) = 36 - 0.05(100) = 31 is the fuel remaining after 100 miles, not the fuel used. The fuel used is 36−31=536 - 31 = 5 gallons.

Trap Swapping the rate and the starting value

Interpretation questions often include a choice that gives the constant the rate's job, such as "the cost increases by 40 dollars each month" for f(n)=15n+40f(n) = 15n + 40, or the rate the constant's job. In mx+bmx + b form, ask of the number: does it multiply the input? Then it is a rate per unit. Does it stand alone? Then it is the value when the input is 0.

Trap Total, change or flipped rate

When a question asks how much the output changes over several units, three wrong answers are common: the rate for 1 unit, not scaled up; the function's value at that input, which is a total and not a change; and the reciprocal of the rate, which has its units upside down (miles per gallon instead of gallons per mile). Check the units the question asks for.

Desmos When Desmos isn’t faster

Interpretation questions ask what a number means, and Desmos can't read the story. Graphing f(n)=15n+40f(n) = 15n + 40 shows a line that crosses the yy-axis at (0,40)(0, 40), but deciding that 40 is a one-time starting cost comes from asking whether the number multiplies nn or stands alone. That takes a few seconds in your head.

When a question asks for a change over many units, such as gallons used per 100 miles, the arithmetic is one multiplication, 0.05×100=50.05 \times 100 = 5. Typing it into Desmos is no faster, and the real work is deciding that you need the slope times 100, not f(100)f(100).