Quadratic Function Solver
Results:
Root 1 (x₁):
Root 2 (x₂):
Understanding the Quadratic Function and Its Roots
A quadratic function is a polynomial function of the form f(x) = ax² + bx + c, where 'a', 'b', and 'c' are coefficients, and 'a' is not equal to zero. The graph of a quadratic function is a parabola, a U-shaped curve that can open upwards or downwards. The 'roots' or 'zeros' of a quadratic function are the x-values where the parabola intersects the x-axis, meaning f(x) = 0.
The Quadratic Formula
To find the roots of a quadratic equation ax² + bx + c = 0, we use the quadratic formula:
x = [-b ± √(b² - 4ac)] / 2a
This formula provides a direct way to calculate the values of 'x' that satisfy the equation, given the coefficients 'a', 'b', and 'c'.
The Discriminant: Unveiling the Nature of Roots
A crucial part of the quadratic formula is the expression under the square root: b² - 4ac. This term is called the discriminant, often denoted by the Greek letter Delta (Δ). The value of the discriminant tells us about the nature of the roots without actually calculating them:
- If Δ > 0 (Discriminant is positive): The equation has two distinct real roots. This means the parabola intersects the x-axis at two different points.
- If Δ = 0 (Discriminant is zero): The equation has exactly one real root (also called a repeated root or a double root). In this case, the parabola touches the x-axis at exactly one point, which is its vertex.
- If Δ < 0 (Discriminant is negative): The equation has two complex conjugate roots. This means the parabola does not intersect the x-axis at all. The roots involve the imaginary unit 'i' (where i² = -1).
How to Use This Calculator
Our Quadratic Function Solver 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. Click the "Calculate Roots" button, and the calculator will instantly display the roots (x₁ and x₂) and describe their nature (real, repeated, or complex).
Examples of Quadratic Equations and Their Roots
Example 1: Two Distinct Real Roots
Consider the equation: x² - 3x + 2 = 0
- a = 1
- b = -3
- c = 2
Discriminant (Δ) = (-3)² – 4(1)(2) = 9 – 8 = 1. Since Δ > 0, there are two distinct real roots.
Using the calculator with these values will yield:
- x₁ = 2.0000
- x₂ = 1.0000
Example 2: One Real (Repeated) Root
Consider the equation: x² - 4x + 4 = 0
- a = 1
- b = -4
- c = 4
Discriminant (Δ) = (-4)² – 4(1)(4) = 16 – 16 = 0. Since Δ = 0, there is one real repeated root.
Using the calculator with these values will yield:
- x = 2.0000 (repeated)
Example 3: Two Complex Conjugate Roots
Consider the equation: x² + 2x + 5 = 0
- a = 1
- b = 2
- c = 5
Discriminant (Δ) = (2)² – 4(1)(5) = 4 – 20 = -16. Since Δ < 0, there are two complex conjugate roots.
Using the calculator with these values will yield:
- x₁ = -1.0000 + 2.0000i
- x₂ = -1.0000 – 2.0000i