Quadratic Equation Roots and Coefficient Calculator
A quadratic equation is a second-degree polynomial equation in a single variable. The general form is ax² + bx + c = 0, where a, b, and c are coefficients. This calculator helps you find the roots (solutions) of a quadratic equation and determine the coefficients when given the roots.
Introduction to Quadratic Equations
Quadratic equations are fundamental in algebra and have wide applications in physics, engineering, economics, and computer science. They can describe parabolic trajectories, growth patterns, and optimization problems.
The standard form of a quadratic equation is:
ax² + bx + c = 0
Where:
- a, b, and c are coefficients
- x is the variable
- a ≠ 0 (otherwise it's a linear equation)
The solutions to the equation are called roots. A quadratic equation can have:
- Two distinct real roots
- One real root (a repeated root)
- No real roots (complex roots)
Quadratic Formula
The roots of a quadratic equation can be found using the quadratic formula:
x = [-b ± √(b² - 4ac)] / (2a)
Where the discriminant (D) is:
D = b² - 4ac
The discriminant determines the nature of the roots:
- If D > 0: Two distinct real roots
- If D = 0: One real root (repeated)
- If D < 0: Two complex conjugate roots
You can also find the coefficients when given the roots. If the roots are r₁ and r₂, then:
a = 1
b = -(r₁ + r₂)
c = r₁ × r₂
Using the Calculator
The calculator can work in two modes:
- Find roots when given coefficients (a, b, c)
- Find coefficients when given roots (r₁, r₂)
Simply enter the known values, select the mode, and click "Calculate". The results will appear below the calculator with an explanation.
Note: For complex roots, the calculator will display them in the form a ± bi where i is the imaginary unit (√-1).
Worked Examples
Example 1: Finding Roots
Given the equation x² - 5x + 6 = 0:
- a = 1
- b = -5
- c = 6
Using the quadratic formula:
x = [5 ± √(25 - 24)] / 2 = [5 ± 1] / 2
Solutions: x = 3 and x = 2
Example 2: Finding Coefficients
Given roots x = 4 and x = -3:
Using the formulas:
a = 1
b = -(4 + (-3)) = -1
c = 4 × (-3) = -12
Equation: x² - x - 12 = 0
Interpreting Results
When using the calculator, pay attention to:
- The discriminant value to understand the nature of the roots
- The graphical representation of the quadratic function
- The practical implications of the roots in your specific problem
For example, in physics, the roots might represent the times when a projectile reaches a certain height.
Frequently Asked Questions
What is the difference between roots and coefficients?
Roots are the solutions to the equation (values of x that satisfy the equation). Coefficients are the numerical factors in the equation (a, b, c). The calculator can find roots from coefficients or coefficients from roots.
What does a negative discriminant mean?
A negative discriminant means the quadratic equation has no real roots. The roots are complex numbers, which can still be calculated and are useful in many applications like electrical engineering.
Can I use this calculator for higher-degree polynomials?
No, this calculator is specifically for quadratic equations (degree 2). For higher-degree polynomials, you would need a different tool or method.