Login
📚 Modeling, Functions, and Graphs
Chapters ▾

1.5 Linear Functions

Slope-Intercept Form

As we saw in Linear Models, many linear models y = f ( x ) have equations of the form

f ( x ) = ( starting value ) + ( rate of change ) x

The starting value, or the value of y at x = 0 , is the y -intercept of the graph, and the rate of change is the slope of the graph. Thus, we can write the equation of a line as

f ( x ) = b + m x

where the constant term, b , is the y -intercept of the line, and m , the coefficient of x , is the slope of the line. This form for the equation of a line is called the slope-intercept form.

(You may have encountered the slope-intercept equation in the equivalent form y = m x + b .)

For example, consider the two linear functions and their graphs shown below.

f ( x ) = 10 3 x

00 x 00 0 f ( x ) 0
0 10
1 7
2 4
3 1
4 2
decreasing line

g ( x ) = 3 + 2 x

00 x 00 0 f ( x ) 0
0 3
1 1
2 1
3 3
4 5
increasing line

Some observations:

  • We can see that the y -intercept of each line is given by the constant term, b .
  • By examining the table of values, we can also see why the coefficient of x gives the slope of the line:
  • For f ( x ) , each time x increases by 1 unit, y decreases by 3 units.
  • For g ( x ) , each time x increases by 1 unit, y increases by 2 units.

For each graph, the coefficient of x is a scale factor that tells us how many units y changes for 1 unit increase in x . But that is exactly what the slope tells us about a line.

Delbert decides to use DSL for his Internet service. Earthlink charges a $99 activation fee and $39.95 per month, DigitalRain charges $50 for activation and $34.95 per month, and FreeAmerica charges $149 for activation and $34.95 per month.

three lines
  1. Write a formula for Delbert's Internet costs under each plan.
    Earthlink: f ( x ) = _____
    DigitalRain: g ( x ) = _____
    FreeAmerica: h ( x ) = _____
  2. Match Delbert's Internet cost under each company with its graph shown above.
    Line I: _____
    Line II: _____
    Line III: _____
  1. Earthlink: f ( x ) = 99 + 39.95 x ; DigitalRain: g ( x ) = 50 + 34.95 x ; FreeAmerica: h ( x ) = 149 + 34.95 x
  2. DigitalRain: I; Earthlink: II; FreeAmerica: III

Delbert decides to use DSL for his Internet service. Earthlink charges a $99 activation fee and $39.95 per month, DigitalRain charges $50 for activation and $34.95 per month, and FreeAmerica charges $149 for activation and $34.95 per month.

three lines
  1. Write a formula for Delbert's Internet costs under each plan.
  2. Match Delbert's Internet cost under each company with its graph shown above.
  1. Earthlink:     f ( x ) = 99 + 39.95 x DigitalRain:     g ( x ) = 50 + 34.95 x FreeAmerica:     h ( x ) = 149 + 34.95 x

  2. DigitalRain: I; Earthlink: II; FreeAmerica: III

What do the coefficients in the slope-intercept form tell you about a line?

_____

m is the slope; b is the y -intercept

What do the coefficients in the slope-intercept form tell you about a line?

  1. m is the slope; b is the x -intercept.
  2. m is the slope; b is the y -intercept.
  3. ( m , b ) is a point on the line.
  4. m is the x -intercept; b is the y -intercept.
lines comparing slopes and intercepts

Explain why the initial value for a linear model is often given by the y -intercept.

_____

Explain why the initial value for a linear model is often given by the y -intercept.

Slope-Intercept Method of Graphing

Look again at the lines in the previous figure: There is only one line that has a given slope and passes through a particular point. That is, the values of m and b determine the particular line. The value of b gives us a starting point, and the value of m tells us which direction to go to plot a second point. Thus, we can graph a line given in slope-intercept form without having to make a table of values.

  1. Write the equation 2 y + 3 x + 4 = 0 in slope-intercept form.
    y = _____
  2. Use the slope-intercept method to graph the line.
  1. Solve the given equation for y to get: y = 2 3 2 x
  2. A graph is shown below.

