Math · PEP Grade 8 · Georgia 8.FGR

Linear Functions: Graphs, Models & Equations

Change the slope and intercept. How can you make the line pass through the origin and fall from left to right?

Direct proportion and linear graphs

Enrichment · 课外拓展
Area of the intercept triangle

Keep the slope fixed and try opposite y-intercepts. Compare the areas.

Mainland textbooks write a linear function (一次函数, yīcì hánshù) as . Here k is the slope and b is the y-intercept. US textbooks often write , with m for the slope. If b = 0 and the slope is nonzero, the rule is a direct proportion and its graph passes through the origin.

In a direct proportion, the ratio y/x equals the constant of proportionality k for every nonzero x. Plot (0, 0) and (1, k). For , plot (0, b) and (1, k + b). Then draw the straight line through the points.

Use k for direction and b for the vertical crossing. Positive k rises to the right and negative k falls to the right.
Slope zero gives the horizontal line y = b, a constant function. US middle-school courses commonly include it among linear functions. The mainland definition of 一次函数 requires k ≠ 0.
Worked example · Plot two points to draw a line
  1. To graph y = x + 2, substitute x = 0. This gives y = 2, so plot (0, 2).
  2. Substitute x = 1 to get , then plot (1, 3).
  3. Draw the line through the points. Moving one unit right takes you one unit up, so the slope is 1. Set k = 1 and b = 2 above to see both points and the line.
Why does the line visit those quadrants?

A rising line comes from III and heads to I. If b is positive, it crosses the x-axis before the y-axis and also passes through II. If b is negative, it also passes through IV. A falling line goes from II to IV, with I added for positive b or III for negative b. When b = 0, only the two opposite quadrants remain.

Points on the axes are outside all four quadrants.

Classification game · Direction and quadrants
Select every quadrant the line passes through
In-class check · Graphs and properties

Find the rule from two clues

In the method of undetermined coefficients (待定系数法, dàidìng xìshù fǎ), start with the general rule and use the clues to find its coefficients. Two points with different x-coordinates let you calculate the slope or set up a system. If the slope is given, substitute one point to find the intercept.

For two different x-values, use , then use one point to find . Subtract the coordinates in matching order.
Worked example · Two points (mainland textbook style)

Given The line passes through .

Find The equation of the function.

Solution Start with and substitute both points.

  1. Subtract the first equation from the second to get .
  2. Substitute k = 2 into the first equation to get .

Answer . Check that x = 3 gives y = 5.

Worked example · One point and slope (US style)

Find the equation of the line with slope −3/2 through (2, 1).

  1. Write point-slope form.
  2. Distribute and isolate y.
  3. Multiply by 2 and rearrange to get standard form.

Check the two clues. The slope is −3/2, and x = 2 gives y = 1.

What if the two x-coordinates are equal?

Two distinct points with the same x-coordinate c determine the vertical line x = c. That input has several outputs, so the line does not define y as a function of x. If the two points coincide, a single point leaves infinitely many possible lines.

In-class check · Finding the rule

Read solutions from a graph

Set y to zero to find where the line crosses the x-axis. For nonzero k, the x-coordinate is the unique solution to kx + b = 0, namely . To solve kx + b > 0, read the x-values where the line lies above the x-axis.

When two lines intersect, the coordinates at the crossing satisfy both equations. If the slopes are equal, different intercepts give no solution. Equal intercepts give infinitely many solutions.

The solutions of 2x − 2 > 0 are x-values. Read along the x-axis to find which inputs give positive outputs.
Worked example · One line, three kinds of problems
  1. Root. Set the output to zero and solve. .
  2. Sign. The rising line lies above the x-axis to the right of the crossing. .
  3. System. At the crossing with y = −x + 4, the outputs agree. Solve to get x = 2, then substitute to get y = 2.
What if k is zero in kx + b = 0?

If b = 0, the line is the x-axis and every real x is a solution. If b is nonzero, the horizontal line misses the x-axis and the equation has no solution.

Enrichment · The boundary of a two-variable inequality

