Ctrl+k

Write equations of lines in slope-intercept form

Slope-intercept form, y=mx+by=mx+b, expresses a nonvertical linear relationship in which mm is the constant rate of change or slope and bb is the yy-intercept, allowing an equation to be constructed from a graph, a table, a slope and point, or two points. The learner connects algebraic, graphical, and contextual representations, understands that equivalent equations describe the same line, and distinguishes the yy-intercept from an arbitrary point on the line; vertical lines and more advanced forms or generalizations are not included.

Detailed Explanation: Write equations of lines in slope-intercept form

A line in slope-intercept form is written as

y=mx+by=mx+b

where:

  • mm is the slope, or rate of change
  • bb is the yy-intercept, the point where the line crosses the yy-axis

Example

Write the equation of the line passing through (2,5)(2,5) and (6,13)(6,13).

Step 1: Find the slope.

Use

m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

Substitute the two points:

m=13−56−2=84=2m=\frac{13-5}{6-2}=\frac{8}{4}=2

So the equation begins as

y=2x+by=2x+b

Step 2: Find bb using one point.

Use (2,5)(2,5), so x=2x=2 and y=5y=5:

5=2(2)+b5=2(2)+b

Solve for bb:

5=4+b5=4+b b=1b=1

Step 3: Write the equation.

Substitute m=2m=2 and b=1b=1 into y=mx+by=mx+b:

y=2x+1\boxed{y=2x+1}

Step 4: Check the other point.

For (6,13)(6,13):

y=2(6)+1=13y=2(6)+1=13

The equation works for both points. Notice that the yy-intercept is (0,1)(0,1), not either of the given points.

Learn by doing: Write equations of lines in slope-intercept form

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Equation of a Line from Coordinates of Points


    ?