Q.Examine whether the function f given by f(x)=x2 is continuous at x=0.
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
Is f(x)=∣x∣ continuous at x=0? f(0)=0, limx→0∣x∣=0, and the two agree — yes, even though ∣x∣ has a sharp corner. Continuity demands no break, not smoothness.
Takeaway: continuity at a point means the function value and the two one-sided limits all agree. Agreement ⇒ the graph passes through unbroken; disagreement ⇒ a discontinuity.
Continuity at a Point is the opening idea of the CBSE Class 12 Continuity and Differentiability chapter, and the three-condition test described here matches exactly what NCERT exercises and "continuity and differentiability class 12 important questions" expect students to apply. This concept is also foundational for JEE Main and NEET, where checking continuity is often the first step before testing differentiability of a function.
Concept: Continuity At A Point — A function f is continuous at x=a if limx→af(x)=f(a).
- Compute f(0)=02=0.
- Compute the limit: limx→0x2=0 (since x2 is a polynomial, the limit equals the value at the point).
- Since limx→0f(x)=f(0), the condition for continuity holds.
The function f(x)=x2 is continuous at x=0.
The function f(x)=x2 is continuous at x=0 because the limit of f(x) as x approaches 0 equals f(0)=0. The key is that x2 can be made arbitrarily small by taking x close enough to 0.
The Core Idea: Continuity at a Point
Continuity at a point means the function’s value and its limit agree — there’s no “jump” or “break” at that spot. Formally, f is continuous at x=a if:
limx→af(x)=f(a)
For f(x)=x2 at x=0, we need to check two things:
- Does f(0) exist? Yes — f(0)=02=0.
- Does limx→0x2 exist and equal 0?
The intuition: as x gets closer to 0, x2 gets even closer to 0 (since squaring a small number makes it smaller). There’s no sudden leap — the graph is a smooth parabola passing through the origin.
Step-by-Step Verification
1. Compute f(0) directly.
Plugging x=0 into f(x)=x2 gives f(0)=0. So the function is defined at the point.
2. Examine the left-hand limit (x→0−).
If x is negative but very close to 0 (say x=−0.1), then x2=0.01. As x approaches 0 from the left, x2 approaches 0. Formally:
limx→0−x2=0
3. Examine the right-hand limit (x→0+).
If x is positive and very close to 0 (say x=0.1), then x2=0.01 again. As x approaches 0 from the right, x2 also approaches 0:
limx→0+x2=0
4. Compare the two one-sided limits.
Both are 0, so the two-sided limit exists:
limx→0x2=0
5. Check the equality condition.
We have limx→0f(x)=0 and f(0)=0. Since they are equal, f is continuous at x=0.
For polynomials like x2, continuity at every real number is guaranteed — they’re “smooth” everywhere. But it’s still good practice to verify from first principles, especially for exam rigour.
A common mistake is to think that because x2 is always non-negative, the limit might not approach 0 “from both sides” equally. But the limit cares about the value, not the sign — both sides give 0, so it’s fine.
The function f(x)=x2 is continuous at x=0.
Method: Checking Continuity at a Point
A function f is continuous at x=a only if all three of the following hold — checking just one or two is not a complete proof.
Steps
Step 1: Confirm f(a) exists
Evaluate the function directly at the point.
Step 2: Confirm x→alimf(x) exists
For most elementary functions this means checking that the left-hand limit and the right-hand limit are equal.
limx→a−f(x)=limx→a+f(x).
Step 3: Confirm the limit equals the function value
limx→af(x)=f(a).
If all three conditions hold, f is continuous at a; if any one fails, it is not.
Applying to this problem: for f(x)=x2 at x=0, f(0)=0, and both one-sided limits of x2 as x→0 equal 0 (since squaring a small number, positive or negative, gives an even smaller positive number) — all three conditions hold, so f is continuous at x=0.
Common Mistakes
Mistake 1: Worrying that x2 is always non-negative somehow affects whether the two one-sided limits match.
Why it's wrong: the sign of f(x) near the point is irrelevant to continuity — what matters is that the VALUE f(x) approaches from both sides is the same number, and x2→0 from both the negative and positive side identically. Correct approach: focus purely on the numerical value each one-sided limit approaches, not on the sign of intermediate values.
Mistake 2: Treating "it's a polynomial, so it's obviously continuous everywhere" as a substitute for the three-condition check at this specific point.
Why it's wrong: while true as a general theorem, a question that explicitly asks to "examine" continuity at a named point expects the explicit verification (computing f(0) and both one-sided limits), not a citation of the general polynomial-continuity theorem alone. Correct approach: perform the full three-step check even when the conclusion is intuitively expected.
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,
f(y)=2y−12y+1=2x+36x+1 (after simplifying with y=(2x+1)/(2x−1))
- Set 2x+36x+1=57: cross-multiplying, 5(6x+1)=7(2x+3)⟹30x+5=14x+21⟹16x=16⟹x=1.
Watch outCheck that the resulting x=1 doesn't land on a removed point (−3/2 or 1/2) or make an intermediate value singular — here f(1)=3, which is safely away from both singularities.
✓Final answerThe correct option is (A) — 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.
- For x<0, ∣x∣=−x, and 2sin(−x)cos(−x)=sin(−2x)=−sin2x, so the numerator is −ax+x2−(−sin2x)=−ax+x2+sin2x, giving f(x)=−a+x+xsin2x. As x→0−: limit =−a+2=2−a.
- Continuity requires both one-sided limits to be equal (and equal to f(0)=b): a−2=2−a⇒2a=4⇒a=2.
- Common limit: b=a−2=0.
- a+b=2+0=2.
✓Final answer(D)
- 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.
- At x=−1, x2/θ=1 too, giving f(−1)=−1−1+sin2=1−sin2≈0.09. But the left-limit (from x<−1, using the ∣x∣>1 branch) gives −sin(−2)/(−2)=−sin2/2≈−0.45, and the right-limit (from −1<x<0, using cosπx) gives cos(−π)=−1 — three different values, so f is discontinuous at x=−1, making Statement (II) false too.
✓Final answerThe correct option is (B).
- 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):
dxdx+40=241=41,dxd(x+8)1/30=31(8)−2/3=121.
- So the right-hand limit =1/121/4=3. Hence 1+b=3⇒b=2.
- From step 1, ea=1+b=3.
- Therefore ea⋅b⋅c=3×2×8=48.
x→0lim(1+ax)1/x=ea.
✓Final answer(B)
- 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).
- Let v=sinx. Then sin(v)=v−6v3+O(v5). Since v3=x3+O(x5), sin(sinx)=(x−6x3)−6x3+O(x5)=x−3x3+O(x5).
- Numerator: tan(tanx)−sin(sinx)=(x+32x3)−(x−3x3)=x3+O(x5).
- Hence f(x)=21x3+O(x5)x3+O(x5)→2 as x→0.
✓Final answer\boxed{2}
- 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+⋯.
- For f(x)=N(x)/x3 to have a finite limit as x→0, the constant, x, and x2 coefficients of N(x) must all vanish: −β=0⇒β=0; 3+α=0⇒α=−3; and 29β=0 is automatically satisfied.
- The limiting value f(0) equals the coefficient of x3: −29−6α=−29−6(−3)=−29+21=−4.
✓Final answerThe correct option is (D), f(0)=−4.
- 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.
- Right limit: let x=2π+ϵ. Then cotx=−tanϵ≈−ϵ so ∣cotx∣≈ϵ, and tanx=−cotϵ≈−ϵ1 so ∣tanx∣≈ϵ1.
- The right-hand expression becomes (1+ϵ)ab⋅ϵ1=[(1+ϵ)1/ϵ]b/a→eb/a as ϵ→0.
- For this to equal a−8=1: eb/a=1⇒ab=0⇒b=0.
- So a=9,b=0, and a2+b2=81+0=81.
✓Final answerThe value is 81.
- 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.
- Numerator: 8x−1∼xln8=3xln2, 9x−1∼xln9=2xln3. Product ∼6x2ln2ln3.
- Limit:
limx→0f(x)=x2/(42)6x2ln2ln3=242ln2ln3.
- So a=242, giving a2=576×2=1152.
✓Final answerThe correct option is (B).
- 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).
- f(−1)=g(−1)=−m. Setting f′(1)=f(−1): −m=32ln23+91⇒m=−32ln23−91.
- g(3)=3m=−2ln23−31=ln(23)−2−31=ln94−31=ln(94)−lne1/3=ln(9e1/34).
✓Final answerThe correct option is (D), g(3)=loge(9e1/34).
- 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).
- For the denominator, secx−cosx = (1−cos²x)/cosx = sin²x/cosx, which for small x behaves like x²/1 = x².
- The limit as x→0 of [numerator]/[denominator] is therefore x²/x² → 1.
- For f to be continuous at x=0, k must equal this limit: k=1.
✓Final answerThe correct option is (A).
- 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).
- D′(x)=3q(729+qx)−2/3, so D′(0)=3q(729)−2/3=3q⋅3−4=243q.
- f(0)=D′(0)N′(0)=q/2431/1701=1701q243=7q1 (since 1701=7×243), i.e. 7qf(0)=1.
- Multiply by 9: 63qf(0)=9=p2 (since p=3), i.e. 63qf(0)−p2=0.
✓Final answerThe correct option is (B).
- 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).
- Multiplying: (4x1+6x+⋯)(4x−7x2+⋯)=1+O(x) — the x−1×x terms combine to exactly 1, and every other product term is O(x) or higher.
- So limx→0f(x)=1.
- For f to be continuous at x=0, α must equal this limit: α=1.
✓Final answerThe correct option is (A).
🎓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.