3.1 Slope, Intercepts, and Graphing Lines

Key Takeaways

  • The line through (−2, 5) and (4, −1) has slope (−1 − 5)/(4 − (−2)) = −6/6 = −1 and equation y = −x + 3, with intercepts (0, 3) and (3, 0).

  • Slope m = (y2 − y1)/(x2 − x1) is both rise/run and the rate of change in y per one-unit increase in x.

  • Horizontal lines have slope 0 and equation y = k; vertical lines have undefined slope and equation x = h and cannot be written as y = mx + b.

  • Graph y = mx + b by plotting the y-intercept (0, b) and stepping with rise/run; graph Ax + By = C by plotting both intercepts and connecting them.

  • College Board Skills Insight band 200–236 on AAF already evaluates a linear function in context; the slope and intercept work in this section is the machinery behind that evaluation.

Last updated: August 2026

3.1 Slope, Intercepts, and Graphing Lines

Quick Answer: Slope is rise over run, m=(y2−y1)/(x2−x1)m = (y_2 - y_1)/(x_2 - x_1). The y-intercept is where the line meets the y-axis (x=0x = 0); the x-intercept is where it meets the x-axis (y=0y = 0). Graph y=mx+by = mx + b by plotting bb and stepping with mm, or plot both intercepts and connect them. Horizontal lines have slope 00 (equation y=ky = k); vertical lines have undefined slope (equation x=hx = h).

College Board's Next-Generation ACCUPLACER Advanced Algebra and Functions (AAF) test weights linear applications and graphs at 10–15% of the exam — typically 2–3 computer-adaptive items. Skills Insight scores in the 200–236 band already expect you to evaluate a linear function in context, and calculating slope and writing the equation from a graph or a table is the machinery under that evaluation. This section builds that geometric toolkit so parallel lines, linear models, and inequality graphs later in the chapter rest on a line you can actually draw. FREE practice for the whole AAF blueprint is at /practice/accuplacer-advanced-algebra.

Slope as Rise over Run

The slope of a nonvertical line through two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) is

m=riserun=y2−y1x2−x1.m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}.

Rise is the vertical change; run is the horizontal change. Keep the two points in the same order in the numerator and the denominator. Swapping both signs leaves mm unchanged; swapping only one sign flips the slope and is a standard AAF distractor.

Slope is also a rate of change: the number of y-units gained or lost for each 1-unit increase in xx. On application items that rate is what the stem is asking you to interpret — dollars per credit hour, miles per gallon, degrees per minute. A slope of −3-3 means yy drops 3 units every time xx increases by 1; a slope of 4/54/5 means yy rises 4 units for every 5 units of run.

Worked Example: Line through (−2, 5) and (4, −1)

Use the two given points.

m=−1−54−(−2)=−66=−1.m = \frac{-1 - 5}{4 - (-2)} = \frac{-6}{6} = -1.

The line falls 1 unit for every 1 unit it runs to the right: a negative slope of −1-1. To write the equation, plug one point into point-slope form y−y1=m(x−x1)y - y_1 = m(x - x_1):

y−5=−1(x−(−2))=−(x+2).y - 5 = -1(x - (-2)) = -(x + 2). y−5=−x−2⇒y=−x+3.y - 5 = -x - 2 \Rightarrow y = -x + 3.

Check with the unused point: at x=4x = 4, y=−4+3=−1y = -4 + 3 = -1, which matches (4,−1)(4, -1). In slope-intercept form the slope is −1-1 and the y-intercept is 33, so the graph crosses the y-axis at (0,3)(0, 3).

The x-intercept occurs when y=0y = 0:

0=−x+3⇒x=3.0 = -x + 3 \Rightarrow x = 3.

The graph crosses the x-axis at (3,0)(3, 0). Two intercepts plus the known slope fully determine the picture: start at (0,3)(0, 3) and step down 1, right 1 (or up 1, left 1) through (3,0)(3, 0), (−2,5)(-2, 5), and (4,−1)(4, -1).

If you start from the other point instead — y−(−1)=−1(x−4)y - (-1) = -1(x - 4) — you get y+1=−x+4y + 1 = -x + 4, then y=−x+3y = -x + 3, the same line. That is the built-in check: any point on the line must produce the same slope-intercept equation. If two different points produce two different bb values, the slope arithmetic is wrong.

Four Slope Cases

CaseSlope mmEquation shapeGraph
Positivem>0m > 0y=mx+by = mx + b with mm positiveRises left to right
Negativem<0m < 0y=mx+by = mx + b with mm negativeFalls left to right
Zero (horizontal)m=0m = 0y=ky = kHorizontal through (0,k)(0, k)
Undefined (vertical)nonex=hx = hVertical through (h,0)(h, 0)

A horizontal line has equal y-coordinates at every point, so the rise is 00 and m=0m = 0. Example: through (1,4)(1, 4) and (7,4)(7, 4), m=0/6=0m = 0/6 = 0, equation y=4y = 4. A vertical line has equal x-coordinates, so the run is 00 and you would divide by zero: slope is undefined, equation x=hx = h. Example: through (2,−3)(2, -3) and (2,8)(2, 8), equation x=2x = 2. Never treat undefined as a number you then plug into y=mx+by = mx + b. Vertical lines are not functions of xx and cannot be written in slope-intercept form.

