Allday Education

Solve by Graphing

To solve ax2+bx+c=0ax^{2} + bx + c = 0 with a graph, graph the function y=ax2+bx+cy = ax^{2} + bx + c and look at where the parabola crosses the xx-axis. Those crossing points are the solutions, because the xx-axis is exactly where y=0y = 0 — the same zero your equation is asking about.

The graph also answers a question no single calculation does: how many real solutions there are. A parabola can cross the xx-axis twice, touch it once, or miss it completely, and each picture tells you the count instantly.

Solutions are the xx-intercepts

The equation x22x3=0x^{2} - 2x - 3 = 0 asks: which xx-values make the expression equal zero? On the graph of y=x22x3y = x^{2} - 2x - 3, the expression's value is the height yy. The height is zero exactly at the xx-intercepts.

The graph below crosses the xx-axis at x=1x = -1 and x=3x = 3, so those two numbers are the solutions. You can confirm either one by substituting: (1)22(1)3=1+23=0(-1)^{2} - 2(-1) - 3 = 1 + 2 - 3 = 0.

-2-11234-4-3-2-112xy

Two, one, or zero solutions

Cross the xx-axis twice: two real solutions. This is the usual case — the parabola dips below the axis (or rises above it) and comes back through.

Touch the axis once: one real solution. The vertex sits exactly on the xx-axis, so the parabola meets it at a single point. This is called a double root.

Miss the axis entirely: no real solutions. A parabola that opens up with its vertex above the axis — or opens down with its vertex below — never reaches y=0y = 0.

Worked examples

Example 1: two solutions

Solve x22x3=0x^{2} - 2x - 3 = 0 by graphing.

Graph the related functiony=x22x3y = x^{2} - 2x - 3
Find where the parabola crosses the xx-axisx=1 and x=3x = -1 \text{ and } x = 3
Check one: (3)22(3)3=963=0(3)^{2} - 2(3) - 3 = 9 - 6 - 3 = 0

Answer: x=1x = -1 and x=3x = 3

Example 2: one solution

Solve x26x+9=0x^{2} - 6x + 9 = 0 by graphing.

Graph the related functiony=x26x+9y = x^{2} - 6x + 9
The vertex sits on the xx-axis — the graph touches at one pointx=3x = 3
One touching point means one solution (a double root)

Answer: x=3x = 3

Example 3: no real solutions

Solve x2+2x+3=0x^{2} + 2x + 3 = 0 by graphing.

Graph the related functiony=x2+2x+3y = x^{2} + 2x + 3
Its vertex is at (1,2)(-1, 2) and it opens upa=1>0a = 1 > 0
The whole parabola stays above the xx-axis — no crossings

Answer: No real solutions.

Try one yourself

Common questions

What if the parabola never crosses the xx-axis?

Then the equation has no real solutions. The expression never equals zero for any real xx — the graph makes that visible immediately.

What if the intercepts are not whole numbers?

A graph only lets you estimate them. When the crossings land between grid lines, switch to an algebraic method — factoring, the square root method, or the quadratic formula — to get exact answers.

Why do I set y=0y = 0?

Solving ax2+bx+c=0ax^{2} + bx + c = 0 means finding the inputs where the expression's value is zero. On the graph, that value is the height yy, and height zero happens only on the xx-axis.

Is the vertex a solution?

Only when it sits exactly on the xx-axis (the one-solution case). Otherwise the vertex is just the turning point — the solutions are the crossing points, not the bottom or top of the U.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1