Tutorials › Real Analysis › Continuity of Polynomial Functions

Continuity · Tutorial 338 of 1000

Continuity of Polynomial Functions

Learn how continuity behaves under polynomial operations and how to verify continuity of a polynomial with an explicit epsilon-delta estimate.

Intermediate 10 min read

What You'll Learn

  • Define a polynomial function on the real line or on a restricted domain.
  • Prove continuity of sums and products from continuity of their component functions.
  • Use induction to show that every power function is continuous.
  • Deduce that every polynomial function is continuous at every point of its domain.
  • Find explicit delta choices for polynomial continuity estimates.
  • Apply polynomial continuity to a domain that is not an interval.

From Basic Functions to Polynomials

The identity function returns its input, and constant functions return a fixed value. Polynomials combine these simple functions by adding, multiplying, and multiplying by constants. To prove continuity for polynomials, we first need to understand how continuity behaves under those operations.

Throughout, \(E\) may be any subset of \(\mathbb{R}\). Continuity at \(a\in E\) tests only inputs \(x\in E\); the domain need not contain an interval around \(a\). The results from the previous tutorials on continuity of constant functions and the identity function provide the starting cases.

Definition: A polynomial is a function \(p:\mathbb{R}\to\mathbb{R}\) of the form \(p(x)=c_0+c_1x+\cdots+c_nx^n\), where \(n\) is a nonnegative integer and \(c_0,\ldots,c_n\in\mathbb{R}\). We use \(x^0=1\), including when \(x=0\). A polynomial may also be restricted to a domain \(E\subseteq\mathbb{R}\), giving a function \(p:E\to\mathbb{R}\) with the same rule.

Some of the displayed coefficients may be zero. In particular, a constant function is a polynomial, and the zero function is a polynomial. The degree of a nonzero polynomial is not needed for the continuity argument: only the fact that its expression uses finitely many powers matters.

Adding and Multiplying Continuous Functions

The sum is controlled by the triangle inequality. For a product, we first keep one factor bounded near the point of continuity and then estimate the change in the other factor. This local bound is the key extra step in the product argument.

Theorem: Let \(f,g:E\to\mathbb{R}\), and let \(a\in E\). If \(f\) and \(g\) are continuous at \(a\), then \(f+g\) and \(fg\) are continuous at \(a\). For every constant \(c\in\mathbb{R}\), the function \(cf\) is also continuous at \(a\).

Proof. Fix \(\varepsilon>0\). Since \(f\) and \(g\) are continuous at \(a\), there are positive numbers \(\delta_f\) and \(\delta_g\) such that, for \(x\in E\), \[ |x-a|<\delta_f\ \Longrightarrow\ |f(x)-f(a)|<\frac{\varepsilon}{2}, \qquad |x-a|<\delta_g\ \Longrightarrow\ |g(x)-g(a)|<\frac{\varepsilon}{2}. \] Choose \(\delta=\min\{\delta_f,\delta_g\}\). If \(x\in E\) and \(|x-a|<\delta\), then \[ |(f+g)(x)-(f+g)(a)| \leq |f(x)-f(a)|+|g(x)-g(a)| <\frac{\varepsilon}{2}+\frac{\varepsilon}{2} =\varepsilon. \] Thus \(f+g\) is continuous at \(a\).

For the product, continuity of \(f\) gives a number \(\delta_0>0\) such that \(|f(x)-f(a)|<1\) whenever \(x\in E\) and \(|x-a|<\delta_0\). Set \(M=|f(a)|+1\), so \(M\geq1\). For those inputs, \[ |f(x)|\leq |f(a)|+|f(x)-f(a)|<|f(a)|+1=M. \] By continuity of \(g\), choose \(\eta_g>0\) so that \(|g(x)-g(a)|<\varepsilon/(2M)\) when \(x\in E\) and \(|x-a|<\eta_g\). By continuity of \(f\), choose \(\eta_f>0\) so that \[ |f(x)-f(a)|<\frac{\varepsilon}{2(|g(a)|+1)} \] when \(x\in E\) and \(|x-a|<\eta_f\). Take \(\delta=\min\{\delta_0,\eta_g,\eta_f\}\). For \(x\in E\) with \(|x-a|<\delta\), the identity \[ f(x)g(x)-f(a)g(a)=f(x)\bigl(g(x)-g(a)\bigr)+g(a)\bigl(f(x)-f(a)\bigr) \] and the triangle inequality give \[ \begin{aligned} |f(x)g(x)-f(a)g(a)| &\leq |f(x)|\,|g(x)-g(a)|+|g(a)|\,|f(x)-f(a)|\\ &< M\frac{\varepsilon}{2M} +|g(a)|\frac{\varepsilon}{2(|g(a)|+1)} <\varepsilon. \end{aligned} \] This proves continuity of \(fg\) at \(a\).

