Skip to content
๐ŸŽฏโญ INTERACTIVE LESSON

Graphing Linear Equations

Learn step-by-step with interactive practice!

Graphing Linear Equations - Complete Interactive Lesson

Part 1: The Coordinate Plane & Plotting Points

๐Ÿ“ˆ Graphing Linear Equations

Part 1 of 5 โ€” The Coordinate Plane & Plotting Points


Topics in This Part

Section
The Coordinate Plane
Plotting Ordered Pairs
Checking Points on a Line

๐Ÿ”‘ Key Concept: A linear equation graphs as a perfectly straight line. Every point on that line is an (x,y)(x, y) pair that makes the equation true. Before we draw lines, we need to be fluent at plotting and testing points.

The Coordinate Plane

The coordinate plane is built from two number lines that cross at the origin (0,0)(0, 0):

  • The xx-axis runs horizontally (leftโ€“right).
  • The yy-axis runs vertically (upโ€“down).

An ordered pair (x,y)(x, y) tells you how to find a point:

(xโŸright/left,โ€…โ€ŠyโŸup/down)(\underbrace{x}_{\text{right/left}},\; \underbrace{y}_{\text{up/down}})

โš ๏ธ Order matters! (3,1)(3, 1) and (1,3)(1, 3) are different points. Always read xx first, then yy.

The Four Quadrants

The axes split the plane into four quadrants, numbered counter-clockwise starting from the top right:

Quadrantxx signyy signExample
I++++(4,2)(4, 2)
IIโˆ’-++(โˆ’4,2)(-4, 2)
IIIโˆ’-โˆ’-(โˆ’4,โˆ’2)(-4, -2)
IV++โˆ’-(4,โˆ’2)(4, -2)

Concept Check ๐ŸŽฏ

Locate the Point ๐Ÿงฎ

A point starts at the origin. Enter the coordinate asked for.

1) Start at origin, move 3 right and 5 up. What is the yy-coordinate? 2) The point (โˆ’7,0)(-7, 0) lies on which axis value of yy? Enter the yy-coordinate. 3) A point in Quadrant III has x=โˆ’2x = -2. Enter a possible yy-coordinate (any negative integer).

Is a Point On the Line?

A point (x,y)(x, y) lies on a line only if it satisfies the equation โ€” plug in both coordinates and check that the two sides are equal.

Example: Is (2,7)(2, 7) on y=3x+1y = 3x + 1?

y=3x+1โ€…โ€Šโ‡’โ€…โ€Š7=?3(2)+1=6+1=7โ€…โ€Šโœ“y = 3x + 1 \;\Rightarrow\; 7 \stackrel{?}{=} 3(2) + 1 = 6 + 1 = 7 \; โœ“

Both sides equal 77, so yes, (2,7)(2, 7) is on the line.

Example: Is (4,5)(4, 5) on y=2xโˆ’1y = 2x - 1?

5=?2(4)โˆ’1=8โˆ’1=75 \stackrel{?}{=} 2(4) - 1 = 8 - 1 = 7

Since 5โ‰ 75 \ne 7, the point is not on the line.

๐Ÿ’ก To build a line by hand, pick a few xx-values, compute each yy, plot the resulting points, and connect them with a straight edge.

Concept Check ๐ŸŽฏ

Part 2: Slope: Steepness & Direction

๐Ÿ“ˆ Graphing Linear Equations

Part 2 of 5 โ€” Slope: Steepness & Direction


๐Ÿ”‘ The Idea: Slope measures how steep a line is and which way it tilts. It is the constant rate of change โ€” the same "rise over run" no matter which two points you choose.

The Slope Formula

For any two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2) on a line:

m=riserun=y2โˆ’y1x2โˆ’x1m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}

  • Rise = vertical change (change in yy)
  • Run = horizontal change (change in xx)

Example: slope through (1,2)(1, 2) and (4,8)(4, 8)

m=8โˆ’24โˆ’1=63=2m = \frac{8 - 2}{4 - 1} = \frac{6}{3} = 2

The line rises 22 units for every 11 unit it moves right.

โš ๏ธ Stay consistent! Whatever point you call "second" for yy, use the same point first for xx. Subtract in the same order on top and bottom.

Four Kinds of Slope

Line looks likeโ€ฆSlope signExample
Going up left-to-right โคดpositivem=3m = 3
Going down left-to-right โคตnegativem=โˆ’2m = -2
Perfectly horizontal โ†’zero (m=0m = 0)y=4y = 4
Perfectly vertical โ†‘undefinedx=5x = 5

A horizontal line has rise =0= 0, so m=0run=0m = \dfrac{0}{\text{run}} = 0.

