← Back to course

Math — Mechina

Limits

Summary

The limit lim⁡x→af(x)=L\lim_{x\to a}f(x)=L says: as xx gets close to aa (without reaching it), the values of f(x)f(x) get close to LL. In the placement test, plugging in almost always gives "00\frac00" — you change the expression so the troublesome factor cancels.

Notation

lim⁡x→a\lim_{x\to a}
The limit as xx approaches aa
x→a+x\to a^+
Approaching from the right (values greater than aa)
00, ∞∞\frac00,\ \frac\infty\infty
"Indeterminate forms": plugging in says nothing, you must simplify
lim⁡x→0sin⁡xx=1,lim⁡x→01−cos⁡xx2=12,lim⁡x→0ex−1x=1,lim⁡x→0ln⁡(1+x)x=1\lim_{x\to0}\frac{\sin x}{x}=1,\qquad \lim_{x\to0}\frac{1-\cos x}{x^2}=\frac12,\qquad \lim_{x\to0}\frac{e^x-1}{x}=1,\qquad \lim_{x\to0}\frac{\ln(1+x)}{x}=1
f′(a)=lim⁡h→0f(a+h)−f(a)h=lim⁡x→af(x)−f(a)x−af'(a)=\lim_{h\to0}\frac{f(a+h)-f(a)}{h}=\lim_{x\to a}\frac{f(x)-f(a)}{x-a}
  • Polynomials and fractions: factor and cancel (x−a)(x-a): x2−9x−3=x+3→6\frac{x^2-9}{x-3}=x+3\to6.
  • Roots: multiply by the conjugate, (A−B)(A+B)=A−B(\sqrt A-\sqrt B)(\sqrt A+\sqrt B)=A-B.
  • Trig: bring it to the form sin⁡(kx)kx→1\frac{\sin(kx)}{kx}\to1, so sin⁡5xx=5⋅sin⁡5x5x→5\frac{\sin 5x}{x}=5\cdot\frac{\sin5x}{5x}\to5.
  • Hidden derivative: an expression of the form f(a+h)−f(a)h\frac{f(a+h)-f(a)}{h} is f′(a)f'(a) — no limit to compute.
  • At infinity: divide by the highest power of the denominator. 3x2+12x2−x→32\frac{3x^2+1}{2x^2-x}\to\frac32.
  • Growth rate (x→∞x\to\infty): ln⁡x≪xn≪ex≪xx\ln x\ll x^n\ll e^x\ll x^x. The ratio of "weak" to "strong" tends to 00.
-6-4-2246-0.4-0.20.20.40.60.811.2xysin x / x
sin⁡xx\frac{\sin x}{x} is undefined at 00, but the graph approaches 11 from both sides.

Question types

1

00\frac00 in a fraction or with a root

Plugging in gives 00\frac00; the expression has polynomials or roots.

Worked example

Compute lim⁡x→4x−2x−4\lim_{x\to4}\frac{\sqrt x-2}{x-4}.

Solution

IdeaA root minus a number — multiply by the conjugate to clear the root from the numerator.
  1. Plug in: 2−20=00\frac{2-2}{0}=\frac00.

    Why: We need to simplify.

  2. Multiply the numerator and denominator by x+2\sqrt x+2.

    Why: The conjugate of x−2\sqrt x-2.

  3. The numerator: (x−2)(x+2)=x−4(\sqrt x-2)(\sqrt x+2)=x-4.

    Why: (a−b)(a+b)=a2−b2(a-b)(a+b)=a^2-b^2.

  4. x−4(x−4)(x+2)=1x+2\frac{x-4}{(x-4)(\sqrt x+2)}=\frac1{\sqrt x+2}.

    Why: Cancel x−4≠0x-4\neq0.

  5. Plug in x=4x=4: 12+2=14\frac1{2+2}=\frac14.
Checkx=4.01x=4.01: 2.002498−20.01≈0.2498\frac{2.002498-2}{0.01}\approx0.2498 ✓.
Common mistakeMultiplying only the numerator by the conjugate and forgetting the denominator.

Variants of this type · 2

1.1Factoring

Worked example

lim⁡x→2x3−8x2−4\lim_{x\to2}\frac{x^3-8}{x^2-4}

Solution

Ideaa3−b3=(a−b)(a2+ab+b2)a^3-b^3=(a-b)(a^2+ab+b^2).
  1. (x−2)(x2+2x+4)(x−2)(x+2)=x2+2x+4x+2\frac{(x-2)(x^2+2x+4)}{(x-2)(x+2)}=\frac{x^2+2x+4}{x+2}.
  2. x=2x=2: 124=3\frac{12}4=3.
