Q.Find all points of discontinuity of f, where f is defined by f(x)={x3−3,x2+1,if x≤2if x>2
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 10-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). For a piecewise function, the critical point is the boundary where the definition changes.
Here the boundary is x=2. We check the left-hand limit, right-hand limit, and the function value at x=2.
Step 1: Compute f(2). Since x≤2 uses the first piece,
f(2)=23−3=8−3=5.
Step 2: Find the left-hand limit as x→2− (using x3−3):
limx→2−f(x)=23−3=5.
Step 3: Find the right-hand limit as x→2+ (using x2+1): …
The function is defined by two different polynomials meeting at x=2. Continuity at that point requires the left-hand limit, right-hand limit, and f(2) to be equal. Since the left-hand limit equals f(2)=5 but the right-hand limit is 5 as well, the function is continuous at x=2 and therefore continuous everywhere on R.
The key idea: a piecewise function can only be discontinuous at the "break" points where the definition changes. Here, the only candidate is x=2. Everywhere else, f is a polynomial — and polynomials are continuous on their entire domain. So the entire question reduces to checking what happens at x=2.
Why check limits? Continuity at a point x=a means three things must hold simultaneously:
- f(a) is defined.
- limx→af(x) exists.
- That limit equals f(a).
For a piecewise function, the limit exists only if the left-hand limit and right-hand limit are equal. So we compute both sides at x=2.
- Find f(2). Since x=2 falls in the first piece (x≤2), we use f(x)=x3−3.
f(2)=23−3=8−3=5.
- Left-hand limit as x→2−. For x<2, the function is x3−3, a polynomial. Polynomials are continuous, so the limit is just the value at x=2:
limx→2−f(x)=limx→2−(x3−3)=23−3=5.
- Right-hand limit as x→2+. For x>2, the function is x2+1, also a polynomial. So:
limx→2+f(x)=limx→2+(x2+1)=22+1=4+1=5.
- Compare. Left-hand limit = 5, right-hand limit = 5, and f(2)=5. All three are equal. Therefore the limit exists and equals f(2). …
Method: Comparing Two Formulas at Their Shared Boundary
This is the standard approach for any function built from two different expressions meeting at a single switch-over point.
Steps
Step 1: Identify which formula defines the boundary point itself
Look at the inequality signs in the definition — whichever piece's inequality includes "=" is the one that determines f(a) at the boundary; the other piece is only used for the limit approaching from its side.
Step 2: Compute f(a) from the correct piece
Substitute a into the formula identified in Step 1.
Step 3: Compute the left-hand and right-hand limits separately …
Common Mistakes
Mistake 1: Using x2+1 instead of x3−3 to compute f(2)
Why it's wrong: the boundary condition is x≤2, so x=2 belongs to the first piece (x3−3), not the second. Correct approach: identify exactly which inequality includes the equals sign before evaluating f(a), and use only that piece.
Mistake 2: Stopping once the left-hand limit matches f(2), without also checking the right-hand limit …
Showing the 12 most recent of 15 on this concept.
- JEE Main 2026Set 2026-01-23-s14 marksMCQQ.Let f(x) = { (ax²+2ax+3)/(4x²+4x-3), x ≠ -3/2, 1/2 ; b, x = -3/2, 1/2 } be continuous at x = -3/2. If f∘f(x) = 7/5, then x is equal to: (A) 1 (B) 2 (C) 1.4 (D) 0
›Reveal solutionSolution
Continuity fixes a=4, b=1/2, reducing f(x) to a Möbius map 2x−12x+1; solving f(f(x))=7/5 gives x=1.
When a rational function has a removable-type singularity forced to be continuous at a zero of its denominator, the numerator must share that zero — this pins down the unknown parameter before anything else can be computed.
- Factor the denominator: 4x2+4x−3=(2x+3)(2x−1), zero at x=−3/2 and x=1/2.
- For continuity at x=−3/2, the numerator ax2+2ax+3 must vanish there too: a(49)+2a(−23)+3=0⟹49a−3a+3=0⟹−43a+3=0⟹a=4.
- With a=4: numerator =4x2+8x+3=(2x+3)(2x+1), so for x=−3/2,21: f(x)=(2x+3)(2x−1)(2x+3)(2x+1)=2x−12x+1.
- The continuity value b=limx→−3/22x−12x+1=−3−1−3+1=−4−2=21.
- Compute f(f(x)) for generic x: with y=f(x)=2x−12x+1, …
- JEE Main 2026Set 2026-01-23-s24 marksMCQQ.If f(x) = { [a|x| + x² − 2(sin|x|)(cos|x|)] / x , x ≠ 0 ; b , x = 0 } is continuous at x = 0, then a + b is equal to (A) 4 (B) 1 (C) 0 (D) 2
›Reveal solutionSolution
Split into x>0 and x<0 using 2sin∣x∣cos∣x∣=sin(2∣x∣), take each one-sided limit, set them equal to solve for a, then b is the common limit value.
[!NOTE]
The computed value a+b=2 is confirmed by an independently-published worked solution (testbook.com states explicitly: "the values are a=2 and b=0, therefore a+b=2"). In this question's own option list — (A) 4, (B) 1, (C) 0, (D) 2 — the value 2 is option (D), not the stored official letter "A" (which is 4 here); again this looks like an option-order/lettering mismatch against a differently-shuffled source rather than a math error, so (D) is answered.
- For x>0, ∣x∣=x, and 2sinxcosx=sin2x, so f(x)=xax+x2−sin2x=a+x−xsin2x. As x→0+: xsin2x→2, so the limit is a−2. …
- JEE Main 2026Set 2026-01-28-s24 marksMCQQ.Let f(x) = lim_{θ→0} ( (cos πx - x^(2/θ) sin(x-1)) / (1 + x^(2/θ)(x-1)) ), x ∈ R. Consider the following two statements: (I) f(x) is discontinuous at x = 1. (II) f(x) is continuous at x = -1. Then, (A) Only (I) is True (B) Neither (I) nor (II) is True (C) Only (II) is True (D) Both (I) and (II) are True
›Reveal solutionSolution
Careful limit analysis shows f is actually continuous at x=1 (Statement I false) and discontinuous at x=−1 (Statement II false) — neither claim holds.
The key is that x2/θ behaves completely differently depending on whether ∣x∣<1, ∣x∣=1, or ∣x∣>1 as θ→0+.
- For ∣x∣<1: x2/θ→0, so f(x)=1+0cosπx−0=cosπx.
- For ∣x∣>1: dividing through by x2/θ→∞ gives f(x)=−x−1sin(x−1).
- At x=1 exactly, x2/θ=1 always, giving f(1)=1+0cosπ−sin0=−1. The left-limit (cosπx→−1) and right-limit (−sin(x−1)/(x−1)→−1 as x→1) both agree with this — f is continuous at x=1, so Statement (I) is false. …
- JEE Main 2025Set 2025-04-03-s14 marksMCQQ.Let f(x) = (1+ax)^(1/x), x<0 ; 1+b, x=0 ; ((x+4)^(1/2)-2)/((x+c)^(1/3)-2), x>0, be continuous at x = 0. Then e^a bc is equal to: (A) 64 (B) 48 (C) 36 (D) 72
›Reveal solutionSolution
Matching the three one-sided definitions of f at x=0 fixes a,b,c one at a time: the right piece needs a removable 0/0 to even have a finite limit (fixing c), then L'Hopital fixes that limit (fixing b), and the standard exponential limit fixes a.
- Left limit: x→0−lim(1+ax)1/x=ea (standard limit). Continuity needs this to equal f(0)=1+b, so ea=1+b.
- Right limit: x→0+lim(x+c)1/3−2x+4−2. At x=0 the numerator is 4−2=0; for the limit to exist and be finite (matching a finite 1+b), the denominator must also vanish at x=0, i.e. c1/3=2⇒c=8.
- With c=8 this is a 00 form; differentiate numerator and denominator at x=0 (L'Hopital): …
- JEE Main 2025Set 2025-04-07-s24 marksQ.If the function f(x) = (tan(tan x) − sin(sin x))/(tan x − sin x) is continuous at x = 0, then f(0) is equal to __________.
›Reveal solutionSolution
Taylor-expanding both composite functions to third order gives f(0) = 2.
Since f is continuous at x=0 and the expression is a 0/0 form there, f(0) equals the limit as x→0.
- tanx=x+3x3+O(x5), sinx=x−6x3+O(x5).
- Denominator: tanx−sinx=(x+3x3)−(x−6x3)=3x3+6x3=2x3+O(x5).
- For the numerator, let u=tanx. Then tan(u)=u+3u3+O(u5). Since u3=x3+O(x5), tan(tanx)=(x+3x3)+3x3+O(x5)=x+32x3+O(x5). …
- JEE Main 2024Set 2024-04-05-s14 marksMCQQ.If the function f(x)=x3sin3x+αsinx−βcos3x, x∈R, is continuous at x=0, then f(0) is equal to : (A) 2 (B) -2 (C) 4 (D) -4
›Reveal solutionSolution
Matching Taylor coefficients up to x2 forces β=0, α=−3, and the resulting x3 coefficient gives f(0)=−4.
- Expand to order x3: sin3x=3x−6(3x)3+⋯=3x−29x3+⋯, sinx=x−6x3+⋯, cos3x=1−2(3x)2+⋯=1−29x2+⋯.
- Numerator N(x)=sin3x+αsinx−βcos3x=−β+(3+α)x+29βx2+(−29−6α)x3+⋯. …
- JEE Main 2024Set 2024-04-09-s14 marksQ.Let f:(0,π)→R be a function given by
[!FORMULA] f(x)=⎩⎨⎧(78)tan8x/tan7x,a−8,(1+∣cotx∣)ab∣tanx∣,0<x<2πx=2π2π<x<π
Where a,b∈Z. If f is continuous at x=2π, then a2+b2 is equal to›Reveal solutionSolution
Both one-sided limits at x=π/2 must equal f(π/2)=a−8, forcing a=9,b=0, so a2+b2=81.
- For continuity at x=π/2, both one-sided limits must equal f(π/2)=a−8.
- Left limit: let x=2π−ϵ. Then tan8x=tan(4π−8ϵ)=−tan8ϵ≈−8ϵ, and tan7x=tan(27π−7ϵ)=cot7ϵ≈7ϵ1 as ϵ→0.
- So the exponent tan7xtan8x→1/(7ϵ)−8ϵ=−56ϵ2→0, giving (78)0=1 as the left limit. Hence a−8=1⇒a=9. …
- JEE Main 2024Set 2024-04-04-s24 marksMCQQ.If the function f(x)=⎩⎨⎧2−1+cosx72x−9x−8x+1,aloge2loge3,x=0x=0 is continuous at x=0, then the value of a2 is equal to (A) 968 (B) 1152 (C) 746 (D) 1250
›Reveal solutionSolution
Write 72x−9x−8x+1=(8x−1)(9x−1), rationalize 2−1+cosx, and use standard limits to find a.
Continuity at 0 requires limx→0f(x)=alog2log3.
- Numerator: 72x−9x−8x+1=(8x−1)(9x−1).
- Denominator: 2−1+cosx. Multiply by conjugate:
2−1+cosx=2+1+cosx2−(1+cosx)=2+1+cosx1−cosx.
- As x→0, 1−cosx∼x2/2 and 2+1+cosx→2+2=22. So denominator ∼22x2/2=42x2. …
- JEE Main 2024Set 2024-01-31-s14 marksMCQQ.Let g(x) be a linear function and f(x)=⎩⎨⎧g(x),(2+x1+x)1/x,x≤0x>0 is continuous at x=0. If f′(1)=f(−1), then the value of g(3) is (A) 31loge(9e1/34) (B) 31loge(94)+1 (C) loge(94)−1 (D) loge(9e1/34)
›Reveal solutionSolution
Continuity at 0 forces the linear piece through the origin; matching f′(1)=f(−1) then fixes its slope, and hence g(3).
- Let h(x)=x1ln2+x1+x. As x→0+, ln2+x1+x→ln21=−ln2=0, so h(x)→−∞ and f(0+)=eh(x)→0. For continuity, g(0)=0; since g is linear, g(x)=mx.
- h(1)=ln32. h′(x)=−x21ln2+x1+x+x1(1+x1−2+x1); at x=1: h′(1)=−ln32+(21−31)=ln23+61.
- f(1)=(32)1=32, and f′(1)=f(1)h′(1)=32(ln23+61). …
- JEE Main 2022Set 2022-07-26-s14 marksMCQQ.If the function f(x) = { [logₑ(1 – x + x²) + logₑ(1 + x + x²)] / (secx – cosx), x ∈ (–π/2, π/2) – {0}; k, x = 0 } is continuous at x = 0, then k is equal to: (A) 1 (B) –1 (C) e (D) 0
›Reveal solutionSolution
Both numerator and denominator behave like x² near x=0, so the limit (and hence k) equals 1.
- Combine the logs: ln(1−x+x²) + ln(1+x+x²) = ln[(1−x+x²)(1+x+x²)]. Writing u=1+x², the product (u−x)(u+x)=u²−x² = (1+x²)²−x² = 1+2x²+x⁴−x² = 1+x²+x⁴.
- So the numerator is ln(1+x²+x⁴), and for small x this behaves like x²+x⁴ − O(x⁴) ≈ x² (to leading order). …
- JEE Main 2022Set 2022-07-27-s24 marksMCQQ.If for p ≠ q ≠ 0, the function f(x) = [⁷√(p(729+x)) – 3] / [³√(729+qx) – 9] is continuous at x = 0, then: (A) 7pq f(0) – 1 = 0 (B) 63q f(0) – p² = 0 (C) 21q f(0) – p² = 0 (D) 7pq f(0) – 9 = 0
›Reveal solutionSolution
Continuity pins p=3, and L'Hopital's rule gives f(0)=1/(7q), which rearranges to 63qf(0)−p2=0.
- Both numerator N(x)=(p(729+x))1/7−3 and denominator D(x)=(729+qx)1/3−9 vanish at x=0 only if 729p=37=2187, giving p=3; otherwise f would blow up at 0, contradicting continuity there.
- Since this is a 0/0 form, apply L'Hopital: N′(x)=7p(p(729+x))−6/7, so N′(0)=73(2187)−6/7=73⋅3−6=17011 (using 2187=37). …
- JEE Main 2021Set 2021-07-22-s24 marksMCQQ.Let f: R → R be defined as f(x) = [x³/(1 − cos2x)²]·log_e[(1 + 2xe^(−2x))/(1 − xe^(−x))²], for x ≠ 0, and f(x) = α, for x = 0. If f is continuous at x = 0, then α is equal to: (A) 1 (B) 3 (C) 0 (D) 2
›Reveal solutionSolution
Expanding each factor of f(x) to the needed order near x=0 shows the apparent 1/x singularity in the first factor exactly cancels the leading x term in the logarithm, leaving a finite limit of 1.
- 1−cos2x=2sin2x=2x2−32x4+⋯, so (1−cos2x)2=4x4(1−32x2+⋯), giving (1−cos2x)2x3=4x1(1+32x2+⋯)=4x1+6x+⋯.
- Expanding ln(1+2xe−2x) and −2ln(1−xe−x) in powers of x and combining, the logarithmic factor is 4x−7x2+⋯ (the leading term arises because both 2xe−2x and 2xe−x start as 2x to first order, and their combination via ln(N/D) doubles the leading linear coefficient). …
🎓Unlock everything free for 10 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 10 days. No credit card required.