Finally, if \(c=0\), then \(cf\) is constant and hence continuous. If \(c\ne0\), continuity of \(f\) supplies, for the tolerance \(\varepsilon/|c|\), a positive \(\delta\) such that \(|f(x)-f(a)|<\varepsilon/|c|\) whenever \(x\in E\) and \(|x-a|<\delta\). Then \[ |(cf)(x)-(cf)(a)|=|c|\,|f(x)-f(a)|<\varepsilon. \] Thus \(cf\) is continuous at \(a\) in either case. \(\square\)

Every Power Function Is Continuous

The constant function with value \(1\) is \(x^0\), and the identity function is \(x^1\). Each further power is obtained by multiplying the preceding power by the identity function. The product theorem therefore gives continuity of all powers.

Theorem: For every nonnegative integer \(k\), the function \(m_k:\mathbb{R}\to\mathbb{R}\) defined by \(m_k(x)=x^k\) is continuous at every real number.

Proof. The function \(m_0(x)=1\) is constant, so it is continuous everywhere. The function \(m_1(x)=x\) is the identity function, which is continuous everywhere by the result established in the previous tutorial. Now suppose \(k\geq1\) and \(m_k\) is continuous at every real number. Since \(m_{k+1}=m_k\,m_1\), the product theorem shows that \(m_{k+1}\) is continuous at every real number. Induction proves the claim for every nonnegative integer \(k\). \(\square\)

Theorem: Every polynomial \(p(x)=c_0+c_1x+\cdots+c_nx^n\) is continuous at every real number. Consequently, for any \(E\subseteq\mathbb{R}\), its restriction \(p:E\to\mathbb{R}\) is continuous at every point of \(E\).

Proof. Each power function \(x^k\) is continuous everywhere by the preceding theorem. Multiplication by each coefficient \(c_k\) preserves continuity by the scalar-multiple part of the algebra theorem. Adding these finitely many continuous functions one at a time preserves continuity by its sum part. Therefore \(p\) is continuous at every real number. If \(a\in E\), the same epsilon-delta choice for \(p\) on \(\mathbb{R}\) works when inputs are restricted to \(x\in E\), because it works for all real \(x\) satisfying the input bound. Hence the restriction is continuous at every point of \(E\). If \(E\) is empty, there are no points at which to check continuity, so the restricted-function assertion holds vacuously. \(\square\)

Worked Estimates for Polynomial Functions

The theorem establishes continuity without requiring a separate estimate for each polynomial. Explicit estimates are still useful: they show how a delta can be chosen for a particular point and tolerance. Factoring the difference \(p(x)-p(a)\) often reveals a factor of \(x-a\); the remaining factor can then be bounded near \(a\).

Worked Example: A Cubic at a Specified Point

Let \(p(x)=2x^3-x+4\), and verify continuity at \(a=1\) for \(\varepsilon=0.13\). First, \(p(1)=2-1+4=5\). The difference factors as \[ \begin{aligned} p(x)-p(1) &=2x^3-x+4-5\\ &=2(x^3-1)-(x-1)\\ &=(x-1)\bigl(2(x^2+x+1)-1\bigr)\\ &=(x-1)(2x^2+2x+1). \end{aligned} \] If \(|x-1|<1\), then \(0<x<2\), so \[ |2x^2+2x+1|=2x^2+2x+1<2(4)+2(2)+1=13. \] Choose \(\delta=\min\{1,0.13/13\}=0.01\). Whenever \(|x-1|<\delta\), \[ |p(x)-p(1)|=|x-1|\,|2x^2+2x+1|<0.01(13)=0.13. \] For a numerical check, take \(x=1.005\). Then \[ 2x^2+2x+1=2(1.010025)+2.01+1=5.03005, \] and \[ |p(1.005)-p(1)|=0.005(5.03005)=0.02515025<0.13. \] The estimate using \(13\), not just this test value, proves the required implication for every \(x\) in the chosen neighborhood.