Sign of slope is a left-to-right statement, not an up-versus-down statement. A line that looks steep downward still has a negative mm; a line that is flat has m=0m = 0, not no slope. Save undefined exclusively for vertical lines. Mixing those two phrases — calling a horizontal line undefined, or calling a vertical line slope 0 — is one of the highest-yield traps on this 10–15% content area.

Graphing from Slope-Intercept and from Intercepts

Three practical methods cover every AAF graphing item in this cluster:

MethodWhat you plotBest when
Slope-intercept y=mx+by = mx + bPlot (0,b)(0, b), then use mm as a rise/run stepEquation is already solved for yy
InterceptsPlot (a,0)(a, 0) and (0,b)(0, b), then connectEquation is in standard form Ax+By=CAx + By = C
Point-slopePlot the given point, then step with mmYou have a point and a slope, not yet rewritten

To graph 2x+3y=122x + 3y = 12 from intercepts: set y=0y = 0 to get x=6x = 6 (x-intercept (6,0)(6, 0)); set x=0x = 0 to get y=4y = 4 (y-intercept (0,4)(0, 4)). Draw the unique line through those two points. Solving for yy first gives y=−23x+4y = -\frac{2}{3}x + 4, the same line: slope −2/3-2/3, y-intercept 44. From (0,4)(0, 4) step down 2, right 3 (or up 2, left 3) to land on lattice points such as (3,2)(3, 2) and (6,0)(6, 0).

A fractional slope is a ready-made step. For m=3/4m = 3/4, rise 3 and run 4. For m=−5/2m = -5/2, rise −5-5 and run 2 (down 5, right 2), or rise 5 and run −2-2 (up 5, left 2). Reducing the fraction first keeps the steps on grid points. If you leave m=−10/4m = -10/4 unreduced, you still have the right line, but you are more likely to miscount boxes on a CAT grid.

Reading Slope from a Graph or a Table

AAF graph items often show a graph or a table of ordered pairs and ask either for mm or for the equation. From a graph, pick two lattice points the line actually hits — not a point that merely looks close — and compute rise/run. Count the boxes: if the line goes down 4 and right 2, m=−4/2=−2m = -4/2 = -2. Then read bb from the y-axis crossing, or use point-slope if the y-intercept is off the visible window.

From a table, pick two clean rows. Suppose the table lists (0,8)(0, 8), (2,5)(2, 5), (4,2)(4, 2), (6,−1)(6, -1). Consecutive x-steps of 2 drop yy by 3, so m=−3/2m = -3/2. Because (0,8)(0, 8) is in the table, b=8b = 8 and the equation is y=−32x+8y = -\frac{3}{2}x + 8. Confirm with (4,2)(4, 2): −(3/2)(4)+8=−6+8=2-(3/2)(4) + 8 = -6 + 8 = 2.

If the table skipped x=0x = 0 — say (1,10)(1, 10) and (4,1)(4, 1) — then m=(1−10)/(4−1)=−9/3=−3m = (1 - 10)/(4 - 1) = -9/3 = -3, and y−10=−3(x−1)y - 10 = -3(x - 1) gives y=−3x+13y = -3x + 13. Always test a third row when one exists; a table that is not linear will fail that check, and AAF will occasionally mix a nonlinear distractor table into a linear-looking stem.

Elementary Linear Functions

An elementary linear function is f(x)=mx+bf(x) = mx + b. On AAF, elementary means you evaluate, graph, and interpret it — composition, inverses, and transformations sit in the separate Functions content area. Evaluating is substitution: if f(x)=−2x+7f(x) = -2x + 7, then f(3)=1f(3) = 1 and f(0)=7f(0) = 7, the y-intercept. The graph of y=f(x)y = f(x) is exactly the line you just learned to draw.

When two points determine a unique nonvertical line, they determine a unique linear function. Vertical lines are excluded from function language because they fail the vertical-line test. If an item gives f(2)=5f(2) = 5 and f(6)=13f(6) = 13, the implied slope is (13−5)/(6−2)=8/4=2(13 - 5)/(6 - 2) = 8/4 = 2, so f(x)=2x+bf(x) = 2x + b; then 5=2(2)+b5 = 2(2) + b gives b=1b = 1 and f(x)=2x+1f(x) = 2x + 1.

After you can compute mm, name both intercepts, and graph y=mx+by = mx + b, y=ky = k, and x=hx = h, you have the geometric toolkit for parallel and perpendicular lines, linear models, and inequality graphs in the rest of this chapter. Drill the arithmetic until rise/run is automatic.

y-values on the worked line y = -x + 3
Test Your Knowledge

What is the slope of the line through (−2, 5) and (4, −1)?

A

1

B

−1/2

C

−1

D

1/2

Test Your Knowledge

Which equation describes the line through (−2, 5) and (4, −1)?

A

y = x + 3

B

y = −x − 3

C

y = x − 3

D

y = −x + 3

Test Your Knowledge

Which equation is the horizontal line through (3, −5)?

A

y = −5

B

x = 3

C

y = 3

D

x = −5

Sections you finish are checked off in the contents.