Learn on PengiPengi Math (Grade 8)Chapter 5: Functions

Lesson 2: Linear Functions and Slope

In this Grade 8 lesson from Pengi Math Chapter 5, students learn to define linear functions and calculate slope using the formula m = (y₂ - y₁) / (x₂ - x₁) as the constant rate of change between two points. The lesson covers interpreting the slope-intercept equation y = mx + b, where m is the slope and b is the y-intercept, and uses similar triangles to prove that slope remains constant along a line. Students also practice verifying whether a given point lies on a specific line.

Section 1

Linear Function

Property

A linear function is a function whose graph is a line. Linear functions can be written in the slope-intercept form of a line

y=mx+by = mx + b

where bb is the initial or starting value of the function (when input, x=0x = 0), and mm is the constant rate of change, or slope of the function. The yy-intercept is at (0,b)(0, b).

Examples

  • A car travels at a constant speed of 50 miles per hour. Its distance DD from a starting point after tt hours can be modeled by D=50tD = 50t.
  • A phone plan costs 20 dollars a month plus 5 cents for each text message. The monthly cost CC for xx messages is C=0.05x+20C = 0.05x + 20.
  • For the function y=3x+2y = 3x + 2, the value when x=4x=4 is f(4)=3(4)+2=14f(4) = 3(4) + 2 = 14. The point (4,14)(4, 14) is on the line.

Explanation

Think of a linear function as a rule for anything that changes at a steady rate. The 'm' is the rate of change (how steep the line is), and 'b' is the starting point on the vertical axis before any change happens.

Section 2

The Slope Formula

Property

Given two distinct points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) on a line, the slope mm of the line is calculated using the formula:

m=riserun=ΔyΔx=y2y1x2x1m = \frac{{\text{rise}}}{{\text{run}}} = \frac{{\Delta y}}{{\Delta x}} = \frac{{y_2 - y_1}}{{x_2 - x_1}}

Examples

Section 3

Real-World Meaning of Slope and Y-Intercept

Property

In a real-world context described by the equation y=mx+by = mx + b:

  • The slope (mm) represents the rate of change. It tells you how much the dependent variable (yy) changes for every one-unit increase in the independent variable (xx).
  • The y-intercept (bb) represents the initial value or starting point. It is the value of the dependent variable (yy) when the independent variable (xx) is zero.

Examples

Section 4

Properties of Linear Functions

Property

Important things to remember about linear functions are:

  • If the line intersects the y-axis in the point (0,b)(0, b), then the equation of the line is y=mx+by = mx + b.
  • If the line is horizontal, the slope is zero, and the equation of the line is y=by = b.
  • If the line is vertical, it has no slope, and its equation is x=ax = a.
  • If the line goes through the origin, the equation of the line is y=mxy = mx and the values of yy are proportional to the values of xx; otherwise said, y/x=my/x = m.
  • If the line has slope mm, and the point (x0,y0)(x_0, y_0) is on the line, then the equation of the line is yy0=m(xx0)y - y_0 = m(x - x_0).
  • If (x0,y0)(x_0, y_0), (x1,y1)(x_1, y_1) are on the line, then a point (x,y)(x, y) is on the line if yy0xx0=y1y0x1x0\frac{y - y_0}{x - x_0} = \frac{y_1 - y_0}{x_1 - x_0}.

Examples

  • A line has a slope of 4 and a y-intercept at (0,5)(0, -5). Its equation is y=4x5y = 4x - 5.
  • A horizontal line passes through the point (3,8)(3, 8). Since the slope is 0, its equation is y=8y = 8.
  • A line passes through (2,1)(2, 1) with a slope of 3. Using the point-slope form, the equation is y1=3(x2)y - 1 = 3(x - 2), which simplifies to y=3x5y = 3x - 5.

Explanation

A linear function has a constant rate of change, its slope. This means its graph is a straight line. Unlike proportional relationships, a linear function doesn't have to go through the origin, which is what the 'b' in y=mx+by=mx+b represents.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 5: Functions

  1. Lesson 1

    Lesson 1: Understanding Relations and Functions

  2. Lesson 2Current

    Lesson 2: Linear Functions and Slope

  3. Lesson 3

    Lesson 3: Constructing and Representing Linear Functions

  4. Lesson 4

    Lesson 4: Comparing Functions and Identifying Nonlinearity

  5. Lesson 5

    Lesson 5: Analyzing and Sketching Graphs of Functions

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

