Continuity of Piecewise Functions: Parameter Determination
One of the most heavily tested topics in JEE Main is determining unknown parameters so that a piecewise-defined function becomes continuous (or continuous and differentiable). With 55–60 questions over the past six years, this is the single most asked sub-topic within Limits, Continuity, and...
limitscontinuitypiecewiseparameter-determination
Continuity of Piecewise Functions: Parameter Determination
Introduction
One of the most heavily tested topics in JEE Main is determining unknown parameters so that a piecewise-defined function becomes continuous (or continuous and differentiable). With 55–60 questions over the past six years, this is the single most asked sub-topic within Limits, Continuity, and Differentiability. The key idea is deceptively simple—equate left-hand and right-hand limits to the function value at the junction point—but the algebra can get tricky when multiple parameters, trigonometric identities, or indeterminate forms are involved.
1. Fundamental Principle
Definition of Continuity at a Point
A function f is continuous at x=a if and only if all three conditions hold:
If
f(x)=⎩⎨⎧g(x),k,h(x),x<ax=ax>a
then continuity at x=a requires:
x→a−limg(x)=k=x→a+limh(x)
Three-Piece Pattern
When the function has three or more pieces with two junction points a and b, apply the continuity condition independently at each junction. This typically gives a system of equations in the unknown parameters.
2. Step-by-Step Method
Step 1: Identify the junction points—the values of x where the rule changes.
Step 2: At each junction point x=a, compute:
Left-hand limit: x→a−limf(x)
Right-hand limit: x→a+limf(x)
Function value: f(a)
Step 3: Set LHL = RHL = f(a). If the limits produce 00 or other indeterminate forms, resolve them using L'Hôpital's rule, standard limits, or algebraic manipulation before equating.
Step 4: Solve the resulting system of equations for the unknown parameters.
Step 5: Verify—substitute back and confirm the limits match.
3. Worked Examples
Example 1 (Single Junction, Trigonometric)
Let
f(x) = \begin{cases} \dfrac{\sin(a+1)x + \sin x}{x}, & x < 0 \6pt] c, & x = 0 $6pt] \dfrac{\sqrt{x+bx^2} - \sqrt{x}}{bx^{3/2}}, & x > 0 \end{cases}
Find a, b, c sothat f iscontinuousat x = 0 $.
RHL (x→0+):
limx→0+bx3/2x+bx2−x=limx→0+bx3/2x(1+bx−1)=limx→0+bx1+bx−1.
Using 1+u≈1+2u for small u:
=limx→0+bx2bx=21.
Setting LHL = c = RHL:
a+2=c=21⇒a=−23,c=21.b can be any non-zero real number (it cancels out).
Example 2 (Two Parameters, Two Junctions)
Let
f(x) = \begin{cases} \dfrac{x^2 - (a+2)x + a}{x - 2}, & x \neq 2 \6pt] 2, & x = 2 \end{cases}
becontinuousat x = 2 .Find a $.
Solution:
At x=2, the denominator is zero, so we need the numerator to also be zero for the limit to exist:
4−2(a+2)+a=0⇒4−2a−4+a=0⇒a=0.
So f(x)=x−2x2−2x=x−2x(x−2)=x for x=2.
Check: limx→2f(x)=2=f(2). Continuous.
Example 3 (Exponential 1∞ Form)
Let
f(x) = \begin{cases} (1 + |\sin x|)^{\frac{a}{|\sin x|}}, & -\frac{\pi}{6} < x < 0 \6pt] b, & x = 0 $6pt] e^{\frac{\tan 2x}{\tan 3x}}, & 0 < x < \frac{\pi}{6} \end{cases}
Determine a, b forcontinuityat x = 0 $.
Solution:
LHL (x→0−):
Let t=∣sinx∣. As x→0, t→0+.
limt→0+(1+t)a/t=[limt→0+(1+t)1/t]a=ea.
If f(x) is continuous at x=0, where
f(x) = \begin{cases} \dfrac{1 - \cos 4x}{x^2}, & x < 0 \6pt] a, & x = 0 $6pt] \dfrac{\sqrt{x}}{\sqrt{16 + \sqrt{x}} - 4}, & x > 0 \end{cases}
find a $.
RHL: Rationalize by multiplying numerator and denominator by 16+x+4:
limx→0+16+x−16x(16+x+4)=limx→0+xx(16+x+4)=16+4=8.
Thus a=8.
Example 6 (Exponential 0/0 Form)
Let
f(x) = \begin{cases} \dfrac{e^{3x} - 1}{\log(1 + 5x)}, & x \neq 0 \6pt] k, & x = 0 \end{cases}
Find k sothat f iscontinuousat x = 0 $.
Solution:
Both numerator and denominator tend to 0 as x→0. Using standard limits:
limx→0log(1+5x)e3x−1=limx→0xlog(1+5x)xe3x−1=53.
So k=53.
4. Previous Year JEE Problems
Problem 1 (JEE Main 2023)
If the function
f(x) = \begin{cases} \dfrac{\sin(a+2)x + \sin x}{x}, & x < 0 \6pt] b, & x = 0 $6pt] \dfrac{(x + 3x^2)^{1/3} - x^{1/3}}{x^{4/3}}, & x > 0 \end{cases}
iscontinuousat x = 0 ,then a + 2b $ is equal to:
Solution:
LHL: limx→0−xsin(a+2)x+sinx=(a+2)+1=a+3.
RHL: Factor x1/3 from the numerator:
limx→0+x4/3x1/3[(1+3x)1/3−1]=limx→0+x(1+3x)1/3−1.
Using (1+u)1/3≈1+3u: the limit =33=1.
So a+3=b=1, giving a=−2,b=1.
a+2b=−2+2=0.
Problem 2 (JEE Main 2020)
If the function
f(x) = \begin{cases} \dfrac{\sqrt{1+kx} - \sqrt{1-kx}}{x}, & -1 \le x < 0 \6pt] 2x^2 + 3x - 2, & 0 \le x \le 1 \end{cases}
iscontinuousat x = 0 ,find k $.
Solution:
LHL (x→0−):
Rationalize the numerator:
limx→0−x(1+kx+1−kx)(1+kx)−(1−kx)=limx→0−x(1+kx+1−kx)2kx=1+12k=22k=k.
RHL (x→0+) and f(0):
limx→0+(2x2+3x−2)=−2.
Since f is continuous at x=0, LHL = RHL:
k=−2.
Problem 3 (JEE Main 2024)
If f(x) is continuous at x=0, where
f(x) = \begin{cases} \dfrac{e^{2x} - 1 - 2x}{x^2}, & x \neq 0 \6pt] k, & x = 0 \end{cases}
find k $.
Solution:
Apply L'Hôpital's rule (since both numerator and denominator →0):
limx→0x2e2x−1−2x=limx→02x2e2x−2=limx→024e2x=2.
Alternatively, using Taylor expansion: e2x=1+2x+24x2+⋯, so
x2e2x−1−2x=x22x2+⋯→2.
Hence k=2.
5. Common Patterns & Quick Results
Limit Expression (as x→0)
Value
When to Use
xsinkx
k
Trig piecewise at 0
x21−coskx
2k2
Cosine-based pieces
xekx−1
k
Exponential pieces
xln(1+kx)
k
Log-based pieces
x(1+x)n−1
n
Binomial pieces
xtankx
k
Tangent-based pieces
(1+x)1/x
e
1∞ form
6. Tips for JEE Aspirants
Always check both sides independently. Never assume LHL = RHL without computing both—especially with modulus, GIF, or exponential functions.
Use standard limit results to quickly evaluate 00 forms rather than L'Hôpital every time—it is faster.
Factor before canceling. If the denominator has (x−a), ensure the numerator also has this factor, then cancel.
System of equations. With two junctions and two unknowns, you get a solvable 2×2 system—solve efficiently by adding/subtracting the equations.
Watch for "automatic" continuity. Polynomials, ex, sinx, cosx are continuous everywhere—the issue arises only at junction points.
Verify your answer. Plug back and check both limits match f(a). A 10-second verification can save you from sign errors.
7. Quick-Reference Summary
Step
Action
1
Identify junction point(s) where the rule changes.
2
Compute LHL and RHL at each junction.
3
Set LHL = RHL = f(a) (the value at the junction).
4
Solve the resulting equations for unknowns a,b,c,…
5
Verify: substitute back and confirm limits match.
Piecewise continuity problems are the bread and butter of JEE Main Limits questions. Master the standard limit results in the table above, and you can solve most of these in under 2 minutes.