Calculus for JEE: the boundary cases that trip up students
Continuity at piecewise points, differentiability at corners, and the L'Hôpital traps that decide one-mark questions in JEE Main.
Most calculus questions in JEE Main are routine. What separates a 95+ percentile from a 99+ is handling the boundary cases — the places where standard rules don't apply directly. Here are the four that come up repeatedly and the traps each one sets.
1. Continuity at the junction of a piecewise function
A function defined piecewise as f(x) = egin{cases} g(x) & x < c \ k & x = c \ h(x) & x > c end{cases} is continuous at iff .
Trap: students compute the two-sided limits and forget to check the value at the point itself. Continuity needs three things: LHL = RHL, the limit equals , and must be defined.
2. Differentiability at a corner or cusp
A function is differentiable at iff lim_{h o 0^-} rac{f(c+h) - f(c)}{h} = lim_{h o 0^+} rac{f(c+h) - f(c)}{h}
Both must exist and be equal. Geometrically: the graph has a unique tangent line at .
Common non-differentiable points JEE loves:
- at — LHD = , RHD = .
- at — cusp; the derivative tends to .
- Greatest-integer function at every integer — jump discontinuity, so not even continuous, hence not differentiable.
Trap: differentiability implies continuity, but continuity does not imply differentiability. A function can be continuous everywhere and differentiable nowhere (the Weierstrass function), though JEE never asks about pathological examples.
3. L'Hôpital's rule and when it fails
L'Hôpital applies only to rac{0}{0} or rac{infty}{infty} indeterminate forms. Other indeterminate forms (, , , , ) must be rewritten first.
Trap 1: applying L'Hôpital to a non-indeterminate form. If the limit is rac{2}{3} before differentiation, differentiating numerator and denominator gives the wrong answer. Always check the form first.
Trap 2: cycling. Some limits like lim_{x o infty} rac{e^x + e^{-x}}{e^x - e^{-x}} cycle under repeated L'Hôpital. Stop and use algebraic manipulation: divide both by and the answer is 1.
Trap 3: forgetting the chain rule on the derivatives. When you differentiate , the answer is , not .
4. The indeterminate form
For where and :
This single formula handles every question in JEE Main and Advanced. The proof uses for small , which is why you do not have to apply L'Hôpital at all.
Worked example: continuity and differentiability together
Let f(x) = egin{cases} ax^2 + b & x leq 1 \ rac{1}{|x|} & x > 1 end{cases}
Find and such that is differentiable at .
Continuity: .
Differentiability: LHD = 2ax ig|_{x=1} = 2a. RHD = -rac{1}{x^2}ig|_{x=1} = -1. So , giving a = -rac{1}{2} and b = rac{3}{2}.
The structure — two equations, two unknowns — is what JEE will reward you for setting up correctly.
5. Maxima and minima at endpoints
When a function is defined on a closed interval , the global maximum and minimum can occur:
- At a critical point inside where or does not exist.
- At an endpoint or .
Trap: students find all interior critical points, compare their values, and forget to evaluate at the endpoints. Always include and in your comparison list.
6. Integration of absolute-value functions
To integrate , you must:
- Find every in where — these split the interval.
- On each sub-interval, determine the sign of .
- Integrate where and where , then add.
Skipping step 1 is the most common mistake. is not ; it is .
How to drill these
Take any JEE Main calculus past-paper section, identify which of the six boundary-case patterns above each question tests, and write the pattern next to it before solving. After 50 problems you will start seeing the patterns before you start solving — which is exactly the skill the exam rewards under time pressure.
More Maths guides
Ask JEE Genius — the AI tutor explains every step and references past papers.
Open the chat →