Graphing Lines
Graphing a linear equation means plotting the straight line that represents all solutions to that equation. Every linear equation can be written in three forms — slope-intercept, point-slope, and standard — and each form is most useful in a different situation. This guide covers slope, all three forms, and the specific errors that cost students the most points on MyMathLab, ALEKS, and Hawkes Learning.
Graphing Lines at a Glance
Slope: m = (y&sub2; − y&sub1;) / (x&sub2; − x&sub1;) — rise over run. Positive rises, negative falls, zero is horizontal, undefined is vertical.
Slope-intercept form: y = mx + b — read slope and y-intercept directly. Easiest form for graphing.
Point-slope form: y − y&sub1; = m(x − x&sub1;) — use when you have a point and a slope. Best for writing equations.
Standard form: Ax + By = C — use when finding intercepts or setting up systems. Convert to slope-intercept to graph.
Table of Contents
1) What a Linear Equation Is
A linear equation is any equation whose graph is a straight line. It contains no exponents higher than 1 — no x², no x³, no square roots of x. Every point on the line is a solution to the equation, and every solution plots onto the line. The relationship between x and y is constant throughout: for every unit you move right, you move the same number of units up or down.
Linear equations appear in three standard forms. Each form contains the same information but arranges it differently. Choosing the right form depends on what you are given and what the problem asks for. The comparison card below shows all three forms side by side.
2) Slope
Slope measures how steep a line is and in which direction it goes. It is defined as rise over run — the vertical change divided by the horizontal change between any two points on the line. Slope is always calculated the same way regardless of which two points you choose, because a line has constant steepness throughout.
The slope formula
Given two points (x&sub1;, y&sub1;) and (x&sub2;, y&sub2;), slope is:
m = (y&sub2; − y&sub1;) / (x&sub2; − x&sub1;)
The subscripts 1 and 2 just label which point is which. It does not matter which point you call (x&sub1;, y&sub1;) as long as you are consistent — the same point must be subtracted from in both the numerator and denominator.
Worked example: calculating slope from two points
m = (9 – 3) / (4 – 1) = 6 / 3 = 2
Slope = 2. For every 1 unit right, the line goes 2 units up.
Worked example: negative slope
m = (1 – 7) / (5 – 2) = -6 / 3 = -2
Slope = -2. For every 1 unit right, the line goes 2 units down.
Four types of slope
Slope falls into four categories based on its sign and whether it exists at all. The visual below shows what each type looks like on a coordinate grid.
✓ Correct: y = 4 has slope 0. x = 4 has undefined slope. Horizontal = zero. Vertical = undefined.
3) Slope-Intercept Form
Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept. It is the most common form for graphing because both pieces of information you need — where to start and how steep to go — are visible directly from the equation without any calculation.
How to graph from slope-intercept form
The process is three steps: plot the y-intercept at (0, b), use the slope to find a second point by moving rise units vertically and run units horizontally, then draw the line through both points.
Step 1 — Identify m and b: m = 3/4, b = -2
Step 2 — Plot y-intercept: (0, -2)
Step 3 — Apply slope: rise 3, run 4 → next point at (4, 1)
Step 4 — Draw the line through (0, -2) and (4, 1)
Identifying slope and intercept when the equation is rearranged
Not every equation arrives in y = mx + b form. If variables appear on both sides or the equation is in a different form, solve for y first.
Divide both sides by 2: y = -3x + 4
Slope = -3, y-intercept = (0, 4)
The equation must be solved for y before reading off m and b.
Parallel and perpendicular lines
Parallel lines have equal slopes. Perpendicular lines have slopes that are negative reciprocals: if one line has slope m, a perpendicular line has slope −1/m. For example, if one line has slope 2/3, a perpendicular line has slope −3/2. This appears frequently on ALEKS and MyMathLab in writing-equations problems.
4) Point-Slope Form
Point-slope form is y − y&sub1; = m(x − x&sub1;). It is used primarily for writing the equation of a line when a point and the slope are known — or when two points are given and you calculate slope first. Most problems that ask you to “write an equation” are best handled with point-slope form.
Writing an equation from a point and slope
Substitute into y – y₁ = m(x – x₁):
y – (-1) = 4(x – 3)
y + 1 = 4x – 12
y = 4x – 13 ← slope-intercept form
Writing an equation from two points
Step 1 — Find slope: m = (13 – 5) / (6 – 2) = 8/4 = 2
Step 2 — Use either point in point-slope form (using (2, 5)):
y – 5 = 2(x – 2)
y – 5 = 2x – 4
y = 2x + 1
✓ Correct: y − (−1) = y + 1. Subtracting a negative is adding a positive.
5) Standard Form
Standard form is Ax + By = C, where A, B, and C are integers and A is positive. It is less convenient for graphing directly but is the required form on many problems and is the natural setup for systems of equations. To graph from standard form, either convert to slope-intercept form or find both intercepts.
Finding intercepts from standard form
The x-intercept is where y = 0. The y-intercept is where x = 0. Substituting each into standard form is faster than converting the whole equation.
x-intercept (set y = 0): 4x = 24 → x = 6 → point (6, 0)
y-intercept (set x = 0): 3y = 24 → y = 8 → point (0, 8)
Plot (6, 0) and (0, 8), draw the line.
Converting standard form to slope-intercept
Subtract 5x from both sides: -2y = -5x + 10
Divide by -2: y = (5/2)x – 5
Slope = 5/2, y-intercept = (0, -5)
6) Where Students Lose Points
Graphing line errors cluster around five consistent mistakes across MyMathLab, ALEKS, Hawkes Learning, and Knewton Alta.
Sign errors in the slope formula
The slope formula subtracts y-values and x-values in the same order. Mixing up which point is subtracted from which — or subtracting y values in one order and x values in the other — produces the wrong sign on the slope.
✓ Correct: m = (9−3)/(4−1) = 6/3 = 2. y change over x change — always.
Confusing zero slope and undefined slope
Zero slope belongs to horizontal lines (y = constant). Undefined slope belongs to vertical lines (x = constant). These are the most swapped answers on this unit.
✓ Correct: x = 5 → undefined slope. y = 5 → slope of 0.
Plotting the y-intercept incorrectly
The y-intercept b is a y-value, not an x-value. It plots at (0, b) on the y-axis. Students who plot it at (b, 0) on the x-axis get every subsequent point wrong.
✓ Correct: y-intercept is (0, 3). It is on the y-axis, not the x-axis.
Applying slope in the wrong direction for negative slopes
A slope of −3/4 means down 3 and right 4. Students who move down 3 and left 4 — or up 3 and right 4 — get a line with the correct steepness but the wrong direction.
✓ Correct: m = −3/4 means down 3, right 4 — or equivalently up 3, left 4.
Forgetting to solve for y before reading slope and intercept
m and b can only be read directly from y = mx + b. Any other form requires rearranging first. Reading slope and intercept from standard form or an unsolved equation produces wrong values.
✓ Correct: Solve for y first: y = −(3/2)x + 3. Slope = −3/2, y-intercept = (0, 3).
7) How FMMC Can Help
Graphing lines and linear equations appear throughout every algebra course on MyMathLab, ALEKS, Hawkes Learning, Knewton Alta, Sophia Learning, and WebAssign. If this unit is holding up your grade, FMMC handles every assignment with an A/B guarantee.
Algebra Homework
Every graphing and linear equations module handled accurately and on time. See our algebra homework help page.
Proctored Exams
Algebra exams on Honorlock and Respondus supported. See our proctored exam page.
Full Course Help
Week 1 through final exam. A or B guaranteed — see our guarantee.
Graphing unit coming up or already behind? Tell us your course, platform, and next due date.
Other guides in this series
Exponent Rules •
Factoring •
Solving Quadratic Equations •
Algebra Homework Help
FAQ: Graphing Lines
What are the three forms of a linear equation?
The three forms are slope-intercept (y = mx + b), point-slope (y − y&sub1; = m(x − x&sub1;)), and standard form (Ax + By = C). All three represent the same line and can be converted into each other. Slope-intercept is easiest to graph, point-slope is easiest to write from given information, and standard form is most useful for finding intercepts and setting up systems.
What is slope and how do you calculate it?
Slope is rise over run — the vertical change divided by the horizontal change between two points on a line. The formula is m = (y&sub2; − y&sub1;) / (x&sub2; − x&sub1;). The result tells you how steep the line is and in what direction: positive slopes rise left to right, negative slopes fall, zero slope is horizontal, and undefined slope is vertical.
What is the difference between zero slope and undefined slope?
Zero slope means the line is horizontal — it has no rise. y = 4 is an example. Undefined slope means the line is vertical — it has no run, and dividing by zero run has no defined value. x = 4 is an example. These are the most commonly confused slope types on algebra exams.
How do you graph a line in slope-intercept form?
Plot the y-intercept at (0, b) on the y-axis. Then use the slope m = rise/run to find a second point: move up or down by the rise and right by the run. Draw the line through both points. For example, y = (3/4)x − 2: plot (0, −2), then move up 3 and right 4 to (4, 1), and draw the line.
When should I use point-slope form instead of slope-intercept?
Use point-slope form when writing the equation of a line from a given point and slope, or from two given points. It lets you plug in values immediately without finding the y-intercept first. Once you have the point-slope equation, you can convert to slope-intercept by distributing and solving for y.
How do you find the slope of parallel and perpendicular lines?
Parallel lines have identical slopes. Perpendicular lines have slopes that are negative reciprocals of each other: if one line has slope m, a perpendicular line has slope −1/m. For example, a line with slope 3 is perpendicular to a line with slope −1/3.
Can FMMC help with graphing lines homework on MyMathLab or ALEKS?
Yes. FMMC handles algebra homework, quizzes, and proctored exams across MyMathLab, ALEKS, Hawkes Learning, and more. See our algebra homework help page or get a free quote.
Graphing Unit Holding Up Your Grade?
Tell us your course, platform, and next due date. FMMC’s algebra experts handle every assignment — A/B guaranteed or your money back.
Or email: info@finishmymathclass.com • A/B Guarantee • Algebra Help