A graph for part (b):

line
  1. Write the equation   2 y + 3 x + 4 = 0   in slope-intercept form.
  2. Use the slope-intercept method to graph the line.
  1. Solve the given equation for y to get:     y = 2 3 2 x
  2. line

What is the easiest way to find the slope of the line   18 x 42 y = 60 ?

_____

What is the easiest way to find the slope of the line   18 x 42 y = 60 ?

  1. Solve for y to get the slope-intercept form.
  2. Find the intercepts and use them to compute the slope.
  3. Graph the line and compute Δ y Δ x .
  4. Find values of x and y that make the equation true.

Finding a Linear Equation from a Graph

We can also use the slope-intercept form to find the equation of a line from its graph. First, we note the value of the y -intercept from the graph, and then we calculate the slope using two convenient points.

Find an equation for the line shown at right.

graph of line

b = _____

m = _____

y = _____

We can read the y -intercept from the graph, so b = 80 . Another point is ( 20 , 30 ) , and from those two points we can compute the slope m = 5 2 . So the slope-intercept form for the equation of the line is y = 80 5 2 x

Find an equation for the line shown.

graph of line

We can read the y -intercept from the graph, so b = 80 . Another point is ( 20 , 30 ) , and from those two points we can compute the slope, m = 5 2 . So the slope-intercept form for the equation of the line is

y = 80 5 2 x

How can you find the equation of a line from its graph?

_____

How can you find the equation of a line from its graph?

Point-Slope Form

We can find the equation for a line if we know its slope and y -intercept. What if we do not know the y -intercept, but instead know some other point on the line? There is only one line that passes through a given point and has a given slope, so we should be able to find its equation.

For example, we can graph the line of slope 3 4 that passes through the point ( 1 , 4 ) . We first plot the given point, ( 1 , 4 ) , as shown in the figure below.

Then we use the slope to find another point on the line. The slope is

m = 3 4 = Δ y Δ x

so we move down 3 units and then 4 units to the right, starting from ( 1 , 4 ) . This brings us to the point ( 5 , 7 ) . We can then draw the line through these two points.

graph line with point slope

We can also find an equation for the line, as shown in Example.

What will be wrong with your answer if you accidentally compute the slope as m = y 2 y 1 x 1 x 2 ?

_____

It will have the wrong sign.

What will be wrong with your answer if you accidentally compute the slope as m = y 2 y 1 x 1 x 2 ?

  1. The number will be too big.
  2. The line will be decreasing.
  3. That is the slope of the perpendicular line.
  4. It will have the wrong sign.

When we use the slope formula in this way to find the equation of a line, we substitute a variable point ( x , y ) for the second point. This version of the formula,

m = y y 1 x x 1

is called the point-slope form for a linear equation. It is sometimes stated in another form obtained by clearing the fraction to get

( x x 1 ) m = y y 1 x x 1 ( x x 1 ) Multiply both sides by  ( x x 1 ) ( x x 1 ) m = y y 1 Clear fractions and solve for  y . y = y 1 + m ( x x 1 )

Use the point-slope form to find the equation of the line that passes through the point ( 3 , 5 ) and has slope 1.4 .

y = y 1 + m ( x x 1 ) Substitute  1.4  for  m  and  ( 3 , 5 )  for  ( x 1 , y 1 ) . Simplify: Apply the distributive law.

y = _____

y = func

Use the point-slope form to find the equation of the line that passes through the point ( 3 , 5 ) and has slope 1.4 .

y = y 1 + m ( x x 1 ) Substitute  1.4  for  m  and  ( 3 , 5 )  for  ( x 1 , y 1 ) . y = 5 1.4 ( x + 3 ) Simplify: Apply the distributive law. y = 0.8 1.4 x

The point-slope form is useful for modeling linear functions when we don't know the initial value but do know some other point on the line.

