Class 12 Maths, Worked in Full Past papersGet updates
Chapter 5 · Continuity and Differentiability

Example 14: Every polynomial function is continuous

ExamplesContinuity · Section 5.2
The question

Show that every polynomial function is continuous.

Exam answer

Let p(x)=a0+a1x+⋯+anxnp(x) = a_0 + a_1x + \dots + a_nx^n⁠, where a0,a1,…,ana_0, a_1, \dots, a_n are real constants. pp is defined for every real xx⁠. Let cc be any real number.

Since lim⁡x→cx=c\lim_{x\to c} x = c⁠, the product rule of limits gives lim⁡x→cxk=ck\lim_{x\to c} x^k = c^k for every natural number kk⁠. So, by the sum and constant multiple rules of limits,

lim⁡x→cp(x)=a0+a1c+⋯+ancn=p(c)\begin{aligned} \lim_{x\to c} p(x) &= a_0 + a_1c + \dots + a_nc^n \\ &= p(c) \end{aligned}

∴ p\therefore\ p is continuous at every real number, so every polynomial function is continuous. Hence proved.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

A polynomial is built from just two ingredients, constants and the variable xx, using only multiplication and addition. Limits respect both operations: the limit of a product is the product of the limits, and the limit of a sum is the sum of the limits. So taking lim⁡x→c\lim_{x\to c} of a polynomial amounts to replacing every xx by cc⁠, which gives exactly p(c)p(c)⁠. That equation, lim⁡x→cp(x)=p(c)\lim_{x\to c} p(x) = p(c)⁠, is the definition of continuity at cc⁠.

Given, to show, and the plan
Given
A polynomial function p(x)=a0+a1x+…p(x) = a_0 + a_1 x + \dots + anxn+\, a_n x^n⁠, with nn a natural number, real coefficients aia_i⁠, and an≠0a_n \ne 0⁠.
To show
pp is continuous at every real number, so pp is a continuous function.
Plan
Domain. Fix an arbitrary real cc⁠. Find the limits of constants and of xx⁠; then of powers xkx^k⁠; then of each term akxka_k x^k⁠; then of the sum. Compare with p(c)p(c)⁠.

Basics you need

1What a polynomial function is

p(x)=a0+a1x+a2x2p(x) = a_0 + a_1 x + a_2 x^2 +⋯+anxn+ \dots + a_n x^n⁠, finitely many terms, each a real constant times a whole-number power of xx⁠. Example: x3+x2−1x^3 + x^2 - 1 (Example 8), with a0=−1a_0 = -1⁠, a1=0a_1 = 0⁠, a2=1a_2 = 1⁠, a3=1a_3 = 1⁠.

2Algebra of limits (Class XI)

If lim⁡x→cu(x)\lim_{x\to c} u(x) and lim⁡x→cv(x)\lim_{x\to c} v(x) exist, then the limit of u+vu + v is the sum of the limits, the limit of u⋅vu \cdot v is the product of the limits, and the limit of k uk\,u is kk times the limit. Basics: what a limit is

3Two starting limits

lim⁡x→ck=k\lim_{x\to c} k = k for a constant kk (Example 5) and lim⁡x→cx=c\lim_{x\to c} x = c (Example 6).

4Definitions 1 and 2

pp is continuous at cc when lim⁡x→cp(x)=p(c)\lim_{x\to c} p(x) = p(c)⁠; pp is a continuous function when this holds at every point of its domain. Lesson: continuity at a point

