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

Example 9: Continuity of f(x)=1xf(x)=\frac1x⁠, x≠0x\ne0

ExamplesContinuous functions · Section 5.2
The question

Discuss the continuity of the function ff defined by f(x)=1xf(x) = \dfrac{1}{x}⁠, x≠0x \ne 0⁠.

Exam answer

The domain of ff is all real x≠0x \ne 0⁠. Let c≠0c \ne 0⁠.

lim⁡x→cf(x)=lim⁡x→c1x=1c=f(c)\begin{aligned} \lim_{x\to c} f(x) &= \lim_{x\to c}\frac1x \\ &= \frac1c = f(c) \end{aligned}

So ff is continuous at every point of its domain. (x=0x = 0 is not in the domain, so it is not a point of discontinuity.)

∴ f\therefore\ f is a continuous function.

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

The one idea this problem is built on

Continuity is tested only at points of the domain. The domain of 1x\frac1x is every real number except 0, and at each of those points the limit of 1x\frac1x is 1c\frac1c⁠, the value. So 1x\frac1x is a continuous function, even though its graph is in two separate pieces: the break happens at x=0x = 0⁠, a point that is not in the domain at all.

Given, to find, and the plan
Given
f(x)=1xf(x) = \frac1x⁠, defined for every real x≠0x \ne 0⁠.
To find
Where ff is continuous, and whether it is a continuous function.
Plan
Fix any c≠0c \ne 0⁠. Find f(c)f(c) and the two one-sided limits at cc⁠, and compare. Then explain what happens near x=0x = 0⁠, following the textbook's discussion of infinity (Tables 5.1 and 5.2).

Basics you need

1Domain of a quotient

Division by 0 is not defined, so 1x\frac1x has no value at x=0x = 0⁠. The question states the domain: all x≠0x \ne 0⁠. Basics: functions

2Limit of a quotient (Class XI)

If lim⁡g=A\lim g = A and lim⁡h=B\lim h = B with B≠0B \ne 0⁠, then lim⁡gh=AB\lim \frac{g}{h} = \frac{A}{B}⁠. With g=1g = 1⁠, h=xh = x⁠: lim⁡x→c1x=1c\lim_{x\to c}\frac1x = \frac1c whenever c≠0c \ne 0⁠. Basics: what a limit is

3One-sided limits

The limit at cc exists when the left-hand and right-hand limits exist (as real numbers) and agree. Basics: left-hand and right-hand limits

4Definitions 1 and 2

Definition 1 applies to a point cc in the domain: continuous at cc iff lim⁡x→cf(x)=f(c)\lim_{x\to c} f(x) = f(c)⁠. Definition 2: a continuous function is continuous at every point of its domain. Lesson: continuity at a point

Solution

  1. The domain, and an arbitrary point in it

    The domain of ff is {x∈R:x≠0}\{x \in \R : x \ne 0\}⁠. Fix any real number c≠0c \ne 0⁠. Then cc is in the domain and

    f(c)=1c.f(c) = \frac1c.
    Definition 2 only asks about points of the domain, so these are the only points we need to examine. Taking cc arbitrary (apart from c≠0c \ne 0⁠) handles all of them at once.
    1c\frac1c is a real number exactly because c≠0c \ne 0⁠. Basics: functions
  2. Near cc⁠, every xx is in the domain

    If ∣x−c∣<∣c∣2|x - c| < \frac{|c|}{2}⁠, then xx lies between c2\frac{c}{2} and 3c2\frac{3c}{2}⁠, so xx has the same sign as cc and

    ∣x∣>∣c∣2>0.|x| > \frac{|c|}{2} > 0.

    So f(x)=1xf(x) = \frac1x is defined at every xx close to cc⁠, on both sides.

    To talk about the limit of ff at cc⁠, ff must be defined at the points near cc on both sides. Staying within half the distance to 0 keeps us safely away from the one excluded point.
    For c=2c = 2⁠: every xx in (1,3)(1, 3) is positive. For c=−0.2c = -0.2⁠: every xx in (−0.3,−0.1)(-0.3, -0.1) is negative.
  3. Left-hand and right-hand limits at cc

    The formula 1x\frac1x is used on both sides of cc⁠, and lim⁡x=c≠0\lim x = c \ne 0⁠, so by the quotient rule (Basic 2)

    lim⁡x→c−1x=1c,lim⁡x→c+1x=1c.\begin{aligned} \lim_{x\to c^-}\frac1x &= \frac1c, \\ \lim_{x\to c^+}\frac1x &= \frac1c. \end{aligned}

    To see that this is forced, measure the distance:

    ∣1x−1c∣=∣x−c∣∣x∣ ∣c∣<2 ∣x−c∣c2,\left|\frac1x - \frac1c\right| = \frac{|x - c|}{|x|\,|c|} < \frac{2\,|x - c|}{c^2},

    using ∣x∣>∣c∣2|x| > \frac{|c|}{2} from Step 2. The right side shrinks to 0 as x→cx \to c⁠.

    The quotient rule needs the limit of the denominator to be non-zero; that is where c≠0c \ne 0 is used. The inequality makes it concrete: at c=2c = 2⁠, being within 0.001 of 2 keeps 1x\frac1x within 2(0.001)/4=0.00052(0.001)/4 = 0.0005 of 12\frac12⁠.
    1x−1c=c−xxc\frac1x - \frac1c = \frac{c - x}{xc} (common denominator). Making the denominator smaller makes a fraction larger, so replacing ∣x∣|x| by the smaller ∣c∣2\frac{|c|}{2} gives an upper bound. Basics: one-sided limits
  4. Compare, and conclude

    lim⁡x→c−f(x)=1c,lim⁡x→c+f(x)=1c,f(c)=1c.\begin{aligned} \lim_{x\to c^-} f(x) &= \frac1c, \\ \lim_{x\to c^+} f(x) &= \frac1c, \\ f(c) &= \frac1c. \end{aligned}

    All three agree, so ff is continuous at cc⁠. As cc was any point of the domain, ff is continuous at every point of its domain; ff is a continuous function (Definition 2).

    This is the textbook's conclusion: "ff is continuous at every point in the domain of ff⁠. Thus ff is a continuous function."
  5. What about x=0x = 0⁠?

    0 is not in the domain: f(0)f(0) does not exist. Definition 1 is only about points of the domain, so 0 is neither a point of continuity nor a point of discontinuity of ff in this book's sense. The textbook still studies the behaviour near 0 (Tables 5.1 and 5.2):

    xxf(x)f(x)side of 0
    0.50.522right
    0.10.11010right
    0.010.01100100right
    0.0010.00110001000right
    −0.5-0.5−2-2left
    −0.1-0.1−10-10left
    −0.01-0.01−100-100left
    −0.001-0.001−1000-1000left

    As x→0+x \to 0^+⁠, 1x\frac1x exceeds any number you name (for any N>0N > 0⁠, 1x>N\frac1x > N once 0<x<1N0 < x < \frac1N⁠); the textbook writes lim⁡x→0+f(x)=+∞\lim_{x\to0^+} f(x) = +\infty⁠. As x→0−x \to 0^-⁠, 1x\frac1x falls below any number: lim⁡x→0−f(x)=−∞\lim_{x\to0^-} f(x) = -\infty⁠.

    +∞+\infty and −∞-\infty are not real numbers, so these one-sided limits do not exist as real numbers. This also shows that no choice of a value at 0 could make the extended function continuous there: there is no limit for the value to equal.
    Some books call 0 a discontinuity of 1x\frac1x (an "infinite discontinuity"). In this textbook, continuity and discontinuity are defined only at points of the domain, so the correct answer to this question is "continuous at every point of its domain". Basics: what a limit is
