Continuity of functions
Trace a graph with your pen, without lifting it, and you are doing continuity — informally. A function is continuous at a point when its graph has no jump, no hole and no break there, and this single idea is the doorway to the entire Class 12 calculus chapter Continuity and Differentiability. Before you can talk about derivatives, the chain rule or logarithmic differentiation, you must be able to check, at a suspicious point, whether a function's limit actually matches its value. The check is always the same three-part test, built from left-hand and right-hand limits — no - formality needed at this level. Master it here and every later continuity-and-differentiability question becomes a routine limit calculation rather than a mystery.
A function is continuous at exactly when its left-hand limit, right-hand limit and function value at all agree, , and any piecewise "join" point must be checked explicitly against this test.
The core idea
A function is continuous at in its domain if the limit of as exists and equals the function's value there:
where: is the value the function actually takes at , and is the number the function's outputs approach as gets arbitrarily close to from both sides. This one line hides three separate conditions, and continuity fails if even one of them breaks.
Condition 1 — defined. must exist; the point must genuinely sit in the domain.
Condition 2 — limit exists. The left-hand limit (LHL) and right-hand limit (RHL) must be equal:
where: the superscripts and mean approaches from below and from above respectively.
Condition 3 — they match the value. The common limit from Condition 2 must equal from Condition 1. Standard building blocks — polynomials, , , , and (on their domains) , , rational functions — are continuous everywhere they are defined, so the interesting work concentrates at a small set of "suspicious" points: where a piecewise formula switches, where a denominator could vanish, or where a step function like the greatest integer function jumps. A function is continuous on an open interval if it passes the test at every point inside it; on a closed interval it must additionally be right-continuous at (i.e. ) and left-continuous at (i.e. ) — no new definition, just the point test applied repeatedly, with the endpoints only required to behave from the one side that actually lies inside the interval. It also helps to think of continuity as a local property first, then a global one. "Continuous on an interval" is not a separate rule to memorise — it is simply the point-wise test succeeding at every single point of that interval, one point at a time. This is why an exam question rarely asks you to check continuity everywhere from scratch; instead it hands you a formula built from continuous pieces and asks you to hunt down the handful of places where the formula could plausibly break — a join, a vanishing denominator, or an integer where a floor function steps.
Continuity at a join point with an unknown constant
The goal is to show, using nothing beyond the three-part test and basic algebra, that requiring a piecewise function to be continuous at its join point turns into a single solvable equation for an unknown constant — a task that appears repeatedly in board exams whenever a function is defined by two different formulas and asked to be continuous at the switch-over point.
Step 1. Set up the function. Let for and for , where is an unknown constant. Since is where the formula switches, this is the only point that needs checking; each piece is a polynomial, hence automatically continuous everywhere on its own side.
Step 2. Compute the value at using the piece that applies there. Because , use the first piece: .
Step 3. Compute the left-hand limit using the first piece (it governs as well): . This equals automatically, since the same formula supplies both.
Step 4. Compute the right-hand limit using the second piece: .
Step 5. Apply the continuity condition, LHL RHL: , so and . Only this value of makes the graph join without a jump; any other value leaves a gap exactly at .
Worked example
Check whether for , with , is continuous at .
Step 1. Read off directly from the definition: .
Step 2. Simplify the formula for : , valid because lets the common factor cancel.
Step 3. Take the limit: .
Step 4. Compare: , so all three conditions hold and is continuous at . Without the extra definition , the expression would have had a hole at ; defining precisely removes that removable discontinuity.
Competitive stretch
The greatest integer function is a useful contrast: at , (values just below round down to ) while and . Since LHL RHL, is discontinuous at every integer, even though it is defined everywhere — a sharp reminder that "defined" and "continuous" are not the same thing.
Common traps
- Confusing "defined" with "continuous." A jump function can be defined at every point and still fail continuity, because the limit must match the value, not just exist as a number to substitute.
- Checking only one side. For piecewise functions, students often compute the right-hand limit (or substitute directly) and skip the left-hand limit, missing a mismatch at the join.
- Cancelling factors carelessly. In , cancelling is valid only for ; the simplified form describes the limiting behaviour, not automatically the value at unless separately defined.
- Assuming "nice" pieces guarantee continuity everywhere. Each piece being a polynomial does not excuse checking the join point explicitly — continuity elsewhere never guarantees continuity at the boundary.
Ask the tutor: Want to work through a few more piecewise continuity checks — including ones where you solve for two unknown constants at once — until the left-hand/right-hand limit habit feels automatic?
Why do we need three separate conditions instead of just plugging in the value?
Plugging in only checks whether exists — it says nothing about the function's behaviour nearby. A function can have a perfectly good value at while its graph approaches a completely different height from the left and right, which is exactly what a jump discontinuity looks like. The limit conditions capture that "nearby behaviour," and matching the limit to the value is what rules out both holes and jumps at once. In an exam, always write out all three pieces — LHL, RHL, and — separately before comparing them, rather than trying to eyeball the answer; it is the most common source of silly slips.
If both pieces of a piecewise function are polynomials, isn't the whole function automatically continuous?
Each piece is continuous on its own side of the join, since polynomials are continuous everywhere — but that says nothing about what happens exactly at the join itself, where the formula switches from one polynomial to another. You still must compute the left-hand limit from one piece, the right-hand limit from the other, and the actual value, then check all three agree. Skipping this step is one of the most common ways marks are lost.
Is a removable discontinuity the same as a "hole," and can it always be fixed?
Yes — a removable discontinuity is precisely a hole: the limit exists at the point, but either the function is undefined there or its defined value does not match the limit. It can always be "removed" by redefining (or defining) to equal that limit, exactly as removes the hole in . Not every discontinuity is removable, though — a jump discontinuity, where the left-hand and right-hand limits genuinely disagree, cannot be fixed by changing a single value, because there is no single limit to assign.