Q.If a function defined by π(π₯) = { ππ₯ + 1, π₯ β€ π cos π₯ , π₯ > π is continuous at π₯ = π, then the value of π is
(A) π
(B) β1 π
(C) 0
(D) β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βalimβf(x) exists (left- and right-hand limits are equal),
- xβalimβf(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β1βf(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+1βx<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=Ο if the left-hand limit, right-hand limit, and f(Ο) are all equal.
Step 1: For xβ€Ο, f(x)=kx+1, so
f(Ο)=kΟ+1 and limxβΟββf(x)=kΟ+1.
Step 2: For x>Ο, f(x)=cosx, so
limxβΟ+βf(x)=cosΟ=β1.
Step 3: Continuity at x=Ο requires β¦
For a function to be continuous at a point, the left-hand limit, right-hand limit, and the function's value at that point must all be equal. Here, equating the two one-sided limits at x=Ο gives k=βΟ2β, which corresponds to option (D).
The idea of continuity at a point is beautifully simple: a function is continuous at x=a if you can draw its graph through that point without lifting your pen. More formally, three things must match β the function's value at a, the limit as you approach from the left, and the limit as you approach from the right. If any one of these is different, there's a break, a jump, or a hole.
Here, the function is defined in two pieces, meeting at x=Ο. The left piece is kx+1 (a straight line), and the right piece is cosx (a wavy curve). For continuity at the seam, the line must exactly meet the curve at x=Ο.
Let's work through it step by step.
- Find the left-hand limit as xβΟβ. For xβ€Ο, the function is f(x)=kx+1. So as we approach Ο from values slightly less than Ο, we use this expression:
limxβΟββf(x)=limxβΟββ(kx+1)=kΟ+1.
- Find the right-hand limit as xβΟ+. For x>Ο, the function is f(x)=cosx. Approaching Ο from the right, we get:
limxβΟ+βf(x)=limxβΟ+βcosx=cosΟ.
And cosΟ=β1. So the right-hand limit is β1.
- Find the function's value at x=Ο. Since the definition says f(x)=kx+1 for xβ€Ο, the point x=Ο itself belongs to the left piece. So:
f(Ο)=kΟ+1.
- Apply the continuity condition. For continuity at x=Ο, we need: limxβΟββf(x)=limxβΟ+βf(x)=f(Ο). β¦
Method: Solving for an Unknown in a Piecewise Function Using the Continuity Condition
This method applies to any problem where a piecewise function has an unknown constant, and you're told the function is continuous at the point where the pieces meet β you then find the constant.
Steps
Step 1: Identify the pieces and the junction point
Write down which formula applies just left of the junction and which applies just right of it, and note carefully which side includes the equality (e.g. xβ€a vs. x<a) β that tells you which piece actually defines f(a).
Step 2: Compute the one-sided limits at the junction
For a piece built from standard continuous functions (polynomials, trig functions, exponentials), the one-sided limit equals direct substitution of the junction value into that piece:
limxβaββf(x)=(leftΒ pieceΒ evaluatedΒ atΒ a),limxβa+βf(x)=(rightΒ pieceΒ evaluatedΒ atΒ a).
Step 3: Apply the continuity condition
Continuity at a requires all three of f(a), the left-hand limit, and the right-hand limit to agree. Since the piece containing the equality already supplies f(a) and matches its own one-sided limit automatically, the real content of the condition is usually just: β¦
Common Mistakes
Mistake 1: Evaluating cosΟ incorrectly
Some students recall cos0=1 and mistakenly carry that value over, writing cosΟ=1 instead of cosΟ=β1. Why it's wrong: cosΟ is a distinct standard value (the angle Ο radians points in the opposite direction on the unit circle). Correct approach: memorize the standard values cos0=1,cos(Ο/2)=0,cosΟ=β1 precisely, or sketch the cosine curve to check the sign at Ο.
Mistake 2: Using the wrong piece to evaluate f(a) at the junction β¦
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/2β2xβ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β29βx3+β―, sinx=xβ6x3β+β―, cos3x=1β2(3x)2β+β―=1β29βx2+β―.
- 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+cosxβ72xβ9xβ8x+1β,alogeβ2logeβ3,β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β0βf(x)=alog2log3.
- Numerator: 72xβ9xβ8x+1=(8xβ1)(9xβ1).
- Denominator: 2ββ1+cosxβ. Multiply by conjugate:
2ββ1+cosxβ=2β+1+cosxβ2β(1+cosx)β=2β+1+cosxβ1βcosxβ.
- As xβ0, 1βcosxβΌx2/2 and 2β+1+cosxββ2β+2β=22β. So denominator βΌ22βx2/2β=42βx2β. β¦
- 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) 31βlogeβ(9e1/34β) (B) 31βlogeβ(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)=x1βln2+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)=βx21βln2+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β32βx4+β―, so (1βcos2x)2=4x4(1β32βx2+β―), giving (1βcos2x)2x3β=4x1β(1+32βx2+β―)=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.