Quadratic Equation Solver
Use this calculator to find the roots (solutions) of a quadratic equation in the standard form: ax² + bx + c = 0.
Understanding Quadratic Equations and Their 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 written as:
ax² + bx + c = 0
Where:
xrepresents the unknown variable.a,b, andcare coefficients, withanot equal to zero.
The solutions to a quadratic equation are also known as its "roots" or "zeros." These are the values of x that make the equation true. A quadratic equation can have two distinct real roots, one real root (which is a repeated root), or two complex conjugate roots.
The Quadratic Formula
The most common method for finding the roots of a quadratic equation is by using the quadratic formula:
x = [-b ± sqrt(b² - 4ac)] / 2a
This formula directly provides the values of x once the coefficients a, b, and c are known. The term inside the square root, (b² - 4ac), is called the discriminant, often denoted by Δ (Delta). The value of the discriminant determines the nature of the roots:
- If
Δ > 0(positive discriminant): There are two distinct real roots. - If
Δ = 0(zero discriminant): There is exactly one real root (a repeated root). - If
Δ < 0(negative discriminant): There are two complex conjugate roots.
How to Use the Quadratic Equation Solver
Our calculator simplifies the process of finding these roots. Here's how to use it:
- Identify Coefficients: Look at your quadratic equation and identify the values for
a,b, andc. Remember thatais the coefficient ofx²,bis the coefficient ofx, andcis the constant term. - Input Values: Enter these numerical values into the corresponding input fields: "Coefficient 'a' (for x²)", "Coefficient 'b' (for x)", and "Constant 'c'".
- Calculate: Click the "Calculate Roots" button.
- View Results: The calculator will instantly display the roots of your equation, indicating whether they are real or complex.
Examples of Quadratic Equations
Let's look at a few examples to illustrate different types of solutions:
Example 1: Two Distinct Real Roots
Consider the equation: x² - 3x + 2 = 0
a = 1b = -3c = 2
Using the calculator with these values will yield:
Root 1 (x₁): 2.0000
Root 2 (x₂): 1.0000
This is because (x-1)(x-2) = x² – 3x + 2.
Example 2: One Real Root (Repeated)
Consider the equation: x² - 4x + 4 = 0
a = 1b = -4c = 4
Using the calculator with these values will yield:
Root (x): 2.0000
This is because (x-2)² = x² – 4x + 4.
Example 3: Two Complex Roots
Consider the equation: x² + 2x + 5 = 0
a = 1b = 2c = 5
Using the calculator with these values will yield:
Root 1 (x₁): -1.0000 + 2.0000i
Root 2 (x₂): -1.0000 – 2.0000i
Here, the discriminant (b² – 4ac) = (2)² – 4(1)(5) = 4 – 20 = -16, which is negative, indicating complex roots.
Example 4: Linear Equation (a=0)
Consider the equation: 0x² + 5x - 10 = 0 (or simply 5x - 10 = 0)
a = 0b = 5c = -10
Using the calculator with these values will yield:
This is a linear equation (a=0). The solution is: x = 2.0000
This is because 5x = 10, so x = 2.
This quadratic equation solver is a handy tool for students, engineers, and anyone needing to quickly find the solutions to quadratic equations without manual calculation.