◀ Back to Note

Tony's Intertwingled Memex • Reference Manual

Quadratic Formula

Formulas & Definitions
Core Definition

The Quadratic Formula is a universal algebraic formula used to solve any second-degree polynomial equation of the form ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0 (where a≠0a \neq 0a=0). The solutions, or roots, are given by:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}x=2a−b±b2−4ac​​

Concept Explanation

The Quadratic Formula is derived directly by completing the square on the general equation ax2+bx+c=0ax^2 + bx + c = 0ax2+bx+c=0. It guarantees that you can find the roots of any quadratic equation, even when the expression is not factorable using rational integers.


The Discriminant

The expression under the radical, b2−4acb^2 - 4acb2−4ac, is called the discriminant (often denoted by the Greek letter delta, Δ\DeltaΔ or DDD). The value of the discriminant determines the nature and number of the roots:

Discriminant Value Graphical Interpretation Nature of the Roots
b2−4ac>0b^2 - 4ac > 0b2−4ac>0 Parabola crosses the xxx-axis twice. Two distinct real roots.
b2−4ac=0b^2 - 4ac = 0b2−4ac=0 Parabola touches the xxx-axis at its vertex. One repeated real root.
b2−4ac<0b^2 - 4ac < 0b2−4ac<0 Parabola lies entirely above or below the xxx-axis. Two complex conjugate roots (x=α±βix = \alpha \pm \beta ix=α±βi).

When to Use the Quadratic Formula vs. Factoring

  • Step 1: Check for easy factoring. If the coefficients are small and a=1a=1a=1, try to find factors of ccc that add to bbb. If you can spot them in a few seconds, factoring is faster.
  • Step 2: Check the discriminant.
    • If b2−4acb^2 - 4acb2−4ac is a perfect square (e.g. 1,4,9,16,25…1, 4, 9, 16, 25 \dots1,4,9,16,25…), the quadratic is factorable over rational numbers.
    • If b2−4acb^2 - 4acb2−4ac is not a perfect square (e.g. 5,12,175, 12, 175,12,17), the quadratic cannot be factored over integers. You must use the Quadratic Formula or complete the square. The roots will be irrational numbers containing radicals.
    • If b2−4acb^2 - 4acb2−4ac is negative, the roots are complex numbers.

How to Recognize When to Use It in Calculus

In calculus, you will encounter quadratics in several key contexts where the Quadratic Formula is indispensable:

1. Identifying Irreducible Quadratics (Integration)

When integrating rational functions using Partial Fraction Decomposition, you must factor the denominator. If a quadratic factor in the denominator has a negative discriminant (b2−4ac<0b^2 - 4ac < 0b2−4ac<0), it is irreducible. You cannot factor it further, and you must integrate it using completing the square and the inverse tangent formula:

∫1u2+a2 du=1aarctan⁡(ua)+C\int \frac{1}{u^2 + a^2} \, du = \frac{1}{a} \arctan\left(\frac{u}{a}\right) + C∫u2+a21​du=a1​arctan(au​)+C

2. Finding Critical Points (Curve Sketching)

To find local extrema (peaks and valleys) of a cubic function f(x)=Ax3+Bx2+Cx+Df(x) = Ax^3 + Bx^2 + Cx + Df(x)=Ax3+Bx2+Cx+D, you take the first derivative, which is a quadratic: f′(x)=3Ax2+2Bx+Cf'(x) = 3Ax^2 + 2Bx + Cf′(x)=3Ax2+2Bx+C. Setting f′(x)=0f'(x) = 0f′(x)=0 and solving for xxx via the Quadratic Formula yields the critical values.


Example Problems

Example Problem 1: Two Irrational Roots

Solve the equation:

x2−4x+1=0x^2 - 4x + 1 = 0x2−4x+1=0

Solution

Step 1: Identify coefficients a=1,b=−4,c=1a = 1, b = -4, c = 1a=1,b=−4,c=1.

Step 2: Calculate the discriminant

D=b2−4ac=(−4)2−4(1)(1)=16−4=12D = b^2 - 4ac = (-4)^2 - 4(1)(1) = 16 - 4 = 12D=b2−4ac=(−4)2−4(1)(1)=16−4=12
Since D=12>0D = 12 > 0D=12>0, there are two real roots. Because 121212 is not a perfect square, these roots are irrational and cannot be found by simple factoring.

Step 3: Apply the Quadratic Formula

x=−(−4)±122(1)=4±4⋅32=4±232x = \frac{-(-4) \pm \sqrt{12}}{2(1)} = \frac{4 \pm \sqrt{4 \cdot 3}}{2} = \frac{4 \pm 2\sqrt{3}}{2}x=2(1)−(−4)±12​​=24±4⋅3​​=24±23​​

Step 4: Simplify Factor out a 222 from the numerator to cancel the denominator:

x=2(2±3)2=2±3x = \frac{2(2 \pm \sqrt{3})}{2} = 2 \pm \sqrt{3}x=22(2±3​)​=2±3​

The solutions are x=2+3x = 2 + \sqrt{3}x=2+3​ and x=2−3x = 2 - \sqrt{3}x=2−3​.

Example Problem 2: Irreducible / Complex Roots

Solve the equation:

x2+2x+5=0x^2 + 2x + 5 = 0x2+2x+5=0

Solution

Step 1: Identify coefficients a=1,b=2,c=5a = 1, b = 2, c = 5a=1,b=2,c=5.

Step 2: Calculate the discriminant

D=b2−4ac=22−4(1)(5)=4−20=−16D = b^2 - 4ac = 2^2 - 4(1)(5) = 4 - 20 = -16D=b2−4ac=22−4(1)(5)=4−20=−16
Since D=−16<0D = -16 < 0D=−16<0, the roots are complex conjugate pairs, and the expression x2+2x+5x^2 + 2x + 5x2+2x+5 is an irreducible quadratic.

Step 3: Apply the Quadratic Formula

x=−2±−162(1)x = \frac{-2 \pm \sqrt{-16}}{2(1)}x=2(1)−2±−16​​

Step 4: Simplify using i=−1i = \sqrt{-1}i=−1​

x=−2±4i2=−1±2ix = \frac{-2 \pm 4i}{2} = -1 \pm 2ix=2−2±4i​=−1±2i

The complex solutions are x=−1+2ix = -1 + 2ix=−1+2i and x=−1−2ix = -1 - 2ix=−1−2i.


Connections & References

  • Parent Concepts: Calculus Foundations
  • Related Concepts: Factoring Second Order Polynomials, Completing the Square
  • Course Links: Calc-1 Discussion 01