How to find the roots of a polynomial of #n^(th)# degree?

2 Answers
Dec 23, 2015

It gets more complicated fast as #n# increases...

Explanation:

Linear

#ax+b = 0#

Solution #x = -b/a#

Quadratic

#ax^2+bx+c = 0#

Solutions #x = (-b+-sqrt(b^2-4ac))/(2a)#

Cubic

#ax^3+bx^2+cx+d = 0#

Substitute #x = t-b/(3a)# to get a cubic in the form:

#at^3+b_1t+c_1 = 0#

If this has exactly one Real root, then I like to use Cardano's method, substituting #t = u+v# to get:

#au^3+av^3+(3auv+b_1)(u+v)+c_1 = 0#
then adding the constraint #v = -b_1/(3au)# to eliminate the #(u+v)# term. Multiplying through by #u^3# results in a quadratic in #u^3#, whose two roots #r_1# and #r_2# are #u^3# and #v^3#.

Hence:

#x_1 = -b/(3a)+root(3)(r_1)+root(3)(r_2)#

is the Real root, and the Complex roots are given by:

#x_2 = -b/(3a)+omega root(3)(r_1)+omega^2 root(3)(r_2)#

#x_3 = -b/(3a)+omega^2 root(3)(r_1) + omega root(3)(r_2)#

where #omega = -1/2+sqrt(3)/2 i# is the primitive Complex root of #1#.

There are other methods for solving cubics. If the cubic has #3# Real roots then there is a neat trigonometric solution in terms of #cos# and #arccos# that you can reach by shoehorning the cubic into a form in terms of #cos(3 theta)# using

#cos(3 theta) = 4cos^3(theta)-3cos(theta)#.

Of course this is not quite as algebraically nice as expressions in terms of #n#th roots.

Quartic

#ax^4+bx^3+cx^2+dx+e = 0#

Substitute #x = t-b/(4a)# and divide through by #a# to convert to the form:

#t^4+a_1t^2+b_1t+c_1 = 0#

Next consider possible quadratic factors of this:

#t^4+a_1t^2+b_1t+c_1 = (t^2+At+B)(t^2-At+C)#

#=t^4+(B+C-A^2)t^2+A(C-B)t+BC#

Hence:

#B+C = a_1+A^2#

#C-B = b_1/A#

#BC= c_1#

So:

#(a_1+A^2)^2 = (B+C)^2 = (C-B)^2 + 4BC = b_1^2/(A^2) + 4c_1#

Hence:

#A^2(a_1+A^2)^2-4c_1A^2-b_1^2 = 0#

If you multiply this out, you get a cubic in #A^2#, hence #3# possible ways to factor the quartic as two quadratics.

Quintic

#ax^5+bx^4+cx^3+dx^2+ex+f = 0#

In general this has no algebraic solution in terms of #n#th roots.

For example, the roots of #x^5+4x+2 = 0# are not expressible in terms of #n#th roots.

Dec 23, 2015

You can find approximations for the roots of #n#th degree polynomials using Newton's method.

Explanation:

Let #f(x)# be a polynomial, or indeed any nicely behaved function, whose zeros we want to find.

Given a first approximation #a_0#, you can iteratively apply the formula:

#a_(i+1) = a_i - f(a_i)/(f'(a_i))#

to find successively better approximations.

This works with both Real and Complex zeros.

To find different roots, start with different initial approximations.

To find reasonable initial approximations, look at the behaviour of the function a little, perhaps evaluating #f(x)# for a few different values first.