Solution

  1. The domain is all of R\R

    To compute p(x)p(x) we only multiply and add real numbers, which is always possible. So pp is defined at every real number and its domain is R\R⁠. Fix an arbitrary real number cc⁠; we will show lim⁡x→cp(x)=p(c)\lim_{x\to c} p(x) = p(c)⁠.

    Definition 2 requires continuity at every point of the domain. Working with a letter cc that could be any real number proves it for all of them at once, instead of checking a few values.
  2. The two building blocks

    For a constant function and for the identity function:

    lim⁡x→ck=k,lim⁡x→cx=c.\lim_{x\to c} k = k, \qquad \lim_{x\to c} x = c.
    These are the simplest limits there are: a constant function has the value kk everywhere, and for the identity the output is the input, so as xx approaches cc the output approaches cc⁠. The book proves both in Examples 5 and 6.
    Example 5 (constants) and Example 6 (identity) are continuous everywhere.
  3. Powers: lim⁡x→cxk=ck\lim_{x\to c} x^k = c^k

    For k=1k = 1 this is Step 2. Suppose it is true for some power k−1k - 1⁠, that is lim⁡x→cxk−1=ck−1\lim_{x\to c} x^{k-1} = c^{k-1}⁠. Since xk=x⋅xk−1x^k = x \cdot x^{k-1}⁠, the product rule gives

    lim⁡x→cxk=(lim⁡x→cx)(lim⁡x→cxk−1)=c⋅ck−1=ck.\begin{aligned} \lim_{x\to c} x^k &= \Big(\lim_{x\to c} x\Big)\Big(\lim_{x\to c} x^{k-1}\Big) \\ &= c \cdot c^{k-1} = c^k. \end{aligned}

    Starting from k=1k = 1 and repeating this step, it holds for k=2,3,4,…k = 2, 3, 4, \dots⁠, so for every natural number kk⁠.

    The product rule of limits needs both factors to have limits. Each time we use it, the two factors are xx (limit cc⁠, Step 2) and a lower power whose limit we already know. Climbing one power at a time reaches any power. For instance lim⁡x2=c⋅c\lim x^2 = c \cdot c⁠, then lim⁡x3=c⋅c2\lim x^3 = c \cdot c^2⁠.
    This "true for 1, and true for kk whenever true for k−1k - 1" argument is mathematical induction. Basics: what a limit is
  4. Each term: lim⁡x→cakxk=akck\lim_{x\to c} a_k x^k = a_k c^k

    Each aka_k is a constant, so by the constant-multiple rule and Step 3,

    lim⁡x→cakxk=aklim⁡x→cxk=akck.\lim_{x\to c} a_k x^k = a_k \lim_{x\to c} x^k = a_k c^k.

    The constant term a0a_0 is handled by Step 2: lim⁡x→ca0=a0\lim_{x\to c} a_0 = a_0⁠.

    A constant factor can be taken outside a limit: if xkx^k gets close to ckc^k⁠, then akxka_k x^k gets close to akcka_k c^k⁠. This is the product rule with one factor constant.
  5. Add the terms: lim⁡x→cp(x)=p(c)\lim_{x\to c} p(x) = p(c)

    p(x)p(x) is the sum of the n+1n + 1 terms a0,a1x,…,anxna_0, a_1 x, \dots, a_n x^n⁠, each with a limit (Step 4). By the sum rule, applied nn times,

    lim⁡x→cp(x)=a0+a1c+⋯+ancn=p(c).\begin{aligned} \lim_{x\to c} p(x) &= a_0 + a_1 c + \dots + a_n c^n \\ &= p(c). \end{aligned}
    The sum rule is stated for two functions, but a sum of finitely many terms can be built two at a time, so it extends to any finite number of terms. The right-hand side is pp with every xx replaced by cc⁠, which is precisely the number p(c)p(c)⁠.
    The finiteness matters: a polynomial always has finitely many terms. Basics: what a limit is
  6. Conclude with the definitions

    Step 5 says lim⁡x→cp(x)=p(c)\lim_{x\to c} p(x) = p(c)⁠. By Definition 1, pp is continuous at cc⁠. Since cc was an arbitrary real number and the domain is R\R⁠, pp is continuous at every point of its domain, and by Definition 2 pp is a continuous function.

    This is the textbook's argument with each limit justified. The book writes lim⁡x→cp(x)=p(c)\lim_{x\to c} p(x) = p(c) in one line; Steps 2 to 5 show why that line is true.
    Constant polynomials (p(x)=a0p(x) = a_0⁠) are not covered by the book's description with an≠0a_n \ne 0 and n≥1n \ge 1⁠, but they are continuous by Example 5, so the result holds for every polynomial. Lesson: continuity at a point
  7. Another route: Theorem 1

    In Section 5.2.1, after Example 15, the book states Theorem 1 (sums, differences, products and quotients of continuous functions are continuous). It proves part (1) and leaves the other parts, including part (3) used here, to the reader; they follow from the product and quotient rules of limits just as part (1) follows from the sum rule. With Theorem 1 the result is immediate: xx and constants are continuous, so xk=x⋅x⋯xx^k = x \cdot x \cdots x is continuous by part (3) applied repeatedly, akxka_k x^k is continuous by part (3) again (Remark (i)), and the sum of the terms is continuous by part (1).

    Theorem 1 is just the algebra of limits, restated for continuous functions. The two routes are the same argument in different words, which is why the book's later examples (rational functions, Example 16) can lean on this one.