A healthy weight for a young woman of average height, 64 inches, is 120 pounds. To calculate a healthy weight for a woman taller than 64 inches, add 5 pounds for each inch of height over 64.

  1. Write a linear equation in point-slope form for the healthy weight, W , for a woman of height, H , in inches.
    W = _____
  2. Write the equation in slope-intercept form.
    W = _____
  1. W = 120 + 5 ( H 64 )
  2. W = func2

A healthy weight for a young woman of average height, 64 inches, is 120 pounds. To calculate a healthy weight for a woman taller than 64 inches, add 5 pounds for each inch of height over 64.

  1. Write a linear equation in point-slope form for the healthy weight, W , for a woman of height, H , in inches.
  2. Write the equation in slope-intercept form.
  1. W = 120 + 5 ( H 64 )
  2. W = 200 + 5 H

What do you get when you substitute the point ( 0 , b ) into the point-slope formula?

_____

y = m x + b

What do you get when you substitute the point ( 0 , b ) into the point-slope formula?

  1. x = 0
  2. y = m x + b
  3. y = b
  4. a x + b y = 0

Explain the difference between the slope-intercept form and the point-slope form for a linear equation.

_____

Explain the difference between the slope-intercept form and the point-slope form for a linear equation.

Section Summary

Vocabulary

Look up the definitions of new terms in the Glossary.

  • Slope-intercept form
  • Point-slope form
  • Parameter

CONCEPTS

  1. Linear functions form a two-parameter family, f ( x ) = b + m x .
  2. The initial value of a linear function and the y -intercept of its graph are given by b . The rate of change of the function and the slope of its graph are given by m .
  3. The slope-intercept form, y = b + m x , is useful when we know the initial value and the rate of change.
  4. The point-slope form, y = y 1 + m ( x x 1 ) , is useful when we know the rate of change and one point on the line.

STUDY QUESTIONS

  1. How can you put a linear equation into slope-intercept form?
  2. What do the coefficients in the slope-intercept form tell you about the line?
  3. Explain how to graph a line using the slope-intercept method.
  4. Explain how to find an equation for a line from its graph.
  5. Explain how to use the point-slope form for a linear equation.
  6. Francine says that the slope of the line y = 4 x 6 is 4 x . Is she correct? Explain your answer
  7. Delbert says that the slope of the line 3 x 4 y = 8 is 3 . Is he correct? Explain your answer.

SKILLS

Practice each skill in the Homework problems listed.

  1. Write a linear equation in slope-intercept form: #1–14
  2. Identify the slope and y -intercept: #1–10
  3. Graph a line by the slope-intercept method: #11–14
  4. Find a linear equation from its graph: #21–26, 29–32, 53–56
  5. Interpret the slope and y -intercept: #21–28, 63 and 64
  6. Find a linear equation from one point and the slope: #33–50

Homework 1.5

In Problems 1–10,

  1. Write each equation in slope-intercept form.
  2. State the slope and y -intercept of the line.

3 x + 2 y = 1

  1. y = 1 2 3 2 x
  2. Slope 3 2 , y -intercept 1 2

5 x 4 y = 0

1 4 x + 3 2 y = 1 6

  1. y = 1 9 1 6 x
  2. Slope 1 6 , y -intercept 1 9

7 6 x 2 9 y = 3

4.2 x 0.3 y = 6.6

  1. y = 22 + 14 x
  2. Slope 14 , y -intercept 22

0.8 x + 0.004 y = 0.24

y + 29 = 0

  1. y = 29
  2. Slope 0 , y -intercept 29

y 37 = 0

250 x + 150 y = 2450

  1. y = 49 3 5 3 x
  2. Slope 5 3 , y -intercept 49 3

80 x 360 y = 6120

In Problems 11–14,

  1. Sketch by hand the graph of the line with the given slope and y -intercept.
  2. Write an equation for the line.
  3. Find the x -intercept of the line.

