Q.Is the function defined by f(x)=x2−sinx+5 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 …
The key idea is continuity at a point: a function f is continuous at x=a if limx→af(x)=f(a).
-
Compute f(π):
f(π)=π2−sinπ+5=π2−0+5=π2+5.
-
Find limx→πf(x). Since x2, sinx, and the constant 5 are all continuous everywhere, their combination is continuous. So the limit equals the function value: …
A function is continuous at a point if its limit exists and equals the function’s value there. For f(x)=x2−sinx+5 at x=π, both the limit and f(π) equal π2+5, so the function is continuous at x=π.
The idea of continuity at a point is simple: as you walk along the graph and approach that point from either side, the function’s output should settle down to exactly the value it has at that point — no jumps, no holes, no wild oscillations. For a function built from familiar pieces like polynomials and trigonometric functions, the usual path is to check three things: the function is defined at the point, the limit exists there, and the two match.
Here, f(x)=x2−sinx+5 is a combination of a polynomial (x2+5) and a sine term (−sinx). Both are continuous everywhere on R, so their sum is also continuous everywhere. That already tells us the answer, but let’s verify it step by step — exam questions often expect you to show the reasoning explicitly.
- Check that f(π) is defined. Plug x=π directly into the formula:
f(π)=π2−sinπ+5.
Since sinπ=0, this simplifies to π2+5. The function is clearly defined — no division by zero or other trouble.
- Find the limit as x→π. Because x2, sinx, and the constant 5 are all continuous at π, we can evaluate the limit by direct substitution:
limx→πf(x)=limx→π(x2−sinx+5)=π2−sinπ+5=π2+5.
No need for left- and right-hand limits separately — the function is well-behaved enough that the two-sided limit exists and equals this value. …
Method: Checking Continuity by Direct Substitution (Algebra of Continuous Functions)
Use this for any function built purely from standard continuous building blocks — polynomials, sinx, cosx, exponentials, etc., combined by addition, subtraction, multiplication — evaluated at a single ordinary point (not a piecewise boundary).
Steps
Step 1: Confirm the function has no piecewise break or undefined operation at the given point
If f is a sum/difference/product of functions that are each individually continuous everywhere (polynomials, sinx, cosx), and there's no division that could vanish, there is no reason to expect a discontinuity.
Step 2: Invoke the algebra-of-continuous-functions theorem …
Common Mistakes
Mistake 1: Assuming a trig function might break continuity just because it evaluates to zero at that point
Why it's wrong: sinπ=0 can look like a "special" or risky value, tempting a student to suspect a hidden discontinuity, but zero is a perfectly ordinary output — sinx has no breaks or restricted domain anywhere on R. Correct approach: recognize that only situations like division by a vanishing denominator threaten continuity; a trig function simply equaling zero is not one of them.
Mistake 2: Re-deriving the limit using left- and right-hand limits separately when it isn't necessary …
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 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 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 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.