Checkx=2.001x=2.001: ≈3.0005\approx3.0005 ✓.
Common mistakex3−8=(x−2)3x^3-8=(x-2)^3.
1.2two roots

Worked example

lim⁡x→01+x−1−xx\lim_{x\to0}\frac{\sqrt{1+x}-\sqrt{1-x}}{x}

Solution

IdeaThe conjugate of a difference of roots.
  1. The numerator times 1+x+1−x\sqrt{1+x}+\sqrt{1-x}: (1+x)−(1−x)=2x(1+x)-(1-x)=2x.
  2. 2xx(1+x+1−x)→22=1\frac{2x}{x(\sqrt{1+x}+\sqrt{1-x})}\to\frac22=1.
Checkx=0.01x=0.01: ≈1.00\approx1.00 ✓.
Common mistake1+x−1−x=2x\sqrt{1+x}-\sqrt{1-x}=\sqrt{2x}.
2

Trigonometric limits

sin⁡\sin, tan⁡\tan or 1−cos⁡1-\cos as x→0x\to0.

Worked example

Compute lim⁡x→0sin⁡3xtan⁡5x\lim_{x\to0}\frac{\sin 3x}{\tan 5x}.

Solution

IdeaNear 00, every sin⁡(kx)\sin(kx) and tan⁡(kx)\tan(kx) "behaves like" kxkx.
  1. sin⁡3xtan⁡5x=sin⁡3x3x⋅5xtan⁡5x⋅3x5x\frac{\sin3x}{\tan5x}=\frac{\sin3x}{3x}\cdot\frac{5x}{\tan5x}\cdot\frac{3x}{5x}.

    Why: Multiply and divide to build sin⁡uu\frac{\sin u}u.

  2. sin⁡3x3x→1\frac{\sin3x}{3x}\to1, 5xtan⁡5x→1\frac{5x}{\tan5x}\to1.

    Why: tan⁡uu=sin⁡uu⋅1cos⁡u→1\frac{\tan u}u=\frac{\sin u}u\cdot\frac1{\cos u}\to1.

  3. What is left is 3x5x=35\frac{3x}{5x}=\frac35.
Checkx=0.01x=0.01: 0.0299960.050042≈0.599\frac{0.029996}{0.050042}\approx0.599 ✓.
Common mistakeCancelling "sin⁡\sin" against "tan⁡\tan", or the 3x3x inside the sine with the xx outside.

Variants of this type · 2

2.11−cos⁡1-\cos

Worked example

lim⁡x→01−cos⁡4xx2\lim_{x\to0}\frac{1-\cos 4x}{x^2}

Solution

Idea1−cos⁡u≈u221-\cos u\approx\frac{u^2}2.
  1. 1−cos⁡4x(4x)2⋅16→12⋅16\frac{1-\cos4x}{(4x)^2}\cdot16\to\frac12\cdot16.
  2. =8=8.
Checkx=0.01x=0.01: 1−cos⁡0.040.0001≈7.999\frac{1-\cos0.04}{0.0001}\approx7.999 ✓.
Common mistake12⋅4=2\frac12\cdot4=2 — forgetting to square the 44.
2.2A root with trig

Worked example

lim⁡x→01+sin⁡x−1sin⁡x\lim_{x\to0}\frac{\sqrt{1+\sin x}-1}{\sin x}

Solution

IdeaThe conjugate, and then sin⁡x\sin x cancels.
  1. (1+sin⁡x)−1sin⁡x(1+sin⁡x+1)=11+sin⁡x+1\frac{(1+\sin x)-1}{\sin x(\sqrt{1+\sin x}+1)}=\frac1{\sqrt{1+\sin x}+1}.
  2. →12\to\frac12.
Checkx=0.01x=0.01: ≈0.4988\approx0.4988 ✓.
Common mistakeTrying the trig limit before the conjugate.
3

The derivative by definition

An expression of the form f(a+kh)−f(a)h\frac{f(a+kh)-f(a)}{h} or t(f(a+ct)−f(a))t\left(f(a+\frac ct)-f(a)\right), with f′(a)f'(a) given.

Worked example

Given f′(3)=4f'(3)=4. Compute lim⁡h→0f(3+2h)−f(3−h)h\lim_{h\to0}\frac{f(3+2h)-f(3-h)}{h}.

Solution

