Q.Discuss the continuity of the function f, where f is defined by f(x)=⎩⎨⎧−2,2x,2,if x≤−1if −1<x≤1if x>1
🔒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 boundary points where the formula changes — here x=−1 and x=1; elsewhere each piece is a polynomial and is continuous.
At x=−1: LHL =limx→−1−(−2)=−2; RHL =limx→−1+2x=−2; and f(−1)=−2. All equal, so f is continuous here. …
Checking the two breakpoints x=−1 and x=1 shows the pieces meet with matching values, so f is continuous on all of R.
A piecewise function can only break where its definition switches — here at x=−1 and x=1. On each open interval (−∞,−1), (−1,1), (1,∞) the function is a constant or the line 2x, all continuous. So we only need to test the two boundaries, checking limx→a−f=limx→a+f=f(a).
At x=−1
Left piece (x≤−1) gives −2: x→−1−limf(x)=−2.
Middle piece (−1<x≤1) gives 2x: x→−1+lim2x=2(−1)=−2.
Value: f(−1)=−2 (the first piece includes x=−1).
All three equal −2, so f is continuous at x=−1.
At x=1
Middle piece gives 2x: x→1−lim2x=2. …
Method: Confirming Continuity Across Several Boundaries Without Assuming an Outcome
A function with several pieces is not automatically more likely to be discontinuous just because it has more switch points — this method shows how to verify (rather than guess) that every boundary actually holds up.
Steps
Step 1: Locate every switch point and note which piece owns each one
For each boundary, check the inequality symbols carefully to see which of the two neighbouring pieces includes the boundary value itself (the one with ≤ or ≥).
Step 2: Apply the three-condition test at each boundary in turn
f(a)=limx→a−f(x)=limx→a+f(x)
Compute all three quantities from their respective pieces — never assume the outcome in advance, even if a boundary "looks" like it should behave a certain way.
Step 3: Treat a coincidental numeric match with care, not as automatic proof …
Common Mistakes
Mistake 1: Using the wrong neighbouring piece to compute f(−1), even though the numbers happen to coincide
Why it's wrong: the boundary condition is x≤−1, so f(−1) must come from the constant piece (−2), not from the middle piece 2x — here both happen to equal −2 at x=−1, which can mask a genuine piece-selection error that would matter on a different problem. Correct approach: always confirm which inequality includes the equals sign before deciding which formula defines f(a), even if the numbers seem to work out either way.
Mistake 2: Assuming a three-piece function with two switch points is more likely to contain a discontinuity than a simpler function …
Showing the 12 most recent of 32 on this concept.
- AP EAPCET 2026Set eng-2026-05-12-FN1 markMCQQ.If a function f(x)=⎩⎨⎧tan2x2sin2x−cosbx,2,1−cosxsin2ax−sin2bx,for −2π<x<0for x=0for 0<x<2π is continuous at x=0, then a2+b2= (A) 9 (B) 9−log16 (C) 9−log8 (D) 1
›Reveal solutionSolution
Continuity at x=0 forces both one-sided limits to equal f(0)=2; expanding each piece to second order in x gives two equations in a2,b2 whose sum is 9−log16.
Concept and Intuition
A piecewise function is continuous at a boundary point exactly when the left-hand limit, right-hand limit, and the defined value all coincide. Here each branch is a 00-type expression as x→0, so we expand numerator and denominator to matching (second) order in x and read off the limiting constant.
Step-by-Step Solution
- Right piece, 0<x<π/2: f(x)=1−cosxsin2(ax)−sin2(bx). Using sinu≈u for small u: sin2(ax)−sin2(bx)≈a2x2−b2x2=(a2−b2)x2. Using 1−cosx≈2x2: limit =x2/2(a2−b2)x2=2(a2−b2). Continuity requires this =f(0)=2, so a2−b2=1. — (i)
- Left piece, −π/2<x<0: f(x)=tan2x2sin2x−cos(bx). 2sin2x=esin2xln2≈1+x2ln2 (using sin2x≈x2). cos(bx)≈1−2b2x2. Numerator ≈x2ln2+2b2x2=x2(ln2+2b2). Denominator tan2x≈x2. …
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.If f(x)=⎩⎨⎧(π−x)22+cosx−1,k,x=πx=π is continuous at x=π, then k= (A) 1 (B) 21 (C) 2 (D) 41
›Reveal solutionSolution
Continuity at x=π requires k to equal the limit of the given expression as x→π; using a small-angle substitution, that limit is 41.
Concept and Intuition
For f to be continuous at x=π, we need k=x→πlim(π−x)22+cosx−1. Substituting x=π−h (so h→0 as x→π) converts the trig limit into a small-h approximation problem, where standard expansions (cosh≈1−h2/2, 1+t≈1+t/2) make the limit easy to evaluate.
Step-by-Step Solution
- Let x=π−h, so as x→π, h→0, and π−x=h.
- cosx=cos(π−h)=−cosh.
- So 2+cosx=2−cosh. Using cosh≈1−2h2 for small h: 2−cosh≈2−1+2h2=1+2h2.
- 2+cosx≈1+2h2≈1+4h2 (using 1+t≈1+t/2 with t=h2/2).
- So 2+cosx−1≈4h2.
- The denominator is (π−x)2=h2. …
- AP EAPCET 2026Set eng-2026-05-15-AN1 markMCQQ.If f(x)=⎩⎨⎧(2+5x22+3x2)x28+3,k,for x=0for x=0 is a continuous function at x=0, then k= (A) e−2 (B) e−4 (C) e−8 (D) e−16
›Reveal solutionSolution
This tests the standard 1∞ exponential limit technique. Taking logs and expanding to first order in x2 gives k=e−8.
Concept and Intuition
Expressions of the form (base →1)power→∞ are evaluated by writing L=elim(power)⋅log(base) and expanding log(1+u)≈u for the small quantity u= base−1. The constant added to the exponent (here +3) never survives, since it multiplies a term that itself →0.
Step-by-Step Solution
- For continuity at x=0: k=limx→0(2+5x22+3x2)8/x2+3.
- Let L denote this limit. Then logL=limx→0(x28+3)log(2+5x22+3x2).
- Write the base as 1+u where u=2+5x22+3x2−1=2+5x2−2x2≈−x2 for small x (to leading order).
- log(1+u)≈u≈−x2 for small x. …
- AP EAPCET 2026Set eng-2026-05-15-FN1 markMCQQ.If f(x)=⎩⎨⎧2−xx2−4,a,log(x−2),for x<2for x=2for x>2 is a real valued function and 'a' is a finite real number, then (A) f is continuous at x = 2 when a = 0 (B) f is left continuous at x = 2 when a = 0 (C) f is right continuous at x = 2 when a = log 2 (D) f is not continuous at x = 1
›Reveal solutionSolution
This tests one-sided limits at a piecewise junction; the left-hand limit at x=2 is 0 while the right-hand limit diverges to −∞, so option (B) is the only correct statement.
Concept and Intuition
For left continuity at x=2 we only need limx→2−f(x)=f(2); the behaviour on the other side is irrelevant. Since log(x−2)→−∞ as x→2+, no finite value of a can make f right-continuous or fully continuous at x=2 — so those statements must be false.
Step-by-Step Solution
- Left-hand limit: let x=2−h, h→0+. Then x2−4=(2−h)2−4=h2−4h=h(h−4) and 2−x=h.
- So 2−xx2−4=hh(h−4)=h(h−4)→0⋅(−4)=0.
- Left continuity at x=2 requires f(2)=a to equal this limit, i.e. a=0. So (B) is true.
- Right-hand limit: as x→2+, x−2→0+, so log(x−2)→−∞ — unbounded, so no finite a (in particular a=log2) can match it. So (C) is false, and (A) (needing both sides equal) is also false. …
- AP EAPCET 2026Set eng-2026-05-15-FN1 markMCQQ.If f(x)=x2cos4x−1, x=0 and f(0)=2 is a real valued function, then (A) x→0limf(x) does not exist (B) x→0limf(x)=1 (C) f is not continuous at x = 0 (D) f is continuous at x = 0
›Reveal solutionSolution
This tests factoring cos4x−1 and using the standard limit xsinx→1; the limit exists and equals −2, but f(0)=2, so f fails continuity at 0.
Concept and Intuition
cos4x−1 factors as a difference of squares twice: cos4x−1=(cos2x−1)(cos2x+1)=−sin2x(cos2x+1). This lets us isolate the familiar (xsinx)2→1 building block.
Step-by-Step Solution
- cos4x−1=(cos2x−1)(cos2x+1)=−sin2x(cos2x+1).
- f(x)=x2−sin2x(cos2x+1)=−(xsinx)2(cos2x+1).
- As x→0: (xsinx)2→1 and cos2x+1→2.
- So x→0limf(x)=−1×2=−2 — this limit exists (rules out (A)) and is not 1 (rules out (B)). …
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.If f(x) defined by f(x)=⎩⎨⎧4x−π1−tanx,k,x=4π,x∈[0,2π]x=4π is continuous in [0,2π], then k= (A) −1 (B) −21 (C) 21 (D) 1
›Reveal solutionSolution
Substituting x=π/4+h and using the tangent subtraction identity, the limit of
4x−π1−tanx as x→π/4 works out to −21, which is the required
value of k.
Concept and Intuition
For continuity at x=π/4, we need k=limx→π/4f(x). Since the expression is 0/0
at x=π/4, shifting variables via x=π/4+h (so h→0) turns tanx into
tan(π/4+h), which has a clean expansion using the tangent-addition formula.
Step-by-Step Solution
- Let x=4π+h, so h→0 as x→π/4.
- tan(4π+h)=1−tanh1+tanh.
- 1−tanx=1−1−tanh1+tanh=1−tanh(1−tanh)−(1+tanh)=1−tanh−2tanh
- 4x−π=4(4π+h)−π=4h.
- So
f(x)=4h(1−tanh)−2tanh
- As h→0, tanh∼h, so …
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.If a real valued function f(x)=⎩⎨⎧x+3x2+(a+3)x+(a+1),−25,x=−3x=−3 is continuous at x=−3, then x→alim(x2+x+1)= (A) 47 (B) 25 (C) 74 (D) 52
›Reveal solutionSolution
This tests continuity of a rational function with a removable-type discontinuity: matching the limit to the given value pins down the parameter a, then the asked limit is a trivial polynomial evaluation. Answer: 47.
Concept and Intuition
A piecewise function is continuous at a point if the limit of the "elsewhere" formula, as x approaches that point, equals the value assigned at that point. Here the formula is a rational function whose denominator vanishes at x=−3; for the limit to exist (and be finite, matching −25), the numerator must also vanish there, so that (x+3) cancels — this is the standard "00 removable singularity" idea.
Step-by-Step Solution
- Continuity at x=−3 requires x→−3limx+3x2+(a+3)x+(a+1)=−25.
- Since the denominator →0, the numerator must vanish at x=−3 (else the limit is ±∞, not finite):
(−3)2+(a+3)(−3)+(a+1)=9−3a−9+a+1=1−2a=0⟹a=21.
- Check: with a=21, numerator =x2+27x+23. Factor out (x+3): x2+27x+23=(x+3)(x+21) (verify: (x+3)(x+21)=x2+21x+3x+23=x2+27x+23 ✓).
- So x→−3limx+3(x+3)(x+21)=−3+21=−25, matching the given value — confirming a=21. …
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.If a function f defined by f(x)=⎩⎨⎧x21−cos4x,a,16+x−4x,x<0x=0x>0 is continuous at x=0, then a= (A) 8 (B) 4 (C) 3 (D) 2
›Reveal solutionSolution
Both one-sided limits at x=0 evaluate to 8 (via 1−cosθ=2sin2(θ/2) on the left, and rationalizing on the right), so a=8.
Concept and Intuition
For f to be continuous at 0, the left-hand limit, right-hand limit, and f(0)=a must all agree. The left piece is a classic 0/0 trig limit solved via the half-angle identity for 1−cosθ; the right piece is a classic surd limit solved by rationalizing the denominator.
Step-by-Step Solution
- Left limit: 1−cos4x=2sin2(2x), so x21−cos4x=x22sin2(2x)=8(2xsin2x)2.
- As x→0−, 2xsin2x→1, so this limit →8(1)2=8.
- Right limit: let t=x (so t→0+ as x→0+): 16+x−4x=16+t−4t.
- Rationalize: multiply by 16+t+416+t+4: (16+t)−16t(16+t+4)=tt(16+t+4)=16+t+4. …
- AP EAPCET 2025Set eng-2025-05-23-AN1 markMCQQ.If a real valued function f(x)=⎩⎨⎧(1+sinx)cosecx,a,ae2/x+be3/xe2/x+e3/x,−π/2<x<0x=00<x<π/2 is continuous at x = 0, then ab= (A) e (B) e2 (C) 1 (D) −1
›Reveal solutionSolution
The left-hand limit is the classical 1∞ form giving e, fixing a=e;
the right-hand limit needs dividing by the dominant exponential to fix b.
Continuity forces both, and ab=1.
Concept and Intuition
A piecewise function is continuous at a point only if the left-hand limit,
right-hand limit, and the function's value there all agree. Here the left
piece is a 1∞ indeterminate form (standard trick: exponentiate and use
log(1+u)∼u), and the right piece is a ratio of two exponentials growing at
different rates as x→0+ (since 1/x→+∞), so the faster-growing
exponential e3/x dominates and everything else becomes negligible after
dividing through by it.
Step-by-Step Solution
- Left limit: L=limx→0−(1+sinx)cosecx. Take logs: logL=limcosecx⋅log(1+sinx)=limsinxsinx(1+O(sinx))→1. So L=e. Continuity requires f(0)=a=L=e.
- Right limit: R=limx→0+ae2/x+be3/xe2/x+e3/x. Divide numerator and denominator by e3/x: R=limx→0+ae−1/x+be−1/x+1. …
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.If f(x)=⎩⎨⎧sin2x(eax−1)log(1+x),2,tan2xcos4x−cosbx,if x>0if x=0if x<0 is continuous at x=0 then b2−a2= (A) 4 (B) 5 (C) 3 (D) 7
›Reveal solutionSolution
Continuity at x=0 forces both one-sided limits to equal f(0)=2; solving gives a=2, b2=20, so b2−a2=4.
Concept and Intuition
For f to be continuous at 0, we need x→0+limf(x)=x→0−limf(x)=f(0)=2. Each one-sided piece is a 0/0 form that resolves using the standard small-angle equivalences et−1∼t, log(1+t)∼t, sint∼t, tant∼t, and cost≈1−2t2.
Step-by-Step Solution
- Right-hand limit (x→0+): using eax−1∼ax, log(1+x)∼x, sin2x∼x2,
limx→0+sin2x(eax−1)log(1+x)=limx→0+x2(ax)(x)=a.
Setting this equal to f(0)=2: a=2.
2. Left-hand limit (x→0−): expand cos4x≈1−2(4x)2=1−8x2 and cos(bx)≈1−2b2x2, and tan2x∼x2:
cos4x−cos(bx)≈(1−8x2)−(1−2b2x2)=x2(2b2−8). …
- AP EAPCET 2025Set eng-2025-05-27-FN1 markMCQQ.If the function f defined by f(x)=⎩⎨⎧x21−cos4x,a,16+x−4x,x<0x=0x>0 is continuous at x=0, then a= (A) 1 (B) 2 (C) 4 (D) 8
›Reveal solutionSolution
Continuity at x=0 requires the left limit, the right limit, and f(0)=a to all agree; both one-sided limits work out to 8. Answer: a=8.
Concept and Intuition
For a piecewise function to be continuous at a junction point, the value defined there (a) must equal both the limit approaching from the left and the limit approaching from the right. Each side here needs a standard trick: the trig side uses the double-angle identity 1−cosθ=2sin2(θ/2), and the surd side needs rationalisation to remove the − indeterminate form.
Step-by-Step Solution
- Left-hand limit (x→0−): 1−cos4x=2sin2(2x), so
limx→0−x21−cos4x=limx→0−x22sin2(2x)=2limx→0(2xsin2x)2⋅4=2⋅1⋅4=8.
- Right-hand limit (x→0+): rationalise 16+x−4x by multiplying top and bottom by 16+x+4: (16+x)−16x(16+x+4)=xx(16+x+4)=16+x+4. …
- AP EAPCET 2024Set eng-2024-05-18-FN1 markMCQQ.f(x)=⎩⎨⎧x+1(2x2−ax+1)−(ax2+3bx+2),k,if x=−1if x=−1 is a real valued function. If a,b,k∈R and f is continuous on R then k= (A) −31 (B) 6 (C) a−2 (D) a−3
›Reveal solutionSolution
Continuity at the removable-type point requires the numerator to vanish there (fixing b) and then simplifying the quotient to evaluate k as a limit. The answer is k=a−3.
Concept and Intuition
A rational expression x+1N(x) can only have a finite limit as x→−1 if N(−1)=0 (otherwise the limit is ±∞ and no choice of k can make f continuous there). So the first job is to use that vanishing condition to pin down any free constant, then simplify by cancelling the common factor.
Step-by-Step Solution
- Numerator: (2x2−ax+1)−(ax2+3bx+2)=(2−a)x2−(a+3b)x−1.
- At x=−1: (2−a)(1)+(a+3b)−1=1+3b. For the limit (hence continuity) to exist finitely, this must be 0: b=−31.
- With b=−1/3, numerator becomes (2−a)x2−(a−1)x−1.
- Factor out (x+1): writing (2−a)x2−(a−1)x−1=(x+1)[(2−a)x−1] (verified by expansion, matching all coefficients). …
🎓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.