The solutions of y > 2x − 2 are ordered pairs (x, y). A point satisfies the inequality when its y-value is higher than the line at the same x. Use a dashed boundary for > or <. Use a solid boundary for ≥ or ≤ because equality is included.

In-class check · Reading solutions

Model costs and changing quantities

Name the variables and units. Then find the initial value, rate of change, and meaningful inputs. To compare two plans, use the same input for both. The lower graph gives the cheaper plan.

Rate units are output units divided by input units. When volume is in liters and time is in minutes, the slope during draining is negative and is measured in liters per minute.
Worked example · Which phone plan costs less?

Let g be monthly data in GB. Plan A costs $10 per month plus $5 per GB. Plan B costs $22 per month plus $2 per GB. Assume each plan charges for the exact amount used.

  1. Set the two costs, in dollars, equal.
  2. After rearranging, both sides represent a difference in dollars. . Divide $12 by $3/GB to get the break-even usage of 4 GB.
  3. Both plans then cost dollars. A is cheaper below 4 GB. B is cheaper above 4 GB.
Worked example · What happens when the drain slows?

Given A tank starts with 24 L. It loses 3 L/min for the first 4 min, then 1 L/min until empty.

Find The rule for V liters after t minutes and the time when the tank empties.

Solution At 4 min, the remaining volume is .

The second stage starts at 4 min. At time t, it has been running for (t − 4) min. The remaining water is . The last 12 L takes 12 more minutes to drain, for a total of 16 min.

Answer . The tank empties at 16 min.

This is a piecewise function. Choose the formula whose interval contains t. The first formula covers t = 4, and the two segments meet at (4, 12).

Observe · A New York yellow taxi

At the distance rate used in the model, divide $0.70 by one fifth of a mile to get . One mile is about 1.61 km, so that is about $2.17 per km.

In-class check · Models

Translate a line

Original line Translated line

Move each point h units right and v units up. Negative shifts go in the opposite direction. At a new x, the original input was x − h, giving . The slope stays k and the new y-intercept is .

For an upward shift, add to the output. For a rightward shift, subtract from the input. During a vertical shift, the y-intercept moves by the same amount as the line.
Worked example · Move right 2 and up 1

Move y = 2x − 1 right 2 units and up 1 unit. Its slope stays 2.

  1. Use x − 2 as the input and add 1 to the output. .
  2. Check that (1, 1) moves to (3, 2). .
In-class check · Translations

Practice and final quiz

Practice · Find the rule and x-intercept of the line through (−2, 7) and (4, −2).
  1. Find the slope.
  2. Use (−2, 7) in y = kx + b.
  3. The rule is . Set y = 0 to get the x-intercept .
Practice · For which x-values is y = 5 − 2x below the horizontal line y = 1?
  1. Find the crossing.
  2. The falling line is below y = 1 to the right of the crossing.
  3. Check x = 3. The line gives y = −1, which is less than 1.
Practice · A tank draining at a constant rate has 18 L at 2 min and 9 L at 5 min. Find its initial volume and when it empties.
  1. Divide the change in volume by the elapsed time.
  2. The first 2 min removed 6 L, so the tank started with 18 + 6 = 24 L.
  3. Divide 24 L by 3 L/min. The tank empties after 8 min.
Advanced · For what values of a does y = (a − 2)x + a + 1 pass through exactly quadrants I, II and IV?
  1. A line through II and IV falls, so .
  2. To pass through I as well, its y-intercept must be positive, so .
  3. Combine the conditions to get .
Enrichment · The line y = −x + b and the axes enclose a triangle of area 8 square units. Find b.
  1. Both intercepts are b, so each leg has length |b|.
  2. The area is 8 square units, so .
  3. Therefore . The triangles sit in different quadrants and have equal areas.

Final quiz

12 questions. Choose the best answer and read the explanation.

Curriculum and related lessons

This lesson covers Chapter 23, 一次函数, in the revised PEP Grade 8 second-semester textbook. Related Georgia Grade 8 standards are 8.PAR.3.5 for one-variable equations and inequalities, 8.PAR.4 for proportional relationships and lines, 8.FGR.5 for functions and modeling, and 8.FGR.7 for systems.