Algebra

How to Graph Linear Equations: Slope, Intercepts and Examples

Graphing linear equations is a core algebra skill. Learn how to plot lines using slope-intercept form, intercepts, and tables of values with clear examples and tips.

Frequently asked questions

How do you graph a line using slope-intercept form?

Write the equation as y = mx + b. Plot the point (0, b) on the y-axis, then use the slope m as rise over run to move to the next point. For y = 2x + 1, start at (0, 1), go up 2 and right 1, then draw the line.

How do you graph a linear equation using intercepts?

Set y = 0 and solve for x to get the x-intercept, then set x = 0 and solve for y to get the y-intercept. Plot both points and draw the line through them. For 2x + 3y = 6, the intercepts are (3, 0) and (0, 2).

What do horizontal and vertical lines look like as equations?

A horizontal line has the form y = c, and its slope is 0. A vertical line has the form x = c, and its slope is undefined. For example, y = 4 is flat through (0, 4), and x = −2 is straight up and down through (−2, 0).

How do you graph an equation that is not in y = mx + b form?

Solve for y first. For 3x + 2y = 8, subtract 3x to get 2y = −3x + 8, then divide by 2 to get y = −1.5x + 4. Now the slope is −1.5 and the y-intercept is 4, so you can plot it normally.

How do you know if a slope is positive or negative on a graph?

Read the line from left to right. If it rises, the slope is positive. If it falls, the slope is negative. A flat line has slope 0, and a vertical line has no defined slope. A steeper line has a larger absolute slope.

Try these solvers

Algebra10 min read

Understanding Slope and Slope-Intercept Form: Complete Guide

Slope measures steepness and direction of a line. Master the slope formula, y = mx + b form, graphing techniques, and converting between standard and slope-intercept form.

Algebra8 min read

5 Common Algebra Mistakes Students Make on Exams

These five algebra mistakes trip up students on nearly every exam. Learn to spot them before they cost you points, with clear examples showing what goes wrong and how to fix it.

Algebra10 min read

Solving Inequalities: Linear, Quadratic and Absolute Value

Inequalities are everywhere in algebra. Master the techniques for solving linear, compound, absolute value, quadratic, and rational inequalities with this complete guide.

Stuck on your own problem?

Snap a photo in Solver AI for iPhone and iPad and see every step, so you can do the next one yourself.