Result

For every polynomial pp and every real number cc⁠, lim⁡x→cp(x)=p(c)\lim_{x\to c} p(x) = p(c)⁠. Hence every polynomial function is continuous (at every real number). This agrees with the textbook's solution.

Check it with numbers

Take p(x)=x3+x2−1p(x) = x^3 + x^2 - 1 (Example 8) and c=2c = 2⁠: p(2)=8+4−1=11p(2) = 8 + 4 - 1 = 11⁠. Nearby,

p(1.999)=10.984006999,p(1.999) = 10.984006999, p(2.001)=11.016007001,p(2.001) = 11.016007001,

both within 0.020.02 of 11. With x=2±0.000001x = 2 \pm 0.000001 the outputs differ from 11 by about 0.0000160.000016⁠: the closer the input, the closer the output, as continuity predicts.

Common mistakes
  1. "Just substitute" without a reason. Substituting x=cx = c gives the limit only because the function is continuous; for a piecewise function such as Example 11, substituting into a formula can give the wrong limit. Here Steps 2 to 5 are the reason.
  2. Checking a few polynomials. Verifying x2x^2 and x3+x2−1x^3 + x^2 - 1 does not prove the statement for every polynomial. Work with general coefficients a0,…,ana_0, \dots, a_n⁠.
  3. Forgetting the domain. A polynomial is defined at every real number, which is why "continuous" here means "continuous at every real number".
What to take away
  1. For every polynomial, lim⁡x→cp(x)=p(c)\lim_{x\to c} p(x) = p(c)⁠: limits of polynomials are found by substitution.
  2. The proof grows the result from the simplest functions (constants and xx⁠) using the sum and product rules of limits.
  3. This result is used constantly later: in rational functions (Example 16), in sin⁡(x2)\sin(x^2) (Example 19) and in ∣1−x+∣x∣∣|1 - x + |x|| (Example 20).

Every fact used, and where it comes from

FactUsed inSource
Polynomial function a0+a1x+⋯+anxna_0 + a_1x + \dots + a_nx^nSteps 1, 5Example 14, Section 5.2; Class XI
lim⁡x→ck=k\lim_{x\to c} k = k⁠, lim⁡x→cx=c\lim_{x\to c} x = cSteps 2, 3, 4Examples 5 and 6, Section 5.2
Sum, product and constant-multiple rules of limitsSteps 3, 4, 5Algebra of limits, Class XI (Limits and Derivatives) (Basics: limits)
Continuity at a point; continuous functionStep 6Definitions 1 and 2, Section 5.2 (Lesson: continuity at a point)
Sums and products of continuous functions are continuousStep 7Theorem 1 and Remark (i), Section 5.2.1 (Lesson: algebra of continuous functions)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →