Solve Higher Degree Polynomials

Solving a higher degree polynomial has the same goal as a quadratic or a simple algebra expression: factor it as much as possible, then use the factors to find solutions to the polynomial at y = 0. There are many approaches to solving polynomials with an <math>x^3</math> term or higher. You may need to use several before you find one that works for your problem.

Steps

Recognizing Factors

  1. Factor out common factors from all terms. If every term in the polynomial has a common factor, factor it out to simplify the problem. This is not possible with all polynomials, but it's a good approach to check first.
    • Example 1: Solve for x in the polynomial <math>2x^{3}+12x^{2}+16x=0</math>.
      Each term is divisible by 2x, so factor it out:
      <math>(2x)(x^{2})+(2x)(6x)+(2x)(8)=0</math>
      <math>=(2x)(x^{2}+6x+8)</math>
      Now Solve-Quadratic-Equations using the quadratic formula or factoring:
      <math>(2x)(x+4)(x+2)=0</math>
      The solutions are at 2x = 0, x+4=0, and x+2=0.
      The solutions are x=0, x=-4, and x=-2.
  2. Identify polynomials that act like a quadratic. You likely already know how to solve second degree polynomials, in the form <math>ax^{2}+bx+c</math>. You can solve some higher-degree polynomials the same way, if they're in the form <math>ax^{2n}+bx^{n}+c</math>.[1] Here are a couple examples:
    • Example 2: <math>3x^{4}+4x^{2}-4=0</math>
      Let <math>a = x^{2}</math>:
      <math>3a^{2}+4a-4=0</math>
      Solve-Quadratic-Equations using any method:
      <math>(3a-2)(a+2)=0</math> so a = -2 or a = 2/3
      Substitute <math>x^2</math> for a: <math>x^{2}=-2</math> or <math>x^{2}=2/3</math>
      x = ±√(2/3). The other equation, <math>x^{2}=-2</math>, has no real solution. (If using Understand-the-Concept-of-Real-and-Complex-Numbers-(Algebra), solve as x = ±i√2).
    • Example 3: <math>x^{5}+7x^{3}-9x = 0</math> does not follow this pattern, but notice you can factor out an x:
      <math>(x)(x^{4}+7x^{2}-9)=0</math>
      You can now treat <math>x^{4}+7x^{2}-9</math> as a quadratic, as shown in example 2.
  3. Factor sums or differences of cubes. These special cases look difficult to factor, but have properties which make the problem much easier:
    • Sum of cubes: A polynomial in the form <math>a^{3}+b^{3}</math> factors to <math>(a+b)(a^{2}-ab+b^{2})</math>.[2]
    • Difference of cubes: A polynomial in the form <math>a^{3}-b^{3}</math> factors to <math>(a-b)(a^{2}+ab+b^{2})</math>.[3]
    • Note that the quadratic portion of the result is not factorable.[4]
    • Note that <math>x^6</math>, <math>x^9</math>, and x to any power divisible by 3 all fit these patterns.
  4. Look for patterns to find other factors. Polynomials that do not look like the examples above may not have any obvious factors. But before you try the methods below, try looking for a two-term factor (such as "x+3"). Grouping terms in different orders and factoring out part of the polynomial may help you find one.[5] This is not always a feasible approach, so don't spend too much time trying if no common factor seems likely.
    • Example 4: <math>-3x^{3}-x^{2}+6x+2=0</math>
      This has no obvious factor, but you can factor the first two terms and see what happens:
      <math>(-x^{2})(3x+1)+6x+2=0</math>
      Now factor the last two terms (6x+2), aiming for a common factor:
      <math>(-x^{2})(3x+1)+(2)(3x+1)=0</math>
      Now rewrite this using the common factor, 3x+1:
      <math>(3x+1)(-x^{2}+2)=0</math>

