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

Exercise 5.1 · Q4: xnx^n is continuous at x=nx=n

Exercise 5.1Continuity at a point · Section 5.2
The question

Prove that the function f(x)=xnf(x) = x^n is continuous at x=n,x = n, where nn is a positive integer.

Exam answer

Here f(x)=xnf(x) = x^n⁠, where nn is a positive integer, and f(n)=nnf(n) = n^n⁠.

At x=nx = n⁠:

LHL=lim⁡h→0f(n−h)=lim⁡h→0(n−h)n=nnRHL=lim⁡h→0f(n+h)=lim⁡h→0(n+h)n=nn\begin{aligned} \text{LHL} &= \lim_{h\to0} f(n - h) \\ &= \lim_{h\to0}(n - h)^n = n^n \\ \text{RHL} &= \lim_{h\to0} f(n + h) \\ &= \lim_{h\to0}(n + h)^n = n^n \end{aligned}

So LHL=RHL=f(n)\text{LHL} = \text{RHL} = f(n)⁠.

Hence f(x)=xnf(x) = x^n is continuous at x=nx = n⁠.

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

The one idea this problem is built on

Fix the positive integer n.n. Expanding (n+h)n(n + h)^n and (n−h)n(n - h)^n with the binomial theorem gives nnn^n plus a fixed, finite number of further terms, each containing a power of h.h. Every one of those terms tends to 0 as h→0,h \to 0, so both one-sided limits equal nn,n^n, which is f(n).f(n). That is continuity at x=n.x = n.

Given, to show, and the plan
Given
A positive integer nn and f(x)=xnf(x) = x^n for all real x.x.
To show
ff is continuous at the point x=nx = n (the same nn as in the exponent).
Plan
(1) Read the question carefully and find f(n).f(n). (2) Expand f(n+h)f(n + h) and f(n−h)f(n - h) with the binomial theorem. (3) Take the limits as h→0.h \to 0. (4) Compare. (5) Illustrate with small nn and note the shortcut via Example 14.

Basics you need

1Continuity at a point

ff is continuous at cc (in its domain) if the left-hand limit, the right-hand limit and f(c)f(c) are all equal (Definition 1, Section 5.2). Lesson: continuity at a point

2One-sided limits with a small step hh

With h>0h > 0⁠: LHL at cc is lim⁡h→0f(c−h)\lim_{h\to0} f(c-h) and RHL is lim⁡h→0f(c+h).\lim_{h\to0} f(c+h). Basics: left-hand and right-hand limits

3The binomial theorem

For a positive integer n,n, (a+b)n=∑k=0n(nk)an−kbk.(a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k. The k=0k = 0 term is ana^n⁠; every other term contains bb at least once. (Class XI, Binomial Theorem.)

4A finite sum of terms tending to 0 tends to 0

If each of finitely many quantities tends to 0, so does their sum (limit of a sum). And C hk→0C\,h^k \to 0 as h→0h \to 0 for any constant CC and any k≥1.k \ge 1. Basics: what a limit is

Solution

  1. Read the question: one n,n, used twice

    The letter nn is a fixed positive integer, and it plays two roles: it is the power in xnx^n and the point we test. So the claim is a separate statement for each nn⁠:

    • n=1n = 1⁠: f(x)=xf(x) = x is continuous at x=1x = 1⁠;
    • n=2n = 2⁠: f(x)=x2f(x) = x^2 is continuous at x=2x = 2⁠;
    • n=3n = 3⁠: f(x)=x3f(x) = x^3 is continuous at x=3x = 3⁠; and so on.

    xnx^n is defined for every real x,x, so x=nx = n is in the domain, and the value there is

    f(n)=nn.f(n) = n^n.
    Mixing up the two roles is the main trap. Once nn is fixed, nnn^n is just a number (for example 33=273^3 = 27⁠), and the problem is an ordinary "continuity at a point" question.
  2. Expand f(n+h)f(n + h) and f(n−h)f(n - h)

    Let h>0.h > 0. By the binomial theorem with a=na = n and b=hb = h⁠:

    (n+h)n=nn+∑k=1n(nk)nn−khk=nn+n⋅nn−1h+⋯+hn.\begin{aligned} (n + h)^n &= n^n + \sum_{k=1}^{n} \binom{n}{k} n^{n-k} h^k\\ &= n^n + n\cdot n^{n-1} h + \dots + h^n. \end{aligned}

    With b=−hb = -h instead:

    (n−h)n=nn+∑k=1n(nk)nn−k(−h)k.(n - h)^n = n^n + \sum_{k=1}^{n} \binom{n}{k} n^{n-k} (-h)^k.
    Separating the k=0k = 0 term from the rest is the key move. The first term nnn^n does not involve hh⁠; every remaining term has a factor hkh^k with k≥1,k \ge 1, multiplied by the fixed number (nk)nn−k.\binom{n}{k} n^{n-k}.
    Binomial theorem, Class XI. The sum from k=1k = 1 to nn has exactly nn terms: a fixed, finite number.
  3. Take the limits as h→0h \to 0

    Each term of the form (nk)nn−k(±h)k\binom{n}{k} n^{n-k} (\pm h)^k with k≥1k \ge 1 is a constant times (±h)k,(\pm h)^k, so it tends to 0. There are only nn such terms, so their sum tends to 0 (Basic 4). Therefore

    Left-hand limit.

    lim⁡x→n−f(x)=lim⁡h→0(n−h)n=nn+0=nn.\lim_{x\to n^-} f(x) = \lim_{h\to0} (n - h)^n = n^n + 0 = n^n.

    Right-hand limit.

    lim⁡x→n+f(x)=lim⁡h→0(n+h)n=nn+0=nn.\lim_{x\to n^+} f(x) = \lim_{h\to0} (n + h)^n = n^n + 0 = n^n.
    "Finite" matters: nn is fixed before hh moves, so the number of terms does not grow as hh shrinks, and the limit of a sum of nn terms is the sum of their limits.
  4. Compare the three numbers

    lim⁡x→n−f(x)=nn,lim⁡x→n+f(x)=nn,f(n)=nn.\lim_{x\to n^-} f(x) = n^n,\quad \lim_{x\to n^+} f(x) = n^n,\quad f(n) = n^n.

    All three agree, so f(x)=xnf(x) = x^n is continuous at x=nx = n, for every positive integer n.n.

    This is Definition 1 at the point c=n.c = n. Nothing in Steps 2 and 3 used that the point equals the exponent: replacing the point nn by any real cc gives (c±h)n→cn.(c \pm h)^n \to c^n. So xnx^n is in fact continuous at every real number.
  5. See it for n=2n = 2 and n=3n = 3⁠; the shortcut

    For n=2n = 2 (testing x2x^2 at 2): (2±h)2=4±4h+h2→4=f(2).(2 \pm h)^2 = 4 \pm 4h + h^2 \to 4 = f(2).

    For n=3n = 3 (testing x3x^3 at 3):

    (3±h)3=27±27h+9h2±h3→27.(3 \pm h)^3 = 27 \pm 27h + 9h^2 \pm h^3 \to 27.

    The shortcut: xnx^n is a polynomial, and Example 14 proves every polynomial is continuous at every real number. Equivalently, xn=x⋅x⋯xx^n = x \cdot x \cdots x (nn factors), the identity function xx is continuous (Example 6), and a product of continuous functions is continuous (Theorem 1 (3)), applied n−1n - 1 times.

    The concrete cases show the general expansion at work: the middle coefficients (31)32=27\binom{3}{1}3^2 = 27 and (32)3=9\binom{3}{2}3 = 9 are fixed numbers multiplying powers of h.h. The shortcut is a valid proof too; the first-principles route above shows why it is true.
    Theorem 1 (3), Section 5.2.1: f⋅gf \cdot g is continuous at cc if ff and gg are. Lesson: algebra of continuous functions
Result

For every positive integer n,n, the left-hand limit, the right-hand limit and the value of xnx^n at x=nx = n all equal nn,n^n, so f(x)=xnf(x) = x^n is continuous at x=nx = n. (The answer key gives no answer for this "prove that" question.)

Check it with numbers

Take n=3,n = 3, so f(3)=27,f(3) = 27, and h=0.001h = 0.001⁠:

  • f(3.001)=3.0013=27.027009001,f(3.001) = 3.001^3 = 27.027009001, and the expansion gives 27+0.027+0.000009+0.000000001,27 + 0.027 + 0.000009 + 0.000000001, the same.
  • f(2.999)=2.9993=26.973008999,f(2.999) = 2.999^3 = 26.973008999, and the expansion gives 27−0.027+0.000009−0.000000001,27 - 0.027 + 0.000009 - 0.000000001, the same.

Both are within about 0.027 of 27, and the gap is about 27h,27h, shrinking with h.h.

Common mistakes
  1. Treating the point nn as a variable. nn is fixed first; only xx (or hh⁠) moves.
  2. Proving it only for n=2n = 2 or n=3.n = 3. The statement is for every positive integer n,n, so the argument must work for a general n,n, as the binomial expansion does.
  3. (n+h)n=nn+hn.(n + h)^n = n^n + h^n. The middle terms of the expansion are missing; they are what the limit argument has to deal with.
What to take away
  1. Continuity of a polynomial at a point: p(c±h)p(c \pm h) equals p(c)p(c) plus finitely many terms each containing h,h, and these vanish as h→0.h \to 0.
  2. Read symbols carefully: here one letter is both the power and the point.
  3. Products of continuous functions are continuous (Theorem 1), so every power xnx^n and every polynomial is continuous (Example 14).

Every fact used, and where it comes from

FactUsed inSource
Continuity at cc⁠: LHL, RHL and f(c)f(c) exist and are equalSteps 1, 4Definition 1, Section 5.2 (Lesson: continuity at a point)
Binomial theorem for a positive integer powerSteps 2, 5Class XI, Binomial Theorem
Limit of a finite sum is the sum of the limits; Chk→0Ch^k \to 0 for k≥1k \ge 1Step 3Class XI Limits (Basics: what a limit is)
The identity function is continuousStep 5Example 6
Product of continuous functions is continuousStep 5Theorem 1 (3), Section 5.2.1 (Lesson: algebra of continuous functions)
Every polynomial function is continuousStep 5Example 14
Expansions for n=2,3n = 2, 3 and the check-box valuesStep 5; CheckRecomputed in the site's verification script
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 →