∑GATE DA Atlas

Functions of a Single Variable and Limits

Functions, domain and range, composition and inverses, even/odd and monotone functions, the meaning of a limit, one-sided limits, limit laws, the standard limits you must memorise, indeterminate forms, L'Hôpital's rule, the squeeze theorem, limits at infinity and asymptotes.

Section 310 practice questions

Functions

A function f:D→Rf: D \to \mathbb R assigns to each xx in its domain DD exactly one value f(x)f(x); the set of values is the range.

ConceptMeaning
Domain restrictionsno division by zero, no even roots of negatives, logs need positive arguments
Composition(f∘g)(x)=f(g(x))(f\circ g)(x) = f(g(x)); domain = {x∈Dg:g(x)∈Df}\{x \in D_g : g(x) \in D_f\}
Inverseexists iff ff is one-to-one; f−1(f(x))=xf^{-1}(f(x)) = x; graph reflected in y=xy = x
Even / oddf(−x)=f(x)f(-x) = f(x) (symmetric about the yy-axis) / f(−x)=−f(x)f(-x) = -f(x) (symmetric about the origin)
Monotoneincreasing if x1<x2⇒f(x1)≤f(x2)x_1 < x_2 \Rightarrow f(x_1) \le f(x_2)
Periodicf(x+T)=f(x)f(x + T) = f(x)
Bounded∣f(x)∣≤M\lvert f(x)\rvert \le M for all xx

Functions that appear constantly in data science: polynomials, exe^x and ln⁡x\ln x, the sigmoid σ(x)=1/(1+e−x)\sigma(x) = 1/(1 + e^{-x}) (range (0,1)(0,1), σ(−x)=1−σ(x)\sigma(-x) = 1 - \sigma(x), σ′=σ(1−σ)\sigma' = \sigma(1 - \sigma)), tanh⁡x\tanh x, ReLU max⁡(0,x)\max(0, x), ∣x∣\lvert x\rvert, and the floor/ceiling functions.

Limits

lim⁡x→af(x)=L\lim_{x\to a}f(x) = L means f(x)f(x) can be made as close to LL as we like by taking xx close enough (but not equal) to aa. Formally: for every ε>0\varepsilon > 0 there is a δ>0\delta > 0 with 0<∣x−a∣<δ⇒∣f(x)−L∣<ε0 < \lvert x - a\rvert < \delta \Rightarrow \lvert f(x) - L\rvert < \varepsilon.

  • The value f(a)f(a) itself is irrelevant — it may not even be defined.
  • One-sided limits: lim⁡x→a−\lim_{x\to a^-} and lim⁡x→a+\lim_{x\to a^+}. The two-sided limit exists iff both exist and are equal.

Limit laws

If lim⁡f=L\lim f = L and lim⁡g=M\lim g = M: sums, differences, products and constant multiples behave as expected; lim⁡f/g=L/M\lim f/g = L/M if M≠0M \ne 0; lim⁡fn=Ln\lim f^n = L^n; and for continuous hh, lim⁡h(f(x))=h(L)\lim h(f(x)) = h(L).

Standard limits to memorise

LimitValue
lim⁡x→0sin⁡xx\lim_{x\to0}\frac{\sin x}{x}, lim⁡x→0tan⁡xx\lim_{x\to0}\frac{\tan x}{x}1
lim⁡x→01−cos⁡xx2\lim_{x\to0}\frac{1 - \cos x}{x^2}12\frac12
lim⁡x→0ex−1x\lim_{x\to0}\frac{e^x - 1}{x}1
lim⁡x→0ax−1x\lim_{x\to0}\frac{a^x - 1}{x}ln⁡a\ln a
lim⁡x→0ln⁡(1+x)x\lim_{x\to0}\frac{\ln(1 + x)}{x}1
lim⁡x→0(1+x)1/x\lim_{x\to0}(1 + x)^{1/x}, lim⁡x→∞(1+1/x)x\lim_{x\to\infty}(1 + 1/x)^xee
lim⁡x→∞(1+a/x)x\lim_{x\to\infty}(1 + a/x)^{x}eae^a
lim⁡x→axn−anx−a\lim_{x\to a}\frac{x^n - a^n}{x - a}nan−1na^{n-1}
lim⁡x→∞xkex\lim_{x\to\infty}\frac{x^k}{e^x}, lim⁡x→∞ln⁡xxk\lim_{x\to\infty}\frac{\ln x}{x^k} (k>0k > 0)0
lim⁡x→0+xx\lim_{x\to0^+}x^x1

Growth hierarchy as x→∞x \to \infty: ln⁡x≪xk≪ax (a>1)≪x!≪xx\ln x \ll x^k \ll a^x\ (a > 1) \ll x! \ll x^x.

Indeterminate forms

00,∞∞,0⋅∞,∞−∞,00,1∞,∞0\frac00, \frac\infty\infty, 0\cdot\infty, \infty - \infty, 0^0, 1^\infty, \infty^0 — the form alone does not determine the limit.

L'Hôpital's rule

If lim⁡fg\lim\frac{f}{g} is 00\frac00 or ±∞±∞\frac{\pm\infty}{\pm\infty}, and lim⁡f′g′\lim\frac{f'}{g'} exists (or is ±∞\pm\infty), then lim⁡fg=lim⁡f′g′\lim\frac fg = \lim\frac{f'}{g'}. Apply repeatedly if the form persists. Check the form first — applying it to a determinate form gives wrong answers.

Squeeze (sandwich) theorem

If g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) near aa and lim⁡g=lim⁡h=L\lim g = \lim h = L, then lim⁡f=L\lim f = L. Example: −x2≤x2sin⁡(1/x)≤x2-x^2 \le x^2\sin(1/x) \le x^2, so x2sin⁡(1/x)→0x^2\sin(1/x) \to 0 as x→0x\to0.

