Jump to content

Mathematics for Applied Sciences (Osnabrück 2023-2024)/Part I/Lecture 6



Polynomials

Mathematical mappings are usually given by a mathematical term, an expression which describes how to get (compute) from a given number its value. Here we consider polynomial functions, which are built in an easy manner. Their definition and basic properties work over any field.


Let K be a field. An expression of the form

P=a0+a1X+a2X2+⋯+anXn,

with ai∈K and n∈ℕ,

is called a polynomial in one variable over K.

The numbers a0,a1,…,an are called the coefficients of the polynomial. Two polynomials are equal if all their coefficients coincide. The polynomials with ai=0 for all i≥1 are called constant polynomials, we write simply a0 for them. In the zero polynomial, all coefficients equal 0. Using the sum symbol, one can write a polynomial briefly as ∑i=0naiXi.


The degree of a nonzero polynomial

P=a0+a1X+a2X2+⋯+anXn

with an≠0

is n.

The zero polynomial does not have a degree. The coefficient an, where n is the degree of the polynomial, is called the leading coefficient of the polynomial. The term anXn is called the leading term of the polynomial.

The set of all polynomials over a field K is called polynomial ring over K, it is denoted by K[X], where X is the variable of the polynomial ring.

Two polynomials

P=∑i=0naiXi and Q=∑i=0mbiXi

can be added by adding the components, i.e. the coefficients of the sum P+Q are just the sums of the coefficients of the two polynomials. In case n>m, the "missing“ coefficients of Q are to be interpreted as 0. This addition is obviously associative and commutative, the zero polynomial is the neutral element and the negative polynomial −P is obtained by taking from every coefficient of P its negative.

One can also multiply two polynomials, one puts

Xn⋅Xm:=Xn+m

and extends this multiplication rule so that distributivity holds. This means one multiplies each summand with each summand and adds then everything together. One can describe this multiplication also explicitly by the rule:

(∑i=0naiXi)⋅(∑j=0mbjXj)=∑k=0n+mckXk with ck=∑r=0karbk−r.

For the degree the following rules hold.

  1. deg⁡(P+Q)≤max⁡{deg⁡(P),deg⁡(Q)}.
  2. deg⁡(P⋅Q)=deg⁡(P)+deg⁡(Q).
The graph of a polynomial function from ℝ to ℝ of degree 5.

If a polynomial P∈K[X] and an element a∈K are given, then one can insert a into P meaning that one replaces everywhere the variable X by a. This yields a mapping

K⟶K,a⟼P(a),

which is called the corresponding polynomial function.

If P and Q are polynomials, then the composition P∘Q is described in the following way: one has to replace everywhere in P the variable X by Q and then simplify this expression. The result is again a polynomial. The order of P and Q is important for this.



Euclidean division

If we have a polynomial over the reals, we are interested in its zeros, its growth behavior, local maxima and minima. For these questions, the euclidean division for polynomials (long division) is important.


Theorem

Let K be a field and let K[X] be the polynomial ring over K. Let P,T∈K[X] be polynomials with T≠0. Then there exist unique polynomials Q,R∈K[X] such that

P=TQ+R and with deg⁡(R)<deg⁡(T) or R=0.

Proof  

We prove the statement about the existence by induction over the degree of P. If the degree of T is larger than the degree of P, then Q=0 and R=P is a solution.

Suppose that deg⁡(P)=0. By the remark just made also deg⁡(T)=0 holds, so T is a constant polynomial, and therefore (since T≠0 and K is a field) Q=P/T and R=0 is a solution.

So suppose now that deg⁡(P)=n and that the statement for smaller degrees is already proven. We write P=anXn+⋯+a1X+a0 and T=bkXk+⋯+b1X+b0 with an,bk≠0,k≤n. Then setting H=anbkXn−k we have the relation

P′:=P−TH=0Xn+(an−1−anbkbk−1)Xn−1+⋯+(an−k−anbkb0)Xn−k+an−k−1Xn−k−1+⋯+a0.

The degree of this polynomial P′ is smaller than n and we can apply the induction hypothesis to it. That means there exist Q′ and R′ such that

P′=TQ′+R′ and with deg⁡(R′)<deg⁡(T) or R′=0.

From this we get altogether

P=P′+TH=TQ′+TH+R′=T(Q′+H)+R′,

so that Q=Q′+H and R=R′ is a solution.

To prove uniqueness, let P=TQ+R=TQ′+R′, both fulfilling the stated conditions. Then T(Q−Q′)=R′−R. Since the degree of the difference R′−R is smaller than deg⁡(T), this implies R=R′ and so Q=Q′.

◻


The computation of the polynomials Q and R is also called long division. The polynomial T is a factor of P if and only if the division of P by T yields the remainder 0. The proof of this theorem is constructive, meaning it can be used to do the computation effectively. For this, one has to be able to do the computing operations in the field K. We give an example.



We want to apply the Euclidean division (over ℚ)

P=6X3+X+1 divided by T=3X2+2X−4.

So we want to divide a polynomial of degree 3 by a polynomial of degree 2, hence the quotient and also the remainder have (at most) degree 1. For the first step, we ask with which term we have to multiply T to achieve that the product and P have the same leading term. This is 2X. The product is

