# Quadratic Equation for Higher Orders?

**URL:** <https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282>\
**Category:** Factual Questions\
**Created:** [July 13, 2005, 2:37am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282 "2005-07-13T02:37:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://boards.straightdope.com/u/Jinx)\
**Post date:** [July 13, 2005, 2:37am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/1 "2005-07-13T02:37:43Z")

</div>

Is there some equivalent to the quadratic eqaution for higher order polynomials? At best, I seem to recall some trick that works for some third order polynomials and even a “lesser” trick for fourth order polynomials? - Jinx

---

<div class="post-metadata">

**Author:** ![Cunctator](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Cunctator](https://boards.straightdope.com/u/Cunctator)\
**Post date:** [July 13, 2005, 2:42am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/2 "2005-07-13T02:42:33Z")

</div>

The Italian mathematician Cardano derived a general solution for the cubic equation: [link](http://www.sosmath.com/algebra/factor/fac11/fac11.html)

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [July 13, 2005, 2:45am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/3 "2005-07-13T02:45:23Z")

</div>

There’s a general solution known for polynomials of arbitrary degree, but it’s not something that’s useful for calculating roots. Realistically speaking, approximation methods are going to be favored over exact solutions for cubic and higher degree polynomials.

---

<div class="post-metadata">

**Author:** ![wolf\_meister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/wolf_meister/32/15202_2.png) [@wolf\_meister](https://boards.straightdope.com/u/wolf_meister)\
**Post date:** [July 13, 2005, 3:12am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/4 "2005-07-13T03:12:10Z")

</div>

**jinx**  
Here’s a method for solving cubic equations:  
[www.1728.com/cubic2.htm](http://www.1728.com/cubic2.htm)

and another for quartic equations:  
[www.1728.com/quartic2.htm](http://www.1728.com/quartic2.htm)

As you can see, they are very involved.

---

<div class="post-metadata">

**Author:** ![wolf\_meister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/wolf_meister/32/15202_2.png) [@wolf\_meister](https://boards.straightdope.com/u/wolf_meister)\
**Post date:** [July 13, 2005, 3:26am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/5 "2005-07-13T03:26:42Z")

</div>

**Jinx**  
And if you want to see the cubic formula written out in similar fashion as the quadratic formula, click here:  
[http://planetmath.org/encyclopedia/CubicFormula.html](http://planetmath.org/encyclopedia/CubicFormula.html)

And if that doesn’t look intimidating enough, look at the monstrosity known as the quartic formula:  
[http://planetmath.org/encyclopedia/QuarticFormula.html](http://planetmath.org/encyclopedia/QuarticFormula.html)

Don’t forget to scroll all the way to the right to see the ENTIRE formula.

In a way, I guess these are what you wanted, but they aren’t very practical to use.

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [July 13, 2005, 4:09am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/6 "2005-07-13T04:09:36Z")

</div>

What the OP is referring to is commonly known as the **quadratic formula** , which is used for solving quadratic equations.

The quadratic formula is known and loved by millions of high school & college algebra students, but hardly anybody knows the corresponding formulas for third and fourth-degree equations. (I, for one, don’t!) Since those formulas are so much more complicated, there are usually easier ways of dealing with such equations. And, after centuries of searching, it was proved (by Abel) that there _is_ no algebraic formula for the general solution of polynomial equations of degree 5 or more, like there is for degrees up through 4.

---

<div class="post-metadata">

**Author:** ![nivlac](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nivlac](https://boards.straightdope.com/u/nivlac)\
**Post date:** [July 13, 2005, 4:43am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/7 "2005-07-13T04:43:34Z")

</div>

> [@Jinx](#):
>
> Is there some equivalent to the quadratic eqaution for higher order polynomials? At best, I seem to recall some trick that works for some third order polynomials and even a “lesser” trick for fourth order polynomials? - Jinx

Sure, there are formulas for up to 4th degree polynomials for finding roots. But they’re so messy that it’s easier to use approximation methods. It’s a proven fact (thanks to Galois) that there are no such formulas for 5th degree or higher polynomials.

---

<div class="post-metadata">

**Author:** ![RayMan](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@RayMan](https://boards.straightdope.com/u/RayMan)\
**Post date:** [July 13, 2005, 4:49am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/8 "2005-07-13T04:49:36Z")

</div>

The advantage of the formulas for finding cubic and quartic roots is that they give you all the roots of the polynomial–including complex roots (if any), something that real approximation cannot do.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [July 13, 2005, 4:50am UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/9 "2005-07-13T04:50:54Z")

</div>

Let’s get picky here for a second. The issue is not whether there’s a general formula for quintics, but whether there’s one that only involves addition, subtraction, multiplication, division and square roots. There are very large classes of quintic equations for which there is such a formula, but there’s no such formula for the general quintic. However, if you’re willing to allow other operations, there is a general formula for the roots of a quintic equation, which you can see [here](http://mathworld.wolfram.com/QuinticEquation.html). Again, it’s not much use for calculations–this is where Newton’s method and other numeric techniques come into play.

---

<div class="post-metadata">

**Author:** ![Hypnagogic\_Jerk](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hypnagogic_jerk/32/4252_2.png) [@Hypnagogic\_Jerk](https://boards.straightdope.com/u/Hypnagogic_Jerk)\
**Post date:** [July 13, 2005, 3:52pm UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/10 "2005-07-13T15:52:14Z")

</div>

> [@RayMan](#):
>
> The advantage of the formulas for finding cubic and quartic roots is that they give you all the roots of the polynomial–including complex roots (if any), something that real approximation cannot do.

I seem to remember that there are numerical methods that can converge to the complex roots of a function. The one I saw was based on second-order polynomials, but I don’t remember its name. Maybe someone will come along with more information.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [July 13, 2005, 8:09pm UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/11 "2005-07-13T20:09:19Z")

</div>

> [@](#):
>
> The advantage of the formulas for finding cubic and quartic roots is that they give you all the roots of the polynomial–including complex roots (if any), something that real approximation cannot do.

By definition. If a method can converge to a non-real number, then it’s not a real approximation method. But there are perfectly good complex approximation methods: If nothing else, one could use a variant of the method of bisection.

The real advantage to the exact equations is they enable you to find irrational roots exactly. There are methods guaranteed to find all of the rational roots (even complex ones) of any polynomial in a finite bounded time. If all but four of your roots are rational, you can then reduce the order of your equation and find the last irrational roots using the appropriate formula.

Oh, and **ultrafilter** , I think you meant roots of arbitrary order, not just square roots. Even something as simple as x[sup]5[/sup] - 2 = 0 can’t be solved with just +,-,\*,/, and square roots. And while there are formulas using other operations for an arbitrary polynomial, that’s not very significant. At some point, you’re basically just defining some new operation to be the solution you’re looking for, and you’ve just transformed the problem into evaluating that operation, which might be just as hard.

---

<div class="post-metadata">

**Author:** ![iamthewalrus\_3](https://avatars.discourse-cdn.com/v4/letter/i/258eb7/32.png) [@iamthewalrus\_3](https://boards.straightdope.com/u/iamthewalrus_3)\
**Post date:** [July 13, 2005, 8:57pm UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/12 "2005-07-13T20:57:51Z")

</div>

> [@nivlac](#):
>
> Sure, there are formulas for up to 4th degree polynomials for finding roots. But they’re so messy that it’s easier to use approximation methods.

The listed webpages say that too, but I’m not sure I buy that. If computers are good at anything, it’s multiplying lots of numbers together, which is all those formulae appear to be doing. Why bother with an approximation when you can get the real deal?

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [July 13, 2005, 9:29pm UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/13 "2005-07-13T21:29:10Z")

</div>

Floating point error. All computer calculations are approximations.

---

<div class="post-metadata">

**Author:** ![Kimstu](https://avatars.discourse-cdn.com/v4/letter/k/ecd19e/32.png) [@Kimstu](https://boards.straightdope.com/u/Kimstu)\
**Post date:** [July 13, 2005, 10:32pm UTC](https://boards.straightdope.com/t/quadratic-equation-for-higher-orders/312282/14 "2005-07-13T22:32:02Z")

</div>

> [@Thudlow Boink](#):
>
> And, after centuries of searching, it was proved (by Abel) that there is no algebraic formula for the general solution of polynomial equations of degree 5 or more, like there is for degrees up through 4.

> [@nivlac](#):
>
> It’s a proven fact (thanks to Galois) that there are no such formulas for 5th degree or higher polynomials.

[Ruffini](http://www-groups.dcs.st-and.ac.uk/~history/HistTopics/Development_group_theory.html) too.
