Math 2.0

Field theory and polynomials Proof

Proof of the quadratic formula by completing the square

Builds on The complex numbers form a fieldComplex numbers

Proof

We complete the square and then factor a difference of two squares.

  1. Let a,b,c∈ℂa, b, c \in \C with a≠0a \ne 0, and let s∈ℂs \in \C satisfy s2=b2−4acs^2 = b^2 - 4ac. Fix x∈ℂx \in \C.
  2. The complex numbers form a field. So the usual rules of algebra hold, and each nonzero number has an inverse.
  3. Expanding gives (2ax+b)2=4a2x2+4abx+b2(2ax + b)^2 = 4a^2x^2 + 4abx + b^2.
  4. By Step 3, 4a(ax2+bx+c)=(2ax+b)2−(b2−4ac)4a(ax^2 + bx + c) = (2ax + b)^2 - (b^2 - 4ac).
  5. Since s2=b2−4acs^2 = b^2 - 4ac, Step 4 becomes 4a(ax2+bx+c)=(2ax+b)2−s24a(ax^2 + bx + c) = (2ax + b)^2 - s^2.
  6. For all u,v∈ℂu, v \in \C we have u2−v2=(u−v)(u+v)u^2 - v^2 = (u - v)(u + v), by expanding the right side.
  7. By Steps 5 and 6, 4a(ax2+bx+c)=(2ax+b−s)(2ax+b+s)4a(ax^2 + bx + c) = (2ax + b - s)(2ax + b + s).
  8. If u,v∈ℂu, v \in \C and uv=0uv = 0, then u=0u = 0 or v=0v = 0. Indeed, if u≠0u \ne 0, then v=u−1(uv)=u−1⋅0=0v = u^{-1}(uv) = u^{-1} \cdot 0 = 0.
  9. The number 4a4a is nonzero, since 4≠04 \ne 0 and a≠0a \ne 0, by Step 8. Likewise 2a≠02a \ne 0.
  10. If ax2+bx+c=0ax^2 + bx + c = 0, then 4a(ax2+bx+c)=04a(ax^2 + bx + c) = 0. Conversely, if 4a(ax2+bx+c)=04a(ax^2 + bx + c) = 0, then ax2+bx+c=0ax^2 + bx + c = 0 by Steps 8 and 9. So the two equations are equivalent.
  11. By Steps 7, 8 and 10, ax2+bx+c=0ax^2 + bx + c = 0 holds if and only if 2ax+b−s=02ax + b - s = 0 or 2ax+b+s=02ax + b + s = 0.
  12. Since 2a≠02a \ne 0, the equation 2ax+b−s=02ax + b - s = 0 is equivalent to x=−b+s2ax = \frac{-b + s}{2a}. We add s−bs - b to both sides and multiply by (2a)−1(2a)^{-1}.
  13. In the same way, 2ax+b+s=02ax + b + s = 0 is equivalent to x=−b−s2ax = \frac{-b - s}{2a}.
  14. By Steps 11, 12 and 13, ax2+bx+c=0ax^2 + bx + c = 0 if and only if x=−b+s2ax = \frac{-b + s}{2a} or x=−b−s2ax = \frac{-b - s}{2a}.

Idea

Multiplying the equation by 4a4a turns its left side into the perfect square (2ax+b)2(2ax + b)^2 minus the discriminant. Since the discriminant is s2s^2, the result is a difference of two squares, which factors into two linear factors. A product in a field is zero only when a factor is zero, so the roots are the zeros of the two linear factors.

Reading path

To understand this page from the ground up, read these 19 pages in order. The foundations come first. The path takes the proofs Proof of the equality of complex numbers, Proof that the complex numbers form a field.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Complex numbers object
  2. Complex numbers as pairs of reals concept
  3. Element definition
  4. Group concept
  5. Imaginary unit object
  6. Real numbers object
  7. Real and imaginary parts definition
  8. Set definition
  9. Ring definition
  10. The reals form a field statement
  11. Ordered pair definition
  12. Commutative ring definition
  13. Unit of a ring definition
  14. Proof of the equality of complex numbers proof
  15. Field definition
  16. Equality of complex numbers statement
  17. Proof that the complex numbers form a field proof
  18. The complex numbers form a field statement
  19. Proof of the quadratic formula by completing the square proof

Where this leads

14 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Quadratic_formula, Derivation by completing the square
About this page
TagNXNBXZWFZ1
URIm2://NXNBXZWFZ1
Kindproof
WritingW0 stub
MSC12D10
ProvesQuadratic formula
UsesThe complex numbers form a field, Complex numbers
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.