m = 3 and b = 2

  1. m=3 and b=-2
  2. y = 2 + 3 x
  3. 2 3

m = 4 and b = 1

m = 5 3 and b = 6

  1. m = -5/3 and b = -6
  2. y = 6 + 5 3 x
  3. 18 5

m = 3 4 and b = 2

The point ( 2 , 1 ) lies on the graph of f ( x ) = 3 x + b . Find b .

5

The point ( 3 , 8 ) lies on the graph of f ( x ) = 2 3 x + b . Find b .

The point ( 8 , 5 ) lies on the graph of f ( x ) = m x 3 . Find m .

1 4

The point ( 5 , 6 ) lies on the graph of f ( x ) = m x + 2 . Find m .

Find the slope and intercepts of the line A x + B y = C

m = A B , x -intercept ( C A , 0 ) , y -intercept ( 0 , C B )

Find the slope and intercepts of the line x a + y b = 1

In Problems 21–26,

  1. Find a formula for the function whose graph is shown.
  2. Say what the slope and the vertical intercept tell us about the problem.

The graph shows the altitude, a (in feet), of a skier t minutes after getting on a ski lift.

altitude of skier on lift
  1. a = 100 + 150 t
  2. The slope tells us that the skier's altitude is increasing at a rate of 150 feet per minute, the vertical intercept that the skier began at an altitude of 200 feet.

The graph shows the distance, d (in meters), traveled by a train t seconds after it passes an observer.

distance vs time

The graph shows the amount of garbage, G (in tons), that has been deposited at a dump site t years after new regulations go into effect.

garbage vs time
  1. G = 25 + 12.5 t
  2. The slope tells us that the garbage is increasing at a rate of 12.5 tons per year, the vertical intercept that the dump already had 25 tons (when the new regulations went into effect).

The graph shows the number of barrels of oil, B , that has been pumped at a drill site t days after a new drill is installed.

oil vs time

The graph shows the amount of money, M (in dollars), in Tammy’s bank account w weeks after she loses all sources of income.

dollars vs time
  1. M = 7000 400 w
  2. The slope tells us that Tammy's bank account is diminishing at a rate of $ 400 per week, the vertical intercept that she had $ 7000 (when she lost all sources of income).

The graph shows the amount of emergency water, W (in liters), remaining in a southern California household t days after an earthquake.

liters vs time

The formula F = 9 5 C + 32 defines a function that converts the temperature in degrees Celsius to degrees Fahrenheit.

  1. What is the Fahrenheit temperature when it is 10 Celsius?
  2. What is the Celsius temperature when it is 4 Fahrenheit?
  3. Choose appropriate WINDOW settings and graph the equation y = 9 5 x + 32 .
  4. Find the slope and explain its meaning for this problem.
  5. Find the intercepts and explain their meanings for this problem.
  1. 50 F
  2. 20 C
  3. GC graph
  4. The slope, 9 5 = 1.8 , tells us that Fahrenheit temperatures increase by 1.8 for each increase of 1 Celsius.
  5. C -intercept ( 17 7 9 , 0 ) : 17 7 9 C is the same as 0 F; F -intercept ( 0 , 32 ) : 0 C is the same as 32 F.

If the temperature on the ground is 70 Fahrenheit, the formula T = 70 3 820 h defines a function that gives the temperature at an altitude of h feet.

  1. What is the temperature at an altitude of 4100 feet?
  2. At what altitude is the temperature 34 Fahrenheit?
  3. Choose appropriate WINDOW settings and graph the equation y = 70 3 820 x .
  4. Find the slope and explain its meaning for this problem.
  5. Find the intercepts and explain their meanings for this problem.

In England, oven cooking temperatures are often given as Gas Marks rather than degrees Fahrenheit. The table shows the equivalent oven temperatures for various Gas Marks.

