Library/Algebra/Polynomials/Quadratic trinomial/Quadratic equations. Root formula

Quadratic equations. Root formula

Overview
Important

A quadratic equation ax2+bx+c=0ax^2 + bx + c = 0 (a0a \neq 0) can be solved for xx using the quadratic formula:

x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

The expression under the square root, b24acb^2 - 4ac, is called the discriminant. It determines the nature of the roots.

Important properties

  • If b24ac>0b^2 - 4ac > 0, there are two distinct real roots.

  • If b24ac=0b^2 - 4ac = 0, there is one real root (a repeated root).

  • If b24ac<0b^2 - 4ac < 0, there are two complex roots.

  • The sum of the roots is b/a-b/a and the product is c/ac/a.