2X(3X2+2X−4)=6X3+4X2−8X.

The difference between P and this product is

6X3+X+1−(6X3+4X2−8X)=−4X2+9X+1.

We continue the division by T with this polynomial, which we call P′. In order to get coincidence with the leading coefficient we have to multiply T with −43. This yields

−43T=−43(3X2+2X−4)=−4X2−83X+163.

The difference between this and P′ is therefore

−4X2+9X+1−(−4X2−83X+163)=353X−133.

This is the remainder and altogether we get

6X3+X+1=(3X2+2X−4)(2X−43)+353X−133.

Lemma

Let K be a field and let K[X] be the polynomial ring over K. Let P∈K[X] be a polynomial and a∈K. Then a is a zero

of P if and only if P is a multiple of the linear polynomial X−a.

Proof  

If P is a multiple of X−a, then we can write

P=(X−a)Q

with another polynomial Q. Inserting a yields

P(a)=(a−a)Q(a)=0.

In general, there exists, due to Theorem 6.3 , a representation

P=(X−a)Q+R,

where either R=0 or the degree of R is 0, so in both cases R is a constant. Inserting a yields

P(a)=R.

So if P(a)=0 holds, then the remainder must be R=0, and this means P=(X−a)Q.

◻



Corollary

Let K be a field and let K[X] be the polynomial ring over K. Let P∈K[X] be a polynomial (≠0) of degree

d. Then P has at most d zeroes.

Proof  

We prove the statement by induction over d. For d=0,1 the statement holds. So suppose that d≥2 and that the statement is already proven for smaller degrees. Let a be a zero of P (if P does not have a zero at all, we are done anyway). Hence, P=Q(X−a) by Lemma 6.5 and the degree of Q is d−1, so we can apply to Q the induction hypothesis. The polynomial Q has at most d−1 zeroes. For b∈K we have P(b)=Q(b)(b−a). This can be zero, due to Lemma 5.5   (5), only if one factor is 0, so the zeroes of P are a or a zero of Q. Hence, there are at most d zeroes of P.

◻



Fundamental theorem of algebra

The following fundamental theorem of algebra, for which we do not provide a proof, shows the importance of complex numbers.


Theorem

Every nonconstant polynomial P∈ℂ[X] over the complex numbers has a

zero.


The fundamental theorem of algebra implies that for every polynomial P∈ℂ[X] P≠0, there is a factorization into linear factors, i.e. one can write

P=c(X−z1)(X−z2)⋅(X−zn)

with uniquely determined complex numbers c and z1,…,zn (where repetitions are allowed).



Polynomial interpolation
A piecewise linear and
a polynomial interpolation.

The following theorem is called theorem about polynomial interpolation and describes the interpolation of given function values by a polynomial. If just one function value at one point is given, then this determines a constant polynomial, two values at two points determine a linear polynomial (the graph is a line), three values at three points determine a quadratic polynomial, etc.


Theorem

Let K be a field, and let n different elements a1,…,an∈K, and n elements b1,…,bn∈K be given. Then there exists a unique polynomial P∈K[X] of degree ≤n−1, such that P(ai)=bi

holds for all i.

Proof  

We prove the existence and consider first the situation where bj=0 for all j≠i for some fixed i. Then

(X−a1)⋯(X−ai−1)(X−ai+1)⋯(X−an)

is a polynomial of degree n−1, which at the points a1,…,ai−1,ai+1,…,an has value 0. The polynomial

bi(ai−a1)⋯(ai−ai−1)(ai−ai+1)⋯(ai−an)(X−a1)⋯(X−ai−1)(X−ai+1)⋯(X−an)

has at these points still a zero, but additionally at ai, its value is bi. We denote this polynomial by Pi. Then

P=P1+P2+⋯+Pn

is the polynomial looked for, because for the point ai, we have

Pj(ai)=0

for j≠i and Pi(ai)=bi.

The uniqueness follows from Corollary 6.6 .

◻



If the data a1,…,an and b1,…,bn are given, then one can find the interpolating polynomial P of degree ≤n−1, which exists by Theorem 6.8 , in the following way: We write

P=c0+c1X+c2X2+⋯+cn−2Xn−2+cn−1Xn−1

with unknown coefficients c0,…,cn−1, and determine then these coefficients. Each interpolation point (ai,bi) yields a linear equation

c0+c1ai+c2ai2+⋯+cn−2ain−2+cn−1ain−1=bi

over K. The resulting system of linear equations has exactly one solution (c0,…,cn−1), which gives the polynomial.

We will deal with systems of linear equations later in more detail, it should however be known from school how to find the solutions.



Rational functions

Next to the polynomial functions, the simplest functions are the rational functions.

A fraction P/Q of polynomials may be considered as a function which is defined outside the zeroes of the denominator. The example shows the graph of the rationale function 1/X.

For polynomials P,Q∈ℝ[X], Q≠0, the function

D⟶ℝ,z⟼P(z)Q(z),

where D is the complement of the zeroes

of Q, is called a rational function.


<< | Mathematics for Applied Sciences (Osnabrück 2023-2024)/Part I | >>
PDF-version of this lecture
Exercise sheet for this lecture (PDF)