Q.Show that the function f defined by f(x)=∣1−x+∣x∣∣, where x is any real number, is a continuous function.
🔒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 is continuous at x=a if limx→af(x)=f(a). We check this for all real x.
Step 1: Simplify the inner expression.
Recall ∣x∣=x for x≥0 and ∣x∣=−x for x<0.
So 1−x+∣x∣ becomes:
- For x≥0: 1−x+x=1
- For x<0: 1−x−x=1−2x
Step 2: Write f(x) piecewise.
f(x)={∣1∣=1,∣1−2x∣,x≥0x<0
For x<0, 1−2x>0 (since x<0 gives −2x>0), so ∣1−2x∣=1−2x.
Thus:
f(x)={1,1−2x,x≥0x<0
Step 3: Check continuity at the only potential trouble point, x=0. …
The key idea is to simplify the nested absolute value by splitting the real line into two intervals based on the sign of x. Once simplified, f(x) becomes a piecewise polynomial (constant and linear pieces), and each piece is continuous on its interval. Checking the meeting point x=0 shows the left and right limits equal the function value, so f is continuous everywhere.
We need to show that f(x)=∣1−x+∣x∣∣ is continuous for all real x. The function involves an absolute value inside another absolute value. The standard way to handle such nested absolute values is to remove them by considering the cases where the inner expression changes sign.
The innermost absolute value is ∣x∣, which changes behaviour at x=0. So we split the domain into x≥0 and x<0.
- Case 1: x≥0 Here ∣x∣=x. Substitute into f:
f(x)=∣1−x+x∣=∣1∣=1.
So for all x≥0, f(x)=1, a constant function. Constant functions are continuous everywhere on their domain.
- Case 2: x<0 Here ∣x∣=−x. Substitute:
f(x)=∣1−x+(−x)∣=∣1−2x∣.
Now we have ∣1−2x∣. This absolute value changes sign when 1−2x=0, i.e., x=21. But note: we are in the region x<0, and 21>0, so the point x=21 is not in this region. Therefore, for all x<0, the expression 1−2x is always positive (since x is negative, −2x is positive, so 1−2x>1>0). Hence:
∣1−2x∣=1−2x.
So for x<0, f(x)=1−2x, a linear polynomial. Linear functions are continuous everywhere on their domain.
- Check continuity at the boundary x=0 The function is defined piecewise:
f(x)={1−2x,1,x<0,x≥0.
At x=0, we compute: …
Method: Simplifying a Nested Absolute Value by Case-Splitting on Sign, Then Testing Continuity
This method applies whenever a function contains one or more absolute values, and you need to first remove them (by splitting into cases) before the piece can be analysed for continuity.
Steps
Step 1: Work from the innermost absolute value outward.
Identify the expression inside the innermost ∣⋅∣ and find where it changes sign — for ∣x∣, that's at x=0. Split the real line into the regions where that inner expression is ≥0 and <0.
Step 2: Substitute the correct sign rule into the outer expression, one region at a time.
For each region, replace the inner absolute value with +(expression) or −(expression) as appropriate, and simplify what remains inside any outer absolute value signs.
Step 3: Within each region, check whether the new, simplified inner quantity changes sign inside that region. …
Common Mistakes
Mistake 1: Removing the outer absolute value bars using the sign of the original variable, instead of the sign of the simplified expression actually inside those bars.
Why it's wrong: after substituting the inner absolute value's sign rule, the expression inside the outer bars is a different expression (e.g. 1−2x, not x itself) — its own sign, in the current region, is what determines how to remove the outer bars, not the sign of x. Correct approach: after each substitution, explicitly re-check the sign of the new expression within that region before removing the next layer of absolute value.
Mistake 2: Assuming the newly-simplified expression's zero must fall inside the current region.
Why it's wrong: a sign-change point found by solving (e.g.) 1−2x=0 can land outside the region under consideration (x=21 is not in x<0) — treating it as a further internal split point when it isn't creates a false extra "piece" that doesn't actually exist. Correct approach: always check whether the computed zero actually lies within the current region before splitting further. …
Showing the 12 most recent of 20 on this concept.
- 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 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 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 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.