Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Appendix B: Roots of Polynomials

Let

p(z)=anzn+an−1zn−1+⋯+a1z+a0,an≠0,p(z)=a_n z^n+a_{n-1}z^{n-1}+\cdots+a_1 z+a_0,\qquad a_n\neq 0,

with ak∈Ra_k\in\mathbb{R} or C\mathbb{C}. A root rr satisfies p(r)=0p(r)=0. If the coefficients are real, nonreal roots occur in complex-conjugate pairs.

This appendix summarizes (i) the structure of analytic formulas for n≤4n\le 4, (ii) why numerical methods are essential for n≥5n\ge 5 (and often preferable even for n≤4n\le 4), and (iii) the main numerical approaches and their practical caveats.


A.1 Analytical solutions for degrees n≤4\boldsymbol{n\le 4}: structure and limitations

Linear (n=1n=1)

For a1z+a0=0a_1 z + a_0 = 0,

z=−a0a1.z=-\frac{a_0}{a_1}.

Quadratic (n=2n=2)

For az2+bz+c=0a z^2+b z+c=0 with a≠0a\neq 0,

z=−b±b2−4ac2a.z=\frac{-b\pm\sqrt{b^2-4ac}}{2a}.

Cubic (n=3n=3): Cardano via “depressed cubic”

For az3+bz2+cz+d=0a z^3+b z^2+c z+d=0, shift to remove the quadratic term:

z=y−b3a⇒y3+py+q=0,z=y-\frac{b}{3a}\quad\Rightarrow\quad y^3+py+q=0,

where p,qp,q are explicit functions of a,b,c,da,b,c,d. Cardano’s method seeks y=u+vy=u+v with u3u^3 and v3v^3 solving a quadratic (“resolvent”) equation, giving a closed-form expression in radicals.

Quartic (n=4n=4): Ferrari via “depressed quartic” and resolvent cubic

For az4+bz3+cz2+dz+e=0a z^4+b z^3+c z^2+d z+e=0, shift

z=y−b4az=y-\frac{b}{4a}

to obtain a depressed quartic

y4+py2+qy+r=0.y^4+p y^2+q y+r=0.

Ferrari’s method introduces an auxiliary parameter to factor the quartic into two quadratics; determining this parameter reduces to solving a resolvent cubic, followed by two quadratic solves.