IdeaSplit into two differences against f(3)f(3), and build the exact definition of the derivative in each.
  1. f(3+2h)−f(3−h)=[f(3+2h)−f(3)]−[f(3−h)−f(3)]f(3+2h)-f(3-h)=[f(3+2h)-f(3)]-[f(3-h)-f(3)].

    Why: Add and subtract f(3)f(3).

  2. f(3+2h)−f(3)h=2⋅f(3+2h)−f(3)2h→2f′(3)\frac{f(3+2h)-f(3)}{h}=2\cdot\frac{f(3+2h)-f(3)}{2h}\to2f'(3).

    Why: The step is 2h2h, so divide by 2h2h.

  3. f(3−h)−f(3)h=−f(3−h)−f(3)−h→−f′(3)\frac{f(3-h)-f(3)}{h}=-\frac{f(3-h)-f(3)}{-h}\to-f'(3).

    Why: The step is −h-h.

  4. In total 2f′(3)−(−f′(3))=3f′(3)=122f'(3)-(-f'(3))=3f'(3)=12.
CheckWith f(x)=4xf(x)=4x: 4(3h)h=12\frac{4(3h)}{h}=12 ✓.
Common mistake2f′(3)−f′(3)=42f'(3)-f'(3)=4 — forgetting the sign of the step −h-h.

Variants of this type · 2

3.1A limit at infinity

Worked example

f′(3)=4f'(3)=4. lim⁡t→∞t(f(3+5t)−f(3))\lim_{t\to\infty}t\left(f(3+\frac5t)-f(3)\right)

Solution

Ideah=1t→0h=\frac1t\to0.
  1. t(…)=f(3+5h)−f(3)ht(\ldots)=\frac{f(3+5h)-f(3)}{h}.
  2. →5f′(3)=20\to5f'(3)=20.
Checkf=4xf=4x: t⋅20t=20t\cdot\frac{20}t=20 ✓.
Common mistake44 — forgetting the coefficient 55.
3.2A limit that is the derivative of a known function

Worked example

lim⁡x→π4tan⁡x−1x−π4\lim_{x\to\frac\pi4}\frac{\tan x-1}{x-\frac\pi4}

Solution

IdeaThis is f′(π4)f'(\frac\pi4) for f=tan⁡xf=\tan x.
  1. f′=1cos⁡2xf'=\frac1{\cos^2x}.
  2. 1(22)2=2\frac1{(\frac{\sqrt2}2)^2}=2.
Checkx=0.7954x=0.7954: ≈2.02\approx2.02 ✓.
Common mistakeTrying to simplify tan⁡x−1\tan x-1 algebraically.
4

Limits at infinity and growth rates

x→±∞x\to\pm\infty: a fraction of polynomials, a difference of roots, or comparing growth rates.

Worked example

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

Solution

Idea"∞−∞\infty-\infty" with a root — the conjugate, then divide by xx.
  1. (x2+6x)−x2x2+6x+x=6xx2+6x+x\frac{(x^2+6x)-x^2}{\sqrt{x^2+6x}+x}=\frac{6x}{\sqrt{x^2+6x}+x}.

    Why: Multiply by the conjugate.

  2. Divide the numerator and denominator by xx: 61+6x+1\frac6{\sqrt{1+\frac6x}+1}.

    Why: For x>0x>0, x2=x\sqrt{x^2}=x.

  3. 6x→0\frac6x\to0, so the limit is 62=3\frac62=3.
Checkx=1000x=1000: 1006000−1000≈2.996\sqrt{1006000}-1000\approx2.996 ✓.
Common mistakex2+6x≈x\sqrt{x^2+6x}\approx x, so 00 — that is exactly "∞−∞\infty-\infty".

Variants of this type · 2

4.1Which function grows faster

Worked example

Order from smallest to largest (for large xx): x10x^{10}, exe^x, ln⁡5x\ln^5x, xxx^x.

Solution

IdeaLogarithm ≪\ll power ≪\ll exponential ≪xx\ll x^x.
  1. ln⁡5x≪x10≪ex≪xx\ln^5x\ll x^{10}\ll e^x\ll x^x.
Checkxx=exln⁡xx^x=e^{x\ln x} — the exponent grows faster than xx ✓.
Common mistakeThinking that x10x^{10} is "bigger" than exe^x because it is at first.
4.2A fraction of polynomials

Worked example

lim⁡x→−∞2x3−x5−4x3\lim_{x\to-\infty}\frac{2x^3-x}{5-4x^3}

Solution

IdeaThe same leading power — the ratio of the coefficients.
  1. 2−4=−12\frac{2}{-4}=-\frac12.
Checkx=−100x=-100: ≈−0.5\approx-0.5 ✓.
Common mistake12\frac12 — ignoring the sign in the denominator.

Practice · 22

Test yourself with problems and full solutions.

Go to practice