sciandu
Mathematics

Mathematics

Polynomial functions

From the straight line through the parabola to curves with several bends. The degree already tells you what the graph can look like.

f(x)=2x+1f(x) = 2x + 1 is a straight line. f(x)=x23f(x) = x^2 - 3 is a . f(x)=x34xf(x) = x^3 - 4x is a curve that changes direction twice. All three belong to the same family: nothing happens but adding, multiplying and raising to whole-number powers. This family is called polynomial functions, and because they are built so simply you can read a surprising amount off them before calculating anything.

The degree is the most important number

The degree is the highest that appears. For f(x)=5x32x+7f(x) = 5x^3 - 2x + 7 it is 3. It decides two things at once. First the number of roots: at most as many as the degree. So a function of degree 3 has at most three roots, but perhaps only one. Second the number of bends: a function of degree nn has at most n1n - 1 maxima and minima.

Coordinate grid
a1
c1
-6-6-4-4-2-2224466
y = 1+ 1opens upwards
The grid draws the case y=ax2+cy = a x^2 + c, so degree 2. Set a=1a = 1 and c=4c = -4: two roots, one minimum, which is the maximum for degree 2. Turn aa negative and the curve tips over, because the leading coefficient decides the ends. At degree 3 one more bend and one more root would join in, and the two ends would run in opposite directions. This grid does not show that, but it follows the same rule.

What happens far out

Substitute a very large number, say x=1000x = 1000. For f(x)=x34x+7f(x) = x^3 - 4x + 7 then x3x^3 is a billion, while 4x-4x contributes only 4000-4000. The highest term outvotes all the others as soon as xx gets big enough. That is why the degree and the sign in front of it alone decide where the curve runs at the edges.

From this follows a rule with four cases. If the degree is even, both ends run the same way, as with a parabola: upwards for a positive leading coefficient, downwards for a negative one. If the degree is odd, the ends run apart: down on the left and up on the right, or the other way round. This also explains why every function of odd degree must have at least one root, because it comes from below and goes upwards and has to cross the axis on the way.

f(x)=anxn+an1xn1++a1x+a0f(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0
The leading coefficient ana_n and the degree nn decide the behaviour at the edges, a0a_0 is the intercept with the yy axis.

Finding roots

For roots there are three tools, and you try them in this order. First factoring out: in x34x=x(x24)x^3 - 4x = x(x^2 - 4) you see the root 0 at once, and then ±2\pm 2. Second the quadratic formula, as soon as only degree 2 is left. Third guessing a root and lowering the degree by polynomial division, when the first two routes are not enough.

One special case is worth knowing: when only even exponents appear, as in x45x2+4x^4 - 5x^2 + 4, you set u=x2u = x^2 and get u25u+4u^2 - 5u + 4. That is an ordinary quadratic equation with the solutions u=1u = 1 and u=4u = 4. Substituting back gives x=±1x = \pm 1 and x=±2x = \pm 2. This method is called substitution.

Exercises

0 of 6 solved

Time to try it yourself. You can't break anything, every attempt counts.

What is the degree of f(x)=4x37x5+2x1f(x) = 4x^3 - 7x^5 + 2x - 1?

How many maxima and minima can a function of degree 4 have at most?

Where does f(x)=x32x2+5f(x) = x^3 - 2x^2 + 5 meet the yy axis?

For an even degree, both ends of the graph run in direction.

How many roots does f(x)=x39xf(x) = x^3 - 9x have?

Match each function to the number of bends it can have.

f(x)=3x+2f(x) = 3x + 2
f(x)=x21f(x) = x^2 - 1
f(x)=x34xf(x) = x^3 - 4x

Where this leads