Quartic Equation Solver
Solve quartic equation problems step-by-step with our free calculator. See formulas, worked examples, and clear explanations.
Formula
ax^4 + bx^3 + cx^2 + dx + e = 0
This calculator solves quartic equations using Newton-Raphson numerical methods from multiple starting points to find all real roots. It also computes the discriminant, Vieta relationships, and critical points of the polynomial.
Worked Examples
Example 1: Quartic with Four Integer Roots
Problem: Solve x^4 - 10x^3 + 35x^2 - 50x + 24 = 0.
Solution: Test integer roots: f(1) = 1 - 10 + 35 - 50 + 24 = 0, so x = 1 is a root.\nDivide by (x-1): x^3 - 9x^2 + 26x - 24\nf(2) = 8 - 36 + 52 - 24 = 0, so x = 2 is a root.\nDivide by (x-2): x^2 - 7x + 12 = (x-3)(x-4)\nAll roots: x = 1, 2, 3, 4\nVerify: sum = 10 = -(-10)/1, product = 24 = 24/1
Result: Roots: x = 1, x = 2, x = 3, x = 4 | Sum = 10, Product = 24
Example 2: Quartic with Two Real Roots
Problem: Solve x^4 - 2x^2 - 3 = 0.
Solution: Substitute u = x^2: u^2 - 2u - 3 = 0\n(u-3)(u+1) = 0, so u = 3 or u = -1\nFrom u = x^2 = 3: x = sqrt(3) or x = -sqrt(3)\nFrom u = x^2 = -1: x = i or x = -i (complex)\nReal roots: x = 1.732051 and x = -1.732051\nComplex roots: x = i and x = -i
Result: Real roots: x = 1.7321 and x = -1.7321 | Complex roots: x = +/-i
Frequently Asked Questions
What is a quartic equation and how many roots can it have?
A quartic equation is a polynomial equation of degree four, taking the general form ax^4 + bx^3 + cx^2 + dx + e = 0 where a is not zero. By the Fundamental Theorem of Algebra, every quartic equation has exactly four roots when counted with multiplicity and including complex roots. The possible configurations of real roots are: four distinct real roots, two distinct real roots and two complex conjugate roots, no real roots (two pairs of complex conjugates), or various combinations involving repeated roots. The quartic is the highest-degree polynomial for which a general closed-form solution using radicals exists.
What is the Ferrari method for solving quartic equations?
The Ferrari method, developed by Lodovico Ferrari in 1540, was the first general solution for quartic equations. The approach converts the quartic into a depressed quartic by substituting x = t - b/(4a) to eliminate the cubic term. The depressed quartic is then factored into two quadratic factors by introducing an auxiliary variable, which satisfies a resolvent cubic equation. Solving the cubic gives the auxiliary variable, which allows factoring the quartic into two quadratics that can each be solved with the quadratic formula. While elegant in theory, the Ferrari method produces complex expressions and is primarily of theoretical importance today.
How does the discriminant of a quartic classify its roots?
The discriminant of a quartic equation is a polynomial expression in the coefficients that determines the nature of the roots. If the discriminant is positive, the quartic has either four distinct real roots or four complex roots (two conjugate pairs). If the discriminant is zero, the quartic has at least one repeated root. If the discriminant is negative, the quartic has exactly two real roots and two complex conjugate roots. The quartic discriminant is considerably more complex than the quadratic discriminant b^2-4ac, involving many terms of the coefficients. Additional conditions on subsidiary discriminants are needed to fully classify all cases.
What numerical methods work best for solving quartic equations?
Several numerical methods effectively solve quartic equations. The Newton-Raphson method provides quadratic convergence when starting near a root and works excellently for quartics since the derivative is easy to compute. The companion matrix eigenvalue method converts the polynomial root problem into finding eigenvalues of a 4x4 matrix, leveraging robust linear algebra algorithms. The Durand-Kerner method simultaneously approximates all four roots using iterative refinement. For real-world applications, the Jenkins-Traub algorithm is considered one of the most reliable polynomial root finders, handling all cases including closely spaced and multiple roots.
How are quartic equations used in real-world applications?
Quartic equations arise naturally in many scientific and engineering problems. In optics, ray tracing through fourth-order surfaces like tori requires solving quartic equations to find intersection points. In celestial mechanics, certain orbital mechanics problems reduce to quartic equations. Computer-aided geometric design uses quartic curves and surfaces extensively. In robotics, inverse kinematics for certain robot arm configurations involves quartic equations. Elasticity theory uses quartic equations when analyzing beam deflections under specific loading conditions. Financial derivative pricing models sometimes produce quartic equations when solving for implied volatility.
What is the relationship between quartic roots and the coefficients?
Vieta formulas for a quartic ax^4 + bx^3 + cx^2 + dx + e with roots r1, r2, r3, r4 establish that: the sum of all roots equals -b/a, the sum of all pairwise products equals c/a, the sum of all triple products equals -d/a, and the product of all four roots equals e/a. These relationships are symmetric functions of the roots and remain valid whether the roots are real or complex. Vieta formulas provide a quick way to verify computed roots and can be used to reconstruct a polynomial from its known roots by working backwards from the symmetric sums.