MATH BOSS

All lessons

How do I solve a quadratic equation?

Zero on one side, factor, and set each factor to zero.

Grades 9 to 10 · Free. No sign-up. No ads. Nothing is collected.

Watch it live in 3D

A live lesson where things move and you can try. Lesson page with the outline

Example

x2−5x+6=0

Answer: x=2,x=3

Why do I need this?

A rectangle is 3 meters longer than it is wide and its area is 40. Find the width.

x(x+3)=40

The idea

The left side of the equation draws a parabola. The solutions are where it meets the x-axis.

x2−5x+6=0
12345−1123423

Step by step

  1. Zero on one side

    Move everything to one side so that zero is left on the other.

    x2−5x=−6
    x2−5x+6=0

    Why? Only a product that equals zero tells us something about its factors.

  2. Factor it

    Factor it, as we did with trinomials.

    x2−5x+6=(x−2)(x−3)
    (x−2)(x−3)=0
  3. A product equal to zero

    If a product is zero, one of its factors must be zero.

    x−2=0x−3=0
    x=2x=3
    12345−1123423
  4. Check

    Put each solution into the equation and see that you get zero.

    22−5×2+6=0
    32−5×3+6=0
    01234523

More cases and examples

  1. When it will not factor

    When you cannot factor, use the quadratic formula with the three numbers of the equation.

    ax2+bx+c=0
    x=−b±√b2−4ac2a

    Why? a is the coefficient of x squared, b the coefficient of x, and c the constant term.

  2. An example with a root

    Put in 1, negative 2 and negative 1, and get two solutions.

    x2−2x−1=0
    x=2±√82=1±√2
  3. How many solutions?

    A parabola can cross the axis twice, touch it once, or never meet it.

    x2−1=0x2=0x2+1=0
    x=±1x=0∅
    −3−2−1123−11234ABC

The rule

A product equal to zero

When to use it: Only when the product equals zero, not any other number.

a×b=0
  • a,btwo factors, and at least one of them is zero

Watch out: If the product equals 6, you cannot set each factor equal to 6.

Common mistakes

  • Wrong
    (x−2)(x−3)=6⇒x=8,x=9
    Right
    x2−5x=0⇒x=0,x=5

    First we need zero on one side. Only then do we factor.

  • Wrong
    x2=3x⇒x=3
    Right
    x(x−3)=0⇒x=0,x=3

    We divided by x and lost a solution: zero fits too.

  • Wrong
    x2=9⇒x=3
    Right
    x=3,x=−3

    Negative three squared also gives 9.

How to study this topic

  1. Read the idea first
  2. Then go through the steps, covering each result before you read it
  3. Then learn the rule
  4. Finally, check the common slips
Watch it live in 3D

A live lesson where things move and you can try. Lesson page with the outline

Related lessons