Explicit expressions for real roots of a quartic equation
Nino Krvavica

TL;DR
This paper provides explicit, optimized formulas for the real roots of a quartic equation, simplifying the general solution specifically for cases with four real roots.
Contribution
It introduces a shorter, more efficient set of explicit expressions for real roots of quartic equations, improving upon the general formulas.
Findings
Derived explicit formulas for all four real roots of a quartic.
Presented a shorter, optimized expression compared to the general quartic solution.
Enhanced computational efficiency for solving quartics with four real roots.
Abstract
This short article presents explicit expressions for roots of a quartic equation that has all four real roots. Although a general expression for quartic roots is available on Wikipedia, an optimized and slightly shorter expression for only real roots is presented here.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical Methods and Algorithms
Explicit expressions for real roots of a quartic equation
Nino Krvavica
(University of Rijeka, Faculty of Civil Engineering
)
This short article presents explicit expressions for roots of a quartic equation that has all four real roots. Although a general expression for quartic roots is available on Wikipedia [4], an optimized and slightly shorter expression for only real roots is presented here. A derivation of closed-form solutions for real roots of a quartic presented in the first part of this paper is taken from [2]. It is repeated here for completeness and clarity.
Let us consider a general normalized 4th order polynomial equation (quartic)
[TABLE]
To find the analytical solution to roots of Eq. (1), first the cubic term is eliminated and the general polynomial is converted into a so-called depressed quartic by a change of variables. Following Ferrari’s method [1], a substitution is introduced, which gives a depressed polynomial
[TABLE]
where
[TABLE]
[TABLE]
[TABLE]
The depressed polynomial can be rewritten as
[TABLE]
Next, expression is added to both sides of Eq. (6), which after some regrouping gives
[TABLE]
When is chosen to be any non-zero root of the so-called resolvent cubic equation
[TABLE]
the right-hand side of Eq. (7) can be written as a perfect square; therefore, Eq. (7) becomes
[TABLE]
And finally, Eq. (9) can be written as a factorized quadratic equation
[TABLE]
which is easily solved by a quadratic formula.
Therefore, the solutions to the roots of the general quartic Eq. (1) are given by
[TABLE]
[TABLE]
For a general normalized 3rd order polynomial equation (cubic)
[TABLE]
a real solution is given by Cardano’s formula [1]
[TABLE]
with
[TABLE]
[TABLE]
where
[TABLE]
[TABLE]
To eliminate redundant divisions and optimize computation of Eq. (11) and (12), the root of the resolvent cubic equation is expressed via
[TABLE]
where
[TABLE]
[TABLE]
[TABLE]
Note that , which is a much simpler expression for the discriminant of the resolvent cubic equation and especially the discriminant of the quartic equation . Therefore, if , three resolvent cubic roots are all real and the quartic roots are either all complex or all real. In this case, Eq. (19) can be solved trigonometrically [3], which is computationally faster than computing the cube root required in Eq. (20):
[TABLE]
where
[TABLE]
To summarize, a closed-form real solutions to the quartic equation can be simplified as follows:
[TABLE]
[TABLE]
where
[TABLE]
[TABLE]
with
[TABLE]
[TABLE]
Finally, by including Eqs. (27)-(30) and Eqs (21) and (22) into Eqs. (25) and (26), the fully explicit form of quartic roots is obtained:
[TABLE]
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Abramowitz and I. A. Stegun. Handbook of mathematical functions with formulas, graphs, and mathematical tables . Dover Publications, New York, 1965.
- 2[2] N. Krvavica, M. Tuhtan, and G. Jelenić. Analytical implementation of Roe solver for two-layer shallow water equations with accurate treatment for loss of hyperbolicity. Advances in Water Resources , 122:187–205, 2018.
- 3[3] W. D. Lambert. A generalized trigonometric solution of the cubic equation. The American Mathematical Monthly , 13(4):73–76, 1906.
- 4[4] Wikipedia. Quartic function — wikipedia, the free encyclopedia, 2018. [Online; accessed 27-January-2018].
