Q.Find whether the function is continuous or discontinuous at the indicated point: f(x)={3x+5,x2,x≥2x<2 at x=2.
Concept understanding — Continuity At A Point
Continuity at a Point
Imagine drawing the graph of a function and putting your pen down at x=a. If the function is continuous there, you can draw straight through that point without lifting your pen — no jump, no hole, no break. That is the intuition; here is the precision.
The Three-Condition Test
For f(x) to be continuous at x=a, all three must hold. If even one fails, f is discontinuous there.
Continuity at x=a requires:
- f(a) is defined,
- x→alimf(x) exists (left- and right-hand limits are equal),
- x→alimf(x)=f(a).
Condition 1 says a is in the domain — the pen must have somewhere to land. Condition 2 says the curve approaches a single value from both sides — no jump. Condition 3 says that common approach value actually matches the function's value at a — no misplaced point.
Why All Three Are Needed
f(x)=x−1x2−1 has limx→1f(x)=2, yet f(1) is undefined (zero denominator). Condition 1 fails, leaving a hole at (1,2).
A piecewise function shows the opposite can be fine:
f(x)=⎩⎨⎧x+13x+1x<2x=2x>2
Here f(2)=3, both one-sided limits equal 3, and they match f(2) — so all three hold and f is continuous at x=2.
Common Pitfalls
"Limit exists" does not mean "continuous." The hole example has a limit but no continuity — the limit must equal the function value.
"Defined everywhere" does not mean "continuous." A piecewise function can have a value at every point and still jump. Always check the one-sided limits.
A Quick Check
Is f(x)=∣x∣ continuous at x=0? f(0)=0, limx→0∣x∣=0, and the two agree — yes, even though ∣x∣ has a sharp corner. Continuity demands no break, not smoothness.
Takeaway: continuity at a point means the function value and the two one-sided limits all agree. Agreement ⇒ the graph passes through unbroken; disagreement ⇒ a discontinuity.
Continuity at a Point is the opening idea of the CBSE Class 12 Continuity and Differentiability chapter, and the three-condition test described here matches exactly what NCERT exercises and "continuity and differentiability class 12 important questions" expect students to apply. This concept is also foundational for JEE Main and NEET, where checking continuity is often the first step before testing differentiability of a function.
Concept: Continuity at a point — check whether f(2), the left-hand limit, and the right-hand limit all agree.
Function value: since x≥2 uses 3x+5, f(2)=3(2)+5=11.
Left-hand limit (x→2−, use x2): limx→2−x2=4.
Right-hand limit (x→2+, use 3x+5): limx→2+(3x+5)=11.
Since 4=11, the two one-sided limits differ, so limx→2f(x) does not exist and continuity fails.
f is discontinuous at x=2: the left-hand limit is 4 but the right-hand limit is 11 (a jump), so limx→2f(x) does not exist.
At x=2 the left-hand limit is 4 (from x2) but the right-hand limit is 11 (from 3x+5); they disagree, so f is discontinuous at x=2.
The idea
For f to be continuous at x=2 we need three things to match: the value f(2), the limit coming from the left, and the limit coming from the right. The rule changes exactly at x=2, so that boundary is the only place trouble can appear.
Step-by-step
1. Function value at x=2. The condition x≥2 selects the piece 3x+5:
f(2)=3(2)+5=11.
2. Left-hand limit. For x<2 the function is x2:
limx→2−f(x)=limx→2−x2=22=4.
3. Right-hand limit. For x≥2 the function is 3x+5:
limx→2+f(x)=limx→2+(3x+5)=11.
4. Compare. The left limit is 4 and the right limit is 11. Because
limx→2−f(x)=4=11=limx→2+f(x),
the two-sided limit limx→2f(x) does not exist. With no limit, the continuity test fails no matter what f(2) is — the graph jumps from height 4 up to 11 at x=2.
f is discontinuous at x=2 (jump discontinuity: LHL =4, RHL =11).
Method: Testing Continuity of a Piecewise Function at the Boundary Point
Use this method whenever a function is defined by different formulas on either side of a specific point, and you must decide whether it is continuous there.
Steps
Step 1: Determine which piece defines f(a)
Check which inequality includes the equality sign at the boundary point — that piece is the one used to compute f(a) itself.
Step 2: Compute the left-hand limit
Using the formula that applies for x values strictly less than a, evaluate limx→a−f(x) by direct substitution (assuming that piece is itself a continuous function like a polynomial).
Step 3: Compute the right-hand limit
Using the formula that applies for x values greater than (or equal to, depending on how the pieces are split) a, evaluate limx→a+f(x) similarly.
Step 4: Compare all three values
Continuous at a⟺limx→a−f(x)=limx→a+f(x)=f(a).
If the two one-sided limits disagree, stop there — the two-sided limit does not exist, so the function is discontinuous regardless of what f(a) equals (a jump discontinuity). If they agree with each other but not with f(a), that's a different kind of discontinuity (removable/misplaced-point). Only if all three agree is the function continuous.
Common Mistakes
Mistake 1: Assuming continuity just because f(a) is defined
A student might see that f(2)=11 is a perfectly valid number and stop there, concluding the function must be continuous simply because it has a value at that point. Why it's wrong: being defined at a point is only one of the three continuity conditions — the one-sided limits must also exist and agree with that value. Correct approach: always compute both one-sided limits explicitly before drawing any conclusion, even when f(a) looks unremarkable.
Mistake 2: Using the wrong piece for one of the one-sided limits
Because the boundary condition is x≥2 (not x>2), it's tempting to also use the 3x+5 piece when computing the left-hand limit as x→2−. Why it's wrong: the left-hand limit must use only the formula valid for x strictly less than 2, which here is x2 — mixing up which piece belongs to which side directly causes a wrong (and possibly misleadingly "matching") answer. Correct approach: re-read the domain conditions carefully before choosing which formula to use for each one-sided limit.
- COMEDK 2025Set 2025-A1 markMCQQ.The function f(x)={x∣x∣, if x=00, if x=0 is discontinuous at (A) x=0 (B) x>1 (C) x>0 (D) x<0
›Reveal solutionSolution
The function f(x) is essentially the sign function (signum) for x=0, with a jump at x=0 where the left-hand limit is −1 and the right-hand limit is +1, but f(0)=0; thus it is discontinuous only at x=0, so the answer is (A).
Concept & Intuition
This function is a classic example of a piecewise-defined function that behaves like the sign of x for all nonzero inputs. For x>0, ∣x∣/x=x/x=1; for x<0, ∣x∣/x=(−x)/x=−1. At x=0, the function is defined separately as 0. The key question is: does the function have a limit as x approaches 0? Because the left-hand and right-hand limits are different, the limit does not exist, so the function cannot be continuous at 0. Everywhere else, the function is constant (1 or −1), so it is continuous there.
Step-by-step reasoning
-
Simplify the expression for x=0
For x>0, ∣x∣=x, so f(x)=x/x=1.
For x<0, ∣x∣=−x, so f(x)=(−x)/x=−1.
Thus, for all x=0, f(x) is either 1 (if x>0) or −1 (if x<0).
-
Check continuity at x=0
A function is continuous at a point if the left-hand limit, right-hand limit, and the function value at that point all agree.
- Right-hand limit: limx→0+f(x)=limx→0+1=1.
- Left-hand limit: limx→0−f(x)=limx→0−(−1)=−1.
- Function value: f(0)=0. Since 1=−1=0, the limit does not exist, so f is discontinuous at x=0.
-
Check continuity for x>0 (any positive number)
For any a>0, there is an interval around a that stays positive (e.g., (a/2,2a)). On that interval, f(x)=1 (constant). A constant function is continuous everywhere. So f is continuous at every x>0.
-
Check continuity for x<0 (any negative number)
Similarly, for any b<0, there is an interval around b that stays negative. On that interval, f(x)=−1 (constant). So f is continuous at every x<0.
-
Interpret the multiple-choice options
- (A) x=0: discontinuous here.
- (B) x>1: continuous everywhere in this region.
- (C) x>0: continuous everywhere in this region.
- (D) x<0: continuous everywhere in this region. Only x=0 is a point of discontinuity.
Watch outA common mistake is to think that because f(0)=0 is defined, the function might be continuous. But continuity requires the limit to equal the function value — here the two one-sided limits are different, so the limit doesn't exist at all.
TipThis function is essentially the signum function (often written sgn(x)), except that the signum function usually defines sgn(0)=0 as well. The signum function is famously discontinuous at x=0 for exactly this reason.
✓Final answerThe correct option is (A).
ANSWER: A
-
- KCET 2019Set A-11 markMCQQ.Rolle's theorem is not applicable in which one of the following cases? (A) f(x)=x2−4x+5 in [1,3] (B) f(x)=x2−x in [0,1] (C) f(x)=∣x∣ in [−2,2] (D) f(x)=[x] in [2.5,2.7]
›Reveal solutionSolution
Rolle’s theorem requires continuity on the closed interval, differentiability on the open interval, and equal function values at the endpoints. The function f(x)=∣x∣ on [−2,2] fails differentiability at x=0, so the answer is (C).
Rolle’s theorem is a special case of the Mean Value Theorem. It says: if a function f is continuous on [a,b], differentiable on (a,b), and f(a)=f(b), then there exists at least one c in (a,b) such that f′(c)=0.
To check where the theorem is not applicable, we test each condition — continuity, differentiability, and equal endpoints — for every option. The moment any one condition fails, Rolle’s theorem does not apply.
Let’s go through each case.
-
Option (A): f(x)=x2−4x+5 on [1,3]
This is a polynomial — continuous and differentiable everywhere.
Check endpoints: f(1)=1−4+5=2, f(3)=9−12+5=2. So f(1)=f(3).
All conditions satisfied. Rolle’s theorem applies.
-
Option (B): f(x)=x2−x on [0,1]
Again a polynomial — continuous and differentiable everywhere.
Endpoints: f(0)=0, f(1)=1−1=0. So f(0)=f(1).
All conditions satisfied. Rolle’s theorem applies.
-
Option (C): f(x)=∣x∣ on [−2,2]
This is the absolute value function. It is continuous everywhere, including at x=0.
Endpoints: f(−2)=2, f(2)=2 — equal.
But is it differentiable on (−2,2)? No — at x=0, the graph has a sharp corner. The left-hand derivative is −1, the right-hand derivative is +1, so f is not differentiable at x=0, which lies inside the open interval.
Since differentiability fails, Rolle’s theorem does not apply.
Watch outA common mistake is to think ∣x∣ is differentiable everywhere because it’s continuous. Continuity does not guarantee differentiability — the sharp corner at x=0 is the classic counterexample.
- Option (D): f(x)=[x] (greatest integer function) on [2.5,2.7] The greatest integer function is constant on any interval that does not contain an integer. Here [2.5,2.7] lies entirely between 2 and 3, so [x]=2 for all x in this interval. A constant function is continuous and differentiable (derivative 0 everywhere). Endpoints: f(2.5)=2, f(2.7)=2 — equal. All conditions satisfied. Rolle’s theorem applies.
TipThe greatest integer function is not continuous at integers, but on an interval that contains no integer, it is perfectly well-behaved — constant, in fact. So don’t reject it automatically; check the specific interval.
Only option (C) fails a condition — differentiability at an interior point.
✓Final answerThe correct option is (C).
-
- KCET 2024Set A-11 markMCQQ.limx→4πcotx−12cosx−1 is equal to (A) 2 (B) 2 (C) 21 (D) 21
›Reveal solutionSolution
The limit is a 00 form that simplifies using trigonometric identities and rationalization; the final value is 21.
The core idea here is that direct substitution gives 00, so we need to manipulate the expression algebraically. The presence of 2cosx−1 suggests rationalizing by multiplying numerator and denominator by the conjugate 2cosx+1, and the cotx−1 in the denominator can be rewritten in terms of sinx and cosx to reveal cancellations.
Let’s work through it step by step.
-
Check the form at x=4π
cos4π=21, so 2cos4π=2⋅21=1, making the numerator 1−1=0.
cot4π=1, so the denominator is 1−1=0.
This is a 00 indeterminate form, so we proceed with algebraic manipulation.
-
Rationalize the numerator
Multiply numerator and denominator by 2cosx+1:
cotx−12cosx−1⋅2cosx+12cosx+1=(cotx−1)(2cosx+1)2cos2x−1
because (2cosx)2−12=2cos2x−1.
-
Simplify 2cos2x−1
Recall the double-angle identity: cos2x=2cos2x−1. So the numerator becomes cos2x.
-
Rewrite the denominator in terms of sine and cosine
cotx−1=sinxcosx−1=sinxcosx−sinx.
So the expression is now:
sinxcosx−sinx⋅(2cosx+1)cos2x=(cosx−sinx)(2cosx+1)cos2x⋅sinx
- Use another identity for cos2x cos2x=cos2x−sin2x=(cosx−sinx)(cosx+sinx). This is perfect because it cancels the (cosx−sinx) factor in the denominator:
(cosx−sinx)(2cosx+1)(cosx−sinx)(cosx+sinx)⋅sinx=2cosx+1(cosx+sinx)sinx
provided cosx=sinx (which holds near x=π/4 except at the point itself).
- Now substitute x=4π cos4π=sin4π=21. So cosx+sinx=21+21=22=2. sinx=21. 2cosx+1=2⋅21+1=1+1=2. Therefore the limit is:
22⋅21=21
Watch outA common mistake is to try L'Hôpital's rule too early without simplifying — it works but is messier. Also, forgetting to rationalize or misapplying cos2x identities can lead to errors. Always check that cancellation is valid (the factor is nonzero near the limit point).
TipRecognizing cos2x=(cosx−sinx)(cosx+sinx) is the key shortcut here — it directly cancels the troublesome denominator factor.
✓Final answerThe limit equals 21, which corresponds to option (C).
-
- KCET 2026Set UNKNOWN1 markMCQQ.If f(x)={x2−1x+1if x≥2if x<2, then limx→2+f(x)+limx→2−f(x)= (A) 7 (B) 5 (C) 6 (D) 9
›Reveal solutionSolution
Evaluate the two one-sided limits at x=2 using the branch of f that applies on each side, then add them.
Step 1 — Right-hand limit
For x≥2, f(x)=x2−1, so
limx→2+f(x)=22−1=3
Step 2 — Left-hand limit
For x<2, f(x)=x+1, so
limx→2−f(x)=2+1=3
Step 3 — Add the two limits
limx→2+f(x)+limx→2−f(x)=3+3=6
✓Final answerThe correct option is (C) — 6.
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.