Q.Discuss the continuity of the function f given by f(x)={x,x2,if x≥0if x<0.
🔒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 …
The only possible break is at x=0, where the rule changes.
- Left limit: limx→0−x2=0
- Right limit: limx→0+x=0
- Value: f(0)=0 (since 0≥0 uses f(x)=x) …
At x=0 the two one-sided limits and f(0) all equal 0, so f is continuous there; each piece is a polynomial, so f is continuous on all of R.
Where to look
Continuity at x=a needs f(a) defined, limx→af(x) to exist, and the two to be equal. The pieces x and x2 are polynomials, continuous on their own, so only the join at x=0 needs checking.
Value at the point
Since 0≥0, the top rule applies: f(0)=0.
One-sided limits
From the left (x<0, f(x)=x2):
limx→0−f(x)=02=0.
From the right (x>0, f(x)=x):
limx→0+f(x)=0.
Compare
Both one-sided limits are 0, so limx→0f(x)=0, and this equals f(0)=0. All three continuity conditions hold at x=0.
Two different formulas (x vs x2) do not force a jump. Compute the limits — here both sides meet at 0, so there is no break. …
Method: Confirming Continuity Across a Piecewise Boundary (When It Actually Holds)
This method applies to the same class of piecewise-boundary problems as above, but covers the case where the three conditions all end up matching — i.e., the function turns out to be continuous everywhere, including at the boundary.
Steps
Step 1: Locate the only point that needs checking.
As always, every piece away from the boundary is continuous on its own (here, x and x2 are both polynomials), so only the single junction point needs the full three-condition test.
Step 2: Evaluate f(a) using the piece that the definition explicitly assigns to x=a.
Piecewise definitions often use ≥ or ≤ (rather than strict <,>) on exactly one side to pin down which formula governs the boundary point itself — read this carefully.
Step 3: Compute both one-sided limits. …
Common Mistakes
Mistake 1: Assuming a "different formula on each side" automatically means a jump/discontinuity.
Why it's wrong: two different-looking expressions can still meet at exactly the same value at the boundary, giving a smooth join — here x and x2 both equal 0 at x=0, so there is no break at all. Correct approach: never assume a discontinuity from the shape of the definition alone; always compute the actual one-sided limits and compare.
Mistake 2: Using the wrong piece to evaluate f(0) itself. …
- 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 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. …
-
- 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 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 …
🎓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.