A quadratic equation can be rearranged into a x 2 +bx+c=0ax^{2} + bx + c = 0 with a≠0a \ne 0. It can have two, one or no real solutions.

There is no single best method for every quadratic. Factoring is efficient when the expression factors cleanly; square-root methods are efficient when a squared expression is isolated; completing the square and the quadratic formula handle more general cases.

On this page (8 sections)

Factoring and the zero-product property

Over the real numbers, a product is zero exactly when at least one factor is zero. First rearrange the equation so one side is zero.

Solve x 2 −5x+6=0x^2-5x+6=0

  1. (x−2)(x−3)=0(x-2)(x-3)=0

    Factor the quadratic.

  2. x−2=0 or x−3=0x-2=0\quad\text{or}\quad x-3=0

    Apply the zero-product property.

  3. x=2 or x=3x=2\quad\text{or}\quad x=3

    Solve the two linear equations.

Both answers check: 2 2 −5(2)+6=02^2-5(2)+6=0 and 3 2 −5(3)+6=03^2-5(3)+6=0. A product equal to 4040 does not allow you to set its factors equal to zero.

Square-root method

If a square is isolated, use both possible signs when its value is positive.

(x−4 ) 2 =9(x-4)^2=9
x−4=±3x-4=\pm3
x=4±3 ⟹ x=1 or x=7x=4\pm3\quad\Longrightarrow\quad x=1\ \text{or}\ x=7

The principal square root 9 \sqrt9 is 33; the equation u 2 =9u^2=9 has the two solutions u=3u=3 and u=−3u=-3. These are different statements.

One real solution or none

If (x−4 ) 2 =0(x-4)^2=0, only x=4x=4 works. If (x−4 ) 2 =−9(x-4)^2=-9, there is no real solution because a real square cannot be negative.

Roots and x-intercepts

A real solution of x 2 −5x+6=0x^2-5x+6=0 is an xx-coordinate where y= x 2 −5x+6y=x^2-5x+6 meets the horizontal axis. This graph crosses at (2,0)(2,0) and (3,0)(3,0).

A real root is an input where the output is zero

A real root is an input where the output is zeroThe parabola crosses the horizontal axis at the two marked points. Its vertex lies between them at (5/2, −1/4), just below the axis.012345−101234567xy(2, 0)(3, 0)
  • y= x 2 −5x+6y=x^2-5x+6
The roots are x=2x=2 and x=3x=3.
Diagram explained

The parabola crosses the horizontal axis at the two marked points. Its vertex lies between them at (5/2, −1/4), just below the axis.

Exact reference values for this graph
InputOutput
00 66
22 00
5 / 25/2 −1 / 4-1/4
33 00
55 66

An exact factorization establishes the roots. A plotted curve is a representation of the result, not a substitute for checking the equation.

Choosing a solution method

Choosing a quadratic-solving method
StructureUseful first method
product equals zerofactoring
(x−h ) 2 =k(x – h)^{2} = ksquare-root method
general quadraticcompleting the square or quadratic formula
graphing/technology contextgraph to estimate, then verify algebraically

Context can remove algebraic roots

A rectangle has width xx centimetres, length x+3x+3 centimetres and area 4040 square centimetres. The model requires x>0x>0.

x(x+3)=40 ⟺ x 2 +3x−40=0x(x+3)=40\quad\Longleftrightarrow\quad x^2+3x-40=0
(x+8)(x−5)=0 ⟹ x=−8 or x=5(x+8)(x-5)=0\quad\Longrightarrow\quad x=-8\ \text{or}\ x=5

Both numbers solve the equation, but only x=5x=5 satisfies the physical domain. The dimensions are 5 cm by 8 cm, and 5⋅8=405\cdot8=40 square centimetres checks the area. The rejected negative root is a valid algebraic root, not a calculation error.

Practice questions

  1. Solve x 2 −5x+6=0x^{2} – 5x + 6 = 0.

  2. Solve (x−4 ) 2 =9(x – 4)^{2} = 9.

  3. Why might an algebraic root be rejected in an application?

Check your answers
  1. (x−2)(x−3)=0(x-2)(x-3)=0, so x=2x=2 or x=3x=3.

  2. x−4=±3x-4=\pm3, so x=1x=1 or x=7x=7.

  3. An equation can have roots outside a model’s domain. A negative value, for example, cannot represent the length of this rectangle.

Related topics

Develop the general solving method in Completing the Square and connect it to The Quadratic Formula.

Sources and further reading