PYQ Vault

NDA Maths · Limits & Continuity

One-Sided, Greatest-Integer & Modulus Limits

When the function behaves differently on the two sides of a point — a modulus, a greatest-integer step, or a piecewise rule — you must compute the left and right limits separately.

Why this matters

These are where 'the limit doesn't exist' answers come from. The greatest-integer and modulus functions are the NDA's favourite trap: the two sides genuinely disagree, so blindly substituting gives the wrong answer.

Concept 1 of 3: Left-hand and right-hand limits

Approach the point from below (x→a−x\to a^-) and from above (x→a+x\to a^+) separately. If the two agree, the limit is that common value; if they differ, the two-sided limit does not exist. Essential whenever the rule changes at the point.

Definition

LHL =lim⁡x→a−f(x)=\lim_{x\to a^-}f(x), RHL =lim⁡x→a+f(x)=\lim_{x\to a^+}f(x). The limit exists iff LHL == RHL. For a piecewise ff, use the piece valid on each side; for a product/quotient of one-sided-sensitive parts, evaluate each side end-to-end. The squeeze (sandwich) theorem is the tool for a bounded factor times something that dies: if g≤f≤hg\le f\le h near the point and g,h→Lg,h\to L, then f→Lf\to L. Standard uses: ∣cos⁡x∣≤1|\cos x|\le1 gives cos⁡xx→0\dfrac{\cos x}{x}\to0 as x→∞x\to\infty and xsin⁡1x→0x\sin\tfrac1x\to0 as x→0x\to0; x−1<⌊x⌋≤xx-1<\lfloor x\rfloor\le x gives ⌊x⌋x→1\dfrac{\lfloor x\rfloor}{x}\to1 as x→∞x\to\infty. Note sin⁡1x\sin\tfrac1x alone has NO limit at 0 — the bounded factor must be multiplied by something tending to 0.

LHLRHLx = a : LHL ≠ RHL → limit DNE

Worked example

