Preparing for Algebra and StatisticsThird Edition · XYZ Homework Edition

7B Slope of a Line and Average Rates of Change

7B Slope of a Line and Average Rates of Change

For this exercise, assume IBM stock had a price of $186.91 at the end of September 2014 and $160.44 at the end of December. Over that three month period, what was the average rate of change of the stock price per month? Questions like this are key to understanding stock prices and business models. How much something is changing on average is often called the “Slope”. In this chapter we will seek to understand the concept of slope and its applications.

What is slope? Slope is defined as vertical change divided by horizontal change. In terms of ordered pairs it is change in y divided by change in x. In math we sometimes write the change in y as “Δy” and the change in x as “Δx”. The symbol Δ is the Greek letter delta. Remember slope is best understood as a fraction that describes change between variables.

Look at the following graph. Let’s see if we can find the slope of the line.

Coordinate graph of a descending line through labelled points (-5, 3) and (4, -1). Arrows at both ends indicate that the line continues.

To find the slope of a line, always start by trying to find two points on the line. This line goes through the points (-5,3) and (4,-1). Any two points on the line you use will still give you the same slope. If we start at (-5,3) and go down and to the right to (4,-1), can you find how much it goes down (vertical change) and how much it goes to the right (horizontal change). Notice to get from one point to the other, we had to go down 4 (-4 vertical change) and right 9 (+9 horizontal change). Remember going up or to the right are positive directions, while going down or to the left are negative directions. The slope is the fraction of the vertical change divided by the horizontal change. Notice that a negative number divided by a positive number gives you a negative answer.

Vertical Change Horizontal Change = − 4 + 9 = − 4 9

Does the order we pick the points matter? What if we start at (4,-1) and go up and to the left to (-5,3)? Will we get a different slope? Let’s see. To go from (4,-1) to (-5,3) we would need to go up 4 (+4 vertical change) and left 9 (-9 horizontal change). So we would get the following.

Vertical Change Horizontal Change = + 4 − 9 = − 4 9

Notice the slope is the same. So to review, when we find slope it does not matter the points we pick as long as they are on the line and it does not matter the order we pick them. All will give us the same slope.

Let’s look at a second example. Suppose a line goes through the point (-2, -4) and has a slope of 3. Could you draw the line? The first thing to remember when dealing with slope is that it should be a fraction. Can you write 3 as a fraction? Of course. 3=31, but what does that mean? Remember slope is the vertical change divided by the horizontal change so we see the following interpretation.

Vertical Change Horizontal Change = + 3 + 1 = up  3 right  1

When using the slope to graph a line, you always need a point to start at. In this case we will start at (-2,-4) and then go up 3 and right 1. You can go up 3 and right 1 as many times as you want and can get more points. Coordinate graph of an ascending line through labelled points (-2, -4), (-1, -1) and (0, 2). From one marked point to the next, the graph rises three units while moving one unit right.

Notice a couple things from the last two examples.

A line with positive slope will be increasing from left to right. A line with negative slope will be decreasing from left to right.

For lines with a negative slope it is better to think of it as a negative numerator and a positive denominator. For example a slope of −14=−1+4=down 1right 4. Do not put the negative sign in both the numerator and denominator. −14≠−1−4. A negative divided by a negative is positive.

Try the following examples with your instructor.

What do we do if we want to find the slope between two points, but do not want to take the time to graph the points?

To get the vertical change you can subtract the y-coordinates of the two points. To get the horizontal change, you can subtract the x-coordinates of the two points. Be careful! You need to subtract in the same order. Here is the formula. The slope (m) of the line between (x1,y1) and (x2,y2) is

m = y 2 − y 1 x 2 − x 1

For example, find the slope of the line between (-7, 6) and (-3, -4). Identify one of the points as (x1,y1) and the other point as (x2,y2). Remember, with slope it does not matter which point you start with. Suppose we let (x1,y1) be (-7, 6) and let (x2,y2) be (-3, -4). Plugging in the correct values into the formula gives the following.

m=y2−y1x2−x1=−4−+6−3−−7. Be careful to subtract in the correct order. Also be careful of negative signs. You may need to subtract a negative. Simplifying gives the following.

m = y 2 − y 1 x 2 − x 1 = − 4 − + 6 − 3 − − 7 = − 10 + 4 = − 5 2

Try the following example with your instructor.

What about the slope of horizontal lines? Horizontal lines change a lot horizontally but have zero vertical change. Hence the slope of a horizontal line is Vertical ChangeHorizontal Change=0a lot=0. So horizontal lines are the only lines that have a slope equal to zero.

What about the slope of vertical lines? Vertical lines have tons of vertical change but have zero horizontal change. Hence the slope of a vertical line is Vertical ChangeHorizontal Change=tons0=undefined. Remember we cannot divide by zero. So vertical lines are the only lines that do not have a slope. We say the slope is undefined or does not exist.

A key point to remember is that horizontal lines have a slope = 0, while vertical lines do not have any slope at all (undefined). This is actually one of the ways we identify horizontal and vertical lines.

