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

Intuition

Approach the point from below (xax\to a^-) and from above (xa+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 =limxaf(x)=\lim_{x\to a^-}f(x), RHL =limxa+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.

LHLRHLx = a : LHL ≠ RHL → limit DNE

Worked example

For f(x)={x+1,x<0x2,x0f(x)=\begin{cases}x+1,&x<0\\ x^2,&x\ge 0\end{cases}, find limx0f(x)\lim_{x\to 0}f(x).
  1. LHL =limx0(x+1)=1=\lim_{x\to0^-}(x+1)=1; RHL =limx0+x2=0=\lim_{x\to0^+}x^2=0.
  2. LHL \neq RHL.
Answer:The limit does not exist.
Practice this conceptself-check · 4 quick reps

Try it yourself

Find limx0x2+x+xx\lim_{x\to 0}\dfrac{x^2+x+|x|}{x}.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    Two-sided limit exists iff?
  2. 2.
    Notation for the right-hand limit?
  3. 3.
    If LHL =2=2, RHL =2=2, limit?
  4. 4.
    If LHL =1=1, RHL =1=-1, limit?

From the bank · past-year question

Example 1Limits & ContinuityMODERATE
Let f(x)=axx+1+b, x<1f(x)=\frac{ax}{x+1}+b,\ x<1 and x1, 1x2\sqrt{x-1},\ 1\leq x\leq2.
What is limx0f(x)\lim_{x\to0}f(x) equal to?

[Q64 · Sep · 2023]

Concept 2 of 3

Limits of the greatest-integer function

Intuition

The greatest-integer function x\lfloor x\rfloor jumps at every integer: just below nn it equals n1n-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: limxnx=n1\lim_{x\to n^-}\lfloor x\rfloor=n-1, limxn+x=n\lim_{x\to n^+}\lfloor x\rfloor=n — so limxnx\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).

Worked example

Find limx2x\lim_{x\to 2}\lfloor x\rfloor (if it exists).
  1. LHL =limx2x=1=\lim_{x\to2^-}\lfloor x\rfloor=1; RHL =limx2+x=2=\lim_{x\to2^+}\lfloor x\rfloor=2.
  2. They differ.
Answer:Does not exist (LHL =1=1, RHL =2=2).
Practice this conceptself-check · 4 quick reps

Try it yourself

Find limx0xx\lim_{x\to 0^-}\dfrac{\lfloor x\rfloor}{|x|}.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    limx3x\lim_{x\to3^-}\lfloor x\rfloor?
  2. 2.
    limx3+x\lim_{x\to3^+}\lfloor x\rfloor?
  3. 3.
    Does limxnx\lim_{x\to n}\lfloor x\rfloor exist at an integer nn?
  4. 4.
    x\lfloor x\rfloor on (2,3)(2,3)?

From the bank · past-year question

Example 2Limits & ContinuityEASY
If f(x)=[x]xf(x)=\frac{[x]}{|x|}, x0x\ne0, where [][\cdot] denotes the greatest integer function, then what is the right-hand limit of f(x)f(x) at x=1x=1?

[Q77 · Sep · 2021]

Concept 3 of 3

Limits involving the modulus

Intuition

A modulus splits at its zero: x=x|x|=x for x0x\ge 0 and x-x for x<0x<0. Near that split the sign flips, so x/xx/|x| and similar ratios have different one-sided values. Watch for hidden moduli from square roots like 1cosθ=2sinθ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. xx\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 limx55xx5\lim_{x\to 5}\dfrac{5-x}{|x-5|} (if it exists).
  1. For x>5x>5: x5=x5|x-5|=x-5, ratio =(x5)x5=1=\dfrac{-(x-5)}{x-5}=-1. For x<5x<5: x5=5x|x-5|=5-x, ratio =+1=+1.
  2. RHL =1=-1, LHL =+1=+1.
Answer:Does not exist (the two sides give ±1\pm 1).
Practice this conceptself-check · 4 quick reps

Try it yourself

Evaluate limθ0+1cosθθ\lim_{\theta\to 0^+}\dfrac{\sqrt{1-\cos\theta}}{\theta}.

Practice — Level 1 (4 reps)

Quick reps to lock in the method. Try each, then check.

  1. 1.
    x/xx/|x| for x>0x>0?
  2. 2.
    x/xx/|x| for x<0x<0?
  3. 3.
    A2=?\sqrt{A^2}=?
  4. 4.
    Does limx0xx\lim_{x\to0}\dfrac{x}{|x|} exist?

From the bank · past-year question

Example 3Limits & ContinuityEASY
What is limx55xx5\lim_{x\to5}\dfrac{5-x}{|x-5|} equal to?

[Q99 · Apr · 2023]

Mastery check — 5 interleaved questions

Try each one before clicking. Questions are interleaved across the concepts above, not grouped — interleaving sharpens transfer.

Example 1Limits & ContinuityEASY
Which one of the following is correct regarding limx3x3x3\displaystyle\lim_{x\to3}\dfrac{|x-3|}{x-3}?

[Q74 · Sep · 2024]

Example 2Limits & ContinuityMODERATE
Consider the following for the items that follow: Let f(x)=sin[π2]x+cos[π2]xf(x)=\sin[\pi^{2}]x+\cos[-\pi^{2}]x where [][\cdot] is a greatest integer function.
What is f ⁣(π2)f\!\left(\dfrac{\pi}{2}\right) equal to?

[Q79 · Apr · 2023]

Example 3Limits & ContinuityMODERATE
If f(x)=x2+x+xxf(x) = \frac{x^2+x+|x|}{x}, then what is limx0f(x)\lim_{x\to 0} f(x) equal to?

[Q86 · Sep · 2022]

Example 4Limits & ContinuityMODERATE
For the following two (02) items: Let f(x)={1cos2xx2,x<09,x=0x(16+x)4,x>0f(x)=\begin{cases}\dfrac{1-\cos2x}{x^2}, & x<0\\ 9, & x=0\\ \dfrac{\sqrt{x}}{\sqrt{(16+\sqrt{x})}-4}, & x>0\end{cases}
What is limx0+f(x)\displaystyle\lim_{x\to 0^+}f(x) equal to?

[Q72 · Sep · 2025]

Example 5Limits & ContinuityHARD
Let f(x)=x+1f(x)=|x|+1, g(x)=[x]1g(x)=[x]-1, h(x)=f(x)g(x)h(x)=f(x)\cdot g(x). What is limx0h(x)+limx0+h(x)\displaystyle\lim_{x\to0^-}h(x)+\lim_{x\to0^+}h(x) equal to?

[Q88 · Apr · 2024]

Drill every past-year question on this subtopic

16 questions from the bank — paginated, with cart and Word-export support.

Related notes