# 1. Polynomial Functions and Equations

## What is a Polynomial?

Before we look at the formal definition of a polynomial, let's have a look at some graphical examples.

In this interactive graph, you can see examples of polynomials with **degree** ranging from 1 to 8. The **degree of a polynomial** is the highest power of *x* that appears.

The "*a*" values that appear below the polynomial expression in each example are the **coefficients** (the numbers in front of) the powers of *x* in the expression.

The **pink dots** indicate where each curve intersects the *x*-axis. These are called the **roots** (or **zeros**) of the polynomial equation *f*(*x*) = 0.

### Things to do

- Use the
**"Degree" + and − buttons**below the graph to change the**degree**of the polynomial. - Use the
**"**below the graph to move the graph up and down.*a*_{n}slider" **Observe**that:- A degree 1 polynomial has at most 1 root
- A degree 2 polynomial has at most 2 roots
- A degree 3 polynomial has at most 3 roots
- ... etc.

#### Polynomial of degree

**Note 1:** These are "typical" shapes for such polynomials. It's also possible they can be stretched out such that they have less roots.

**Note 2:** Of course, we are restricting ourselves to **real roots** for the moment.

## Formal definition of a polynomial

A **polynomial function** of degree *n* is of the form:

f(x) =a_{0}x+^{n}a_{1}x^{n}^{−1}+a_{2}x^{n}^{−2}+ ... +a_{n}

where

a_{0}≠ 0 and

nis a positive integer, called thedegreeof the polynomial.

### Example

*f*(*x*) = *x*^{4} −* x*^{3} − 19*x*^{2} − 11*x* + 31 is a polynomial function of degree 4.

## Roots of an Equation

Finding the **roots** of a polynomial equation, for example

x^{4}−x^{3}− 19x^{2}− 11x+ 31 = 0,

means "to find values of *x* which make the equation true."

We'll find those roots using a computer algebra system instead of using the (quite useless) Factor and Remainder Theorems. (I have reluctantly included them in the next section, Remainder and Factor Theorems).

This is because the Factor and Remainder Theorems only really work for "nice" polynomials (that is, ones which have integer coefficients and so are easy to guess an initial root).

It's usually best to draw a graph of the function and determine the roots from where the graph cuts the *x*-axis. Let's see how that works.

**Solution 1: Graphically.** The roots are given by the *x*-intercepts.

*f*(*x*) = *x*^{4} −* x*^{3} − 19*x*^{2} − 11*x* + 31

Graph of *f*(*x*) = *x*^{4} −* x*^{3} − 19*x*^{2} − 11*x* + 31

We see that there are 4 roots, at approximately

x= -3,x= -2,x= 1,x= 5.

**Solution 2:** Using "Compute → Solve → Numeric" in Scientific Notebook (or similar processes in other computer algebra systems):

f(x) =x^{4}− x^{3}− 19x^{2}− 11x+ 31,Solution is: {

x= -2.97}, {x= -2.05}, {x= 1.02}, {x= 4.99}.

We see that the roots are close to our estimation from the graph.

See how Wolfram|Alpha solves this example.

So you still insist on seeing the dinosaur method of solving these? Okay, here you go...

In the next section we meet the **Remainder Theorem** and **Factor Theorem**, which were historically used to find solutions of polynomial equations. They are only useful for polynomial equations with simple roots.