Quadratic Equation Solver
Enter the coefficients for your quadratic equation in the standard form: ax² + bx + c = 0.
Understanding the Quadratic Equation and Its Solutions
A quadratic equation is a polynomial equation of the second degree, meaning it contains at least one term in which the unknown variable is raised to the power of two. The standard form of a quadratic equation is:
ax² + bx + c = 0
Where:
xrepresents the unknown variable.a,b, andcare coefficients, withanot equal to zero. Ifawere zero, the equation would become a linear equation (bx + c = 0).
The Quadratic Formula
The most common method to find the solutions (also known as roots) for a quadratic equation is by using the quadratic formula:
x = [-b ± √(b² - 4ac)] / 2a
This formula provides two potential values for x, which are the points where the parabola (the graph of a quadratic equation) intersects the x-axis.
The Discriminant (b² – 4ac)
A crucial part of the quadratic formula is the expression under the square root, (b² - 4ac), which is called the discriminant. The value of the discriminant determines the nature of the roots:
- If
(b² - 4ac) > 0: There are two distinct real roots. This means the parabola intersects the x-axis at two different points. - If
(b² - 4ac) = 0: There is exactly one real root (sometimes called a repeated root or two identical real roots). The parabola touches the x-axis at exactly one point. - If
(b² - 4ac) < 0: There are two complex conjugate roots. The parabola does not intersect the x-axis; its vertex is either entirely above or entirely below the x-axis. Complex roots involve the imaginary uniti, wherei = √(-1).
How to Use the Quadratic Equation Solver
Our calculator simplifies the process of finding the roots of any quadratic equation. Simply input the coefficients a, b, and c from your equation ax² + bx + c = 0 into the respective fields. The calculator will then apply the quadratic formula and display the roots, indicating whether they are real or complex.
Examples of Quadratic Equation Solutions
Example 1: Two Distinct Real Roots
Consider the equation: x² - 5x + 6 = 0
a = 1b = -5c = 6
Discriminant = (-5)² - 4(1)(6) = 25 - 24 = 1. Since 1 > 0, there are two distinct real roots.
Using the calculator with these values will yield:
x₁ = 3.0000x₂ = 2.0000
Example 2: One Real Root (Repeated)
Consider the equation: x² - 4x + 4 = 0
a = 1b = -4c = 4
Discriminant = (-4)² - 4(1)(4) = 16 - 16 = 0. Since the discriminant is 0, there is one real root.
Using the calculator with these values will yield:
x = 2.0000
Example 3: Two Complex Conjugate Roots
Consider the equation: x² + x + 1 = 0
a = 1b = 1c = 1
Discriminant = (1)² - 4(1)(1) = 1 - 4 = -3. Since -3 < 0, there are two complex conjugate roots.
Using the calculator with these values will yield:
x₁ = -0.5000 + 0.8660ix₂ = -0.5000 - 0.8660i
Example 4: Linear Equation (when a = 0)
Consider the equation: 0x² + 2x - 4 = 0 (which simplifies to 2x - 4 = 0)
a = 0b = 2c = -4
The calculator will recognize this as a linear equation and solve it accordingly.
Using the calculator with these values will yield:
x = 2.0000
Example 5: Degenerate Case (when a = 0, b = 0)
Consider the equation: 0x² + 0x + 5 = 0 (which simplifies to 5 = 0)
a = 0b = 0c = 5
The calculator will identify that this equation has no solution, as 5 can never equal 0.