Polynomial Functions
Learning objectives
- Identify the degree and leading coefficient of a polynomial
- Evaluate polynomial functions at given points
- Describe end behavior based on degree and leading coefficient
- Add and multiply polynomials
If you understand polynomials, you understand most of what calculus and algebra ever ask you to compute. They are the simplest functions that can curve, twist, and have multiple roots, and they show up everywhere, fitting data, modelling trajectories, computing taxes, approximating any nice function. Lang treats them early because they are the safest playground: every real number is a legal input, and arithmetic with polynomials never leaves the family.
Definition and vocabulary
A polynomial function is a function of the form
where the coefficients are real numbers and . The integer is the degree, and is the leading coefficient. The polynomial has degree ; has degree (linear); has degree (quadratic); has degree (cubic). The domain is all of , no division, no roots, nothing breaks.
Closure under add and multiply
If and are polynomials, so are and . When you multiply, the degree of the product equals the sum of degrees: . So multiplying a degree-3 by a degree-2 polynomial always lands you in degree 5. This algebraic stability is why polynomials are the natural building blocks of more complicated functions.
Roots and the Fundamental Theorem
A root of is a value with . Over the reals, a degree- polynomial has at most real roots. Over the complex numbers, which you will meet in Chapter 15: the count is exact: every degree- polynomial has exactly roots, counted with multiplicity. That statement is the Fundamental Theorem of Algebra, and it is one of the reasons mathematicians wanted to invent complex numbers in the first place.
End behaviour
Far from the origin, a polynomial behaves like its leading term . The sign of and the parity of determine the picture: if is even and the curve rises on both sides; if is even and it falls on both sides; if is odd the two sides go in opposite directions, with the sign of telling you which way is up on the right.
- Numerical Analysis: Any continuous function on a closed interval can be approximated to arbitrary accuracy by a polynomial (Weierstrass' theorem); this is why polynomials are the workhorse for curve fitting, ODE solvers, and finite-element methods.
- Computer Graphics: Bezier curves, the foundation of vector graphics and font rendering, are polynomial functions of a parameter ; each glyph in a TrueType font is a low-degree polynomial spline.
- Cryptography: Reed-Solomon error-correcting codes (used in CDs, QR codes, deep-space communication) treat data as coefficients of a polynomial; the code is the polynomial evaluated at many points, and any majority can recover the original.
(Set the family to polynomial and drag the four coefficient sliders. Watch how a cubic with a large and small already mimics at the screen edges, that is the leading-term-wins picture.)
Horner's method for evaluation
To evaluate at , the naive way computes four powers of separately and adds. Horner's method rewrites the polynomial as , then evaluates left-to-right: , then , then . Three multiplications and three additions, no extra powers. It is the algorithm every calculator uses internally.
Try it
- Predict first: for a cubic to have three real roots, roughly what shape should the graph have (think about local max and local min)? Choose polynomial in the widget, find a setting that yields three real roots, and note the sign pattern on the coefficients.
- Predict first: if , the cubic collapses to what degree? Set and confirm the curve crosses the -axis at most twice (one fewer than a generic cubic).
- Evaluate at using Horner's method by hand. Check against the widget's click readout.
Try it in code
A trap to watch for
Students often say a polynomial of degree has real roots. It has at most real roots. The cubic has only one real root (at ); the other two roots are complex (). The cubic has only one real root , but it is a triple root, counted with multiplicity it is three roots, which is consistent with the degree. The right statement is the one above: at most over the reals, exactly over the complexes when counted with multiplicity.
What you now know
You can identify the degree and leading coefficient of any polynomial, predict its end behaviour, add and multiply polynomials without leaving the family, count its real roots correctly using "at most ," and evaluate it efficiently with Horner's method. The next section visualises a polynomial as the graph of and teaches you to read shape information directly off the picture, intercepts, symmetry, extrema, transformations.
Quick check
Mark section complete →
References
- Lang, S. (1971). Basic Mathematics. Springer. Chapter 13 §2, the polynomial chapter that anchors this section.
- Stewart, J. (2015). Calculus: Early Transcendentals, 8th ed. Cengage. Section 3.2: polynomial functions, end behaviour, and root estimation.
- Knuth, D. E. (1997). The Art of Computer Programming, Vol. 2: Seminumerical Algorithms, 3rd ed. Addison-Wesley. Section 4.6.4, Horner's method and its numerical analysis.