Which Equation Represents The Line Shown On The Graph
You're staring at a coordinate plane. A straight line cuts across it. Because of that, maybe it slopes upward, maybe downward, maybe it's perfectly flat. The question on the worksheet — or the test, or the homework app — is always the same: which equation represents the line shown on the graph?
It sounds simple. And honestly, the mechanics are simple. But the way it's taught often makes it feel like a memorization game instead of something you can actually see.
What Is the Equation of a Line from a Graph
Every non-vertical line on a coordinate plane can be described by an equation in two variables, usually x and y. The most common form you'll run into is slope-intercept form:
y = mx + b
That m is the slope — how steep the line is, and which direction it tilts. The b is the y-intercept — where the line crosses the vertical axis.
But that's not the only way to write it. You'll also see point-slope form (y - y₁ = m(x - x₁)) and standard form (Ax + By = C). They're all describing the same line. They're just different languages for the same geometric object.
The graph gives you the picture. Still, the equation gives you the rule. Going from picture to rule is what this whole skill is about.
The Two Pieces You Need
Every method for finding the equation boils down to identifying two things from the graph:
- The slope — the rate of change, the "rise over run"
- A point on the line — usually the y-intercept, but any clear point works
Once you have those, you can write the equation in whatever form the problem asks for. Or whatever form you prefer.
Why It Matters / Why People Care
This isn't just a worksheet skill. It shows up everywhere.
In physics, the slope of a position-time graph is velocity. Day to day, the equation of that line is the motion model. Still, in economics, a supply curve or demand curve on a graph — finding its equation lets you predict price at any quantity. In data science, the line of best fit through a scatterplot? That's an equation you derive from the graph (or the data behind it).
And in algebra class? It's the gateway. If you can't pull an equation from a graph, you'll struggle with systems of equations, linear inequalities, and every "model this situation" word problem that follows.
The students who get comfortable with this early — they stop seeing graphs and equations as separate topics. They see them as two views of the same thing. That shift changes everything.
How It Works (or How to Do It)
Let's walk through the actual process. Which means step by step. No shortcuts that leave gaps.
Finding the Slope
Slope is the ratio of vertical change to horizontal change between any two points* on the line. The formula is:
m = (y₂ - y₁) / (x₂ - x₁)
But on a graph, you don't need the formula. You need your eyes.
Pick two points that land exactly* on grid intersections. Consider this: integer coordinates. Here's the thing — " Exact. Not "looks like it's near (2, 3).The cleaner the points, the less arithmetic you do.
Count the rise. Up is positive. And count the run. Right is positive. Down is negative. Left is negative.
Write it as a fraction. Simplify if you can.
Example: The line passes through (0, 2) and (3, 5). Rise = 3. Run = 3. Slope = 3/3 = 1.
Another example: Line passes through (-2, 4) and (2, -2). Rise = -6. Run = 4. Slope = -6/4 = -3/2.
If the line goes up as you move right, slope is positive. Here's the thing — if it goes down, slope is negative. Flat line? Slope = 0. And vertical line? Also, slope is undefined — and vertical lines don't* have a y = mx + b equation. We'll come back to that.
Finding the Y-Intercept
This is the easiest part — if the graph shows the y-axis clearly.
Look where the line crosses the vertical axis. That's (0, b). The y-coordinate is your b-value.
If the graph is zoomed in and the y-axis isn't visible, or the line crosses at a non-integer, you'll need to calculate it. Use your slope and one known point (x₁, y₁):
b = y₁ - m·x₁
Plug in the numbers. Solve for b.
Putting It Together: Slope-Intercept Form
Now you have m and b. Write:
y = mx + b
That's it. That's the equation.
Example: Slope = 2, y-intercept = -3. Equation: y = 2x - 3.
Check it. Still, pick a point on the line from the graph — say (1, -1). Plug x = 1 into your equation: y = 2(1) - 3 = -1. Matches. Good.
Alternative Forms: Point-Slope and Standard Form
Sometimes the problem asks for point-slope form. Sometimes standard form. Sometimes you just prefer* one.
Point-slope: y - y₁ = m(x - x₁)
Use any point (x₁, y₁) on the line. The slope is the same m you already found.
Standard form: Ax + By = C
Continue exploring with our guides on you and your team have initiated compressions and ventilation and what is 80 minutes in hours.
Where A, B, C are integers, A ≥ 0. To get here from slope-intercept:
- Move the x-term to the left side: -mx + y = b
- Multiply by -1 if needed to make A positive: mx - y = -b
- Clear fractions by multiplying everything by the denominator
Example: y = (2/3)x + 4
Multiply by 3: 3y = 2x + 12 Rearrange: -2x + 3y = 12 Multiply by -1: 2x - 3y = -12
That's standard form. A = 2, B = -3, C = -12.
Special Cases: Horizontal and Vertical Lines
Horizontal lines have slope 0. On the flip side, equation: y = k where k is the y-coordinate of every point on the line. The graph is a flat line crossing the y-axis at k.
Vertical lines have undefined slope
Because vertical lines have undefined slope, they cannot be expressed in slope‑intercept form. Instead, a vertical line is described by a single x‑coordinate: x = k, where k is the constant x‑value of every point on the line. To find k, pick any point that lies on the line (the line itself guarantees that the x‑value is the same for all points). Here's one way to look at it: if the line passes through (‑4, 7) and (‑4, –3), the equation is x = ‑4. And it works.
Graphing a Vertical Line
Plotting a vertical line is straightforward: draw a straight line that runs straight up and down, intersecting the x‑axis at the chosen k. Because the line never moves left or right, its slope is undefined—there is no “run” to divide into a “rise.”
Using Other Forms
- Point‑slope form does not apply to vertical lines because it requires a defined slope.
- Standard form can accommodate a vertical line by setting the coefficient of y to zero: Ax = C (or equivalently x = C/A). For the line x = ‑4*, one possible standard‑form representation is 1·x + 0·y = ‑4, which satisfies the requirement that A be non‑negative.
Quick Practice
Determine the equation of the line that contains the points (5, 2) and (5, ‑9).
Solution: Both points share the same x‑coordinate, 5, so the line is vertical. The equation is x = 5.
Choosing the Right Form
- Use slope‑intercept (y = mx + b*) when you need to see the slope and where the line crosses the y‑axis at a glance.
- Reach for point‑slope (y – y₁ = m(x – x₁)*) when you already have a convenient point and the slope, especially if the y‑intercept is not obvious.
- Opt for standard form (Ax + By = C*) when the problem explicitly asks for integer coefficients or when you want a uniform way to handle both horizontal and vertical lines.
Final Tips
- Always verify that the points you pick truly lie on the line—sometimes a misread grid can lead to an incorrect slope.
- When simplifying fractions for the slope, reduce to lowest terms to keep calculations clean.
- Remember that a horizontal line has slope 0 and equation y = k*, while a vertical line has undefined slope and equation x = k*.
- If you need
to find intercepts quickly, set x = 0* to find the y-intercept and y = 0* to find the x-intercept; this works reliably in standard form and often saves time over converting to slope‑intercept.
Think about it: 5. When writing standard form, ensure A, B, and C are integers with A > 0 (or A ≥ 0 if B = 0 for vertical lines) and that the greatest common divisor of the three coefficients is 1.
Putting It All Together: A Worked Example
Find the equation of the line through (‑2, 4) and (6, ‑2) in all three major forms.
-
Calculate the slope
[ m = \frac{-2 - 4}{6 - (-2)} = \frac{-6}{8} = -\frac{3}{4} ] -
Point‑slope form (using (‑2, 4))
[ y - 4 = -\frac{3}{4}\bigl(x + 2\bigr) ] -
Slope‑intercept form
Distribute and solve for y:
[ y - 4 = -\frac{3}{4}x - \frac{3}{2} \quad\Longrightarrow\quad y = -\frac{3}{4}x + \frac{5}{2} ] -
Standard form
Clear fractions by multiplying by 4:
[ 4y = -3x + 10 \quad\Longrightarrow\quad 3x + 4y = 10 ] (Here A = 3 > 0, B = 4, C = 10, and gcd(3, 4, 10) = 1.)
All three equations describe the same line; the choice of which to present depends entirely on what the problem—or your next calculation—demands.
Conclusion
Mastering linear equations is less about memorizing formulas and more about recognizing which tool fits the task. Slope‑intercept form gives instant visual intuition, point‑slope form turns a single point and a slope into an equation with zero friction, and standard form provides a universal language that even vertical lines can speak. By practicing the conversions above and internalizing the special cases for horizontal and vertical lines, you’ll move fluidly between algebraic manipulation and geometric insight—a skill that pays dividends from coordinate geometry through calculus and beyond.
Latest Posts
Coming in Hot
-
The Formation Of The United Nations Was A Response To
Aug 25, 2026
-
A Stone Is Thrown Horizontally At 8 0 M S
Aug 25, 2026
-
If Lk Mk Lk 7x 10
Aug 25, 2026
-
Common Multiples Of 4 And 14
Aug 25, 2026
-
Will Jill And Phil Are All Wheat Farmers
Aug 25, 2026
Related Posts
A Few More for You
-
Write An Equation That Represents The Line Use Exact Numbers
Aug 01, 2026
-
What Is The Equation Of The Line Graphed Below
Aug 21, 2026