x y −4 −3 −2 −1 1 2 3 4 −4 −3 −2 −1 1 2 3 4 (2, 1/2) y = 1/x, for x ≠ 0 a typical point (c, 1/c) no point of the graph lies above x = 0
The graph of y=1xy = \frac1x (same scale on both axes; compare Fig 5.3). Each branch is unbroken, and the point (2,12)\left(2, \frac12\right) is typical: the curve arrives at it from both sides. Nothing lies above x=0x = 0⁠, because 0 is not in the domain; there the branches shoot off to +∞+\infty and −∞-\infty⁠.
Result

For every c≠0c \ne 0⁠, lim⁡x→c1x=1c=f(c)\lim_{x\to c}\frac1x = \frac1c = f(c)⁠, so f(x)=1xf(x) = \frac1x is continuous at every point of its domain, that is, ff is a continuous function. The point 0 is outside the domain, so it is not a point of discontinuity; near 0 the one-sided limits are +∞+\infty (right) and −∞-\infty (left), which are not real numbers. This agrees with the textbook.

Check it with numbers

At c=2c = 2⁠: f(1.999)=0.500250…f(1.999) = 0.500250\ldots and f(2.001)=0.499750…f(2.001) = 0.499750\ldots⁠, each about 0.000250.00025 from f(2)=0.5f(2) = 0.5⁠, well inside the bound 2(0.001)/22=0.00052(0.001)/2^2 = 0.0005 from Step 3.

Common mistakes
  1. Calling 0 a point of discontinuity. f(0)f(0) does not exist, so Definition 1 cannot even be applied there.
  2. Thinking a broken graph means "not continuous". The break is over a point outside the domain. On its domain, 1x\frac1x is continuous.
  3. Writing lim⁡x→0+1x=∞\lim_{x\to0^+}\frac1x = \infty and treating ∞\infty as a number. It is a description of unbounded growth; the limit does not exist as a real number.
What to take away
  1. Always find the domain first: continuity is discussed only at points of the domain.
  2. The quotient rule for limits needs a non-zero limit in the denominator; that is why every c≠0c \ne 0 works.
  3. More generally, every rational function p(x)q(x)\frac{p(x)}{q(x)} is continuous on its domain (Example 16).

Every fact used, and where it comes from

FactUsed inSource
Division by 0 is undefined; domain x≠0x \ne 0Steps 1, 5Given in the question (Basics: functions)
∣x−c∣<∣c∣2|x - c| < \frac{|c|}{2} gives ∣x∣>∣c∣2|x| > \frac{|c|}{2}Steps 2, 3Triangle inequality: ∣x∣≥∣c∣−∣x−c∣|x| \ge |c| - |x - c|
Quotient rule for limits (denominator limit ≠0\ne 0⁠)Step 3Algebra of limits, Class XI (Limits and Derivatives) (Basics: limits)
Continuous at cc⁠; continuous functionStep 4Definitions 1 and 2, Section 5.2 (Lesson: continuity at a point)
lim⁡x→0+1x=+∞\lim_{x\to0^+}\frac1x = +\infty⁠, lim⁡x→0−1x=−∞\lim_{x\to0^-}\frac1x = -\infty⁠, not real numbersStep 5Section 5.2, Tables 5.1 and 5.2, Fig 5.3
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 →