All courses › Foundations of Mathematics › Quadratic equation

Quadratic equation

A quadratic equation ax2+bx+c=0ax^2+bx+c=0 is solved with the quadratic formula. The expression under the root sign, the discriminant DD, tells us how many solutions we get.

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}the quadratic formula
D=b2−4acD = b^2 - 4acthe discriminant

Symbols

a, b, ca,\ b,\ ccoefficients in ax2+bx+c=0ax^2+bx+c=0
DDdiscriminant

Example

x2−2x−8=0x^2 - 2x - 8 = 0: D=4+32=36D = 4+32 = 36, so x=2±62=4x = \frac{2\pm 6}{2} = 4 or −2-2.

D>0D>0 gives two solutions, D=0D=0 gives one, and D<0D<0 gives no real solutions.
Practise algebra and equations for free →

← Linear equation · Linear function →

Part of Foundations of Mathematics: Algebra and equations.