Quadratic Equations: How to Solve Them and Graph Parabolas

Table of Contents

A quadratic equation is an equation that can be written as ax2 + bx + c = 0, where a ≠ 0. It can have two real solutions, one real solution, or no real solutions, and its graph is a U-shaped curve called a parabola. This guide shows every main way to solve a quadratic equation, explains the discriminant, and walks through vertex form, the axis of symmetry, and where a parabola increases or decreases.

What Is a Quadratic Equation?

The standard form is ax2 + bx + c = 0. The number a is the leading coefficient, b is the linear coefficient, and c is the constant. The highest power of x is 2 — that is what makes the equation “quadratic” (from the Latin quadratus, “square”).

  • 2x2 − 5x + 3 = 0  →  a = 2, b = −5, c = 3
  • x2 = 49  →  a = 1, b = 0, c = −49
  • x2 + 2x = 24  →  first rewrite as x2 + 2x − 24 = 0

How to Solve Quadratic Equations

Zero Product Property

The zero product property says: if a · b = 0, then a = 0 or b = 0 (or both). It is the reason factoring works — once the equation is a product equal to zero, you set each factor equal to zero.

  • (x − 5)(2x + 1) = 0
  • x − 5 = 0  →  x = 5
  • 2x + 1 = 0  →  x = −1/2

The property only works when one side is zero. If (x − 1)(x + 2) = 4, you must first expand and move 4 to the left side.

Solving by factoring

  1. Move all terms to one side so the equation equals 0.
  2. Factor the quadratic (see factoring trinomials).
  3. Set each factor equal to 0 and solve.

For what values of x is x2 + 2x = 24 true?

  • Step 1: x2 + 2x − 24 = 0
  • Step 2: find two numbers that multiply to −24 and add to 2: 6 and −4  →  (x + 6)(x − 4) = 0
  • Step 3: x = −6 or x = 4
  • Answer: x = 4 and x = −6. Check: 42 + 2·4 = 24 ✓, (−6)2 + 2·(−6) = 36 − 12 = 24 ✓

Solving by square roots

If there is no x-term (b = 0), isolate x2 and take the square root of both sides — remember both the positive and negative root.

3x2 − 75 = 0  →  x2 = 25  →  x = ±5

Completing the square

Completing the square turns x2 + bx into a perfect square trinomial. The number to add to both sides is (b/2)2.

What number should be added to both sides of x2 − 6x = 5 to complete the square?

  • b = −6, so (b/2)2 = (−3)2 = 9
  • x2 − 6x + 9 = 5 + 9  →  (x − 3)2 = 14
  • x − 3 = ±√14  →  x = 3 ± √14 (about 6.74 and −0.74)

If a ≠ 1, divide the whole equation by a first (or factor a out of the x-terms), then complete the square.

The quadratic formula

The quadratic formula solves any quadratic equation. It comes from completing the square on ax2 + bx + c = 0:

  • x = (−b ± √(b2 − 4ac)) / (2a)
  • Solve 2x2 − 5x + 3 = 0:  a = 2, b = −5, c = 3
  • x = (5 ± √(25 − 24)) / 4 = (5 ± 1) / 4
  • x = 3/2 or x = 1

Practice with our quadratic formula worksheets.

Which method should you use?

Situation

Best method

Easy-to-factor trinomial

Factoring + zero product property

No x-term (b = 0)

Square roots

a = 1 and b is even

Completing the square

Anything else

Quadratic formula

The Discriminant

The discriminant is the expression under the square root in the quadratic formula: D = b2 − 4ac. Without solving, it tells you how many real solutions the equation has and how many times the parabola crosses the x-axis.

Discriminant

Number of real solutions

Graph

D > 0

Two different real solutions

Crosses the x-axis twice

D = 0

One real solution (a double root)

Touches the x-axis at the vertex

D < 0

No real solutions

Does not touch the x-axis

What does a negative discriminant mean?

A negative discriminant means the equation has no real solutions, because you cannot take the square root of a negative number in the real numbers. The parabola lies completely above or completely below the x-axis. The equation does have two complex solutions, which are conjugates of each other.

  • x2 + 2x + 5 = 0:  D = 22 − 4·1·5 = 4 − 20 = −16 < 0
  • No real solutions. Complex solutions: x = (−2 ± √−16)/2 = −1 ± 2i

Using the discriminant with a parameter

For what values of m does the graph of y = 3x2 + 7x + m have two x-intercepts?

Two x-intercepts means D > 0:  72 − 4·3·m > 0

49 − 12m > 0  →  12m < 49  →  m < 49/12 (about 4.08)

Graphing a Quadratic Function: The Parabola

The graph of y = ax2 + bx + c is a parabola. If a > 0, it opens upward and has a minimum point. If a < 0, it opens downward and has a maximum point. That turning point is the vertex.

Three forms of a quadratic function

