Polynomials

A quadratic function

f(x)=ax2+bx+cf(x)=ax^2+bx+c

is also called a polynomial of degree 2. polynomials with larger degrees can be formed by adding terms of the form x3x^3, x4x^4 and so on. The term with the largest power determines the degree of the polynomial.

Example 1
  • f(x)=3x8+4x37x+1f(x)=3x^8+4x^3-7x+1 is a polynomial of degree 88.
  • g(x)=6.1x4x3+x21g(x)=-6.1 x^4-x^3+x^2-1 is a polynomial of degree 44
  • h(x)=27x+1h(x)=\frac{2}{7} x+1 is a polynomial of degree 11 (a linear function)
  • k(x)=3k(x)=3 for all xx is a polynomial of degree 00 (a constant function). Why of degree 00? Because we can write k(x)=3x0k(x)=3x^0, since x0=1x^0=1.
  • l(x)=x10l(x)=x^{10} is a polynomial of degree 1010.
  • l(x)=x10+xl(x)=x^{10}+x is still a polynomial of degree 1010.

The numbers in front of the xx-terms are called (as always) coefficients. They can assume all values. So, let's give a general definition of polynomials:

Definition 1

In general, a polynomial of degree nn (where nn can have the value n=0,1,2,...n=0,1,2,...) has the following form:

f(x)=anxn+an1xn1+...+a2x2+a1x1+a0x0=anxn+an1xn1+...+a2x2+a1x1+a0\begin{array}{ll} f(x)&=&a_n x^n + a_{n-1}x^{n-1}+...+a_2 x^2+a_1 x^1 + a_0 x^0\\ &=&a_n x^n + a_{n-1}x^{n-1}+...+a_2 x^2+a_1 x^1 + a_0 \end{array}

where for the coefficient an0a_n \neq 0 must hold (otherwise the degree of the polynomial is not nn).

A few more remarks:

It is often possible to transform a function into a polynomial.

Example 2
  1. f(x)=(x1)2=x22x+1f(x)=(x-1)^2=x^2-2x+1
  2. g(x)=4xx1.5=4x2g(x)=4\sqrt{x}\cdot x^{1.5}=4x^2
Exercise 1

Can the following functions be converted into a polynomial? If so, what is the degree? Use the correct notation (sorted, same terms combined, see comments above).

  1. f(x)=x6+3x1/22f(x)=x^6 +3 x^{1/2} -2

  2. g(x)=(x1)(x+1)g(x)=(x-1) (x+1)

  3. h(x)=xx7/2h(x)=\frac{\sqrt{x}}{x^{-7/2}}

  4. i(x)=2x2(5x2+x32)i(x)=2x^2 (5x^2+x^3-2)

  5. j(x)=(1x)(1+x)j(x)=(1-\sqrt{x})(1+\sqrt{x})

  6. k(x)=4x32x7+0.5x32x2k(x)=\frac{4x^3-2x^7+0.5x^3}{2x^2}

  7. l(x)=(x2)(x+1)(x+2)l(x)=(x-2)(x+1)(x+2)

  8. m(x)=3x42x+1+3x4x2m(x)=-3x^4 -2x +1 +3x^4 -x^2

Solution
  1. no polynomial.
  2. g(x)=x21g(x)=x^2-1, polynomial of degree 22
  3. h(x)=x1/2x7/2=x4h(x)=x^{1/2} x^{7/2} = x^4 polynomial of degree 44
  4. i(x)=2x5+10x44x2i(x)=2x^5+10x^4-4x^2 polynomial of degree 55
  5. j(x)=x+1j(x)=-x+1, polynomial of degree 11
  6. k(x)=2xx5+0.25x=x5+2.25xk(x)=2x-x^5+0.25x=-x^5+2.25x, polynomial of degree 55
  7. l(x)=(x2)(x2+3x+2)=x3+3x2+2x2x26x4=x3+x24x4l(x)=(x-2)(x^2+3x+2)=x^3+3x^2+2x-2x^2-6x-4=x^3+x^2-4x-4 polynomial of degree 33
  8. m(x)=x22x+1m(x)=-x^2-2x+1 polynomial of degree 22.

The graph of polynomials of a degree 22 or higher can often be compared to a landscape, with hills and valleys (see picture below).

We already know the graph of some polynomials:

With the exception of the constant function, the graphs of polynomials always tend towards ++\infty (upwards) or towards -\infty (downwards). This is indicated in the picture above with arrows on the graphs. So if we run sufficiently far to the right or to the left on the xx-axis, the hills and valleys will eventually stop and the graph will only go up or only down.

Whether the graph of a polynomial finally tends upwards or downwards can be seen from the term with the highest power (the degree). This is so because for xx-values far away from the zero point (to the left or to the right) this term dominates all other terms. By this we mean that all other terms are so much smaller that they can be neglected. To illustrate this, consider the function

f(x)=3x2+5x1f(x)=3x^2+5x-1

For large xx-values (say x=1000x=1000) or for large negative xx-values (say x=1000x=-1000) the following applies

f(x)3x2f(x)\approx 3x^2

that is, all other terms can be neglected. In fact we have

f(1000)=310002+510001=3004999f(1000)=3\cdot 1000^2+5\cdot 1000-1=3\,004\,999

and

310002=30000003\cdot 1000^2 = 3\,000\,000

thus

f(1000)310002f(1000)\approx 3\cdot 1000^2

Using the function 3x23x^2 it is easy to read the behaviour of the graph, hence whether it tends upwards or downwards (upwards). Indeed, the graph of the function 3x23x^2 is a power function x2x^2, scaled in yy-direction by 33.

In general, we have the following:

Theorem 1

For large positive or large negative xx-values, a polynomial of degree nn is basically a power function of degree nn:

anxn+an1xn1+...+a2x2+a1x1+a0anxna_n x^n + a_{n-1}x^{n-1}+...+a_2 x^2+a_1 x^1+a_0 \approx a_n x^n
Exercise 2

The following tasks are to be solved without calculator.

Q1

Determine whether for the following polynomials the graph tends upwards or downwards for large positive and negative xx values.

  1. g(x)=3x5+2x41g(x)=-3x^5+2x^4-1
  2. g(x)=2(1x)(x+1)g(x)=2(1-x)(x+1)
  3. g(x)=0.1(x1)3+1g(x)=-0.1(x-1)^3+1
Q2

Is the power function f(x)=2(x1)10+1f(x)=2(x-1)^{10}+1 a polynomial? If so, determine the degree, and the behaviour of the graph for large positive and negative xx values.

Solution
A1
  1. g(x)=3x5+2x413x5g(x)=-3x^5+2x^4-1\approx -3x^5, so for large positive xx values the graph goes down, and for large negative xx values it goes up.

  2. We have

    g(x)=2(1x)(x+1)=2(x+1x2x)=2x2+22x2\begin{array}{lll} g(x) &= &2(1-x)(x+1)\\ &=&2(x+1-x^2-x)=-2x^2+2 \\ &\approx& -2x^2 \end{array}

    so for large positive xx-values the graph goes down, and for large negative xx-values as well.

  3. It is

    g(x)=0.1(x1)3+1=0.1(x1)(x1)(x1)+1=0.1(x1)(x22x+1)+1=0.1(x32x2+xx2+2x1)+1=0.1x3+0.3x20.3x+0.1+10.1x3\begin{array}{lll} g(x)&=&-0.1(x-1)^3+1\\ &=&-0.1(x-1)(x-1)(x-1)+1\\ &=&-0.1(x-1)(x^2-2x+1)+1\\ &=&-0.1(x^3-2x^2+x-x^2+2x-1)+1\\ &=&-0.1 x^3+0.3 x^2-0.3 x+0.1+1\\ &\approx& -0.1\cdot x^3 \end{array}

    so for large positive xx values the graph goes down, and for large negative xx values it goes up.

A2

It is

f(x)=2(x1)10+1=2(x1)(x1)(x1)...(x1)10 factors+1=2x10+...+3\begin{array}{lll} f(x)&=& 2(x-1)^{10}+1\\ &=& 2\cdot \underbrace{(x-1)\cdot (x-1)\cdot (x-1)\cdot ...\cdot(x-1)}_{10 \text{ factors}}+1\\ &=& 2x^{10}+...+3 \end{array}

and thus it follows that ff is a polynomial of degree 1010. Because

f(x)2x10f(x)\approx 2x^{10}

it follows that the graph tends upwards for large positive xx-values as well as for large negative xx-values.