Try the following examples with your instructor.

Parallel lines go in the same direction. Nonvertical parallel lines have the same slope; vertical lines are parallel to each other and have undefined slope. If a line has a slope of 1/3, then the line parallel to it will also have a slope of 1/3.

Perpendicular lines are lines which meet at a right angle (exactly 90 degrees). Nonvertical perpendicular lines with nonzero slopes have slopes that are negative reciprocals of each other. A horizontal line and a vertical line are also perpendicular. Remember a reciprocal is flipping the fraction. The slope of a perpendicular line will not only flip the fraction but will also have the opposite sign. For example if a line has a slope of 2/7 then the perpendicular line will have a slope of -7/2. If a line has a slope of -1/6 then the line perpendicular will have a slope of +6/1 = +6.

Try the following examples with your instructor.

Applications

At the beginning of this section we looked at IBM stock prices for a 3 month period in 2014. The slope is also the average rate of change. For this exercise, assume IBM stock had a price of $186.91 at the end of September 2014 and $160.44 at the end of December. Over that three month period, what was the average rate of change of the stock price per month?

To answer this question we simply need to find the slope. A couple key things to look at. First of all notice they want to know the change in stock price per month. That is important since it tells us the slope should be price/month. If you remember your slope formula, this implies that the price must be the y-value and month the x-value. Writing the information as two ordered pairs gives us the following.

( month 9, $186.91 )

( month 12, $160.44)

Letting the first point ( month 9, $186.91 ) be (x1,y1) and the second point ( month 12, $160.44) be (x2,y2), we can plug into our slope formula and get the following.

m = y 2 − y 1 x 2 − x 1 = 160.44 − 186.91 12 − 9 = − 26.47 3 ≈ − 8.8233 1

But what does this mean? The key is units. Remember in this problem the y-values were in dollars and the x-values were in months. So the numerator of our answer is in dollars and the denominator is in months.

−$8.821 month Does this mean 1 month of IBM stock was $8.82? No it does not. Remember slope is a rate of change. It is telling us how much the IBM stock is changing over time. The negative slope describes the average decrease over the full interval; it does not imply a decrease in every month. Under the stated prices, the stock price decreased by about $8.82 per month on average over this interval.

Try the following example with your instructor.

