Quadratic Formula Calculator


0
0
0

The quadratic formula is used to find the roots of a quadratic equation in the form

ax2+bx+c=0ax^2+bx+c=0

The solution is given by the equation

x=βˆ’bΒ±b2βˆ’4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

How to Use This Calculator

  1. Enter values for coefficients a, b, and c.
  2. Ensure a is nonzero.
  3. View the computed roots and discriminant below.

Note: a must be nonzero because the variable a is in the denominator of the quadratic solution, and you cannot divide by zero.

Understanding the Discriminant

The discriminant is used to determine the nature of the roots. It's an equation derived from within the square root of the quadratic solution equation.

b2βˆ’4acb^2-4ac

Based on the sign of the discriminant, the nature of the roots are revealed.

  • If positive, the equation has two real roots.
  • If zero, the equation has one real root (a repeated root).
  • If negative, the equation has two complex roots.

Example Problems

Problem 1

Find the roots of the equation using the quadratic formula.

5x2+8xβˆ’3=05x^2+8x-3=0
  1. Extract the coefficients from the equation

    a=5a=5b=8b=8c=βˆ’3c=-3
  2. Plug the coefficients into the equation and simplify

    x=βˆ’bΒ±b2βˆ’4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}x=βˆ’8Β±82βˆ’4(5)(βˆ’3)2(5)x=\frac{-8\pm\sqrt{8^2-4\left(5\right)\left(-3\right)}}{2\left(5\right)}x=βˆ’8Β±12410x=\frac{-8\pm\sqrt{124}}{10}x=βˆ’8Β±11.13610x=\frac{-8\pm11.136}{10}

    Notice that the discriminant is negative, indicating that the quadratic has two complex roots.

    x1=0.314x_1=0.314x2=βˆ’1.914x_2=-1.914discriminant=124\text{discriminant}=124

Problem 2

Find the roots of the equation using the quadratic formula.

x2+5x+12=0x^2+5x+12=0
  1. Extract the coefficients from the equation

    a=1a=1b=5b=5c=12c=12
  2. Plug the coefficients into the equation and simplify

    x=βˆ’bΒ±b2βˆ’4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}x=βˆ’5Β±52βˆ’4(1)(12)2(1)x=\frac{-5\pm\sqrt{5^2-4\left(1\right)\left(12\right)}}{2\left(1\right)}x=βˆ’5Β±βˆ’232x=\frac{-5\pm\sqrt{-23}}{2}x=βˆ’5Β±4.796i2x=\frac{-5\pm4.796i}{2}

    Notice that the discriminant is positive, indicating that the quadratic has two real roots.

    x1=βˆ’2.5+2.398ix_1=-2.5+2.398ix2=βˆ’2.5βˆ’2.398ix_2=-2.5-2.398idiscriminant=βˆ’23\text{discriminant}=-23