Q.Show that the function f(x)=∣sinx+cosx∣ is continuous at x=π.
🔒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 …
Concept: Continuity At A Point — A function f is continuous at x=a if limx→af(x)=f(a).
-
Evaluate f(π):
f(π)=∣sinπ+cosπ∣=∣0+(−1)∣=1.
-
Find the left-hand and right-hand limits. Since ∣⋅∣ and sinx+cosx are continuous everywhere, the composition is continuous at π — but we verify directly:
limx→π(sinx+cosx)=sinπ+cosπ=−1, so
limx→π∣sinx+cosx∣=∣−1∣=1. …
The key idea is to check the three conditions for continuity at a point: f(π) is defined, limx→πf(x) exists, and they are equal. Using the identity sinx+cosx=2sin(x+π/4), we find f(π)=1 and the limit is also 1, so f is continuous at x=π.
Why This Approach Works
Continuity at a point is a local property — it tells us whether the function behaves nicely near that specific x-value. For f(x)=∣sinx+cosx∣ at x=π, the absolute value makes the function non-negative, but it doesn't introduce any jumps or breaks by itself. The real question is whether the expression inside the absolute value changes sign abruptly at π, which could cause a corner or a gap.
The standard test for continuity at x=a is:
- f(a) must be defined.
- limx→af(x) must exist (both one-sided limits equal).
- The limit must equal f(a).
We'll apply this step by step.
Step-by-Step Solution
1. Evaluate f(π) directly.
Plug x=π into the function:
f(π)=∣sinπ+cosπ∣=∣0+(−1)∣=∣−1∣=1.
So f(π)=1 — condition (1) is satisfied.
2. Simplify the expression inside the absolute value.
A neat trick: sinx+cosx can be written as a single sine wave. Multiply and divide by 2:
sinx+cosx=2(21sinx+21cosx)=2sin(x+4π).
This identity holds because sin(A+B)=sinAcosB+cosAsinB, and here cos(π/4)=sin(π/4)=1/2.
sinx+cosx=2sin(x+4π)
So our function becomes:
f(x)=2sin(x+4π)=2sin(x+4π).
3. Find the limit as x→π.
We need limx→πf(x). Since f(x)=2∣sin(x+π/4)∣, and the absolute value function is continuous everywhere, we can focus on the inner sine function.
At x=π, the argument of sine is:
x+4π=π+4π=45π.
Now, sin(5π/4)=−22. So:
f(π)=2−22=2⋅22=22=1.
But we need the limit, not just the value. Since sin is continuous everywhere, sin(x+π/4) is continuous, and the absolute value of a continuous function is also continuous. Therefore:
limx→πf(x)=f(π)=1. …
Method: Proving Continuity of an Absolute-Value-of-a-Trig-Expression at a Point
This method applies to functions of the form f(x)=∣g(x)∣, where g is built from standard continuous pieces (sine, cosine, sums), and you must confirm continuity at a specific point.
Steps
Step 1: Evaluate the function directly at the given point
Substitute the point into the original expression, applying the absolute value last, to get f(a).
Step 2: Use the composition-of-continuous-functions idea
Since sinx, cosx, their sum, and the absolute value function are all continuous everywhere, ∣g(x)∣ is continuous wherever g(x) itself is — which, for a combination of sine and cosine, is every real number. This alone certifies continuity without further limit computation.
Step 3: Verify explicitly by computing the two one-sided limits
Even though Step 2 already guarantees the result, an exam answer should still confirm it directly:
limx→a−f(x)=limx→a+f(x)=f(a) …
Common Mistakes
Mistake 1: Assuming the absolute value automatically threatens continuity
Why it's wrong: some students treat ∣g(x)∣ as inherently risky and hunt for a "break" near the point, even when g(x) never touches zero there — but the absolute value of any continuous function is itself continuous everywhere, so there is nothing extra to prove beyond confirming g is continuous. Correct approach: recall that ∣⋅∣ is a continuous function, so a composition with a continuous g is continuous by the composition rule — no special-casing is needed unless g(a)=0.
Mistake 2: Sign or evaluation errors substituting standard angle values …
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 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 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 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 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.