How GATE treats approaching a value: one-sided limits, standard forms, infinity, L’Hospital, and the traps that cost marks.
25 min
What a limit is
A limit answers: as x gets close to a, what does f(x) get close to? It does not ask what f(a) is. The function can have a hole, a different value, or be undefined at a, and the limit can still exist.
x→alimf(x)=L
Read: f(x) can be made as close to L as you want by taking x close enough to a, but not equal to a.
GATE almost never wants an ε–δ proof. It wants you to evaluateL, or decide that L does not exist as a real number.
One-sided limits
x→a−limf(x)(left),x→a+limf(x)(right)
Approach a only from below, or only from above. Piecewise definitions and absolute values live or die on this.
Worked example
Left and right of ∣x∣/x
Find limx→0−x∣x∣ and limx→0+x∣x∣.
Solution. For x<0, ∣x∣=−x, so ∣x∣/x=−1. For x>0, ∣x∣=x, so ∣x∣/x=1. Left limit is −1, right limit is 1.
When the two-sided limit exists
The two-sided limit exists and equals Lif and only if both one-sided limits exist, are finite, and are equal:
x→alimf(x)=L⟺x→a−limf(x)=x→a+limf(x)=L
If they disagree, the limit does not exist. If f(x)→+∞ or −∞, write that as a description of growth, but GATE CS treats it as not a finite limit.
Oscillation is the other common case: sin(1/x) as x→0 keeps hitting −1 and 1 in every neighbourhood of 0.
Algebra of limits
If limf=L and limg=M (both finite), then
lim(f±g)=L±M,lim(fg)=LM,limgf=ML(M=0)
Also limc=c and limx=a. Composition: if g is continuous at L, then limg(f(x))=g(L). You may not split a product or quotient when one factor blows up or the form is indeterminate.
The GATE evaluation toolkit
Work in this order. Stop at the first method that kills the indeterminate form.
Direct substitution
If f is a polynomial, a rational with nonzero denominator, sin, cos, exp, or ln at a point in its domain, plug in.
Factor and cancel
0/0 from polynomials: factor, cancel the vanishing term, then substitute.
Worked example
Hole in a rational function
limx→2x−2x2−4
Solution. x2−4=(x−2)(x+2). For x=2 the quotient is x+2, so the limit is 4. The graph is the line y=x+2 with a hole at x=2.
Rationalize
Roots producing 0/0: multiply by the conjugate.
Worked example
Conjugate
limx→0x1+x−1
Solution. Multiply numerator and denominator by 1+x+1: 1+x+11→21.
Limits at infinity
For rationals, divide numerator and denominator by the highest power of x in the denominator.
x→∞limbmxm+⋯anxn+⋯=⎩⎨⎧0an/bm±∞n<mn=mn>m
Worked example
Dominant terms
limx→∞2x2−53x2+1
Solution. Divide by x2: 2−5/x23+1/x2→23.
Same idea as n→∞ for sequences.
Standard limits
Memorize these in radians. Almost every GATE limit rewrites into one of them.
Set t equal to the inner expression that is going to 0 or ∞, rewrite, then apply a standard limit. This is how sin(5x)/x becomes 5⋅sinu/u.
Indeterminate forms
These are not numbers. They mean the limit is not obvious; rewrite.
The dangerous GATE trap is 1∞. It is not1. Take log: if y=fg, then lny=glnf, find limlny=L, then the original limit is eL.
Worked example
The 1∞ form
limn→∞(1+n2)n
Solution. This is (1+na)n with a=2, so the limit is e2.
L’Hôpital’s rule
If f and g are differentiable near a (except possibly at a), g′=0 there, and the limit is 0/0 or ∞/∞, then
x→alimg(x)f(x)=x→alimg′(x)f′(x)
if the right-hand limit exists (or is ±∞). You may repeat. Convert 0⋅∞ to a quotient first. Convert 1∞ by taking ln.
GATE uses this when standard limits would be messy, not as a first resort for sinx/x.
Worked example
When Taylor is the fastest check
limx→0x3tanx−x
Solution. 0/0. Differentiate: 3x2sec2x−1=3x2tan2x, still 0/0. Differentiate again, or use tanx=x+x3/3+⋯, so (tanx−x)/x3→1/3. Answer: 1/3.
Squeeze theorem
If g(x)≤f(x)≤h(x) near a and limg=limh=L, then limf=L.
The GATE instance is bounded oscillation times something going to 0:
∣xsin(1/x)∣≤∣x∣→0⟹x→0limxsin(1/x)=0
Same for x2sin(1/x). Contrast: sin(1/x) alone is not squeezed to a single value.
Sequences
In GATE CS, n is a positive integer, but the same algebra applies. Typical asks: (1+1/n)n→e, (1+1/n)2n→e2, and polynomials versus exponentials (nk/an→0 for a>1). Treat them like limits at infinity.
Piecewise functions
Write the left- and right-hand limits from the formula that applies on that side. Do not plug the junction formula from the wrong piece.
Worked example
Jump
f(x)={x+12xx<0x≥0. Does limx→0f(x) exist?
Solution. Left-hand limit =1, right-hand limit =0. The two-sided limit does not exist.
Worked example
Limit ignores the defined point
f(x)=x−1x2−1 for x=1, and f(1)=3. Find limx→1f(x).
Solution. For x=1, f(x)=x+1→2. The limit is 2, not 3.
What you do not need for GATE CS
No ε–δ proofs, no multivariable limits, no series tests. Partial derivatives and gradient are not in the CS Calculus syllabus.
Formula sheet
Check yourself
Practice
Q1 · 1 markMCQ
limx→0xsin3x equals
Q2 · 1 markNAT
limx→0x21−cosx equals (numerical value)
Q3 · 1 markMCQ
limx→0x∣x∣
Q4 · 1 markNAT
limx→0sin2xsin4x equals
Q5 · 1 markMCQ
Let f(x)=x−1x2−1 for x=1 and f(1)=3. Then limx→1f(x) is
Q6 · 2 marksNAT
limx→∞4x2−12x2+3x equals
Q7 · 2 marksMSQ
Which of the following limits exist and are finite?