Skip to main content

Solving Quadratic Equations

Two quadratics may have the same degree but call for different solving methods. We will choose a method from the equation's form and connect the quadratic formula to completing the square.

  • Quadratic equation: An equation reducible to ax2+bx+c=0ax^2+bx+c=0 with aa nonzero.

Core ideas​

Factoring and square roots​

Set the equation equal to zero before using the zero-product property. If a square is already isolated, as in (x−2)2=9(x-2)^2=9, take both square-root choices to get x=5x=5 or x=−1x=-1.

Completing the square​

In x2−6x=7x^2-6x=7, add 99 to both sides to obtain (x−3)2=16(x-3)^2=16.

Quadratic formula​

For ax2+bx+c=0ax^2+bx+c=0 with a≠0a\ne0, use x=(−b±b2−4ac)/(2a)x=(-b\pm\sqrt{b^2-4ac})/(2a). A negative value under the square root gives no real solution.

Compare methods​

For (x+2)(x+3)=0(x+2)(x+3)=0, the factors are already visible, so the solutions are −2-2 and −3-3. For (x−2)2=9(x-2)^2=9, take both square-root choices to get x−2=3x-2=3 or x−2=−3x-2=-3, giving 55 and −1-1. Taking only the positive square root would miss a solution because both signed values square to 99.

Essential example​

Solve x2−6x=7x^2-6x=7 by adding the square of half the linear coefficient to both sides:

x2−6x+9=7+9,(x−3)2=16.x^2-6x+9=7+9,\qquad (x-3)^2=16.

The solutions are 3+4=73+4=7 and 3−4=−13-4=-1. They satisfy the original equation because 49−42=749-42=7 and 1+6=71+6=7.

For the general equation ax2+bx+c=0ax^2+bx+c=0 with a≠0a\ne0, move the constant, divide by aa, and add (b/(2a))2(b/(2a))^2 to both sides. The result is

(x+b2a)2=b2−4ac4a2.\left(x+\frac{b}{2a}\right)^2=\frac{b^2-4ac}{4a^2}.

Taking both square-root choices and isolating xx gives the quadratic formula. The sign of b2−4acb^2-4ac determines how many real solutions can occur because the left side is a real square.

SignExampleReal solutions
Positivex2−6x−7=0x^2-6x-7=0−1-1 and 77
Zero(x−3)2=0(x-3)^2=033
Negative(x−3)2+1=0(x-3)^2+1=0None

Connect the equation to a graph​

Solving ax2+bx+c=0ax^2+bx+c=0 gives the inputs where the graph reaches the horizontal axis. To solve ax2+bx+c=dax^2+bx+c=d, subtract dd first. The solutions are the horizontal coordinates of intersections with the line y=dy=d.

Compare two ways to solve one equation​

For 2x2+3x−2=02x^2+3x-2=0, factoring gives (2x−1)(x+2)=0(2x-1)(x+2)=0, hence x=1/2x=1/2 or x=−2x=-2. The quadratic formula uses a=2a=2, b=3b=3, and c=−2c=-2. Its discriminant is 9+16=259+16=25, so the two outputs are (−3+5)/4=1/2(-3+5)/4=1/2 and (−3−5)/4=−2(-3-5)/4=-2. The matching answers help check signs in the formula. Factoring gives an especially short route here because the integer factors are visible.

Keep and continue​

Keep the completed-square form. Next, use it to find the best value in a model where the answer must satisfy physical bounds.

Course outline

Previous: Reading a Parabola

Next: Quadratic Models