MatheramaMatherama
← Polynomials
Polynomials·Section 6·3 min read

Finding Roots of Polynomials

For a linear polynomial and quadratic polynomial, we have no difficulty in finding the roots. But for cubic and higher degrees either the formula to find roots is too complex or it does not exist. Computers can utilize numerical methods to calculate the roots of polynomials with high precision. However, there are times when we might want to determine the roots or gain insight into their nature without resorting to numerical computations. For such purposes, various analytical methods are available. We will explore a selection of these techniques that enable us to understand the roots of polynomials and, in certain cases, find them explicitly without relying on numerical approximations.

Searching roots by hit and trial§

Theorem: For a monic polynomial with integer coefficients, if there is an integer root, then it must be one of the factors of the coefficient with degree zero. Let p(x)=xn+an−1xn−1+an−2xn−2+...+anp(x) = x^n + a_{n-1}x^{n-1} + a_{n-2}x^{n-2} + ... + a_n. Then by Vieta’s Formulae, the product of all roots is equal to (−1)nan(-1)^n a_n. Thus the integer roots are the factors of ana_n.

So by hit and trial, we try to search for the roots by putting factors of ana_n into the polynomial and checking whether we are getting a zero or not.

e.g. p(x)=x3−3x2+4p(x) = x^3 - 3x^2 + 4, then if there is an integer root it must be the factor of 4. So we try putting ±1,±2,±4\pm1, \pm2, \pm4 (these are the possible factors of 4)

By hit and trial, we see both −1-1 and 22 satisfy the equation. So (x+1)(x−2)=x2−x−2(x + 1)(x - 2) = x^2 - x - 2 divides p(x)p(x). Using long division, we divide p(x)p(x) by x2−x−2x^2-x-2, we get x−2x-2 as the quotient. Thus, p(x)=(x−2)2(x−1)p(x)=(x-2)^2(x-1).

In general, we use the following method to find rational roots.

Rational roots of the polynomial§

Theorem: If there exists a rational root pq\frac{p}{q} (where p,q∈Zp, q \in \mathbb{Z} and are coprime to each other) of a polynomial P(x)=a0xn+a1xn−1+a2xn−2+...+anP(x) = a_0x^n + a_1x^{n-1} + a_2x^{n-2} + ... + a_n, where coefficients a0,a1,a2,...,ana_0, a_1, a_2, ..., a_n are real numbers, then pp is a factor of ana_n, and qq is a factor of a0a_0.

Since, if pq\frac{p}{q} is a root of P(x)P(x), then P(pq)=a0(pq)n+a1(pq)n−1+a2(pq)n−2+...+an=0P\left(\frac{p}{q}\right) = a_0\left(\frac{p}{q}\right)^n + a_1\left(\frac{p}{q}\right)^{n-1} + a_2\left(\frac{p}{q}\right)^{n-2} + ... + a_n = 0

⇒a0pn+a1pqn−1+a2pqn−2+...+anqn=0...(1)\Rightarrow a_0p^n + a_1pq^{n-1} + a_2pq^{n-2} + ... + a_nq^n = 0 \quad ...(1) ⇒a1pn−1q+a2pn−2q2+...+anqn=−a0pn\Rightarrow a_1p^{n-1}q + a_2p^{n-2}q^2 + ... + a_nq^n = -a_0p^n ⇒a1pn−1+a2pn−2q+...+anqn−1=−a0pnq\Rightarrow a_1p^{n-1} + a_2p^{n-2}q + ... + a_nq^{n-1} = \frac{-a_0p^{n}}{q}

Since the left-hand side is an integer value, the right-hand side is also an integer. Clearly, qq cannot divide pp, thus qq divides a0a_0. Similarly, if we rewrite equation (1) as:

⇒a0pn+a1pqn−1+a2pqn−2+...+an−1pqn−1=−anqn\Rightarrow a_0p^n + a_1pq^{n-1} + a_2pq^{n-2} + ... + a_{n-1}pq^{n-1} = -a_nq^n ⇒a0pn−1+a1pqn−2+a2pqn−3+...+an−1qn−1=−anqnp\Rightarrow a_0p^{n-1} + a_1pq^{n-2} + a_2pq^{n-3} + ... + a_{n-1}q^{n-1} = \frac{-a_nq^n}{p}

Again, the left-hand side is an integer value, the right-hand side is an integer. Since pp cannot divide qq, thus pp divides ana_n.

Let us understand by an example how we can implement the above theorem to find, if not all, but some of the rational roots if they exist.

Example: Given a polynomial 6x3−11x2−4x+46x^3 -11x^2 -4x + 4. Search for its rational roots.

Solution: Possible factors of 6 are 1, 2, 3, and 6 and of 4 are 1, 2, and 4.

Thus possible rational roots are ±1,±12,±2,±23,±4,±13,±16\pm1, \pm\frac{1}{2}, \pm2, \pm\frac{2}{3}, \pm4, \pm\frac{1}{3}, \pm\frac{1}{6} (observe that we have put ±\pm sign).

We will check one by one each possibility and stop as soon as we get the first root.

We find that only 12,−23,\frac{1}{2}, -\frac{2}{3}, and 22 satisfy the equation. We need not find all the roots. As soon as we had found the first root, we must have stopped and found the rest of the roots by using long division and finding the quadratic factor which can then be factorized.

Section 6 of 10 · Polynomials

Mark this section complete when you have worked through its proofs.