Rational Roots and Synthetic Division

  1. Try to identify one root of the polynomial. Synthetic division is a useful way to factor high-order polynomials, but it only works if you know one of the roots (or "zeroes") already. You may be able to find this by factoring as described above, or the problem may provide one. If so, skip down to the synthetic division instructions. If you do not know a root, continue to the next step to try to find one.
    • The root of a polynomial is the value of x for which y = 0. Knowing a root c also gives you a factor of the polynomial, (x - c).

Testing for Rational Roots

  1. List the factors of the constant term. The "rational roots" test is a way to guess at possible root values. To begin, Factor-a-Number of the constant (the term with no variable).[6]
    • Example: The polynomial <math>2x^{3}+x^{2}-12x+9</math> has the constant term 9. Its factors are 1, 3, and 9.
  2. List the factors of the leading coefficient. This is the coefficient in the first term of the polynomial, when it is arranged from the highest-degree term to the lowest. List all of that number's factors on a separate line.
    • Example (cont.): <math>2x^{3}+x^{2}-12x+9</math> has a leading coefficient of 2. Its factors are 1 and 2.
  3. Find the possible roots. If the polynomial has a rational root (which it may not), it must be equal to ± (a factor of the constant)/(a factor of the leading coefficient). Only a number c in this form can appear in the factor (x-c) of the original polynomial.
    • Example (cont.): Any rational roots of this polynomial are in the form (1, 3, or 9) divided by (1 or 2). Possibilities include ±1/1, ±1/2, ±3/1, ±3/2, ±9/1, or ±9/2. Don't forget the "±": each of these possibilities could be positive or negative.
  4. Test roots until you find one that fits. None of these are guaranteed to be roots, so you'll need to test them with the original polynomial.
    • Example: (1/1=1) is a possible root. If it turns out to be an actual root, plugging it into the polynomial should result in zero.
      <math>2(1)^{3}+(1)^{2}-12(1)+9 = 2 + 1 - 12 +9=0</math>, so 1 is confirmed to be a root.
      This means the polynomial has the factor (x-1).
    • If none of the possibilities work out, the polynomial has no rational roots and cannot be factored.

