Q.Examine the continuity of f, where f is defined by f(x)={sinx−cosx,−1,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 key idea is continuity at a point: a function f is continuous at x=a if limx→af(x)=f(a).
Step 1: Compute the limit as x→0 for x=0.
Since sinx and cosx are continuous everywhere,
limx→0(sinx−cosx)=sin0−cos0=0−1=−1.
Step 2: The function value at x=0 is given directly: f(0)=−1. …
The function f is continuous at x=0 because the limit of sinx−cosx as x→0 equals −1, which matches the defined value f(0)=−1.
The core idea here is continuity at a point. A function is continuous at x=a if three things hold:
- f(a) is defined.
- limx→af(x) exists.
- limx→af(x)=f(a).
For this piecewise function, the only potential trouble spot is x=0, because that's where the definition changes. Everywhere else, f(x)=sinx−cosx is a combination of continuous functions (sine and cosine), so it's automatically continuous. The question is whether the "patch" at x=0 matches the behavior of the formula around it.
Let's check step by step.
-
Check f(0) is defined.
The problem explicitly gives f(0)=−1. So condition 1 is satisfied.
-
Find limx→0f(x).
For x=0, f(x)=sinx−cosx. We need the limit of this expression as x approaches 0.
Both sinx and cosx are continuous everywhere, so we can directly substitute x=0:
limx→0(sinx−cosx)=sin0−cos0=0−1=−1.
The limit exists and equals −1.
Since sinx and cosx are continuous, you never need to "calculate" the limit from scratch — just plug in x=0. The only reason we pause is because the function's definition changes at that point, but the formula for x=0 is perfectly well-behaved. …
Method: Checking Whether an Assigned Value at a Single Point Preserves Continuity
Use this when a function equals a standard continuous expression everywhere except at one specific point, where a particular numeric value is assigned by definition — the question is whether that assigned value happens to match what continuity would require.
Steps
Step 1: Compute the limit of the "everywhere else" expression as x approaches the special point
Since that expression is built from standard continuous functions, evaluate the limit by direct substitution.
Step 2: Read off the assigned function value at the special point
This is given directly in the piecewise definition — no computation needed, just identify it.
Step 3: Compare the limit (Step 1) with the assigned value (Step 2)
limx→af(x)=?f(a) …
Common Mistakes
Mistake 1: Assuming the piecewise definition automatically creates a discontinuity at x=0
Why it's wrong: a function can be defined "specially" at one point and still turn out continuous, if the assigned value happens to equal the limit of the surrounding formula — the mere presence of a separate case is not proof of a break. Correct approach: always compute limx→0(sinx−cosx) independently and compare it with the given f(0)=−1, rather than assuming the answer from the structure alone.
Mistake 2: Forgetting to substitute cos0=1 correctly (sign error) …
Showing the 12 most recent of 20 on this concept.
- 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 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 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.