Limits at infinity and asymptotes

  • Rational functions amxm+…bnxn+…\frac{a_mx^m + \dots}{b_nx^n + \dots} as x→±∞x\to\pm\infty: 0 if m<nm < n; am/bna_m/b_n if m=nm = n; ±∞\pm\infty if m>nm > n.
  • Horizontal asymptote y=Ly = L if lim⁡x→±∞f(x)=L\lim_{x\to\pm\infty}f(x) = L (the sigmoid has y=0y = 0 and y=1y = 1).
  • Vertical asymptote x=ax = a if f(x)→±∞f(x) \to \pm\infty as x→a±x \to a^\pm (e.g. ln⁡x\ln x at x=0x = 0).
  • Oblique asymptote y=mx+cy = mx + c with m=lim⁡f(x)/xm = \lim f(x)/x and c=lim⁡(f(x)−mx)c = \lim(f(x) - mx).

Sequences

lim⁡n→∞an\lim_{n\to\infty}a_n follows the same rules. Useful facts: rn→0r^n \to 0 for ∣r∣<1\lvert r\rvert < 1; n1/n→1n^{1/n} \to 1; (1+xn)n→ex\left(1 + \frac{x}{n}\right)^n \to e^x; a monotone bounded sequence converges.

Quick revision

Practice questions

GATE-style questions: 4 one-mark and 6 two-mark. Wrong MCQs cost ⅓ of their marks in the real exam; MSQ and NAT have no negative marking. Attempt each before opening the solution.

Q1NAT1 mark

lim⁡x→0sin⁡3xx=\displaystyle\lim_{x\to 0}\frac{\sin 3x}{x} = ______.

Q2NAT2 marks

lim⁡x→01−cos⁡xx2=\displaystyle\lim_{x \to 0}\frac{1 - \cos x}{x^2} = ______.

Q3NAT2 marks

lim⁡x→∞(1+2x)x=\displaystyle\lim_{x\to\infty}\left(1 + \frac{2}{x}\right)^{x} = ______ (round to two decimals).

Q4MCQ1 mark

lim⁡x→0∣x∣x\displaystyle\lim_{x \to 0}\frac{\lvert x\rvert}{x}

Q5NAT2 marks

lim⁡x→0x−sin⁡xx3=\displaystyle\lim_{x \to 0}\frac{x - \sin x}{x^3} = ______ (round to three decimals).

Q6NAT1 mark

lim⁡x→2x2−4x−2=\displaystyle\lim_{x\to 2}\frac{x^2 - 4}{x - 2} = ______.

Q7MCQ2 marks

lim⁡x→0+xln⁡x\displaystyle\lim_{x\to 0^+} x\ln x equals

Q8NAT2 marks

lim⁡x→∞(x2+x−x)=\displaystyle\lim_{x \to \infty}\left(\sqrt{x^2 + x} - x\right) = ______.

Q9MSQ1 mark

Which of the following are indeterminate forms (whose limit value cannot be decided from the form alone)?

One or more options are correct.

Q10NAT2 marks

lim⁡n→∞(1−1n)2n=\displaystyle\lim_{n\to\infty}\left(1 - \frac1n\right)^{2n} = ______ (round to two decimals).