Worked Example: A Fourth-Degree Polynomial at a Root

Consider \(q(x)=x^4-3x^2+2\) at \(a=-1\). Since \(q(-1)=1-3+2=0\), its difference from the value at \(-1\) factors as \[ \begin{aligned} q(x)-q(-1) &=x^4-3x^2+2\\ &=(x^4-1)-3(x^2-1)\\ &=(x-1)(x+1)(x^2+1)-3(x-1)(x+1)\\ &=(x-1)(x+1)(x^2-2). \end{aligned} \] If \(|x+1|<1\), then \(-2<x<0\). Thus \(|x-1|<3\), and \(0\leq x^2<4\) implies \(|x^2-2|\leq2\). Therefore \[ |q(x)-q(-1)|\leq6|x+1|. \] For \(\varepsilon=0.12\), choose \(\delta=\min\{1,0.12/6\}=0.02\). If \(|x-(-1)|<0.02\), then \[ |q(x)-q(-1)|<6(0.02)=0.12. \] For \(x=-0.99\), the factored difference is \[ (-1.99)(0.01)(-1.0199)=0.02029601<0.12. \] The factorization also shows why the polynomial vanishes at \(-1\): the difference contains the factor \(x+1\).

Worked Example: Continuity on a Restricted Domain

Let \(E=\{-1,0,\tfrac12,3\}\) and \(r(x)=x^2+2x-1\). Check continuity at \(a=\tfrac12\) for \(\varepsilon=0.1\), using a delta that works even for real inputs outside \(E\). We have \[ r\left(\frac12\right)=\frac14+1-1=\frac14, \] and \[ \begin{aligned} r(x)-r\left(\frac12\right) &=x^2+2x-\frac54\\ &=\left(x-\frac12\right)\left(x+\frac52\right). \end{aligned} \] If \(\left|x-\tfrac12\right|<1\), then \(-\tfrac12<x<\tfrac32\), which implies \(\left|x+\tfrac52\right|<4\). Choose \(\delta=\min\{1,0.1/4\}=0.025\). For every \(x\in E\) with \(\left|x-\tfrac12\right|<\delta\), the estimate gives \[ \left|r(x)-r\left(\frac12\right)\right| <4(0.025)=0.1. \] Indeed, among the points of \(E\), only \(x=\tfrac12\) is within \(0.025\) of \(\tfrac12\): the other distances are \(1.5\), \(0.5\), and \(2.5\). At \(x=\tfrac12\), the output difference is zero. This restricted-domain check agrees with the general polynomial theorem, which does not require \(E\) to be an interval.

Why the Algebraic Argument Matters

The continuity proof for a polynomial is modular. Once sums, products, and scalar multiples preserve continuity, a finite algebraic expression built from continuous functions is continuous. The power-function induction supplies the pieces \(x^k\), and the polynomial theorem follows by assembling them.

A common pitfall in a direct epsilon-delta proof is to treat the factor left after extracting \(x-a\) as if it were automatically bounded. For example, \(x^2-a^2=(x-a)(x+a)\), but the estimate still needs a neighborhood condition to bound \(|x+a|\). In the examples, a preliminary restriction such as \(|x-a|<1\) provided that bound. The general theorem avoids repeating such estimates for every polynomial, while the explicit calculations show how to produce a concrete delta when one is requested.

The same polynomial rule may be considered on the whole real line or restricted to a smaller set. Restriction cannot invalidate a continuity estimate that already works for all nearby real inputs; it only reduces the inputs that must be tested. Rational functions will require an additional point of care: division is defined only where the denominator is nonzero. The next tutorial addresses continuity on those domains.

Check Your Understanding

Use the continuity results and estimates in this tutorial to answer the following questions.

  1. Why does proving continuity of sums and products suffice to prove continuity of every polynomial?
  2. In the product theorem, why is it useful to bound one factor near the point \(a\)?
  3. For \(p(x)=x^2-4x+1\) at \(a=2\), factor \(p(x)-p(2)\) to exhibit a factor of \(x-2\).
  4. Why does continuity of a polynomial on \(\mathbb{R}\) imply continuity of its restriction to any subset \(E\subseteq\mathbb{R}\)?
  5. In an explicit polynomial estimate, what purpose does a preliminary condition such as \(|x-a|<1\) serve?