Practice Problems Section 7B

  1. Find the slope of the following line by finding the vertical and horizontal change. Be sure to write your answer in lowest terms.

    Coordinate grid with an ascending line through labelled points (-2, -2), (-1, 0) and (0, 2).
    Check answer

    2

  2. Find the slope of the following line by finding the vertical and horizontal change. Be sure to write your answer in lowest terms.

    Coordinate axes with a descending line through labelled points (-5, 3), (0, 2) and (5, 1).
  3. Find the slope of the following line by finding the vertical and horizontal change. Be sure to write your answer in lowest terms.

    Coordinate axes with an ascending line through labelled points (-5, -3), (0, -2) and (5, -1).
    Check answer

    1 5

  4. Find the slope of the following line by finding the vertical and horizontal change. Be sure to write your answer in lowest terms.

    Coordinate axes with a steep descending line through labelled points (2, 4), (3, 0) and (4, -4).
  5. Find the slope of the following line by finding the vertical and horizontal change. Be sure to write your answer in lowest terms.

    Coordinate axes with a vertical line through the labelled point (-3, 0) on the x-axis. The line continues upward and downward.
    Check answer

    undefined

  6. Find the slope of the following line by finding the vertical and horizontal change. Be sure to write your answer in lowest terms.

    Coordinate axes with a horizontal line through the labelled point (0, 2) on the y-axis. The line continues left and right.
  7. Draw a line that goes through the point (1, 2) and has a slope of +13.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
    Check answer
    Answer graph on a numbered coordinate grid, showing an ascending line through a marked point at (1, 2). It crosses the x-axis at -5.
  8. Draw a line that goes through the point (-5, 1) and has a slope of −45.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
  9. Draw a line that goes through the point (-6, -4) and has a slope of +35.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
    Check answer
    Answer graph on a numbered coordinate grid, showing an ascending line through a marked point at (-6, -4).
  10. Draw a line that goes through the point (-4,0) and has a slope of −16.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
  11. Draw a line that goes through the point (3, 1) and has an undefined slope.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
    Check answer
    Answer graph on a numbered coordinate grid, showing a vertical line at x equals 3 and a marked point at (3, 1).
  12. Draw a line that goes through the point (0, -3) and has a slope = 0.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
  13. Draw a line that goes through the point (-5, -2) and has a slope of +35.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
    Check answer
    Answer graph on a numbered coordinate grid, showing an ascending line through a marked point at (-5, -2). The line crosses the y-axis at 1.
  14. Draw a line that goes through the point (-4, 6) and has a slope of −23.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
  15. Draw a line that goes through the point (1, -6) and has a slope of +14.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
    Check answer
    Answer graph on a numbered coordinate grid, showing a shallow ascending line through a marked point at (1, -6).
  16. Draw a line that goes through the point (2,0) and has a slope of −3=−3+1.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
  17. Draw a line that goes through the point (-4, -2) and has an undefined slope.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
    Check answer
    Answer graph on a numbered coordinate grid, showing a vertical line at x equals -4 and a marked point at (-4, -2).
  18. Draw a line that goes through the point (0, 5) and has a slope = 0.

    Blank rectangular coordinate grid for drawing a line. The horizontal x-axis and vertical y-axis cross at the origin and extend in both directions. No points or plotted lines are drawn.
  19. Use the slope formula m=y2−y1x2−x1to find the slope of the line between (6,2) and (10,−4). Be sure to simplify your answer and write it in lowest terms.

    Check answer

    − 1 ⁤ 1 2

  20. Use the slope formula m=y2−y1x2−x1to find the slope of the line between (−4,−1) and (−7,7). Be sure to simplify your answer and write it in lowest terms.

  21. Use the slope formula m=y2−y1x2−x1to find the slope of the line between (−9,12) and (−5,−4)Be sure to simplify your answer and write it in lowest terms.

    Check answer

    – 4

  22. Use the slope formula m=y2−y1x2−x1to find the slope of the line between (6,−2) and (6,−4). Be sure to simplify your answer and write it in lowest terms.

  23. Use the slope formula m=y2−y1x2−x1to find the slope of the line between (13,2) and (−10,2). Be sure to simplify your answer and write it in lowest terms.

    Check answer

    0

  24. Use the slope formula m=y2−y1x2−x1to find the slope of the line between (6.5,−2.5) and (5,−8.5). Be sure to simplify your answer and write it in lowest terms.

  25. Use the slope formula m=y2−y1x2−x1to find the slope of the line between (7.3,1.8) and (−4.3,0.8). Be sure to simplify your answer and write it in lowest terms.

    Check answer

    1 11.6  or  5 58

  26. A line has a slope of +5/8. What is the slope of a line parallel to it? What is the slope of a line perpendicular to it?

  27. A line has a slope of -13. What is the slope of a line parallel to it? What is the slope of a line perpendicular to it?

    Check answer

    parallel: -13, perpendicular: 113

  28. A line has a slope of -2/9. What is the slope of a line parallel to it? What is the slope of a line perpendicular to it?

  29. A line has a slope of +6. What is the slope of a line parallel to it? What is the slope of a line perpendicular to it?

    Check answer

    parallel: 6, perpendicular: −16

  30. A line has a slope of +2/7. What is the slope of a line parallel to it? What is the slope of a line perpendicular to it?

  31. A line has a slope of -9. What is the slope of a line parallel to it? What is the slope of a line perpendicular to it?

    Check answer

    parallel: -9, perpendicular: 19

  32. When a toy store has its employees work 40 hours a week, the profits for that week are $4600. If the store has its employees work 45 hours then the profits for that week are $4180 due to having to pay the employee’s overtime. Write two ordered pairs with x being hours worked and y being profit. What is the average rate of change in profit per hour worked?

  33. The longer an employee works at a software company, the higher his or her salary is. Let’s explore the relationship between years worked (x) and salary in thousands of dollars (y). A person that has worked two years for the company makes an annual salary of 62 thousand dollars. A person that has worked ten years for the company makes an annual salary of 67 thousand dollars. Write two ordered pairs and find the average rate of change in salary in thousands per year worked.

    Check answer

    (2, 62), (10, 67), slope = 58 or 0.625 thous$1 year

  34. The older a puppy gets, the more the puppy weighs. Let’s explore the relationship between the number of months old a puppy is and its weight in pounds. At 4 months old, a puppy weighed 6 pounds. At 12 months old the puppy weighed 38 pounds. Write two ordered pairs with x being the age of the puppy in months and y being the weight in pounds. Now find the average rate of change in pounds per month.

  35. In week 9, a stock sells for $85. By week 23 the stock sells for $15. Write two ordered pairs with x being the week and y being the stock price. Find the average rate of change in dollars per week.

    Check answer

    (9, 85), (23, 15), slope = -5 or decreasing 5$1 week

Questions 36 – 39: Match the equation in slope intercept form to the graphed line

Four lines labelled A, B, C and D on an x-y coordinate grid. A and B descend and intersect; B is steeper and crosses the y-axis above A. C and D are parallel ascending lines, with C above D. The axes have numeric tick labels; individual points are not labelled.

Line
Equation

  1. y = 2 x − 1

  2. y = 6.3 − 1.33 x

    Check answer

    A

  3. y = − 1.78 x + 7.3

  4. y = 3 + 2 x

    Check answer

    C

Adapted from Preparing for Algebra and Statistics, Third Edition, by Matt Teachout. License: CC BY 4.0. Copyright and sources.

⇩ Download ▾

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or any other accessibility standard. Every page is built against an automated accessibility gate, and our target for the published editions is WCAG 2.2 Level AA. If something is unusable, please tell us.