NIMCET, GATE, CUET & CBSE test series are live — start practicing free
syllabuzAI

One-Sided Limits and Limits at Infinity | NIMCET

Learn left-hand and right-hand limits, when a limit exists, limits at infinity for rational functions, limits of greatest integer and modulus functions, and the sandwich theorem, for NIMCET.

4 min read

SP

SHIVAM PRADHAN

Updated 25 October 2026

On this page

Quick answer: The left-hand limit lim⁡x→a−f(x)\lim_{x \to a^-}f(x) uses values just below a; the right-hand limit lim⁡x→a+f(x)\lim_{x \to a^+}f(x) uses values just above. lim⁡x→af(x)\lim_{x \to a}f(x) exists only if both are finite and equal. As x→∞x \to \infty, a rational function's limit depends on degrees: 0 if the numerator's degree is lower, the ratio of leading coefficients if equal, and ±∞ if higher. The sandwich theorem says that if g≤f≤hg \le f \le h and g,h→Lg, h \to L, then f→Lf \to L.

This continues from standard limits and L'Hospital's rule.

One-sided limits

NotationMeaning
lim⁡x→a−f(x)\lim_{x \to a^-}f(x)LHL: put x=a−hx = a - h, h→0+h \to 0^+
lim⁡x→a+f(x)\lim_{x \to a^+}f(x)RHL: put x=a+hx = a + h, h→0+h \to 0^+
lim⁡x→af(x)\lim_{x \to a}f(x) existsLHL = RHL (finite)

Functions where one-sided limits matter

Function at the pointLHLRHLLimit
[x][x] at x=2x = 212Does not exist
∣x∣x\frac{\lvert x\rvert}{x} at x=0x = 0−11Does not exist
∣x∣\lvert x\rvert at x=0x = 0000
1x\frac{1}{x} at x=0x = 0−∞-\infty+∞+\inftyDoes not exist
e1xe^{\frac{1}{x}} at x=0x = 00∞\inftyDoes not exist
xsin⁡1xx\sin\frac{1}{x} at x=0x = 0000

For [x][x] at any integer n: LHL =n−1= n - 1 and RHL =n= n.

Limits at infinity

For amxm+…bnxn+…\frac{a_mx^m + \ldots}{b_nx^n + \ldots} as x→∞x \to \infty:

DegreesLimit
m<nm < n0
m=nm = nambn\frac{a_m}{b_n}
m>nm > n±∞\pm\infty

Method: divide the numerator and denominator by the highest power of x in the denominator.

Other useful results:

LimitValue
lim⁡x→∞1xk\lim_{x \to \infty}\frac{1}{x^k}, k>0k > 00
lim⁡x→∞e−x\lim_{x \to \infty}e^{-x}0
lim⁡x→∞ln⁡xx\lim_{x \to \infty}\frac{\ln x}{x}0
lim⁡x→∞sin⁡xx\lim_{x \to \infty}\frac{\sin x}{x}0
lim⁡x→∞x1x\lim_{x \to \infty}x^{\frac{1}{x}}1

Sandwich (squeeze) theorem

If g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) near a, and lim⁡g=lim⁡h=L\lim g = \lim h = L, then lim⁡f=L\lim f = L.

Example: since −∣x∣≤xsin⁡1x≤∣x∣-\lvert x\rvert \le x\sin\frac{1}{x} \le \lvert x\rvert and both bounds go to 0, lim⁡x→0xsin⁡1x=0\lim_{x \to 0}x\sin\frac{1}{x} = 0.

Worked examples

Example 1: a piecewise function

Let f(x)=2x+1f(x) = 2x + 1 for x<1x < 1 and f(x)=kx2f(x) = kx^2 for x≥1x \ge 1. Find k so that lim⁡x→1f(x)\lim_{x \to 1}f(x) exists.

LHL =3= 3, RHL =k= k, so k=3k = 3.

Example 2: rational function at infinity

lim⁡x→∞3x2−5x+12x2+7=32\lim_{x \to \infty}\frac{3x^2 - 5x + 1}{2x^2 + 7} = \frac{3}{2}

Example 3: square roots at infinity

lim⁡x→∞(x2+x−x)=lim⁡x→∞xx2+x+x=12\lim_{x \to \infty}\left(\sqrt{x^2 + x} - x\right) = \lim_{x \to \infty}\frac{x}{\sqrt{x^2 + x} + x} = \frac{1}{2}

Example 4: greatest integer

Find lim⁡x→0[x]x\lim_{x \to 0}\frac{[x]}{x} if it exists.

RHL: for small positive x, [x]=0[x] = 0, so the value is 0. LHL: for small negative x, [x]=−1[x] = -1, so −1x→+∞\frac{-1}{x} \to +\infty. The limit does not exist.

Example 5: sandwich with the greatest integer

Find lim⁡x→∞[x]x\lim_{x \to \infty}\frac{[x]}{x}.

Since x−1<[x]≤xx - 1 < [x] \le x, we get 1−1x<[x]x≤11 - \frac{1}{x} < \frac{[x]}{x} \le 1, so the limit is 1.

Summary table

IdeaKey result
Limit existsLHL = RHL
[x][x] at integer nLHL n−1n - 1, RHL nn
Rational, equal degreesRatio of leading coefficients
∞−∞\infty - \infty with rootsRationalise
SandwichTrap f between two functions with the same limit

Exam tips

  • Whenever [x][x], ∣x∣\lvert x\rvert or a piecewise rule appears, compute LHL and RHL separately.
  • For x→−∞x \to -\infty with square roots, remember x2=−x\sqrt{x^2} = -x.
  • Bounded × (something going to 0) gives 0.

Next, read continuity and types of discontinuity, or see the NIMCET Calculus chapter.

Common mistakes

  • Saying a limit exists when only one side is computed.
  • Taking [−0.5]=0[-0.5] = 0 instead of −1.
  • Writing x2=x\sqrt{x^2} = x for negative x.
  • Treating ∞−∞\infty - \infty as 0.

Frequently Asked Questions

When does the limit of a function exist?

When the left-hand and right-hand limits both exist, are finite and are equal.

What is the limit of [x] as x approaches an integer n?

The left-hand limit is n − 1 and the right-hand limit is n, so the limit does not exist.

How do you find the limit of a rational function at infinity?

Compare degrees: 0 if the top degree is smaller, the ratio of leading coefficients if equal, and infinite if larger.

What is the sandwich theorem?

If g(x) ≤ f(x) ≤ h(x) and both g and h tend to L, then f also tends to L.

What is the limit of sin x / x as x approaches infinity?

It is 0, because sin x is bounded and 1/x goes to 0.

Concept Check

MEDIUM

A couple has two children. Given that at least one of them is a girl, what is the probability that both children are girls?

Suggested for you