Skip to main content

Univariate polynomials

A polynomial of degree nn is a function of the form f(x)=anxn+an1xn1++a1x+a0f(x) = a_n x^n + a_{n-1}x^{n-1} + \ldots + a_1 x + a_0 where aiRa_i \in {\mathbb R} for all ii and an0a_n \neq 0. Denote by deg(f)\deg(f) the degree of polynomial ff. For example, q(x)=x3+2x21q(x) = x^3 + 2x^2 - 1 is a polynomial of degree three with coefficients a3=1,a2=2,a1=0,a0=1a_3 = 1, a_2 = 2, a_1=0, a_0= -1. The evaluation of ff at aa is f(a)f(a). For instance, q(2)=(2)3+2(2)21=15q(2) = (2)^3 + 2 (2)^2 -1 = 15. We say that aa is a root of polynomial pp if p(a)=0p(a) = 0.

Exercise 119

Prove: f(x)anxnf(x) \sim a_n x^n for every x1x \ge 1.

Below are two fundamental results that we rely on in this chapter. We will prove them later.

Theorem 43 (Roots of polynomials)

A non-zero polynomial of degree dd has at most dd roots.

Theorem 44 (Interpolation)

Given any d+1d+1 points in the plane: (x1,y1),,(xd+1,yd+1)R2(x_1,y_1), \ldots, (x_{d+1},y_{d+1}) \in {\mathbb R}^2 where the xix_i's are distinct, there exists a unique degree-dd polynomial pp with p(xi)=yip(x_i) = y_i for all i[d+1]i \in [d+1].

The figures below show the cases for polynomials of degree 11 and 22.

The unique line (degree-1 polynomial) through (1,2) and (3,1).

Figure 15: The unique line (degree-1 polynomial) through (1,2)(1,2) and (3,1)(3,1).

The unique parabola (degree-2 polynomial) through (-2,3), (0,1), and (4,10)

Figure 16: The unique parabola (degree-2 polynomial) through (2,3)(-2,3), (0,1)(0,1), and (4,10)(4,10)