Free Mathematics Class 12 ICSE notes · practise this chapter with an AI quiz

← All study notes

Why a Function Can Have a Hole You Can Patch With One Point

Test a function for continuity at a point and over an interval, use the algebra of continuous functions for sums, products and quotients, and recognise removable, jump and other discontinuities.

What does it mean for a graph to have no breaks?

A function is continuous when its graph can be drawn without lifting the pen — no jumps, gaps or holes. That simple picture has a precise definition using limits, and it matters because most results of calculus, from derivatives to integrals, work only for continuous functions.

This lesson covers continuity at a point and on an interval, the algebra of continuous functions, and types of discontinuity.

How do you determine whether a function is continuous at a point and over an interval?

A function f is continuous at x=ax = a when f(a)f(a) is defined, lim⁡x→af(x)\lim_{x \to a} f(x) exists, and the two are equal; it is continuous on an interval when it is continuous at every point of that interval, using one-sided limits at closed end points.

Three conditions at x=ax = a:


- f(a)f(a) exists
- The left-hand and right-hand limits are equal, so lim⁡x→af(x)\lim_{x \to a} f(x) exists
- lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a)

Worked example. Let f(x)=2x+1f(x) = 2x + 1 for x≤2x \le 2 and f(x)=x2+1f(x) = x^2 + 1 for x>2x > 2. Is f continuous at 2?

- f(2)=5f(2) = 5
- Left-hand limit 2(2)+1=52(2) + 1 = 5; right-hand limit 4+1=54 + 1 = 5
- All three agree, so f is continuous at 2

Worked example 2. Find k so that f(x)=kx+3f(x) = kx + 3 for x<1x < 1 and f(x)=5x−1f(x) = 5x - 1 for x≥1x \ge 1 is continuous at 1. The left-hand limit is k+3k + 3 and f(1)=4f(1) = 4, so k+3=4k + 3 = 4 and k=1k = 1.

On intervals. Polynomials, sin⁡x\sin x, cos⁡x\cos x and exe^x are continuous everywhere; log⁡x\log x is continuous for x>0x > 0; tan⁡x\tan x is continuous wherever cos⁡x≠0\cos x \ne 0.

An everyday example. The temperature in Chennai through a day changes continuously — it cannot jump from 28 °C to 32 °C without passing through every value in between.

The substance. A function can be continuous on its whole domain and still have a break in its graph — 1x\dfrac{1}{x} is continuous at every point of its domain, because 0 is not in the domain.

How does the algebra of continuous functions decide the continuity of sums, products and quotients?

If f and g are continuous at a, then f+gf + g, f−gf - g, fgfg and kfkf are continuous at a, the quotient fg\dfrac{f}{g} is continuous at a provided g(a)≠0g(a) \ne 0, and a composite of continuous functions is continuous.

Why it works.
The limit laws carry over: lim⁡(f+g)=lim⁡f+lim⁡g=f(a)+g(a)\lim (f + g) = \lim f + \lim g = f(a) + g(a).

Worked example. Where is h(x)=x2+sin⁡xx2−5x+6h(x) = \dfrac{x^2 + \sin x}{x^2 - 5x + 6} continuous?

- The numerator is a sum of continuous functions, so it is continuous everywhere
- The denominator (x−2)(x−3)(x - 2)(x - 3) is continuous and is zero at x=2x = 2 and x=3x = 3
- So h is continuous on R−{2,3}\mathbb{R} - \{2, 3\}

Worked example 2. ecos⁡xe^{\cos x} is continuous everywhere, as a composite of cos⁡x\cos x and exe^x, and ∣x−3∣+x3|x - 3| + x^3 is continuous everywhere, as a sum of continuous functions.

An everyday example. The total weight of a water tanker being filled — the tank's own weight plus the water's weight — changes continuously because both parts do.

The substance. The converse fails — f+gf + g can be continuous when neither f nor g is, as with [x][x] and −[x]-[x], whose sum is 0 everywhere.

What is a removable discontinuity, and how are discontinuities classified?

A discontinuity at a is removable when lim⁡x→af(x)\lim_{x \to a} f(x) exists but f(a)f(a) is undefined or different from the limit, so redefining one value makes f continuous; when the one-sided limits exist but differ it is a jump discontinuity, and when a one-sided limit fails to exist it is a discontinuity of the second kind.

Types of discontinuity:

-
Removable
— the limit exists, but f(a)f(a) is missing or wrong
- Jump, or first kind — left-hand and right-hand limits exist but are unequal
- Second kind — at least one one-sided limit does not exist, for example by growing without bound or oscillating

Worked example (removable). f(x)=x2−9x−3f(x) = \dfrac{x^2 - 9}{x - 3} is undefined at 3, but lim⁡x→3f(x)=6\lim_{x \to 3} f(x) = 6. Defining f(3)=6f(3) = 6 removes the discontinuity.

Worked example (jump). For f(x)=[x]f(x) = [x] at x=2x = 2, the left-hand limit is 1 and the right-hand limit is 2, so the discontinuity cannot be removed.

Worked example (second kind). 1x−1\dfrac{1}{x - 1} at x=1x = 1 has one-sided limits that grow without bound, and sin⁡1x\sin\dfrac{1}{x} at 0 oscillates without settling.

An everyday example. A parking fee that rises in steps at each completed hour has a jump discontinuity at every hour mark.

The substance. Only a removable discontinuity can be fixed by changing one value — at a jump, no single value of f(a)f(a) can match two different one-sided limits.
Exam tip

What earns full marks on continuity?

Write the three checks — f(a)f(a), the two one-sided limits, and their equality — as separate lines, even when the answer looks obvious.

- Continuous at a: lim⁡x→a−f(x)=lim⁡x→a+f(x)=f(a)\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a)
- Sums, products and composites of continuous functions are continuous
- Quotients fail only where the denominator is zero
- Removable: the limit exists; jump: the one-sided limits differ

The trap. Checking only one side of a piecewise function. Both one-sided limits must be computed, each using the correct piece.
Did you know

Why must a continuous journey pass through every value in between?

If you climb from 200 m to 800 m above sea level, at some moment you were at exactly 500 m. You cannot skip a height, because your altitude changes continuously.

This is the intermediate value theorem: a continuous function on a closed interval takes every value between its end values. It guarantees, for example, that x3+x−1=0x^3 + x - 1 = 0 has a root between 0 and 1, since the expression is −1-1 at 0 and 1 at 1.

Computers use the same idea to hunt down roots by repeatedly halving an interval.
Exam relevance

How is continuity tested in JEE Main and JEE Advanced?

Continuity and Differentiability is a recurring JEE Main chapter, and JEE Advanced often builds questions around the greatest integer and modulus functions.

What gets asked. Values of constants that make a piecewise function continuous, the number of points of discontinuity of functions involving [x][x] or rational expressions on an interval, and the type of discontinuity.

Question types. Multiple-choice and numerical-value questions.

The trap that costs marks. Missing points where a denominator vanishes or where [x][x] jumps inside the given interval.
Key takeaways

What must you be able to do from this lesson?

- Continuity at a point: f(a)f(a) defined, both one-sided limits equal, and equal to f(a)f(a)
- Algebra of continuous functions: sums, differences, products, multiples and composites are continuous, and quotients are too where the denominator is non-zero
- Discontinuities: removable when the limit exists, jump when the one-sided limits differ, and second kind when a one-sided limit fails

What value of f(0)f(0) makes f(x)=sin⁡3xxf(x) = \dfrac{\sin 3x}{x} continuous at 0?

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on ContinuityCreate a free account
← Back to all articles