Difference between revisions of "Root (polynomial)"
m |
m |
||
Line 37: | Line 37: | ||
[[Rolle's Theorem]] guarantees that if <math>P(x)</math> has two roots <math>r</math> and <math>s</math>, then its derivative <math>P'(x)</math> has at least one root in the interval <math>(r,s)</math>. In particular, if <math>P'(x)</math> has no roots in an interval <math>(a,b)</math>, then <math>P(x)</math> has at most one root in <math>[a,b]</math>. | [[Rolle's Theorem]] guarantees that if <math>P(x)</math> has two roots <math>r</math> and <math>s</math>, then its derivative <math>P'(x)</math> has at least one root in the interval <math>(r,s)</math>. In particular, if <math>P'(x)</math> has no roots in an interval <math>(a,b)</math>, then <math>P(x)</math> has at most one root in <math>[a,b]</math>. | ||
− | Newton's method generates arbitrarily close approximations of the value of a real root of a polynomial. Use of Newton's method generally requires an educated guess for the location of the root based on the above criteria. We let the guess equal <math>x_0</math> and compute the approximations recursively: <cmath>x_{k+1} = x_k - \frac{P(x_k)}{P'(x_k)} = x_k - \frac{\sum_{j=0}^{n} c_jx_k^j}{\sum_{j=1}^{n} jc_jx_k^{j-1}}.</cmath> | + | [[Newton's method]] generates arbitrarily close approximations of the value of a real root of a polynomial. Use of Newton's method generally requires an educated guess for the location of the root based on the above criteria. We let the guess equal <math>x_0</math> and compute the approximations recursively: <cmath>x_{k+1} = x_k - \frac{P(x_k)}{P'(x_k)} = x_k - \frac{\sum_{j=0}^{n} c_jx_k^j}{\sum_{j=1}^{n} jc_jx_k^{j-1}}.</cmath> |
===Complex roots=== | ===Complex roots=== |
Latest revision as of 20:37, 13 March 2022
A root of a function (often a polynomial) whose range is the real, the complex numbers or any abstract field is a value in the domain of the function such that .
Contents
Finding roots
Let with all and , a general degree- polynomial. The degree of is , so has at most complex roots. In fact, the sum of the multiplicities of all distinct complex roots is exactly ; that is, counting any double roots twice, triple roots three times, and so on, there are in fact exactly complex roots of .
General techniques
Multiplying or dividing all of the coefficients of a polynomial by a nonzero constant does not change its roots. Thus, there will always be a monic polynomial with degree having the same roots as , given by
Once a root of is found, the Factor Theorem gives that is a factor of . Therefore, can be divided out of using synthetic division, and the roots of the resulting quotient will be the remaining roots of . Once another root is found, the process can be repeated. Dividing through by is most practical when the root and all the coefficients of are rational.
Rational roots
The three simplest values to test are and .
- is a root of if and only if the constant term is .
- is a root of if and only if the sum of the coefficients is .
- is a root of if and only if the alternating sum of the coefficients is .
If all of the coefficients of are integers, then the Rational Root Theorem applies; namely, if is a root of , with and relatively prime, then is a (positive or negative) divisor of and is a divisor of .
If all of the are rational, but not necessarily integers, then multiplying through by the least common multiple of the denominators yields a polynomial with the same roots as and integer coefficients. The Rational Root Theorem can then be applied to the new polynomial to search for rational roots of .
In some cases the search may be simplified by substituting , where is a nonconstant linear polynomial with rational coefficients. If is a rational root of , then is a rational root of . Conversely, if is a rational root of , then the inverse of at must be a rational root of .
Real roots
Evaluating at chosen values can point to the location of roots. If and have opposite signs, then the Intermediate Value Theorem states that has at least one root in .
For single roots and other roots of odd multiplicity (triple roots, quintuple roots, etc.), will always change sign on opposite sides of the root, but for roots of even multiplicity (such as double roots), the sign of will be the same on either side of the root, so the Intermediate Value Theorem will not detect even-multiplicity roots.
Descartes Rule of Signs yields information on the number of positive real roots and negative real roots of . Writing the coefficients of in descending order of degree and excluding any that equal , the number of positive real roots of is equal to the number of sign changes between adjacent coefficients, minus some even nonnegative integer. The number of negative real roots of is equal to the number of such sign changes after reversing the sign of every odd-degree coefficient, again minus some even nonnegative integer. Here roots are counted according to multiplicity, so double roots are counted twice, triple roots three times, and so on.
More broadly, counting roots according to their multiplicity as before the number of real roots always has the same parity as the degree . Specifically, if is odd then must have at least one real root.
Rolle's Theorem guarantees that if has two roots and , then its derivative has at least one root in the interval . In particular, if has no roots in an interval , then has at most one root in .
Newton's method generates arbitrarily close approximations of the value of a real root of a polynomial. Use of Newton's method generally requires an educated guess for the location of the root based on the above criteria. We let the guess equal and compute the approximations recursively:
Complex roots
Complex roots of polynomials with real coefficients always exist in conjugate pairs. That is, if , , and all coefficients of are real and is a root of then is also a root of . In particular, must both have an even number of distinct nonreal roots and an even sum of the multiplicities of all distinct nonreal roots.
The product of the factors corresponding to and is a quadratic polynomial with real coefficients. As such, dividing through by the product leaves a polynomial which still has real coefficients and all roots of the original except and .
In algebraic form
A root of a polynomial with integer coefficients will always be an algebraic number. General formulas give the algebraic form of the roots of polynomials with degree at most .
For a quadratic equation , the roots are given by the quadratic formula
The cubic formula and quartic formula also exist, but they are quite lengthy and not very practical for computation by hand.
No similar formula exists for quintics or polynomials of any higher degree. Although the roots of such polynomials are algebraic numbers, they cannot be expressed in terms of the coefficients using only addition, subtraction, multiplication, division, powers, and radicals.
This article is a stub. Help us out by expanding it.