For f(x)={x+1,x<0x2,x≥0f(x)=\begin{cases}x+1,&x<0\\ x^2,&x\ge 0\end{cases}, find lim⁡x→0f(x)\lim_{x\to 0}f(x).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2023 · Q64Moderate

Example 1 · Limits & Continuity · One-Sided Limits, Greatest Integer, and Absolute Value Limits

Consider the following for the items that follow: Let f(x)={ax(x+1)+b,x<1x−1,1≤x≤2f(x)=\begin{cases}ax(x+1)+b, & x<1\\ x-1, & 1\leq x\leq 2\end{cases}
What is lim⁡x→0f(x)\lim_{x\to0}f(x) equal to?

One-sided limits must AGREE for the limit to exist

If LHL =2=2 and RHL =2=2 the limit is 22; but if LHL ≠\neq RHL — say 11 and −1-1 — the two-sided limit does not exist. Don't average them or pick one side: disagreement means DNE.

Concept 2 of 3: Limits of the greatest-integer function

The greatest-integer function ⌊x⌋\lfloor x\rfloor jumps at every integer: just below nn it equals n−1n-1, at and just above nn it equals nn. So at an integer the one-sided limits differ by 1 — almost every ⌊x⌋\lfloor x\rfloor limit is a one-sided question in disguise.

Definition

At an integer nn: lim⁡x→n−⌊x⌋=n−1\lim_{x\to n^-}\lfloor x\rfloor=n-1, lim⁡x→n+⌊x⌋=n\lim_{x\to n^+}\lfloor x\rfloor=n — so lim⁡x→n⌊x⌋\lim_{x\to n}\lfloor x\rfloor does not exist. Between integers ⌊x⌋\lfloor x\rfloor is constant. For ⌊g(x)⌋\lfloor g(x)\rfloor, track which integers gg crosses near the point (e.g. ⌊x2⌋\lfloor x^2\rfloor near x=0x=0). Negatives round the other way: ⌊−y⌋=−⌊y⌋−1\lfloor -y\rfloor=-\lfloor y\rfloor-1 for non-integer yy (and =−⌊y⌋=-\lfloor y\rfloor when yy is an integer). So ⌊π2⌋=9\lfloor\pi^2\rfloor=9 but ⌊−π2⌋=−10\lfloor-\pi^2\rfloor=-10, and ⌊x⌋+⌊−x⌋=−1\lfloor x\rfloor+\lfloor-x\rfloor=-1 for every non-integer xx. A limit like lim⁡x→π⌊−x2⌋\lim_{x\to\pi}\lfloor -x^2\rfloor (constant −10-10 near π\pi, since π2≈9.87\pi^2\approx9.87 is not an integer) is decided entirely by this rule; trig values at 9π2\tfrac{9\pi}{2}, 5π5\pi etc. reduce by period first.

Worked example

Find lim⁡x→2⌊x⌋\lim_{x\to 2}\lfloor x\rfloor (if it exists).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2021 · Q77Easy

Example 2 · Limits & Continuity · One-Sided Limits, Greatest Integer, and Absolute Value Limits

If f(x)=[x]∣x∣f(x)=\frac{[x]}{|x|}, x≠0x\ne0, where [⋅][\cdot] denotes the greatest integer function, then what is the right-hand limit of f(x)f(x) at x=1x=1?

⌊x⌋ jumps at integers — the limit there does NOT exist

Approaching an integer nn: lim⁡x→n−⌊x⌋=n−1\lim_{x\to n^-}\lfloor x\rfloor=n-1 while lim⁡x→n+⌊x⌋=n\lim_{x\to n^+}\lfloor x\rfloor=n. The off-by-one is the trap — just below 33, ⌊x⌋=2\lfloor x\rfloor=2, not 33. Between integers ⌊x⌋\lfloor x\rfloor is constant, so the limit exists only at non-integers.

Concept 3 of 3: Limits involving the modulus

A modulus splits at its zero: ∣x∣=x|x|=x for x≥0x\ge 0 and −x-x for x<0x<0. Near that split the sign flips, so x/∣x∣x/|x| and similar ratios have different one-sided values. Watch for hidden moduli from square roots like 1−cos⁡θ=2 ∣sin⁡θ2∣\sqrt{1-\cos\theta}=\sqrt2\,|\sin\tfrac\theta2|.

Definition

Replace ∣g(x)∣|g(x)| by +g+g on the side where g>0g>0 and −g-g where g<0g<0, then take each one-sided limit. x∣x∣\dfrac{x}{|x|} is +1+1 for x>0x>0 and −1-1 for x<0x<0. A surd hides a modulus: A2=∣A∣\sqrt{A^2}=|A|, which is sign-sensitive.

Worked example

Find lim⁡x→55−x∣x−5∣\lim_{x\to 5}\dfrac{5-x}{|x-5|} (if it exists).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2023 · Q99Easy

Example 3 · Limits & Continuity · One-Sided Limits, Greatest Integer, and Absolute Value Limits

What is lim⁡x→55−x∣x−5∣\lim_{x\to5}\dfrac{5-x}{|x-5|} equal to?

x / |x| is +1 on the right, −1 on the left

Because ∣x∣=x|x|=x for x>0x>0 and −x-x for x<0x<0, x∣x∣=+1\dfrac{x}{|x|}=+1 as x→0+x\to0^+ and −1-1 as x→0−x\to0^-. The two-sided lim⁡x→0x∣x∣\lim_{x\to0}\dfrac{x}{|x|} therefore does not exist — it is never 00 or 11.

A square root hides a modulus

A2=∣A∣\sqrt{A^2}=|A|, not AA. So 1−cos⁡θ=2 ∣sin⁡θ2∣\sqrt{1-\cos\theta}=\sqrt2\,\bigl|\sin\tfrac\theta2\bigr|, which is sign-sensitive — the right and left limits of 1−cos⁡θθ\dfrac{\sqrt{1-\cos\theta}}{\theta} come out ±12\pm\tfrac{1}{\sqrt2}.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Watch out for (4)

Test yourself on Limits & Continuity

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.