Continuity

Trace a graph without lifting your pen — that instinct is exactly what mathematics needs to make precise for Class 12 Calculus. Continuity turns "no jumps, no holes, no breaks" into a testable condition built from limits: at a point x=ax=a, the left-hand limit, the right-hand limit, and the actual function value must all exist and agree. This opens the Calculus unit of ISC Mathematics (Section A, 32 of 65 marks), building directly on the limits you met in Class 11, and it is the prerequisite for differentiability, which follows immediately after. Exam questions rarely ask you to prove continuity everywhere by brute force; instead they hand you a piecewise definition, or a function built from ∣x∣|x| or [x][x], and ask you to "discuss continuity at x=ax=a" for one specific, often suspicious-looking value. Getting comfortable with that three-part check — and with the algebra shortcuts that let you skip it for "ordinary" combinations — is the entire skill this article builds.

The core insight

A function is continuous at x=ax=a exactly when its left-hand limit, right-hand limit, and value at aa all exist and are equal; algebra of continuous functions extends this instantly to sums, products, and quotients, so the definition only needs to be applied by hand at seams, cases, and points involving ∣x∣|x| or [x][x].

The core idea

The three-part definition. A function ff is continuous at a point x=ax=a when all three quantities exist and coincide:

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)

where: the left side is the left-hand limit (approach from values less than aa), the middle is the right-hand limit (approach from values greater than aa), and f(a)f(a) is the function's actual value at aa. If any one of the three fails to exist, or the three do not all match, ff is discontinuous at aa. A function is continuous on an interval if it is continuous at every point of that interval; at the endpoints of a closed interval only the one-sided limit lying inside the interval is required.

Locality is the whole point. Continuity is defined pointwise, at a single value aa, before being extended to a whole interval by demanding it hold everywhere in that interval. That is why a suspicious-looking single point — a seam in a piecewise definition, an integer for [x][x], the origin for ∣x∣|x| — is almost always where the real content of a continuity question lives; away from such points, most "ordinary" functions behave exactly as expected.

Algebra of continuous functions. If ff and gg are both continuous at aa, then so are f+gf+g, f−gf-g, f⋅gf\cdot g, and f/gf/g (provided g(a)≠0g(a)\ne 0). Polynomials, and sin⁡x\sin x, cos⁡x\cos x, exe^x, ln⁡x\ln x on their natural domains, are continuous everywhere they are defined. Once you accept these building blocks, you can certify continuity of most combinations instantly, without computing a single limit — reserving the three-part definition for the specific points where a function is pieced together or built from ∣x∣|x|/[x][x].

Removable discontinuity. This occurs when lim⁡x→af(x)\lim_{x\to a} f(x) exists (the two one-sided limits agree) but either f(a)f(a) is undefined or f(a)f(a) differs from that common limit. Redefining f(a)f(a) to equal the limit "removes" the discontinuity — a distinction the figure below makes visual.

Figure
A curve approaching height four near x equals two with an open circle showing the limit and a separate filled dot at height five showing the actual function value, illustrating a removable discontinuity
Removable discontinuity — limit exists, but f(a) does not match it x f(x) x = 2 limit = 4 (open, not attained by the curve) f(2) = 5 (actual value, filled) Redefining f(2) = 4 would make the function continuous at x = 2.
Derivation AWhy the algebra of continuous functions works

The addition rule for continuous functions is the workhorse behind nearly every "certify continuity instantly" step in this syllabus, so it is worth seeing exactly why it holds: if ff and gg are each continuous at aa, then f+gf+g is continuous at aa too, and the reasoning generalises the same way to products and quotients.

Step 1. State what continuity of ff and gg at aa actually gives us. Since ff is continuous at aa, lim⁡x→af(x)=f(a)\lim_{x\to a} f(x) = f(a), and this holds from both sides. Likewise, since gg is continuous at aa, lim⁡x→ag(x)=g(a)\lim_{x\to a} g(x) = g(a), from both sides. These are the only two facts we are allowed to use.

Step 2. Apply the sum rule for limits, which the syllabus already establishes for limits in general: if lim⁡x→af(x)\lim_{x\to a} f(x) and lim⁡x→ag(x)\lim_{x\to a} g(x) both exist, then lim⁡x→a[f(x)+g(x)]=lim⁡x→af(x)+lim⁡x→ag(x)\lim_{x\to a} \big[f(x)+g(x)\big] = \lim_{x\to a} f(x) + \lim_{x\to a} g(x). This is true for the left-hand limit and, separately, for the right-hand limit, since each one-sided limit obeys the same sum rule.

Step 3. Substitute the values from Step 1 into the sum rule. The left-hand limit of f+gf+g at aa becomes f(a)+g(a)f(a) + g(a), and by the identical argument the right-hand limit of f+gf+g at aa is also f(a)+g(a)f(a) + g(a). Both one-sided limits of f+gf+g therefore agree, and they agree with (f+g)(a)=f(a)+g(a)(f+g)(a) = f(a) + g(a) by definition of the sum function.

Step 4. Read off the conclusion. All three quantities in the continuity definition — left-hand limit, right-hand limit, and function value — equal f(a)+g(a)f(a)+g(a) for the function f+gf+g at x=ax=a, so f+gf+g satisfies the definition and is continuous at aa. The same three-step pattern (apply the relevant limit law, substitute, compare to the definition) proves the corresponding results for f−gf-g, f⋅gf\cdot g, and f/gf/g (with g(a)≠0g(a)\ne 0 so division is defined), which is why the whole "algebra of continuous functions" toolkit can be trusted without re-deriving it every time.