A vertical line has run =0= 0, so m=rise0m = \dfrac{\text{rise}}{0} is undefined (you can't divide by zero).

๐Ÿ’ก Steeper lines have slopes farther from 00. A slope of 55 is steeper than a slope of 12\frac{1}{2}.

Concept Check ๐ŸŽฏ

Compute the Slope ๐Ÿงฎ

Find the slope through each pair of points. Enter a fraction like -3/4 or an integer.

1) (0,1)(0, 1) and (2,7)(2, 7) โ€…โ€Šโ‡’โ€…โ€Šm=โ€‰?\;\Rightarrow\; m = \,? 2) (1,5)(1, 5) and (4,โˆ’1)(4, -1) โ€…โ€Šโ‡’โ€…โ€Šm=โ€‰?\;\Rightarrow\; m = \,? 3) (โˆ’2,3)(-2, 3) and (2,4)(2, 4) โ€…โ€Šโ‡’โ€…โ€Šm=โ€‰?\;\Rightarrow\; m = \,?

Match the Slope ๐Ÿ”ฝ

Choose the slope sign or value that fits each description.

Part 3: Slope-Intercept Form

๐Ÿ“ˆ Graphing Linear Equations

Part 3 of 5 โ€” Slope-Intercept Form


๐Ÿ”‘ The Power Tool: Slope-intercept form y=mx+by = mx + b is the fastest way to graph a line. It hands you the slope mm and the yy-intercept bb right from the equation.

y=mx+by = mx + b

y=mโŸslopeโ€‰x+bโŸy-intercepty = \underbrace{m}_{\text{slope}}\,x + \underbrace{b}_{y\text{-intercept}}

  • mm = slope (steepness/direction)
  • bb = yy-intercept = the yy-value where the line crosses the yy-axis, i.e. the point (0,b)(0, b)

Reading a Line at a Glance

EquationSlope mmyy-intercept bbCrosses yy-axis at
y=3x+2y = 3x + 23322(0,2)(0, 2)
y=โˆ’12x+4y = -\frac{1}{2}x + 4โˆ’12-\frac{1}{2}44(0,4)(0, 4)
y=xโˆ’5y = x - 511โˆ’5-5(0,โˆ’5)(0, -5)
y=โˆ’2xy = -2xโˆ’2-200(0,0)(0, 0)

โš ๏ธ Watch hidden numbers. In y=xโˆ’5y = x - 5 the slope is 11 (not blank) and b=โˆ’5b = -5 (the sign travels with the number). In y=โˆ’2xy = -2x, b=0b = 0.

Concept Check ๐ŸŽฏ

Graphing from y=mx+by = mx + b

Three quick steps:

  1. Plot the yy-intercept (0,b)(0, b) first โ€” your starting dot.
  2. Use the slope m=riserunm = \dfrac{\text{rise}}{\text{run}} to step to the next point. From the intercept, go up/down by the rise and right by the run.
  3. Draw the line through both points.

Worked Example: y=2x+1y = 2x + 1

  • Start at b=1b = 1: plot (0,1)(0, 1).
  • Slope 2=212 = \dfrac{2}{1}: from (0,1)(0, 1) go up 2, right 1 to (1,3)(1, 3).
  • Repeat to confirm: (2,5)(2, 5). Connect the dots.

Worked Example: y=โˆ’23x+4y = -\frac{2}{3}x + 4

  • Start at b=4b = 4: plot (0,4)(0, 4).
  • Slope โˆ’23-\dfrac{2}{3}: go down 2, right 3 to (3,2)(3, 2).
  • Connect (0,4)(0, 4) and (3,2)(3, 2).

๐Ÿ’ก For a negative slope, put the minus sign on the rise: down for the rise, still right for the run.

Graph It Step by Step ๐Ÿ”ฝ

You're graphing y=3xโˆ’2y = 3x - 2.

From Equation to Graph ๐Ÿงฎ

For y=โˆ’12x+6y = -\frac{1}{2}x + 6, answer each part.

1) The yy-intercept is the point (0,โ€‰?)(0, \,?). Enter the yy-value. 2) Starting at the intercept, you go down 1 and right 2. What is the xx-coordinate of that second point? 3) What is the yy-coordinate of that second point?

Part 4: Intercepts, Standard Form & Special Lines

๐Ÿ“ˆ Graphing Linear Equations

Part 4 of 5 โ€” Intercepts, Standard Form & Special Lines


๐Ÿ”‘ More Ways In: Not every line arrives as y=mx+by = mx + b. Here you'll graph from intercepts, convert standard form Ax+By=CAx + By = C, and master horizontal, vertical, parallel, and perpendicular lines.

Graphing with Intercepts

Two intercepts are enough to draw any (non-horizontal, non-vertical) line:

  • xx-intercept: where the line crosses the xx-axis. Set y=0y = 0, solve for xx.
  • yy-intercept: where the line crosses the yy-axis. Set x=0x = 0, solve for yy.

Example: 2x+3y=122x + 3y = 12

