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 32 on this concept.
- AP EAPCET 2023Set eng-2023-05-15-FN1 markMCQQ.If f:R→R defined by f(x)=⎩⎨⎧xsinx−sin2x,x3/2x2+x−x,x<0x>0 is continuous on R, then f(0)= (A) 1/2 (B) 3/2 (C) 1 (D) −1
›Reveal solutionSolution
This tests continuity of a piecewise function at the junction point using standard small-x approximations; both one-sided limits equal 1/2.
Concept and Intuition
A piecewise function is continuous at a boundary point only if the left-hand limit, right-hand limit, and the defined value at that point all agree. Here f(0) isn't given directly by either branch (both blow up as 0/0), so we must compute the limits from each side and set f(0) equal to their common value.
Step-by-Step Solution
- Left-hand limit (x→0−):
limx→0−xsinx−sin(x/2)
Use the small-angle expansion sint=t−6t3+⋯:
sinx−sin2x=(x−6x3)−(2x−48x3)+⋯=2x+O(x3)
Dividing by x: the limit is 21.
- Right-hand limit (x→0+):
limx→0+x3/2x2+x−x=limx→0+x3/2x(x+1−1)=limx→0+xx+1−1
Using 1+x≈1+2x−8x2+⋯:
xx+1−1≈xx/2=21 …
- 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 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 2023Set eng-2023-05-18-FN1 markMCQQ.Which one of the following function is discontinuous at x=1? (A) f(x)=sin2x+tan2x+cos2x−sec2x (B) f(x)=1+2sinx1 (C) f(x)=⎩⎨⎧∣x−1∣+2(x−1)2x−1,1,x=1x=1 (D) f(x)=ex+5
›Reveal solutionSolution
Options (A), (B), (D) simplify to functions that are continuous everywhere; option (C)'s one-sided limits at x=1 disagree (+1 from the right, −1 from the left), so it alone is discontinuous at x=1.
Concept and Intuition
For piecewise/rational-looking expressions, check whether the identity sin2x+cos2x=1 and sec2x−tan2x=1 collapse them to constants (continuous), whether a denominator can vanish, and — for absolute-value expressions — whether the left and right limits genuinely agree.
Step-by-Step Solution
- (A) f(x)=sin2x+tan2x+cos2x−sec2x=(sin2x+cos2x)−(sec2x−tan2x)=1−1=0 for all x where tan,sec are defined; at x=1 (radian) cos1=0, so it's fine and continuous (≡0 near x=1).
- (B) f(x)=1+2sinx1: since 2sinx>0 always, the denominator never vanishes (≥1+2−1=1.5); continuous everywhere, including x=1.
- (C) For x=1, let t=x−1: f=∣t∣+2t2t.
- As t→0+ (x→1+): ∣t∣=t, so f=t+2t2t=1+2t1→1.
- As t→0− (x→1−): ∣t∣=−t, so f=−t+2t2t=−1+2t1→−1. …
- AP EAPCET 2021Set eng-2021-08-20-AN1 markMCQQ.If f(x)=sinx3loge(1+x2(tanx)), x=0 is to be continuous at x=0, then f(0) must be equal to ______ (A) 1 (B) 0 (C) 21 (D) −1
›Reveal solutionSolution
Using the small-angle equivalences loge(1+u)∼u, tanx∼x, and sinx3∼x3 near x=0, the limit of f(x) works out to 1, so f(0)=1 is required for continuity.
Concept and Intuition
For a function to be continuous at a removable-looking point like x=0, its value there must be defined equal to the limit of the function as x→0. Standard small-x equivalences (loge(1+u)∼u for small u; tanx∼x; sinx∼x) let us evaluate the 00-type limit cleanly.
Step-by-Step Solution
- As x→0, let u=x2tanx. Since tanx∼x for small x, u∼x2⋅x=x3→0.
- Using loge(1+u)∼u for small u: loge(1+x2tanx)∼x2tanx∼x3.
- For the denominator, sin(x3)∼x3 as x→0 (since sinθ∼θ for small θ, here θ=x3→0).
- So f(x)=sin(x3)loge(1+x2tanx)→x3x3=1 as x→0. …
- AP EAPCET 2024Set eng-2024-05-22-FN1 markMCQQ.Let f(x)=⎩⎨⎧0,2−x,2,21−x,2−3,x=0for 0<x<1for x=1for 1<x<2for x≥2 then which of the following is true (A) f is right continuous at x=0 (B) f is left continuous at x=1 (C) f is right continuous at x=1 (D) f is continuous at x=2
›Reveal solutionSolution
Compute the left-hand limit, right-hand limit, and function value at each candidate point and compare; only at x=2 do all three coincide.
Concept and Intuition
A function is continuous at a point if the left-hand limit, right-hand limit, and the function's value there all agree. "Right continuous" only needs the right-hand limit to equal the function value; "left continuous" only needs the left-hand limit to match.
Step-by-Step Solution
- At x=0: f(0)=0. Right-hand limit: limx→0+(2−x)=2. Since 2=0, f is not right continuous at 0 — (A) is false.
- At x=1: f(1)=2. Left-hand limit: limx→1−(2−x)=1. Since 1=2, not left continuous — (B) is false. Right-hand limit: limx→1+(21−x)=−21. Since −21=2, not right continuous either — (C) is false. …
- 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 2023Set eng-2023-05-18-AN1 markMCQQ.Let Sn=1+3x+9x2+27x3+…n terms and −31<x<31. If limn→∞Sn=f(x), then f(x) is discontinuous at the point x= (A) 0 (B) 31 (C) 1 (D) −1
›Reveal solutionSolution
The infinite geometric series sums to f(x)=1/(1−3x) on (−1/3,1/3), and this function has an infinite discontinuity exactly at x=1/3, the edge of the interval where the series stops converging.
Concept and Intuition
An infinite geometric series 1+r+r2+… converges to 1−r1 only when ∣r∣<1; as r→1 this sum diverges to infinity. Here r=3x, so the series converges for ∣x∣<1/3 and the resulting closed-form function has a vertical asymptote right at the boundary x=1/3.
Step-by-Step Solution
- Sn=1+3x+(3x)2+⋯+(3x)n−1, a geometric series with first term 1 and common ratio 3x.
- Sum: Sn=1−3x1−(3x)n (for 3x=1).
- For −31<x<31, ∣3x∣<1, so (3x)n→0 as n→∞.
- Hence f(x)=limn→∞Sn=1−3x1.
- This function f(x)=1−3x1 is undefined/blows up exactly where 1−3x=0, i.e. x=31 — an infinite discontinuity right at the edge of the domain of convergence. …
- AP EAPCET 2023Set eng-2023-05-15-AN1 markMCQQ.If f(x)=⎩⎨⎧x−2x−[x],b,a(2+x−x2)∣x2−x−2∣,2a−b,x>2x=2−1<x≤2x≤−1 is continuous on R, then x→0limx2sin2ax+xtanbx= (A) 0 (B) 1 (C) 2 (D) 3
›Reveal solutionSolution
Continuity of the piecewise function pins down a=1,b=1; substituting these into the limit expression and using standard small-angle limits gives 2.
Concept and Intuition
For a piecewise function to be continuous at a junction point, the one-sided limits and the defined value there must all agree. Here the junctions at x=2 and x=−1 give the equations needed to solve for the unknown constants a,b before the actual limit can be evaluated.
Step-by-Step Solution
- Right limit at x=2: for x slightly >2, [x]=2, so f(x)=x−2x−2=1. So limx→2+f(x)=1.
- Left limit at x=2 (third piece): x2−x−2=(x−2)(x+1) and 2+x−x2=−(x−2)(x+1). For x near 2−: (x−2)<0,(x+1)>0, so ∣x2−x−2∣=(2−x)(x+1) and 2+x−x2=(2−x)(x+1) too. So the ratio simplifies to a1 throughout (−1,2).
- Continuity at x=2: 1=b=a1⇒a=1, b=1.
- Check at x=−1: piece 4 value =2a−b=2−1=1; piece 3's limit as x→−1+ is also a1=1. Consistent ✓. …
- 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-20-AN1 markMCQQ.The values of a and b for which the function f(x)=⎩⎨⎧1+∣sinx∣a/∣sinx∣,b,etan2x/tan3x,6−π<x<0x=00<x<6π is continuous at x=0 are (A) a=1,b=32 (B) a=32,b=e2/3 (C) a=32,b=23 (D) a=−1,b=e2/3
›Reveal solutionSolution
Both one-sided limits must equal b; the right side gives e2/3 directly, and the left side (a (1+u)1/u→e-type limit) matches it when a=2/3 — (B).
Concept and Intuition
Continuity at x=0 requires x→0−limf(x)=f(0)=x→0+limf(x). The right branch is a standard eratio of small angles limit, and the left branch is the classical exponential limit (1+u)1/u→e as u→0, raised to a power a.
Step-by-Step Solution
- Right-hand limit: as x→0+, tan2x≈2x and tan3x≈3x, so tan3xtan2x→32. Hence x→0+limetan2x/tan3x=e2/3.
- Left-hand limit: let u=∣sinx∣→0+ as x→0−. The left branch is (1+u)a/u=[(1+u)1/u]a. Since (1+u)1/u→e, this tends to ea.
- For continuity: left limit = right limit =f(0)=b, i.e. ea=e2/3=b. …
- AP EAPCET 2023Set eng-2023-05-16-FN1 markMCQQ.If f(x)=⎩⎨⎧x+1π−cos−1x,λπ1,x=−1x=−1 is right continuous at x=−1, then λ= (A) 1 (B) π (C) 2π (D) 2
›Reveal solutionSolution
Expanding cos−1(−1+h) near h=0+ and simplifying the resulting 0/0 form gives the right-hand limit 1/2π; matching this to f(−1)=1/λπ gives λ=2.
Concept and Intuition
Right continuity at x=−1 requires limx→−1+f(x)=f(−1). As x→−1+, both π−cos−1x→0 and x+1→0, so we need a careful local expansion of cos−1x near x=−1.
Step-by-Step Solution
- Let x=−1+h, h→0+. Write cos−1(−1+h)=π−θ where θ→0+. Then cos(π−θ)=−cosθ=−1+h⇒cosθ=1−h.
- For small θ: cosθ≈1−θ2/2, so 1−θ2/2≈1−h⇒θ≈2h.
- So cos−1x≈π−2h, and cos−1x≈π1−2h/π≈π(1−2π2h)=π−2π2h.
- So π−cos−1x≈2π2h. …
🎓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.