Read a graph and write its equation
Picture finding the instructions for a ramp after seeing only its drawing. First find where it crosses the upright axis. That gives its starting height. Next choose two marked addresses and count how far across and how far up you travel between them. Those changes tell you the slope. Put the starting height and slope into y = mx + b. If you are matching several drawings with equations, compare their starting heights first, then their directions and steepness. An increasing function climbs as you look from left to right. A decreasing function descends. A graph with a bigger slope size climbs or descends more for the same distance across.
- Slope. From (0, 1) to (2, 5), rise 4 divided by run 2 gives m = 2.
- Substitution. If y = 2x + b and the point is (3, 8), write 8 = 2 × 3 + b.
- Solving an equation. 8 = 6 + b gives b = 2 by subtracting 6 from both sides; 6 + 2 = 8 checks it.
- Signed subtraction. 4 − 7 = −3, a downward change.
- Reducing fractions. = 2, because 8 ÷ 4 = 2.
Say: read the starting height, then measure the climb per step across.
Two points on a graph let you recover the linear function that produced it.
- m =
- b = − m
- f(x) = mx + b
- m > 0: increasing
- m < 0: decreasing
- m = 0: constant
You infer a road's starting elevation and grade from two map markers.
A graph through (0, 7) starts at 7. A second point (4, 4) tells you the output falls by 3 while the input rises by 4.
If slope is 2 and a point is (3, 8), substitute 8 = 2 × 3 + b. Subtracting 6 gives b = 2, and putting it back gives 8 = 6 + 2.
.1Increasing and decreasing directions
Think of walking right along a ramp. If your height grows, the function is increasing. If your height falls, it is decreasing. For a line, the sign of slope tells you which happens. These words always compare outputs while inputs increase.
- Rule: m > 0 makes a linear function increasing; m < 0 makes it decreasing.
- Rule: m = 0 gives constant outputs, so the function neither rises nor falls.
- Signed subtraction. 1 − (−2) = 3 is an upward change.
Say: when inputs grow, do the outputs grow or shrink?
A line's slope sign gives its direction from left to right.
- m > 0: increasing
- m < 0: decreasing
- m = 0: constant
Walking right on a ramp can carry you upward, downward, or at one height.
You need to decide whether y = 3x − 2 rises or falls as you move right, and compare it with y = −2x − 2.
- At inputs 0 and 1, the first rule gives −2 and 1: 3 × 0 − 2 = −2 and 3 × 1 − 2 = 1.Evaluate by substituting the inputs, multiplying, then subtracting.
- The output change is 1 − (−2) = 3, for input change 1 − 0 = 1. The first function is increasing.Its output grows when input grows, so its positive slope describes a rightward climb.
- At inputs 0 and 1, the second rule gives −2 and −4. Its output change is −4 − (−2) = −2.A negative change means a lower ending height at a larger input.
- The second function is decreasing. Its slope is −2 for this one-unit run.Decreasing means outputs get smaller when inputs get larger.
- y = 3x − 2: increasing.
- y = −2x − 2: decreasing.
- Tip: Read direction from left to right, and distinguish output sign from slope sign.
.2Match equations to labeled graphs
Think of identifying roads from their starting elevation and grade. First compare starting heights. When two roads start together, compare whether they climb or descend. If both climb, measure how much each climbs for the same trip across. A graph match needs all these clues to agree.
- Rule: Match y-intercept, slope sign, then slope size.
- Rule: Use matching axis scales when comparing steepness by appearance; calculating rise divided by run avoids scale guessing.
- Subtracting a negative. −1 − (−2) = 1 finds D's rise.
Say: match the start, direction and climb per step.
The matching equation must reproduce both marked graph points.
- y = mx + b
- b = f(0)
- m =
Roads may start at one elevation but have different grades.
You need to attach an equation to each labeled line. Line A passes through (0, −2) and (1, 1). Line B passes through (0, 4) and (1, 7). Line C passes through (0, −2) and (1, −4). Line D passes through (0, −2) and (3, −1). Match A, B, C and D to y = 3x − 2, y = 3x + 4, y = −2x − 2, and y = x − 2.
- Line B starts at height 4, so it matches y = 3x + 4. Its second point checks the slope: = 3.Only that equation has intercept 4. The slope calculation checks that the remaining feature agrees too.
- A, C and D all start at −2. Intercept alone cannot distinguish them.The same starting height may belong to several different line directions.
- Line C falls to the right: m = = −2. Match C to y = −2x − 2.The negative slope is the one falling option.
- Both A and D rise to the right. For A, m = = 3. For D, m = = .Both have positive slope and intercept −2. Counting rise and run distinguishes their steepness without guessing from the drawing.
- Match A to y = 3x − 2 and D to y = x − 2.Their different slope numbers select different equations even though their intercept and direction match.
- A: y = 3x − 2.
- B: y = 3x + 4.
- C: y = −2x − 2.
- D: y = x − 2.
- Tip: State each graph label with its full equation; direction alone is not a complete match.
- 1. Read the y-intercept if it is shown. Confirm that the first coordinate is 0.
- 2. Choose two clearly marked points. Keep their order the same in both subtractions.
- 3. Compute rise divided by run and reduce the fraction.
- 4. Write the slope and intercept in f(x) = mx + b.
- 5. Substitute both points to verify the recovered equation.
Strategy: recover or match a line equation
- Find two readable points and compute slope.
- Find b from a visible y-intercept or from b = y − mx.
- For matching, compare b, slope sign, then slope size.
- Verify the chosen equation at a point other than the intercept.
You need an equation for the graph that crosses the y-axis at (0, 7) and passes through (4, 4).
- Read b = 7 from the point (0, 7).The output at input 0 is the y-intercept.
- Use the same point order: m = = = −.Slope is the output change divided by the input change, from the first point to the second.
- Write f(x) = −x + 7.The recovered slope and starting output determine the line.
- Put the found values back in: f(0) = 7 and f(4) = −3 + 7 = 4.Both original graph markers must satisfy the new equation.
You need the equation through (0, 0) and (1, 1).
- b = 0 and m = = 1.The first point is the intercept and the second gives one up for one right.
- Write y = x.Slope 1 and intercept 0 give y = 1x + 0.
You need the equation through (0, 2) and (2, 6).
- b = 2 and m = = = 2.Read the starting value and calculate the common rate.
- Write y = 2x + 2.These are the slope and intercept.
- At input 2, 2 × 2 + 2 = 6.Plugging the recovered values back in verifies the second point.
You need the equation through (0, 7) and (4, 4).
- m = = −, and b = 7.The line drops 3 while moving right 4.
- Write f(x) = −x + 7 and check f(4) = −3 + 7 = 4.The equation must reproduce its known point.
You need the equation through (−1, 1) and (3, 9), even though neither given point is on the y-axis.
- m = = = 2.The input change is 4 because subtracting −1 adds 1.
- Use (−1, 1): 1 = 2(−1) + b = −2 + b. Add 2 to both sides to find b = 3.A point fixes the missing starting value.
- Plug b back in: 2(−1) + 3 = 1. Write y = 2x + 3.The recovered intercept must make the point true.
- Tip: When two graphs share an intercept, the larger |m| is steeper if their axes use matching scales.
- Tip: A graph that rises to the right is increasing; one that falls is decreasing. Check the sign before accepting your equation.