Gas Mark 3 5 7 9
Degrees (F) 325 375 425 475
  1. Plot the data and draw a line through the data points.
  2. Calculate the slope of your line. Estimate the y -intercept from the graph.
  3. Find an equation that gives the temperature in degrees Fahrenheit in terms of the Gas Mark.
  1. Fahrenheit vs gas mark
  2. m = 25 ,   b = 250
  3. y = 250 + 25 x

European shoe sizes are scaled differently than American shoe sizes. The table shows the European equivalents for various American shoe sizes.

American shoe size 5.5 6.5 7.5 8.5
European shoe size 37 38 39 40
  1. Plot the data and draw a line through the data points.
  2. Calculate the slope of your line. Estimate the y -intercept from the graph.
  3. Find an equation that gives the European shoe size in terms of American shoe size.

A spring is suspended from the ceiling. The table shows the length of the spring in centimeters as it is stretched by hanging various weights from it.

Weight, kg 3 4 8 10 12 15 22
Length, cm 25.76 25.88 26.36 26.6 26.84 27.2 28.04
  1. Plot the data on graph paper and draw a straight line through the points. Estimate the y -intercept of your graph.
  2. Find an equation for the line.
  3. If the spring is stretched to 27.56 cm, how heavy is the attached weight?
  1. spring length vs weight
  2. y = 0.12 x + 25.4
  3. 18 kg

The table shows the amount of ammonium chloride salt, in grams, that can be dissolved in 100 grams of water at different temperatures.

Temperature, C 10 12 15 21 25 40 52
Grams of salt 33 34 35.5 38.5 40.5 48 54
  1. Plot the data on graph paper and draw a straight line through the points. Estimate the y -intercept of your graph.
  2. Find an equation for the line.
  3. At what temperature will 46 grams of salt dissolve?

In Problems 33–36,

  1. Sketch by hand the graph of the line that passes through the given point and has the given slope.
  2. Write an equation for the line in point-slope form.
  3. Put your equation from part (b) into slope-intercept form.

( 2 , 5 ) ; m = 3

  1. line with given point and slope
  2. y + 5 = 3 ( x 2 )
  3. y = 1 3 x

( 6 , 1 ) ; m = 4

( 2 , 1 ) ; m = 5 3

  1. line with given point and slope
  2. y + 1 = 5 3 ( x 2 )
  3. y = 13 3 + 5 3 x

( 1 , 2 ) ; m = 3 2

For Problems 37–40,

  1. Write an equation in point-slope form for the line that passes through the given point and has the given slope.
  2. Put your equation from part (a) into slope-intercept form.
  3. Use your graphing calculator to graph the line.

( 6.4 , 3.5 ) , m = 0.25

  1. y + 3.5 = 0.25 ( x + 6.4 )
  2. y = 5.1 0.25 x
  3. line with given point and slope

( 7.2 , 5.6 ) , m = 1.6

( 80 , 250 ) , m = 2.4

  1. y + 250 = 2.4 ( x 80 )
  2. y = 442 + 2.4 x
  3. line with given point and slope

( 150 , 1800 ) , m = 24

For Problems 41 and 42,

  1. Find the slope of the line. (Note that not all the labeled points lie on the line.)
  2. Find an equation for the line.
line with labeled points
  1. m = 2 3
  2. y = 1 3 + 2 3 x
line with labeled points

For Problems 43 and 44, the equation of line l 1 is y = q + p x , and the equation of line l 2 is y = v + t x .

  1. Decide whether the coordinates of each labeled point are
    1. a solution of y = q + p x ,
    2. a solution of y = v + t x ,
    3. a solution of both equations, or
    4. a solution of neither equation.
  2. Find p , q , t , and v .
two lines with labeled points
  1. ( 4 , 4 ) : neither; ( 0 , 3 ) : y = p x + q ; ( 3 , 2 ) : both; ( 2 , 1 ) : neither; ( 1 , 2 ) : y = t x + v
  2. p = 1 3 , q = 3 , t = 2 , v = 4
two lines with labeled points

