Q.Discuss the continuity of the function defined by f(x)={x+2,−x+2,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 …
For a piecewise function, check the change-point x=0: the value f(0) and the two one-sided limits.
- Left limit: limx→0−(x+2)=2
- Right limit: limx→0+(−x+2)=2
So the two-sided limit exists and equals 2. But the rule only covers x<0 and x>0 — it never assigns a value at x=0, so f(0) is undefined. Continuity requires f(0) to exist, so f is not continuous at x=0. Every other point lies inside a li …
f(0) is not defined by the given rule, so f fails the first continuity condition at x=0 and is discontinuous there; it is continuous everywhere else, i.e. on R∖{0}.
What we must check
f is continuous at x=a only if all three hold: (1) f(a) is defined, (2) limx→af(x) exists, (3) the limit equals f(a). Each piece here is linear, so the only point that can cause trouble is the boundary x=0.
The one-sided limits
For x<0, f(x)=x+2:
limx→0−f(x)=0+2=2.
For x>0, f(x)=−x+2:
limx→0+f(x)=−0+2=2.
Both equal 2, so limx→0f(x)=2 exists.
The value at the point
The definition gives a formula only for x<0 and for x>0. It says nothing about x=0, so f(0) is undefined — condition (1) fails.
Don't be misled by the limit existing. A limit can exist at a point where the function has no value, and continuity still fails because there is nothing for the limit to match.
Conclusion …
Method: Testing a Piecewise Function When the Boundary Point Might Not Be in the Domain
This method applies to piecewise functions where the pieces are given only for x<a and x>a, with no formula stated for x=a itself.
Steps
Step 1: Recognise that the boundary point needs a domain check, not just a limit check.
Before computing any limit, look at the definition and ask: is f(a) actually assigned a value? If the rule only covers x<a and x>a and is silent about x=a, then f(a) is undefined, and Condition 1 of the continuity test already fails — no further limit work can rescue continuity at that point.
Step 2: Compute the one-sided limits anyway (they still matter for classifying the discontinuity).
limx→a−f(x),limx→a+f(x)
using the appropriate piece on each side.
Step 3: Interpret the result correctly. …
Common Mistakes
Mistake 1: Concluding "continuous" because the left-hand and right-hand limits are equal.
Why it's wrong: equal one-sided limits only establish that x→alimf(x) exists — Condition 2 of the three-condition test. It says nothing about Condition 1 (whether f(a) is even defined) or Condition 3 (whether that limit equals f(a)). Correct approach: always separately check that f(a) is defined and that it matches the common one-sided-limit value before declaring continuity.
Mistake 2: Assuming a piecewise definition that skips x=a secretly assigns some default value there. …
Showing the 12 most recent of 20 on this concept.
- CBSE 2025Set 65/4/11 markMCQQ.The function f defined by f(x)={x,5,if x≤1if x>1 is not continuous at : (A) x=0 (B) x=1 (C) x=2 (D) x=5
›Reveal solutionSolution
The function has a jump at x=1 because the left-hand limit (1) and the right-hand limit (5) do not match, so it is discontinuous only at x=1. The correct option is (B).
Continuity at a point means three things must hold: the function is defined there, the limit exists there, and the limit equals the function value. For a piecewise function, the only place where things can go wrong is at the boundary between the pieces — here, at x=1. Everywhere else, the function is just a simple rule (either x or the constant 5), so it's automatically continuous.
Let’s check each candidate point.
-
At x=0
For x≤1, the rule is f(x)=x. Since 0≤1, we have f(0)=0.
The left-hand limit: limx→0−f(x)=limx→0−x=0.
The right-hand limit: limx→0+f(x)=limx→0+x=0 (because near 0, x is still ≤1).
So the limit exists and equals 0, which matches f(0). Continuous here.
-
At x=1 — the critical boundary
- Left-hand limit: as x approaches 1 from below, x≤1, so f(x)=x. Hence
limx→1−f(x)=limx→1−x=1.
- Right-hand limit: as x approaches 1 from above, x>1, so f(x)=5. Hence
limx→1+f(x)=5.
- The left and right limits are different (1=5), so the two-sided limit does not exist.
- The function value is f(1)=1 (since 1≤1). …
-
- CBSE 2024Set 65/1/11 markMCQQ.For the function f(x)={x2+3,1,x=0x=0, which of the following statements is true? (A) f(x) is continuous and differentiable for all x∈R. (B) f(x) is continuous for all x∈R. (C) f(x) is continuous and differentiable for all x∈R−{0}. (D) f(x) is discontinuous at infinite points.
›Reveal solutionSolution
The function is a parabola with a hole at x=0 and a single isolated point at (0,1). Because the limit as x→0 is 3, not 1, the function is discontinuous at x=0 — but it is continuous and differentiable everywhere else. The correct option is (C).
The key to this problem is understanding what continuity and differentiability mean at a point, and then checking the one point where the definition changes.
Continuity at a point x=a requires three things to match: the function value f(a), the left-hand limit limx→a−f(x), and the right-hand limit limx→a+f(x). If any one of these differs, the function is discontinuous there.
Differentiability at a point requires continuity first — and then the left and right derivatives must also be equal. So if a function is discontinuous at a point, it cannot be differentiable there.
Here, the function is defined by two pieces: for every x except 0, it behaves like x2+3 (a smooth parabola shifted up by 3). At x=0 alone, it jumps to the value 1. That single point is the only place where anything unusual can happen.
Let’s check systematically.
- Check continuity at x=0 For x=0, f(x)=x2+3. As x approaches 0 from either side, x2 approaches 0, so
limx→0f(x)=02+3=3.
But f(0)=1. Since 3=1, the limit does not equal the function value.
Watch outA common mistake is to think that because the formula x2+3 is continuous everywhere, the whole function is continuous. But the definition at x=0 overrides that — the function is piecewise-defined, and the value at the breakpoint must match the limit.
Hence f is discontinuous at x=0.
-
Check continuity for x=0
For any a=0, near a the function is simply f(x)=x2+3, which is a polynomial. Polynomials are continuous everywhere. So f is continuous at every x=0.
-
Check differentiability at x=0 …
- CBSE 2026Set 65/3/11 markMCQQ.The value of k for which the function f(x)={x2sinx1,k(x+1),x=0x=0 is a continuous function, is: (A) 41 (B) 2 (C) 21 (D) 0
›Reveal solutionSolution
For continuity at x=0, the limit of x2sinx1 as x→0 must equal the function value k(0+1)=k. Since the limit is 0, we need k=0.
A function is continuous at a point when three conditions align: the function is defined there, the limit exists as we approach that point, and crucially, the limit equals the function's value at that point. This problem tests whether you can recognize that continuity at x=0 creates a bridge between two different expressions.
The function behaves as x2sinx1 everywhere except at zero, where it suddenly switches to k(x+1). At x=0, this second piece gives us f(0)=k(0+1)=k. For continuity, we need:
limx→0f(x)=f(0)
Since we approach zero from the region where x=0, the relevant limit is:
limx→0x2sinx1=k
Let me find this limit.
-
Recognize the bounded oscillation
The sine function satisfies −1≤sinx1≤1 for all x=0, no matter how wildly x1 oscillates as x→0.
-
Apply the squeeze theorem
Multiplying the inequality by x2 (which is always non-negative):
−x2≤x2sinx1≤x2
- Evaluate the bounding limits As x→0:
limx→0(−x2)=0andlimx→0x2=0
- Conclude via the squeeze theorem …
-
- CBSE 20241 markMCQQ.The value of k, for which f(x)={3x+2π3cosx+sinx,k,x=−3πx=−3π is continuous at x=−3π, is : (A) 32 (B) −32 (C) 23 (D) 6 ∼∼∼
›Reveal solutionSolution
Continuity requires k=limx→−π/3f(x). The quotient is a 00 form at x=−3π, and the limit evaluates to 32 — option (A).
For f to be continuous at x=−3π, we need
k=limx→−π/33(x+3π)3cosx+sinx.
Simplify the numerator. Writing it as a single sine:
3cosx+sinx=2(23cosx+21sinx)=2sin(x+3π). …
- CBSE 2023Set 65/1/11 markMCQQ.The value of k for which f(x)={3x+5,kx2,x≥2x<2 is a continuous function, is : (A) −411 (B) 114 (C) 11 (D) 411
›Reveal solutionSolution
For a piecewise function to be continuous at the join point x=2, the left-hand limit and right-hand limit must equal the function value at x=2. Equating k(2)2 with 3(2)+5 gives 4k=11, so k=411. The correct option is (D).
The Core Idea: Continuity at a Point
A function is continuous at a point if three things match perfectly — the value from the left, the value from the right, and the actual function value at that point. For a piecewise function like this one, the only place where things could break is at the boundary where the formula changes, which is x=2.
Think of it like two roads meeting at a junction. For a smooth ride, the elevation of the left road as you approach the junction must exactly match the elevation of the right road as you approach from the other side — and that elevation must also be the height of the junction itself. If they don't match, there's a jump, and the function is discontinuous.
Here, the left piece (x<2) uses kx2, and the right piece (x≥2) uses 3x+5. The function value at x=2 is given by the right piece (since x≥2 includes 2). So we need the left-hand limit to equal that value.
Step-by-Step Solution
1. Find the function value at x=2.
Since x=2 falls in the case x≥2, we use f(x)=3x+5.
f(2)=3(2)+5=6+5=11
2. Find the left-hand limit as x→2−.
For x<2, the function is f(x)=kx2. As x approaches 2 from the left, we simply substitute x=2 into this expression (since kx2 is a polynomial and polynomials are continuous everywhere).
limx→2−f(x)=limx→2−kx2=k(2)2=4k
3. Find the right-hand limit as x→2+.
For x>2, the function is f(x)=3x+5. Again, this is a polynomial, so the limit is just the value at x=2.
limx→2+f(x)=limx→2+(3x+5)=3(2)+5=11
4. Apply the continuity condition.
For f to be continuous at x=2, we need:
limx→2−f(x)=limx→2+f(x)=f(2) …
- CBSE 2026Set ANNUAL1 markQ.Prove that the function f(x) = 5x - 3 is continuous at x = -3.
›Reveal solutionSolution
A function f is continuous at x=a if x→alimf(x)=f(a); check this directly for the linear function f(x)=5x−3 at a=−3.
Concept: f is continuous at x=a when: (i) f(a) is defined, (ii) x→alimf(x) exists, and (iii) the two are equal.
Working:
f(−3)=5(−3)−3=−15−3=−18
limx→−3f(x)=limx→−3(5x−3)=5(−3)−3=−18
…
- CBSE 2025Set IX1 markQ.Prove that the function f(x)=∣x∣, is continuous at x=0.
›Reveal solutionSolution
Left limit, right limit and the value all equal 0, so ∣x∣ is continuous at 0.
Concept. f is continuous at x=a iff x→a−limf(x)=x→a+limf(x)=f(a).
Here f(x)=∣x∣={−x,x,x<0x≥0
- Left-hand limit: x→0−limf(x)=x→0−lim(−x)=0.
- Right-hand limit: x→0+limf(x)=x→0+limx=0. …
- CBSE 2025Set ANNUAL1 markMCQQ.The function f(x)=∣x∣−∣x+1∣ is:(a) continuous at x=0 as well as at x=−1(b) continuous at x=−1 but not at x=0(c) discontinuous at x=0 as well as at x=−1(d) continuous at x=0 but not at x=−1
›Reveal solutionSolution
∣x∣ and ∣x+1∣ are each continuous everywhere, and the difference of two continuous functions is continuous.
g(x)=∣x∣ is continuous on all of R, and h(x)=∣x+1∣ (a shifted absolute value) is also continuous on all of R. Since f(x)=g(x)−h(x) is a difference of two functions continuous eve …
- CBSE 2025Set ANNUAL1 markQ.Check the continuity of the function f given by f(x)=2x+3 at x=1. OR Find the value of k, so that the function f(x)={kx2,3,if x≤2if x>2 is continuous at x=2.
›Reveal solutionSolution
A function is continuous at a point when its limit there equals its value; check both.
Here f(x)=2x+3 (a polynomial), and we test x=1.
Value: f(1)=2(1)+3=5.
Limit: x→1lim(2x+3)=2(1)+3=5.
Since x→1limf(x)=5=f(1), the function is continuous at x=1.
…
- CBSE 2024Set EX1 markQ.Show that the function f(x)={x+21if x=0if x=0 is not continuous at x=0.
›Reveal solutionSolution
The limit as x→0 is 2 (from x+2), but the defined value is f(0)=1. Limit = value, so f is discontinuous at 0.
Concept. f is continuous at x=0 iff x→0limf(x)=f(0).
Limit. For x=0, f(x)=x+2, so
limx→0f(x)=limx→0(x+2)=0+2=2.
Value. By definition f(0)=1.
…
- CBSE 2024Set ANNUAL1 markQ.Examine the continuity of the function f(x)=5x−3 at x=5.
›Reveal solutionSolution
Check that the limit at x=5 equals the function value there.
Given f(x)=5x−3.
Function value: f(5)=5(5)−3=25−3=22.
Limit: x→5limf(x)=x→5lim(5x−3)=5(5)−3=22.
Since
limx→5f(x)=22=f(5), …
- CBSE 2024Set ANNUAL1 markQ.When is a function f(x) said to be continuous at x=c ?
›Reveal solutionSolution
Standard definition: left-hand limit = right-hand limit = function value at that point.
A function f(x) is said to be continuous at x=c if:
limx→c−f(x)=limx→c+f(x)=f(c) …
🎓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.