Q.Discuss the continuity of the function f, where f is defined by f(x)=⎩⎨⎧−2,2x,2,if x≤−1if −1<x≤1if x>1
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →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 …
For a piecewise function, check the boundary points where the formula changes — here x=−1 and x=1; elsewhere each piece is a polynomial and is continuous.
At x=−1: LHL =limx→−1−(−2)=−2; RHL =limx→−1+2x=−2; and f(−1)=−2. All equal, so f is continuous here. …
Checking the two breakpoints x=−1 and x=1 shows the pieces meet with matching values, so f is continuous on all of R.
A piecewise function can only break where its definition switches — here at x=−1 and x=1. On each open interval (−∞,−1), (−1,1), (1,∞) the function is a constant or the line 2x, all continuous. So we only need to test the two boundaries, checking limx→a−f=limx→a+f=f(a).
At x=−1
Left piece (x≤−1) gives −2: x→−1−limf(x)=−2.
Middle piece (−1<x≤1) gives 2x: x→−1+lim2x=2(−1)=−2.
Value: f(−1)=−2 (the first piece includes x=−1).
All three equal −2, so f is continuous at x=−1.
At x=1
Middle piece gives 2x: x→1−lim2x=2. …
Method: Confirming Continuity Across Several Boundaries Without Assuming an Outcome
A function with several pieces is not automatically more likely to be discontinuous just because it has more switch points — this method shows how to verify (rather than guess) that every boundary actually holds up.
Steps
Step 1: Locate every switch point and note which piece owns each one
For each boundary, check the inequality symbols carefully to see which of the two neighbouring pieces includes the boundary value itself (the one with ≤ or ≥).
Step 2: Apply the three-condition test at each boundary in turn
f(a)=limx→a−f(x)=limx→a+f(x)
Compute all three quantities from their respective pieces — never assume the outcome in advance, even if a boundary "looks" like it should behave a certain way.
Step 3: Treat a coincidental numeric match with care, not as automatic proof …
Common Mistakes
Mistake 1: Using the wrong neighbouring piece to compute f(−1), even though the numbers happen to coincide
Why it's wrong: the boundary condition is x≤−1, so f(−1) must come from the constant piece (−2), not from the middle piece 2x — here both happen to equal −2 at x=−1, which can mask a genuine piece-selection error that would matter on a different problem. Correct approach: always confirm which inequality includes the equals sign before deciding which formula defines f(a), even if the numbers seem to work out either way.
Mistake 2: Assuming a three-piece function with two switch points is more likely to contain a discontinuity than a simpler function …
- 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 …
- 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. …
-
- 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). …
-
- 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. …
-
🎓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.