For Problems 45–50,

  1. Estimate the slope and vertical intercept of each line. (Hint: To calculate the slope, find two points on the graph that lie on the intersection of grid lines.)
  2. Using your estimates from (a), write an equation for the line.
line on grid
  1. m = 4 ,   b = 40
  2. y = 40 + 4 x
line on grid
line on grid
  1. m = 80 ,   b = 2000
  2. P = 2000 80 t
line on grid
line on grid
  1. m = 1 4 ,   b = 0
  2. V = 1 4 d
line on grid
  1. Write equations for three lines with slope m = 3 4 . (Many answers are possible.)
  2. Graph all three lines in the same window. What do you notice about the lines?
  1. y = 3 4 x , y = 1 + 3 4 x , y = 2.7 + 3 4 x
  2. 3 lines of slope 3/4

    The lines are parallel.
  1. Write equations for three lines with slope m = 0 . (Many answers are possible.)
  2. Graph all three lines in the same window. What do you notice about the lines?

In Problems 53–56, choose the correct graph for each equation. The scales on both axes are the same.

  1. y = 3 4 x + 2
  2. y = 3 4 x + 2
  3. y = 3 4 x 2
  4. y = 3 4 x 2
four lines
  1. II
  2. III
  3. I
  4. IV
  1. m < 0 , b > 0
  2. m > 1 , b < 0
  3. 0 < m < 1 , b < 0
  4. m < 1 , b < 0
four lines
  1. y = 1 + 2 ( x + 3 )
  2. y = 1 + 2 ( x 3 )
  3. y = 1 + 2 ( x + 3 )
  4. y = 1 + 2 ( x 3 )
four lines
  1. III
  2. IV
  3. II
  4. I
  1. y = 2 2 3 ( x 3 )
  2. y = 2 3 2 ( x + 3 )
  3. y = 2 + 3 2 ( x 3 )
  4. y = 2 + 2 3 ( x + 3 )
four lines

In Problems 57–60, find the slope of each line and the coordinates of one point on the line. (No calculation is necessary!)

y + 1 = 2 ( x 6 )

m = 2 ; ( 6 , 1 )

2 ( y 8 ) = 5 ( x + 2 )

y = 3 4 3 ( x + 5 )

m = 4 3 ; ( 5 , 3 )

7 x = 3 y

  1. Draw a set of coordinate axes with a square grid (i.e., with units the same size in both directions). Sketch four lines through the point ( 0 , 4 ) with the following slopes:

    m = 3 ,       m = 3 ,       m = 1 3 ,       m = 1 3

  2. What do you notice about these lines?

Look for perpendicular lines.

  1. four lines through the same point
  2. The lines with slope 3 and 1 3 are perpendicular to each other, and the lines with slope 3 and 1 3 are perpendicular to each other.
  1. Draw a set of coordinate axes with a square grid (see Problem 61). Sketch four lines through the point ( 0 , 3 ) with the following slopes:

    m = 2 5 ,       m = 2 5 ,       m = 5 2 ,       m = 5 2

  2. What do you notice about these lines?

The boiling point of water changes with altitude and is approximated by the formula

B = f ( h ) = 212 0.0018 h

where B is in degrees and h is in feet. State the slope and vertical intercept of the graph, including units, and explain their meaning in this context.

m = 0.0018 degree/foot, so the boiling point drops with altitude at a rate of 0.0018 degree per foot. b = 212 , so the boiling point is 212 at sea level (where the elevation h = 0 ).

The height of a woman in centimeters is related to the length of her femur (in centimeters) by the formula

H = f ( x ) = 2.47 x + 54.10

State the slope and the vertical intercept of the graph, including units, and explain their meaning in this context.

Modeling, Functions, and Graphs by Katherine Yoshiwara (yoshiwarabooks.org), GNU Free Documentation License 1.2 or later. Adapted for the XYZ HTML edition with the authors' permission (recorded 2026-07-04). License: GFDL-1.2-or-later.