Evaluating limits (standard limits, indeterminate forms, L'Hôpital's rule), testing continuity and differentiability at a point, and spotting where a function with modulus or pieces fails to be differentiable.
Before you start
Standard derivatives and series
Limits are often settled by the series of , , and near 0.
Modulus and piecewise functions
Most continuity and differentiability questions are built from , floor and piecewise definitions.
means gets as close to as we like when is close enough to (but ). The value itself does not matter.
The limit exists only when the left-hand limit and the right-hand limit both exist and are equal. For floor, modulus and piecewise functions, always find both.
Standard limits (use them directly):
Limit
Value
,
,
,
For a ratio of polynomials as , divide by the highest power: the limit is the ratio of leading coefficients if the degrees are equal, if the denominator has the higher degree, and otherwise.
2. Indeterminate forms and L'Hôpital's rule
The forms , , , , , and are indeterminate: the answer depends on the functions, not the form.
L'Hôpital's rule: if gives or at , then
provided the right side exists. Differentiate the top and the bottom separately (not the quotient rule). Repeat while the form stays indeterminate. Check the form before every use.
Reduce the other forms first:
: write .
: take a common denominator.
: if and , then .
, : take logs, , find that limit, then exponentiate.
Series shortcut: near 0, , , , . Replace each function by its first few terms and cancel; this is often faster than applying L'Hôpital three times.
3. Continuity
is continuous at when three things hold:
is defined,
exists (left and right limits equal),
the limit equals .
Kinds of discontinuity:
Kind
What happens
Example at
Removable
limit exists but or undefined
Jump
left and right limits exist but differ
at an integer
Infinite
a one-sided limit is
Oscillatory
no limit, the function keeps oscillating
Polynomials, , , are continuous everywhere; sums, products, compositions of continuous functions are continuous, and so is a quotient where the denominator is non-zero.
Intermediate value theorem: if is continuous on and lies between and , then for some . In particular, a sign change of a continuous means a root in between.
To make a piecewise function continuous at a joining point, set the left limit, the right limit and the value equal and solve for the unknown constants.
Left: $|x|$ is continuous at 0 but has a corner, so it is not differentiable there. Right: a jump discontinuity.
4. Differentiability
is differentiable at if
exists. This needs the left derivative () and the right derivative () to be finite and equal.
Key fact: differentiable continuous. The converse is false: is continuous at 0, but its left derivative is and right derivative is . So a discontinuous function is never differentiable there; check continuity first.
Where differentiability fails:
Corner: one-sided derivatives differ, as in at .
Vertical tangent: derivative infinite, as in at 0.
Discontinuity: any jump or hole.
Useful cases:
can fail only where ; at a simple root (where ) it does fail. At a repeated root such as or it stays differentiable.
(with value 0 at 0): continuous for , differentiable at 0 for .
and can fail where if their slopes differ there.
For a piecewise function joined at : first match values (continuity), then match the derivatives from each side (differentiability).
Rules: , , and the chain rule .
Formulas to remember
Derivative at a point
L'Hôpital's ruleOnly for or
The 1^∞ formWhen and
Exponential limit
Sine limit
Cosine limit
Continuity at a
Common mistakes
Applying L'Hôpital's rule when the form is not 0/0 or ∞/∞, or using the quotient rule instead of differentiating top and bottom separately.
Treating the 1^∞ form as 1; it usually gives a power of e.
Finding only one side of the limit for floor, modulus or piecewise functions.
Assuming a continuous function is differentiable; |x| is the standard counter-example.
Matching only the derivatives at a join and forgetting that the values must match first.
Worked examples
Try each step yourself, then reveal the working.
Example 1: A 0/0 limit by L'Hôpital and by series
numerical
Find .
Step 1: Check the form.
Try it on paper first.
Example 2: A 1-to-the-infinity limit
numerical
Find .
Step 1: Identify the form.
Try it on paper first.
Example 3: Making a piecewise function differentiable
numerical
for and for . Find and so that is differentiable at .
Step 1: First make f continuous at 1.
Try it on paper first.
Example 4: Where is a modulus function not differentiable?
conceptual
Find the points where is not differentiable.
Step 1: Find where each modulus term is zero.
Try it on paper first.
Previous year questions
11 official GATE CSE questions on this topic, newest first.
10 questions: up to 4 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE CSE syllabus; being checked by a reviewer. Updated 2026-11-21. Spotted a mistake? Use Report an issue on any question, or contact us.