xx-intercept (let y=0y = 0): 2x+3(0)=12โ€…โ€Šโ‡’โ€…โ€Š2x=12โ€…โ€Šโ‡’โ€…โ€Šx=6โ€…โ€Šโ‡’โ€…โ€Š(6,0)2x + 3(0) = 12 \;\Rightarrow\; 2x = 12 \;\Rightarrow\; x = 6 \;\Rightarrow\; (6, 0)

yy-intercept (let x=0x = 0): 2(0)+3y=12โ€…โ€Šโ‡’โ€…โ€Š3y=12โ€…โ€Šโ‡’โ€…โ€Šy=4โ€…โ€Šโ‡’โ€…โ€Š(0,4)2(0) + 3y = 12 \;\Rightarrow\; 3y = 12 \;\Rightarrow\; y = 4 \;\Rightarrow\; (0, 4)

Plot (6,0)(6, 0) and (0,4)(0, 4), connect, done.

๐Ÿ’ก The intercept method is fastest for standard form Ax+By=CAx + By = C, where solving for yy would be extra work.

Find the Intercepts ๐Ÿงฎ

For the line 4xโˆ’2y=84x - 2y = 8:

1) xx-intercept: set y=0y = 0 and solve. Enter the xx-value. 2) yy-intercept: set x=0x = 0 and solve. Enter the yy-value.

Horizontal & Vertical Lines

These are the two "special" lines students mix up most:

EquationLooks likeSlopePasses through
y=ky = khorizontal line00every point with y=ky = k, e.g. (0,k)(0, k)
x=kx = kvertical lineundefinedevery point with x=kx = k, e.g. (k,0)(k, 0)
  • y=3y = 3 is a flat horizontal line at height 33.
  • x=โˆ’2x = -2 is a vertical line two units left of the yy-axis.

โš ๏ธ Don't swap them! "yy equals a number" is horizontal; "xx equals a number" is vertical. The letter that's fixed is the axis the line is perpendicular to.

Concept Check ๐ŸŽฏ

Parallel & Perpendicular Lines

Two lines' slopes tell you how they relate:

  • Parallel lines never meet โ€” they have the same slope (m1=m2m_1 = m_2).
  • Perpendicular lines cross at 90โˆ˜90^\circ โ€” their slopes are negative reciprocals (m1โ‹…m2=โˆ’1m_1 \cdot m_2 = -1).

Negative Reciprocal in One Move

Flip the fraction and switch the sign:

m=23โ€…โ€ŠโŸถโ€…โ€ŠmโŠฅ=โˆ’32,m=โˆ’4โ€…โ€ŠโŸถโ€…โ€ŠmโŠฅ=14m = \frac{2}{3} \;\longrightarrow\; m_\perp = -\frac{3}{2}, \qquad m = -4 \;\longrightarrow\; m_\perp = \frac{1}{4}

Original slopeParallel slopePerpendicular slope
3333โˆ’13-\frac{1}{3}
โˆ’12-\frac{1}{2}โˆ’12-\frac{1}{2}22
54\frac{5}{4}54\frac{5}{4}โˆ’45-\frac{4}{5}

๐Ÿ’ก Check perpendicularity by multiplying: 3โ‹…(โˆ’13)=โˆ’13 \cdot \left(-\frac{1}{3}\right) = -1 โœ“.

Parallel or Perpendicular? ๐Ÿ”ฝ

Part 5: Mixed Practice & Mastery Check

๐Ÿ“ˆ Graphing Linear Equations

Part 5 of 5 โ€” Mixed Practice & Mastery Check


You can now (1) plot and test points, (2) compute slope, (3) graph from y=mx+by = mx + b, and (4) handle intercepts, standard form, and special lines. Let's put it all together.

Quick Reference

GoalKey move
Slope from two pointsm=y2โˆ’y1x2โˆ’x1m = \dfrac{y_2 - y_1}{x_2 - x_1}
Graph y=mx+by = mx + bplot (0,b)(0, b), step by slope riserun\dfrac{\text{rise}}{\text{run}}
Graph Ax+By=CAx + By = Cfind xx- and yy-intercepts
Horizontal liney=ky = k, slope 00
Vertical linex=kx = k, slope undefined
Perpendicular slopenegative reciprocal (m1m2=โˆ’1m_1 m_2 = -1)

โš ๏ธ Top traps: reading (x,y)(x, y) in the wrong order, dropping a negative sign on the slope, and swapping horizontal (y=ky = k) with vertical (x=kx = k).

Mixed Practice ๐Ÿงฎ

1) Slope through (โˆ’3,2)(-3, 2) and (1,10)(1, 10) โ€…โ€Šโ‡’โ€…โ€Šm=โ€‰?\;\Rightarrow\; m = \,? 2) The line y=5xโˆ’8y = 5x - 8 crosses the yy-axis at (0,โ€‰?)(0, \,?). Enter the yy-value. 3) A line perpendicular to one with slope 25\frac{2}{5} has slope โ€‰?\,? (enter as a fraction like -5/2).

Mixed Practice ๐ŸŽฏ

Exit Quiz โœ…

Answer all three to finish the lesson.