Weierstrass Approximation Theorem

Graduate Depth 58 in the knowledge graph I know this Set as goal
Unlocks 12 downstream topics
weierstrass-approximation polynomials approximation

Core Idea

Every continuous function on a closed interval [a,b] can be uniformly approximated by polynomials: for every ε > 0, there exists a polynomial P such that |f(x) - P(x)| < ε for all x ∈ [a,b]. This theorem shows that polynomials are dense in the space of continuous functions and is fundamental to approximation theory and functional analysis.

Explainer

You have already studied uniform convergence, where a sequence of functions fₙ → f uniformly means the *worst-case* discrepancy supₓ |fₙ(x) − f(x)| → 0. The Weierstrass Approximation Theorem makes a striking claim in that language: for any continuous f on a closed interval [a,b], you can find polynomials that converge to f *uniformly*. Not just pointwise — uniformly, meaning the approximation is equally good across the entire interval simultaneously.

Why is this surprising? Polynomials are algebraically rigid objects — they have no wiggles beyond their degree, grow without bound outside compact sets, and are determined entirely by finitely many coefficients. An arbitrary continuous function can oscillate in complicated ways, have kinks, or behave strangely. The theorem says none of that complexity prevents polynomial approximation from working. The proof is constructive: the Bernstein polynomials Bₙ(f, x) = Σₖ f(k/n) C(n,k) xᵏ(1−x)ⁿ⁻ᵏ are an explicit sequence of polynomials converging uniformly to f on [0,1]. Each Bₙ is essentially a probability-weighted average of f's values, and the convergence follows from the law of large numbers applied to binomial random variables.

The theorem's deeper message is about density: polynomials form a dense subset of C([a,b]), the space of continuous functions on [a,b] with the uniform (sup-norm) topology. In other words, every continuous function can be approximated as closely as desired by a polynomial. This is an analogue of the fact that every real number can be approximated by rationals — rationals are dense in ℝ. Similarly, polynomials are the "rationals" of function space. Density results like this underlie the theory of function spaces and operator theory.

For applications, the theorem justifies using polynomial approximations (Taylor polynomials, Chebyshev polynomials, splines) to represent or compute with arbitrary continuous functions. It also motivates the more general Stone–Weierstrass theorem, which identifies abstract conditions under which a subalgebra of functions is dense — replacing "polynomials" with any family satisfying a few structural axioms. If you understand the Weierstrass theorem deeply, the Stone–Weierstrass generalization is a natural next step: the polynomials aren't special because they're polynomials, but because they *separate points* and *contain constants*, and those two properties alone drive the density.

Practice Questions 5 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineOpposites and Additive InversesAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesLiteral EquationsSlope-Intercept FormPoint-Slope FormWriting Linear EquationsParallel and Perpendicular Line SlopesGraphing Linear EquationsGraphing Quadratic FunctionsVertex Form of Quadratic FunctionsGraphing Quadratic Functions: Vertex and InterceptsQuadratic InequalitiesPolynomial Functions: Degree and Leading CoefficientWeierstrass Approximation Theorem

Longest path: 59 steps · 257 total prerequisite topics

Prerequisites (2)

Leads To (1)