Linear Function

Property

A linear function is a function whose graph is a line. Linear functions can be written in the slope-intercept form of a line

y=mx+by = mx + b

where bb is the initial or starting value of the function (when input, x=0x = 0), and mm is the constant rate of change, or slope of the function. The yy-intercept is at (0,b)(0, b).

Examples

  • A car travels at a constant speed of 50 miles per hour. Its distance DD from a starting point after tt hours can be modeled by D=50tD = 50t.
  • A phone plan costs 20 dollars a month plus 5 cents for each text message. The monthly cost CC for xx messages is C=0.05x+20C = 0.05x + 20.
  • For the function y=3x+2y = 3x + 2, the value when x=4x=4 is f(4)=3(4)+2=14f(4) = 3(4) + 2 = 14. The point (4,14)(4, 14) is on the line.

Explanation

Think of a linear function as a rule for anything that changes at a steady rate. The 'm' is the rate of change (how steep the line is), and 'b' is the starting point on the vertical axis before any change happens.

Section 2

The Slope Formula

Property

Given two distinct points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) on a line, the slope mm of the line is calculated using the formula:

m=riserun=ΔyΔx=y2y1x2x1m = \frac{{\text{rise}}}{{\text{run}}} = \frac{{\Delta y}}{{\Delta x}} = \frac{{y_2 - y_1}}{{x_2 - x_1}}

Examples

Section 3

Real-World Meaning of Slope and Y-Intercept

Property

In a real-world context described by the equation y=mx+by = mx + b:

  • The slope (mm) represents the rate of change. It tells you how much the dependent variable (yy) changes for every one-unit increase in the independent variable (xx).
  • The y-intercept (bb) represents the initial value or starting point. It is the value of the dependent variable (yy) when the independent variable (xx) is zero.

Examples

Section 4

Properties of Linear Functions

Property

Important things to remember about linear functions are:

  • If the line intersects the y-axis in the point (0,b)(0, b), then the equation of the line is y=mx+by = mx + b.
  • If the line is horizontal, the slope is zero, and the equation of the line is y=by = b.
  • If the line is vertical, it has no slope, and its equation is x=ax = a.
  • If the line goes through the origin, the equation of the line is y=mxy = mx and the values of yy are proportional to the values of xx; otherwise said, y/x=my/x = m.
  • If the line has slope mm, and the point (x0,y0)(x_0, y_0) is on the line, then the equation of the line is yy0=m(xx0)y - y_0 = m(x - x_0).
  • If (x0,y0)(x_0, y_0), (x1,y1)(x_1, y_1) are on the line, then a point (x,y)(x, y) is on the line if yy0xx0=y1y0x1x0\frac{y - y_0}{x - x_0} = \frac{y_1 - y_0}{x_1 - x_0}.

Examples

  • A line has a slope of 4 and a y-intercept at (0,5)(0, -5). Its equation is y=4x5y = 4x - 5.
  • A horizontal line passes through the point (3,8)(3, 8). Since the slope is 0, its equation is y=8y = 8.
  • A line passes through (2,1)(2, 1) with a slope of 3. Using the point-slope form, the equation is y1=3(x2)y - 1 = 3(x - 2), which simplifies to y=3x5y = 3x - 5.

Explanation

A linear function has a constant rate of change, its slope. This means its graph is a straight line. Unlike proportional relationships, a linear function doesn't have to go through the origin, which is what the 'b' in y=mx+by=mx+b represents.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 5: Functions

  1. Lesson 1

    Lesson 1: Understanding Relations and Functions

  2. Lesson 2Current

    Lesson 2: Linear Functions and Slope

  3. Lesson 3

    Lesson 3: Constructing and Representing Linear Functions

  4. Lesson 4

    Lesson 4: Comparing Functions and Identifying Nonlinearity

  5. Lesson 5

    Lesson 5: Analyzing and Sketching Graphs of Functions