Worked example

Examine the continuity of f(x)=x2−4x−2f(x) = \dfrac{x^2-4}{x-2} for x≠2x\ne 2, with f(2)=5f(2)=5, at x=2x=2; then discuss g(x)=∣x−3∣+[x]g(x) = |x-3| + [x] at x=3x=3.

Step 1 — left-hand limit of ff. For x≠2x\ne2, x2−4x−2=(x−2)(x+2)x−2=x+2\dfrac{x^2-4}{x-2} = \dfrac{(x-2)(x+2)}{x-2} = x+2, so lim⁡x→2−f(x)=lim⁡x→2−(x+2)=4\lim_{x\to2^-} f(x) = \lim_{x\to2^-}(x+2) = 4.

Step 2 — right-hand limit of ff. By the same simplification, lim⁡x→2+f(x)=lim⁡x→2+(x+2)=4\lim_{x\to2^+} f(x) = \lim_{x\to2^+}(x+2) = 4. The two one-sided limits agree, so lim⁡x→2f(x)=4\lim_{x\to2} f(x) = 4.

Step 3 — compare to f(2)f(2). We are given f(2)=5f(2) = 5, but the limit is 44, so f(2)≠lim⁡x→2f(x)f(2) \ne \lim_{x\to2} f(x). Since the limit exists but does not match the function value, ff has a removable discontinuity at x=2x=2; redefining f(2)=4f(2)=4 would fix it — this is exactly the picture in the figure above.

Step 4 — the piecewise function gg. Near x=3x=3: for xx slightly less than 33, ∣x−3∣=3−x|x-3| = 3-x and [x]=2[x]=2, so lim⁡x→3−g(x)=(3−3)+2=2\lim_{x\to3^-} g(x) = (3-3)+2 = 2. For xx slightly more than 33, ∣x−3∣=x−3|x-3| = x-3 and [x]=3[x]=3, so lim⁡x→3+g(x)=(3−3)+3=3\lim_{x\to3^+} g(x) = (3-3)+3 = 3. The one-sided limits disagree (2≠32 \ne 3), so lim⁡x→3g(x)\lim_{x\to3} g(x) does not exist and gg is discontinuous at x=3x=3 — and because the two one-sided limits themselves differ, this discontinuity is not removable.

Final answers: ff has a removable discontinuity at x=2x=2 (limit 44, value 55); gg has a non-removable discontinuity at x=3x=3 (left limit 22, right limit 33), caused entirely by the jump in [x][x].

Competitive stretch

If a third function is defined as h(x)=x2−4x−2h(x) = \dfrac{x^2-4}{x-2} for x≠2x\ne2 and h(2)=4h(2)=4, then by Step 1–2 above, lim⁡x→2h(x)=4=h(2)\lim_{x\to2}h(x)=4=h(2), so hh is continuous at x=2x=2 — the only difference from ff is the assigned value at the single point x=2x=2, confirming that continuity can hinge entirely on one number.

Common traps

  • Confusing "the limit exists" with "the function is continuous" — a removable discontinuity has a perfectly good limit but is still discontinuous unless f(a)f(a) matches it.
  • Checking only one side of a piecewise function or a function built from ∣x∣|x| or [x][x]; a false sense of continuity comes from evaluating just the left-hand or just the right-hand limit.
  • Assuming [x][x] is "continuous almost everywhere so it's fine" — the syllabus requires you to pinpoint the exact points (every integer) where it fails, not wave at general behaviour.
  • Treating a closed-interval endpoint like an interior point — only the relevant one-sided limit is required there, not both.
  • Assuming a function built from "nice" pieces (polynomials, trig functions) is automatically continuous everywhere those pieces are defined without checking the seams — the algebra-of-continuous-functions rule only guarantees continuity where the formula does not change.

Ask the tutor: Stuck on whether a discontinuity in your own piecewise function is removable, or want another ∣x∣|x|/[x][x] example worked through step by step — ask the AI tutor.

Why do we need three conditions instead of just checking that the limit exists?

Because a function can have a perfectly well-defined limit at a point and still be discontinuous there — that is exactly what a removable discontinuity is. The limit existing only tells you the left and right approaches agree with each other; it says nothing about whether the function's actual assigned value at that point matches what the curve is approaching. All three pieces — left limit, right limit, and f(a)f(a) — have to line up for continuity, which is why the worked example's function ff fails despite having a clean limit of 44.

How do I quickly decide whether a discontinuity is removable or not?

Check whether the two one-sided limits agree with each other first. If they do agree (even if they disagree with f(a)f(a), or f(a)f(a) is undefined), the discontinuity is removable — you could patch it by redefining one value. If the one-sided limits themselves disagree, as with [x][x] at any integer, no single redefinition of f(a)f(a) can fix it, so it is non-removable. This one check sorts almost every ISC-level example.

Do I have to use the three-part limit definition for every function I am asked about?

No — that is what the algebra of continuous functions is for. Polynomials, sin⁡x\sin x, cos⁡x\cos x, exe^x and ln⁡x\ln x are continuous on their natural domains, and sums, differences, products, and quotients (away from zeros of the denominator) of continuous functions stay continuous. You only need to fall back on left-hand-limit/right-hand-limit/value-at-a-point checking at the specific trouble spots: piecewise seams, integers for [x][x], and points like x=0x=0 for ∣x∣|x|-based expressions.

Before this

Where this leads