# How to solve an nth degree polynomial equation

The typical approach of solving a quadratic equation is to solve for the roots

$$x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}$$

Here, the degree of x is given to be 2

However, I was wondering on how to solve an equation if the degree of x is given to be n.

For example, consider this equation:

$$a_0 x^{n} + a_1 x^{n-1} \dots a_n = 0$$

-
@Johannes thanks for editing –  Ayush Khemka Sep 22 '12 at 8:39

There is no perfect answer to this question. For polynomials up to degree 4, there are explicit solution formulas similar to that for the quadratic equation (the Cardano formulas for third-degree equations, see here, and the Ferrari formula for degree 4, see here).

For higher degrees, no general formula exists (or more precisely, no formula in terms of addition, subtraction, multiplication, division, arbitrary constants and $n$-th roots). This result is proved in Galois theory and is known as the Abel-Ruffini theorem. Edit: Note that for some special cases (e.g., $x^n - a$), solution formulas exist, but they do not generalize to all polynomials. In fact, it is known that only a very small part of polynomials of degree $\ge 5$ admit a solution formula using the operations listed above.

Nevertheless, finding solutions to polynomial formulas is quite easy using numerical methods, e.g., Newton's method. These methods are independent of the degree of the polynomial.

-
The OP's question is not clear enough. The equation may be concretely given like $x^5 + x^4 + x^3 + x^2 + x + 1 = 0$. If the Galois group of the equation is solvable, it can be solved using repeatedly the roots of equations of the form $x^k - a = 0$. –  Makoto Kato Sep 22 '12 at 9:27
That is certainly true, but he states a general polynomial without any assumptions on the coefficients. Therefore, I will assume he is looking for a general solution formula. Of course, say, $x^n - 1=0$ is very easy to solve in terms of radicals, but this is not the issue here. –  Johannes Kloos Sep 22 '12 at 9:29
It is not clear to me if the OP asks a solution of a general polynomial. –  Makoto Kato Sep 22 '12 at 9:32
@MakotoKato: Let me break it down. My assumption: Ayush is talking about a general method to solve polynomial equations in $\mathbb R[x]$ (or maybe $\mathbb C[x]$). Rationale: He or she does not mention any ground field, but mentions square roots, so I assume a school background. He/she is interested in a generalization of the solution formula for quadratic equations with given but arbitrary coefficients (as in his answer above). Therefore, my statement is: given an arbitrary polynomial, there are/aren't any solution methods in terms of radicals, as explained. For a given polynomials (cont.) –  Johannes Kloos Sep 22 '12 at 9:53
numerical methods will usually apply, without regard to the degree. Of course, if we consider different settings (polynomials in a ground field with indeterminates, finite fields, whatever), the situation may change, but: If the OP had meant that, I believe there would have been an indication that he actually meant it and knew about it (why? Because these situations are quite rare in non-university level math). Thus, I permitted myself to make the assumptions mentioned above. –  Johannes Kloos Sep 22 '12 at 9:56

If I understand the question correctly: there is no general expression for finding roots of polynomials of degree 5 or more. See here

For degrees 3 and 4 the Wikipedia entries are quite good.

-
The Abel-Ruffini theorem statest that there is no solution using radicals, not that there is no expression or method in general. –  Calle Sep 22 '12 at 8:42
@Calle Given he/she mentioned the quadratic formula I assumed he/she meant a similar expression for higher degrees. But I take your point. –  user39572 Sep 22 '12 at 8:48
The OP's question is not clear enough. The equation may be concretely given like $x^5 + x^4 + x^3 + x^2 + x + 1 = 0$. –  Makoto Kato Sep 22 '12 at 9:20
It depends on the information you want. For many applications, the fact "$\alpha$ is a solution to that equation" is all the information you need, and so solving the equation is trivial.
Sometimes, you need some information on the numeric value. You usually don't need much: "$\alpha$ is the only solution to that equation that lies between 3 and 4", for example. It's pretty easy to get rough information through ad-hoc means. Newton's method can be used to improve estimates, and determining how many solutions there are can help ensure you've found everything.