Synthetic Division

  1. Set up a synthetic division problem. Synthetic division is a way to find all the factors of a polynomial, if you already know one of them. To set it up, write a root of the polynomial. Draw a vertical line to its right, then write the coefficients of your polynomial arranged from highest degree exponent to lowest. (You do not need to write the terms themselves, just the coefficients.)
    • Note: You may need to insert terms with a coefficient of zero. For example, rewrite the polynomial <math>x^3 + 2x</math> as <math>x^3 + 0x^2 + 2x + 0</math>.
    • Example (cont.): The rational roots test above told us that the polynomial <math>2x^{3}+x^{2}-12x+9</math> has the root 1.
      Write the root 1, followed by a vertical line, followed by the coefficients of the polynomial:
      <math> \begin{pmatrix}1| & 2 & 1 & -12 & 9 \end{pmatrix}</math>
  2. Carry down the first coefficient. Copy the first coefficient onto the answer line. Leave a blank line in between the two numbers for later calculations.
    • Example (cont.): Carry the 2 down to the answer line:
      <math> \begin{pmatrix}1| & 2 & 1 & -12 & 9 \\ \\ & 2 \end{pmatrix}</math>
  3. Multiply that number by the root. Write the answer directly below the next term, but not on the answer line.
    • Example (cont.): Multiply the 2 by the root, 1, to get 2 again. Write this 2 in the following column, but on the second row instead of the answer line:
      <math> \begin{pmatrix}1| & 2 & 1 & -12 & 9 \\ & & 2 \\ & 2 \end{pmatrix}</math>
  4. Add the contents of the column together to get the next portion of the answer. The second coefficient column now contains two numbers. Sum them together and write the result on the answer line directly below them.
    • Example (cont.): 1 + 2 = 3
      <math> \begin{pmatrix}1| & 2 & 1 & -12 & 9 \\ & & 2 \\ & 2 & 3 \end{pmatrix}</math>
  5. Multiply the result by the root. Just as you did before, multiply the latest number on the answer line by the root. Write your answer underneath the next coefficient.
    • Example (cont.): 1 x 3 = 3:
      <math> \begin{pmatrix}1| & 2 & 1 & -12 & 9 \\ & & 2 & 3 \\ & 2 & 3 \end{pmatrix}</math>
  6. Find the sum of the next column. As before, add up the two numbers in the column and write the result on the answer line.
    • Example (cont.): -12 + 3 = -9:
      <math> \begin{pmatrix}1| & 2 & 1 & -12 & 9 \\ & & 2 & 3 \\ & 2 & 3 & -9 \end{pmatrix}</math>
  7. Repeat this process until you reach the final column. The last number on your answer line will always be zero. If you get any other result, check your work for mistakes.
    • Example (cont.): Multiply -9 by the root 1, write the answer under the final column, then confirm that the sum of the final column is zero:
      <math> \begin{pmatrix}1| & 2 & 1 & -12 & 9 \\ & & 2 & 3 & -9 \\ & 2 & 3 & -9 & 0 \end{pmatrix}</math>
  8. Use the answer line to find another factor. You have now divided the polynomial by the term (x - c), where c is your factor. The answer line tells you the coefficient of each term in your answer. The x portion of each term has an exponent one lower than the original term directly above it.
    • Example (cont.): The answer line is 2 3 -9 0, but you can ignore the final zero.
      Since the first term of the original polynomial included an <math>x^3</math>, the first term of your answer is one degree lower: <math>x^2</math>. Therefore, the first term is <math>2x^2</math>
      Repeat this process to get the answer <math>2x^2 + 3x - 9</math>.
      You have now factored <math>2x^{3}+x^{2}-12x+9</math> into <math>(x - 1)(2x^2 + 3x - 9)</math>.
  9. Repeat if necessary. You may be able to factor your answer into smaller parts using the same synthetic division method. However, you may be able to use a faster method to finish the problem. For example, once you have a quadratic expression, you can factor it using the quadratic formula.
    • Remember, to start the synthetic division method, you'll need to know one root already. Use the rational roots test again to get this. If none of the rational root possibilities check out, the expression cannot be factored.
    • Example (cont.) You've found the factors <math>(x - 1)(2x^2 + 3x - 9)</math>, but the second factor can be broken down further. Try the quadratic equation, Factor-Second-Degree-Polynomials-(Quadratic-Equations), or synthetic division.
      The final answer is <math>(x - 1)(x + 3)(2x - 3)</math>, so the roots of the polynomial are x = 1, x = -3, and x = 3/2.

Tips

  • The terms roots, zeros, and solutions all refer to the values of x that make f(x) = 0. They may be used interchangeably.
  • Cubic and quartic formulas exist similar to the quadratic formula, but are much more complicated and are not often used except by computer. Polynomials of degree 5 and higher have no general solution using simple algebraic techniques, but some examples can be factored using the approaches above.
  • Descartes' Rule of Signs won't tell you the solution, but it can predict how many unique, real solutions there are. Follow these steps to find out whether you've found all possible solutions:[7]
    • Arrange the polynomial from highest degree term to lowest:
      <math>x^5 - x^4 - 2x^2 + x + 1</math>
    • Ignore the terms and write just their signs (positive or negative)
      +--++
    • Count the number of times the signs changed from + to - or vice versa, moving left to right:
      The sequence +--++ shifts signs 2 times.
    • The number of real solutions is either equal to that number, or equal to that number minus 2n, where n is an integer.
      In this example, there may be 2 solutions, or there may be 0.
      In another hypothetical problem where the terms change signs seven times, the number of solutions could be 7, 5, 3, or 1.

Warnings

  • If you get an imaginary root (and you are working with a problem where imaginary roots matter), don't forget that there will be a zero at that number and its complex conjugate. If (x-3i) is a root, then so is (x+3i).

Related Articles

Sources and Citations