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

Lesson 3: Constructing and Representing Linear Functions

In this Grade 8 Pengi Math lesson from Chapter 5: Functions, students learn to construct linear functions by writing equations in slope-intercept form (y = mx + b) using graphs, tables, and verbal descriptions. They practice identifying slope as rate of change and the y-intercept as initial value, then interpret these values in real-world contexts such as price per item or starting fees. The lesson also covers converting fluently between equation, table, and graph representations of linear functions.

Section 1

Writing a Function from a Table of Values

Property

To write a linear function in the form y=mx+by = mx + b from a table of values, first find the slope (mm) and then determine the y-intercept (bb).

  1. Find the slope (mm): Use any two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) from the table.
m=change in ychange in x=y2y1x2x1m = \frac{{\text{change in } y}}{{\text{change in } x}} = \frac{{y_2 - y_1}}{{x_2 - x_1}}
  1. Find the y-intercept (bb): Identify the value of yy when x=0x=0. If x=0x=0 is not in the table, use the slope mm and any point (x,y)(x, y) from the table to solve for bb in the equation y=mx+by = mx + b.

Section 2

Writing an Equation from a Graph

Property

To write an equation from a graph in slope-intercept form y=mx+by = mx + b:

  1. Identify the y-intercept bb where the line crosses the y-axis
  2. Find the slope m=riserunm = \frac{\text{rise}}{\text{run}} using two clear points on the line
  3. Substitute mm and bb into y=mx+by = mx + b

Examples

Section 3

Writing an Equation for a Linear Function

Property

To write an equation for a linear function, you need to find the slope (m)(m) and the yy-intercept (b)(b).

  1. Identify two points on the line.
  2. Use the two points to calculate the slope: m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}.
  3. Use the slope and one point (x1,y1)(x_1, y_1) in the point-slope form, yy1=m(xx1)y - y_1 = m(x - x_1), and solve for yy. Alternatively, substitute mm and a point into y=mx+by = mx+b and solve for bb.

Examples

  • A line has a slope of 4 and passes through (2,5)(2, 5). Using y=mx+by = mx + b, we get 5=4(2)+b5 = 4(2) + b, so 5=8+b5 = 8 + b, and b=3b = -3. The equation is y=4x3y = 4x - 3.
  • A line passes through (1,2)(1, 2) and (4,11)(4, 11). The slope is m=11241=93=3m = \frac{11-2}{4-1} = \frac{9}{3} = 3. Using the point (1,2)(1,2), we have y2=3(x1)y-2 = 3(x-1), which simplifies to y=3x1y = 3x - 1.
  • A gym charges a 50 dollars sign-up fee and 25 dollars per month. The cost function is C(x)=25x+50C(x) = 25x + 50, where xx is the number of months.

Explanation

To define a specific line, you need to know its direction (slope) and one point it passes through. Once you have these two pieces of information, you can create a unique formula for that line.

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 2

    Lesson 2: Linear Functions and Slope

  3. Lesson 3Current

    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

Writing a Function from a Table of Values

Property

To write a linear function in the form y=mx+by = mx + b from a table of values, first find the slope (mm) and then determine the y-intercept (bb).

  1. Find the slope (mm): Use any two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) from the table.
m=change in ychange in x=y2y1x2x1m = \frac{{\text{change in } y}}{{\text{change in } x}} = \frac{{y_2 - y_1}}{{x_2 - x_1}}
  1. Find the y-intercept (bb): Identify the value of yy when x=0x=0. If x=0x=0 is not in the table, use the slope mm and any point (x,y)(x, y) from the table to solve for bb in the equation y=mx+by = mx + b.

Section 2

Writing an Equation from a Graph

Property

To write an equation from a graph in slope-intercept form y=mx+by = mx + b:

  1. Identify the y-intercept bb where the line crosses the y-axis
  2. Find the slope m=riserunm = \frac{\text{rise}}{\text{run}} using two clear points on the line
  3. Substitute mm and bb into y=mx+by = mx + b

Examples

Section 3

Writing an Equation for a Linear Function

Property

To write an equation for a linear function, you need to find the slope (m)(m) and the yy-intercept (b)(b).

  1. Identify two points on the line.
  2. Use the two points to calculate the slope: m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}.
  3. Use the slope and one point (x1,y1)(x_1, y_1) in the point-slope form, yy1=m(xx1)y - y_1 = m(x - x_1), and solve for yy. Alternatively, substitute mm and a point into y=mx+by = mx+b and solve for bb.

Examples

  • A line has a slope of 4 and passes through (2,5)(2, 5). Using y=mx+by = mx + b, we get 5=4(2)+b5 = 4(2) + b, so 5=8+b5 = 8 + b, and b=3b = -3. The equation is y=4x3y = 4x - 3.
  • A line passes through (1,2)(1, 2) and (4,11)(4, 11). The slope is m=11241=93=3m = \frac{11-2}{4-1} = \frac{9}{3} = 3. Using the point (1,2)(1,2), we have y2=3(x1)y-2 = 3(x-1), which simplifies to y=3x1y = 3x - 1.
  • A gym charges a 50 dollars sign-up fee and 25 dollars per month. The cost function is C(x)=25x+50C(x) = 25x + 50, where xx is the number of months.

Explanation

To define a specific line, you need to know its direction (slope) and one point it passes through. Once you have these two pieces of information, you can create a unique formula for that line.

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 2

    Lesson 2: Linear Functions and Slope

  3. Lesson 3Current

    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