Form

Equation

What it shows directly

Standard form

y = ax2 + bx + c

y-intercept (0, c)

Vertex form

y = a(x − h)2 + k

Vertex (h, k)

Factored (intercept) form

y = a(x − r)(x − s)

x-intercepts r and s

Axis of symmetry

The axis of symmetry is the vertical line through the vertex that splits the parabola into mirror halves. Find it with whichever form you have:

  • Standard form: x = −b/(2a)
  • Vertex form: x = h
  • Factored form: x = (r + s)/2 — halfway between the x-intercepts

What is the axis of symmetry of f(x) = −(x + 9)(x − 21)?

The x-intercepts are x = −9 and x = 21.

Axis of symmetry: x = (−9 + 21)/2 = x = 6

Increasing and decreasing intervals

A parabola changes direction at its vertex x = h:

  • If a > 0 (opens up): decreasing on (−∞, h), increasing on (h, ∞).
  • If a < 0 (opens down): increasing on (−∞, h), decreasing on (h, ∞).

Over what interval is the graph of f(x) = −(x + 8)2 − 1 decreasing?

Vertex form with a = −1, h = −8, k = −1. The vertex is (−8, −1) and the parabola opens down.

It rises up to x = −8, then falls.

Decreasing on (−8, ∞); increasing on (−∞, −8).

Vertex Form: How to Convert from Standard Form

To rewrite y = ax2 + bx + c as y = a(x − h)2 + k, complete the square:

  1. Factor a out of the first two terms (the x2– and x-terms). This is always the first step when a ≠ 1.
  2. Inside the parentheses, add and subtract (half the x-coefficient)2.
  3. Write the perfect square trinomial as a squared binomial.
  4. Multiply the subtracted number by a, move it out of the parentheses, and combine constants.

 Example 1

  • Rewrite y = 3x2 + 9x − 18 in the form y = a(x − h)2 + k.
  • First step: factor 3 from 3x2 + 9x  →  y = 3(x2 + 3x) − 18
  • Half of 3 is 3/2; (3/2)2 = 9/4  →  y = 3(x2 + 3x + 9/4 − 9/4) − 18
  • y = 3(x + 3/2)2 − 27/4 − 18
  • y = 3(x + 3/2)2 − 99/4   Vertex: (−3/2, −99/4)

Example 2

  • Rewrite y = 6x2 + 18x + 14 in vertex form.
  • First step: factor 6 from 6x2 + 18x  →  y = 6(x2 + 3x) + 14
  • Add and subtract 9/4 inside: y = 6(x + 3/2)2 − 6·9/4 + 14
  • y = 6(x + 3/2)2 + 1/2   Vertex: (−3/2, 1/2)

A common wrong first step is factoring a number out of the last two terms (like 18x + 14). The coefficient a must come out of the x2– and x-terms, because that is what makes the expression inside the parentheses start with x2.

Practice Problems

  1. Solve x2 − 9x + 20 = 0.
  2. How many real solutions does 4x2 − 4x + 1 = 0 have? 
  3. What number completes the square for x2 + 10x? 
  4. Find the vertex of y = 2(x − 1)2 + 7. 
  5. Find the axis of symmetry of y = x2 − 8x + 3. 
  6. Where is f(x) = (x − 2)2 + 5 increasing? 

Need help with quadratic equations? Brighterly math tutors work one-on-one with K-12 students, explain each step at your child’s pace, and turn tricky topics into skills that stick. Book a free demo lesson to see how it works.

FAQ

What is a quadratic equation?

A quadratic equation is an equation of the form ax2 + bx + c = 0 with a ≠ 0. Its highest power of x is 2.

What does a negative discriminant mean?

If b2 − 4ac < 0, the quadratic equation has no real solutions and its graph does not cross the x-axis. It has two complex conjugate solutions instead.

What is the zero product property?

If the product of two factors is zero, at least one factor must be zero. It lets you solve a factored equation like (x − 2)(x + 3) = 0 by solving x − 2 = 0 and x + 3 = 0.

How do you find the axis of symmetry?

Use x = −b/(2a) for standard form, x = h for vertex form, or the average of the two x-intercepts for factored form.

What is the first step to rewrite a quadratic in vertex form?

Factor the leading coefficient a out of the x2– and x-terms, then complete the square inside the parentheses.

Want your kid to excel in math and reading?

Kid’s grade

  • Grade 1
  • Grade 2
  • Grade 3
  • Grade 4
  • Grade 5
  • Grade 6
  • Grade 7
  • Grade 8
  • Grade 9
Image full form
image
Close a child’s math gaps with a tutor!

Close a child’s math gaps with a tutor!

Book a free demo lesson with our math tutor and see your kid fill math gaps with interactive lessons
Book demo lesson Quadratic Equations: How to Solve Them and Graph Parabolas
Get full test results