Polynomial Equation Solving
Fundamentals of quadratic and cubic roots, discriminants, and geometric curve behaviors.
Polynomial equations form the core of algebraic mathematics, structural engineering, and systems optimization. Solving them precisely gives us the exact coordinates where functional curves intersect the neutral $x$-axis (the mathematical roots).
1. Quadratic Equations
A quadratic equation structurally defines a parabola. Depending on the known properties of the system, it can be written in multiple mathematical formats:
- Standard Form: $f(x) = ax^2 + bx + c$
- Vertex Form: $f(x) = a(x - h)^2 + k$ (where $(h,k)$ represents the peak or valley vertex of the parabola)
- Factored Form: $f(x) = a(x - r_1)(x - r_2)$ (where $r_1$ and $r_2$ explicitly state the curve's roots)
To find the roots from the Standard Form, we utilize the Quadratic Formula, which relies heavily on the Discriminant ($\Delta$). The discriminant tells us geometrically how the parabola interacts with the x-axis.
$$ x = \frac{-b \pm \sqrt{\Delta}}{2a} $$
Consider the standard equation: $x^2 - 5x + 6 = 0$
Here, the coefficients are $a = 1$, $b = -5$, and $c = 6$.
Let's calculate the discriminant: $\Delta = (-5)^2 - 4(1)(6) = 25 - 24 = 1$.
Because $\Delta > 0$, the math dictates the parabola will cross the x-axis at exactly two distinct real points. Plugging $\Delta$ into the quadratic formula gives us $x = \frac{5 \pm 1}{2}$, resulting in the roots $x_1 = 3$ and $x_2 = 2$.
2. Cubic Equations (Cardano's Method)
Unlike quadratics, cubic equations define an "S-shaped" curve. Because they are of an odd degree (power of 3), the curve goes from $-\infty$ to $+\infty$, guaranteeing that it will cross the $x$-axis at least once. The standard analytical form is:
In 1545, Gerolamo Cardano published a rigorous analytical method to solve these equations. His approach works by converting the standard cubic into a simpler "depressed cubic" by intentionally eliminating the $x^2$ term using the geometric shift substitution $x = t - \frac{b}{3a}$.
Just like quadratics, the discriminant of this depressed cubic ($\Delta_{cubic}$) dictates the nature of the roots:
- $\Delta > 0$: The curve crosses the axis once, resulting in one real root and two complex conjugate roots.
- $\Delta = 0$: All roots are real, but the curve "kisses" the axis at a turning point, meaning at least two roots are identical (multiplicity).
- $\Delta < 0$: The curve crosses the axis three distinct times, yielding three distinct real roots. (This requires specialized trigonometric solving, historically known as the Casus Irreducibilis).
Consider the cubic equation: $x^3 - 6x^2 + 11x - 6 = 0$
If we apply Cardano's method, we calculate a discriminant $\Delta < 0$. Historically, mathematicians struggled here because the intermediate math requires calculating the square root of a negative number, even though we know all three final roots are purely real.
Our solver automatically applies a modern Trigonometric Substitution to elegantly bypass the complex arithmetic, correctly identifying that the curve intersects the axis at $x_1 = 1$, $x_2 = 2$, and $x_3 = 3$.