Navigation

Concept Review

Differential Calculus

Limit Laws and Algebraic Techniques

Once you know what a limit is, the next job is to compute one. The limit laws let you break a complicated limit into simple pieces, direct substitution disposes of every function that is continuous where you are looking, and a small toolkit of algebraic moves rescues the cases where substitution returns the indeterminate form 00\frac{0}{0}. This matters beyond limit questions: the derivative is defined as a 00\frac{0}{0} limit, so every technique here is a technique you will use in the next topic.

The limit laws

Suppose cc is a constant and that both limits

limxaf(x)=Landlimxag(x)=M\lim_{x \to a} f(x) = L \qquad \text{and} \qquad \lim_{x \to a} g(x) = M

exist and are finite. Then:

LawStatementHypothesis to check
Sum / Differencelimxa(f(x)±g(x))=L±M\lim_{x\to a}\left(f(x)\pm g(x)\right)=L\pm Mboth LL and MM exist
Constant multiplelimxacf(x)=cL\lim_{x\to a} cf(x)=cLLL exists
Productlimxaf(x)g(x)=LM\lim_{x\to a} f(x)g(x)=LMboth LL and MM exist
Quotientlimxaf(x)g(x)=LM\lim_{x\to a}\dfrac{f(x)}{g(x)}=\dfrac{L}{M}M0M\ne 0
Powerlimxa(f(x))n=Ln\lim_{x\to a}\left(f(x)\right)^{n}=L^{n}nn a positive integer
Rootlimxa(f(x))1/n=L1/n\lim_{x\to a}\left(f(x)\right)^{1/n}=L^{1/n}nn odd: no extra condition. nn even: need L>0L>0, or L=0L=0 with f(x)0f(x)\ge 0 near aa, in which case the limit is 00
CompositionlimxaF(g(x))=F(M)\lim_{x\to a} F\left(g(x)\right)=F(M)limxag(x)=M\lim_{x\to a}g(x)=M and FF is continuous at MM

Every law above is equally valid for one-sided limits (xax\to a^{-}, xa+x\to a^{+}).

The laws run one way only. Knowing that lim(f+g)\lim (f+g) exists tells you nothing about limf\lim f and limg\lim g. With f(x)=1xf(x)=\frac1x and g(x)=1xg(x)=-\frac1x, the sum has limit 00 at x=0x=0 although neither piece has a limit there. So you must verify the pieces exist before you split.

Continuity and direct substitution

Definition. ff is continuous at aa when all three of these hold: (i) f(a)f(a) is defined; (ii) limxaf(x)\lim_{x\to a}f(x) exists; (iii) limxaf(x)=f(a)\lim_{x\to a}f(x)=f(a).

Direct Substitution Property. If ff is continuous at aa, then limxaf(x)=f(a)\lim_{x\to a}f(x)=f(a) — you may just plug in. This is always the first thing to try.

FunctionContinuous at
Polynomialsevery real number
Rational p(x)q(x)\dfrac{p(x)}{q(x)}every aa with q(a)0q(a)\ne 0
sinx\sin x, cosx\cos xevery real number
tanx\tan x, secx\sec xevery aa with cosa0\cos a\ne 0
x1/2x^{1/2}every a>0a>0; only right-continuous at a=0a=0
lnx\ln xevery a>0a>0
exe^{x} and other exponentialsevery real number

Sums, differences, products, quotients (nonzero denominator) and compositions of continuous functions are continuous throughout their domains.

The indeterminate form 0/0

If f(x)0f(x)\to 0 and g(x)0g(x)\to 0, the Quotient Law fails its hypothesis (M=0M=0) and gives you nothing. The symbol 00\frac{0}{0} is not a number and not an answer; it is a note to yourself that more algebra is required. Any outcome is still possible:

limx05xx=5,limx0x2x=0,limx0xx3=+ (no finite limit).\lim_{x\to 0}\frac{5x}{x}=5,\qquad \lim_{x\to 0}\frac{x^{2}}{x}=0,\qquad \lim_{x\to 0}\frac{x}{x^{3}}=+\infty\ \text{(no finite limit)}.

Why algebra is legal. A limit as xax\to a never inspects x=ax=a. So for xax\ne a the factor (xa)(x-a) is a genuine nonzero number and may be cancelled. Two functions that agree for all xax\ne a have the same limit at aa, even if one of them is undefined at aa. That single fact licenses every technique below.

Technique 1 — factor and cancel

Use it when top and bottom are polynomials. If both vanish at x=ax=a, the Factor Theorem guarantees (xa)(x-a) divides both.

limx3x2x6x29=limx3(x3)(x+2)(x3)(x+3)=limx3x+2x+3=56\lim_{x\to 3}\frac{x^{2}-x-6}{x^{2}-9}=\lim_{x\to 3}\frac{(x-3)(x+2)}{(x-3)(x+3)}=\lim_{x\to 3}\frac{x+2}{x+3}=\frac{5}{6}

Technique 2 — rationalise

Use it when a square root causes the cancellation to hide. Multiply top and bottom by the conjugate, exploiting (ab)(a+b)=a2b2(a-b)(a+b)=a^{2}-b^{2}. For cube roots use (ab)(a2+ab+b2)=a3b3(a-b)\left(a^{2}+ab+b^{2}\right)=a^{3}-b^{3} instead. You may rationalise the numerator, the denominator, or both.

Technique 3 — clear a complex fraction

Combine the small fractions over a common denominator first, then cancel.

\frac{\frac{1}{3+h}-\frac{1}{3}}{h} &= \frac{1}{h}\cdot\frac{3-(3+h)}{3(3+h)}\\ &= \frac{1}{h}\cdot\frac{-h}{3(3+h)}\\ &= \frac{-1}{3(3+h)}\quad (h\ne 0) \end{aligned}$$ so the limit as $h\to 0$ is $-\frac{1}{9}$. ### Technique 4 — substitution (change of variable) **Statement.** If $\lim_{x\to a}g(x)=b$, if $g(x)\ne b$ for all $x\ne a$ in some open interval around $a$, and if $\lim_{u\to b}F(u)=L$, then $\lim_{x\to a}F\left(g(x)\right)=L$. The middle hypothesis is not decoration: without it the composite can land on the value $F(b)$ and give a different answer. Example: $\lim_{x\to 0}\dfrac{\sin 5x}{x}$. Put $u=5x$, so $x=\frac{u}{5}$ and $u\to 0$ with $u\ne 0$: $$\lim_{u\to 0}\frac{\sin u}{u/5}=5\lim_{u\to 0}\frac{\sin u}{u}=5.$$ ### The Squeeze Theorem **Theorem.** Suppose $g(x)\le f(x)\le h(x)$ for every $x$ in some open interval containing $a$, *except possibly at $x=a$ itself*, and suppose $$\lim_{x\to a}g(x)=\lim_{x\to a}h(x)=L.$$ Then $\lim_{x\to a}f(x)$ exists and equals $L$. Three things to notice. $f$ need not be continuous at $a$ and need not even be defined there. The two outer limits must be **equal** — if they differ, the theorem tells you nothing. The same statement holds for one-sided limits (use a one-sided interval) and for $x\to\pm\infty$. **Worked use.** Evaluate $\lim_{x\to 0}x^{2}\sin\frac{1}{x}$. Substitution is illegal (the function is undefined at $0$ and $\sin\frac1x$ has no limit there). But for every $x\ne 0$, $$-1\le \sin\frac{1}{x}\le 1.$$ Since $x^{2}\ge 0$, multiplying by $x^{2}$ preserves the inequalities: $$-x^{2}\le x^{2}\sin\frac{1}{x}\le x^{2}.$$ Both outer functions are polynomials with limit $0$ at $0$, so the Squeeze Theorem gives $\lim_{x\to 0}x^{2}\sin\frac{1}{x}=0$. ### The two standard trigonometric limits **Angles must be in radians** — the derivations use the sector-area formula $\frac12 r^{2}\theta$, which is a radian formula. $$\lim_{x\to 0}\frac{\sin x}{x}=1,\qquad \lim_{x\to 0}\frac{1-\cos x}{x}=0$$ **Deriving the first.** On the unit circle take $0 < x < \frac{\pi}{2}$, with $O=(0,0)$, $A=(1,0)$, $B=(\cos x,\sin x)$ and $T=(1,\tan x)$. Triangle $OAB$ sits inside sector $OAB$, which sits inside triangle $OAT$, so comparing areas: $$\frac{1}{2}\sin x<\frac{1}{2}x<\frac{1}{2}\tan x.$$ Multiply by $2$ and divide by $\sin x>0$: $$1<\frac{x}{\sin x}<\frac{1}{\cos x}\quad\implies\quad \cos x<\frac{\sin x}{x}<1.$$ As $x\to 0^{+}$ both $\cos x$ and $1$ tend to $1$, so the Squeeze Theorem gives $\lim_{x\to 0^{+}}\frac{\sin x}{x}=1$. The function $\frac{\sin x}{x}$ is even, so the left-hand limit is $1$ too, and the two-sided limit is $1$. **Deriving the second**, from the first: $$\begin{aligned} \frac{1-\cos x}{x} &= \frac{1-\cos x}{x}\cdot\frac{1+\cos x}{1+\cos x}\\ &= \frac{1-\cos^{2}x}{x(1+\cos x)}\\ &= \frac{\sin^{2}x}{x(1+\cos x)}\\ &= \frac{\sin x}{x}\cdot\frac{\sin x}{1+\cos x}\\ &\to 1\cdot\frac{0}{2}=0 \end{aligned}$$ The same algebra with one more $x$ downstairs gives the very useful $\frac{1-\cos x}{x^{2}}=\left(\frac{\sin x}{x}\right)^{2}\cdot\frac{1}{1+\cos x}\to\frac{1}{2}$. | Limit as $x\to 0$ | Value | |---|---| | $\dfrac{\sin x}{x}$ | $1$ | | $\dfrac{\tan x}{x}$ | $1$ | | $\dfrac{\sin kx}{x}$ | $k$ | | $\dfrac{\sin ax}{\sin bx}$ | $\dfrac{a}{b}$, for $b\ne 0$ | | $\dfrac{1-\cos x}{x}$ | $0$ | | $\dfrac{1-\cos x}{x^{2}}$ | $\dfrac{1}{2}$ | | $\dfrac{1-\cos kx}{x^{2}}$ | $\dfrac{k^{2}}{2}$ | ### Worked example A — rationalise, then factor Evaluate $\lim_{x\to 2}\dfrac{\sqrt{x+7}-3}{x^{2}-4}$. Substitution gives $\frac{3-3}{4-4}=\frac00$, so rationalise the numerator: $$\begin{aligned} \frac{\sqrt{x+7}-3}{x^{2}-4} &= \frac{\sqrt{x+7}-3}{x^{2}-4}\cdot\frac{\sqrt{x+7}+3}{\sqrt{x+7}+3}\\ &= \frac{(x+7)-9}{\left(x^{2}-4\right)\left(\sqrt{x+7}+3\right)}\\ &= \frac{x-2}{(x-2)(x+2)\left(\sqrt{x+7}+3\right)}\\ &= \frac{1}{(x+2)\left(\sqrt{x+7}+3\right)}\quad (x\ne 2) \end{aligned}$$ The last expression is continuous at $x=2$ with nonzero denominator, so substitute: $$\lim_{x\to 2}\frac{\sqrt{x+7}-3}{x^{2}-4}=\frac{1}{4\cdot 6}=\frac{1}{24}.$$ ### Worked example B — manufacturing the standard ratios Evaluate $\lim_{x\to 0}\dfrac{\tan 3x}{\sin 5x}$. Substitution gives $\frac00$. Rewrite $\tan 3x=\frac{\sin 3x}{\cos 3x}$ and insert the matching arguments: $$\begin{aligned} \frac{\tan 3x}{\sin 5x} &= \frac{\sin 3x}{\cos 3x\sin 5x}\\ &= \frac{1}{\cos 3x}\cdot\frac{\sin 3x}{3x}\cdot\frac{5x}{\sin 5x}\cdot\frac{3x}{5x}\\ &= \frac{3}{5}\cdot\frac{1}{\cos 3x}\cdot\frac{\sin 3x}{3x}\cdot\frac{5x}{\sin 5x} \end{aligned}$$ As $x\to 0$: $\cos 3x\to 1$, $\frac{\sin 3x}{3x}\to 1$ and $\frac{5x}{\sin 5x}\to 1$ (substitute $u=3x$ and $u=5x$). All three limits exist, so the Product Law applies and $$\lim_{x\to 0}\frac{\tan 3x}{\sin 5x}=\frac{3}{5}.$$ ### Common mistakes | Wrong | Right | |---|---| | $\frac{0}{0}=1$, or $\frac00=0$ | $\frac00$ is indeterminate — it is an instruction to do more algebra, never a value | | "$\lim_{x\to 1}\frac{x^{2}-1}{x-1}$ is undefined because you cannot divide by zero" | the function is undefined at $1$, the *limit* is fine: cancel to get $x+1\to 2$ | | $\frac{x^{2}-9}{x-3}=x+3$ | these agree only for $x\ne 3$ — different domains, but the same limit at $3$, which is all the limit needs | | $\lim\frac{f}{g}=\frac{\lim f}{\lim g}$ always | only when $\lim g\ne 0$ | | $\lim_{x\to 0}\left(\frac{1}{x}-\frac{1}{x}\right)=\lim\frac1x-\lim\frac1x$ | neither piece has a limit, so the Difference Law does not apply; simplify to $0$ first, then the limit is $0$ | | $\lim_{x\to 0}\frac{\sin 3x}{x}=1$ | $=3$: the standard limit needs the argument and the denominator to be identical | | $\lim_{x\to \pi}\frac{\sin x}{x}=1$ | the standard limit lives only at $x\to 0$; here substitution works and gives $\frac{0}{\pi}=0$ | | Using degrees in $\frac{\sin x}{x}$ | in degrees the limit is $\frac{\pi}{180}$, not $1$ — always radians | | Squeezing $x\sin\frac1x$ with $-x\le x\sin\frac1x\le x$ | multiplying an inequality by $x$ reverses it when $x<0$; use a nonnegative multiplier such as $x^{2}$, or squeeze with $-\sqrt{x^{2}}\le x\sin\frac1x\le\sqrt{x^{2}}$ | | "$\lim_{x\to 0}\frac{1}{x^{2}}=\infty$, so the limit exists" | it does not exist; $\infty$ only records *how* it fails | | Squeezing when $\lim g=2$ and $\lim h=5$ | the outer limits must be equal, otherwise the theorem gives no conclusion | | $\lim\left(f\right)^{1/2}=L^{1/2}$ with $L<0$ | if $L<0$ then $\sqrt{f(x)}$ is not even defined for $x$ near $a$; the even-root law needs $L>0$, or $L=0$ together with $f(x)\ge 0$ near $a$, and then the limit is $0$ |

Key terms

  • Limit laws
  • Direct substitution
  • Continuity at a point
  • Indeterminate form 0/0
  • Factor and cancel
  • Conjugate / rationalising
  • Complex fraction
  • Change of variable (substitution)
  • Squeeze Theorem
  • One-sided limit
  • Standard trigonometric limits
  • Radian measure

Practice Problems

Suppose limx2f(x)=5\lim_{x\to 2}f(x)=5 and limx2g(x)=2\lim_{x\to 2}g(x)=-2. Evaluate

limx22f(x)g(x)f(x)+g(x)\lim_{x\to 2}\frac{2f(x)-g(x)}{f(x)+g(x)}

and state which hypothesis you must check before applying the Quotient Law.

Show hint

Work out the limit of the numerator and the limit of the denominator separately, then look hard at the denominator's value.

Show answer

Both given limits exist and are finite, so the Constant Multiple, Difference and Sum Laws apply to the top and bottom separately.

Numerator.

limx2(2f(x)g(x))=2limx2f(x)limx2g(x)=2(5)(2)=10+2=12\lim_{x\to 2}\left(2f(x)-g(x)\right)=2\lim_{x\to 2}f(x)-\lim_{x\to 2}g(x)=2(5)-(-2)=10+2=12

Denominator.

limx2(f(x)+g(x))=limx2f(x)+limx2g(x)=5+(2)=3\lim_{x\to 2}\left(f(x)+g(x)\right)=\lim_{x\to 2}f(x)+\lim_{x\to 2}g(x)=5+(-2)=3

Check the hypothesis. The Quotient Law requires the limit of the denominator to be nonzero. Here it is 303\ne 0, so the law applies:

limx22f(x)g(x)f(x)+g(x)=123=4\lim_{x\to 2}\frac{2f(x)-g(x)}{f(x)+g(x)}=\frac{12}{3}=4

Answer: 44. The hypothesis that must be checked is limx2(f(x)+g(x))0\lim_{x\to 2}\left(f(x)+g(x)\right)\ne 0. Had it been 00, the Quotient Law would say nothing and the limit could be finite, infinite, or nonexistent.

Evaluate limx1x2+3x+2x21\displaystyle\lim_{x\to -1}\frac{x^{2}+3x+2}{x^{2}-1}.

Show hint

Try substitution first and see what form you get; then factor both quadratics.

Show answer

Step 1 — try substitution. At x=1x=-1 the numerator is 13+2=01-3+2=0 and the denominator is 11=01-1=0. The form is 00\frac00, so the Quotient Law does not apply and more work is needed.

Step 2 — factor. Both quadratics vanish at x=1x=-1, so (x+1)(x+1) is a factor of each:

x2+3x+2=(x+1)(x+2),x21=(x+1)(x1)x^{2}+3x+2=(x+1)(x+2),\qquad x^{2}-1=(x+1)(x-1)

Step 3 — cancel. For x1x\ne -1 the factor x+1x+1 is a nonzero number, so it may be cancelled:

x2+3x+2x21=(x+1)(x+2)(x+1)(x1)=x+2x1(x1)\frac{x^{2}+3x+2}{x^{2}-1}=\frac{(x+1)(x+2)}{(x+1)(x-1)}=\frac{x+2}{x-1}\qquad (x\ne -1)

Step 4 — substitute into the simplified form. x+2x1\frac{x+2}{x-1} is a rational function whose denominator at x=1x=-1 is 20-2\ne 0, so it is continuous there and direct substitution is valid:

limx1x+2x1=1+211=12=12\lim_{x\to -1}\frac{x+2}{x-1}=\frac{-1+2}{-1-1}=\frac{1}{-2}=-\frac{1}{2}

Answer: 12-\dfrac{1}{2}.

Evaluate limx09+x3x\displaystyle\lim_{x\to 0}\frac{\sqrt{9+x}-3}{x}.

Show hint

Substitution gives 0/0 and there is nothing to factor, so get rid of the root by multiplying by something clever that equals 1.

Show answer

Step 1 — try substitution. Numerator 93=0\to\sqrt{9}-3=0, denominator 0\to 0. Indeterminate 00\frac00.

Step 2 — rationalise the numerator. Multiply by the conjugate 9+x+3\sqrt{9+x}+3 over itself (this is legal since 9+x+33>0\sqrt{9+x}+3\ge 3>0 for xx near 00):

\frac{\sqrt{9+x}-3}{x} &= \frac{\sqrt{9+x}-3}{x}\cdot\frac{\sqrt{9+x}+3}{\sqrt{9+x}+3}\\ &= \frac{\left(\sqrt{9+x}\right)^{2}-3^{2}}{x\left(\sqrt{9+x}+3\right)}\\ &= \frac{(9+x)-9}{x\left(\sqrt{9+x}+3\right)}\\ &= \frac{x}{x\left(\sqrt{9+x}+3\right)} \end{aligned}$$ **Step 3 — cancel.** For $x\ne 0$: $$\frac{x}{x\left(\sqrt{9+x}+3\right)}=\frac{1}{\sqrt{9+x}+3}$$ **Step 4 — substitute.** The function $\frac{1}{\sqrt{9+x}+3}$ is continuous at $x=0$ (the root is defined and the denominator is $6\ne 0$): $$\lim_{x\to 0}\frac{1}{\sqrt{9+x}+3}=\frac{1}{\sqrt{9}+3}=\frac{1}{6}$$ **Answer: $\dfrac{1}{6}$.** (Sanity check: at $x=0.001$ the original quotient is $0.166662$..., close to $\frac16\approx 0.1667$.)

Evaluate limx0sin7xsin3x\displaystyle\lim_{x\to 0}\frac{\sin 7x}{\sin 3x}.

Show hint

You know sinuu1\frac{\sin u}{u}\to 1, so engineer a 7x7x under the top sine and a 3x3x under the bottom one without changing the expression.

Show answer

Step 1 — check the form. As x0x\to 0 both sin7x0\sin 7x\to 0 and sin3x0\sin 3x\to 0, so this is 00\frac00; the Quotient Law does not apply directly.

Step 2 — insert the matching arguments. For x0x\ne 0 small enough that sin3x0\sin 3x\ne 0, multiply and divide to build the standard ratios:

\frac{\sin 7x}{\sin 3x} &= \frac{\sin 7x}{7x}\cdot\frac{7x}{3x}\cdot\frac{3x}{\sin 3x}\\ &= \frac{7}{3}\cdot\frac{\sin 7x}{7x}\cdot\frac{3x}{\sin 3x} \end{aligned}$$ **Step 3 — apply the standard limit via substitution.** Put $u=7x$: as $x\to 0$ with $x\ne 0$ we get $u\to 0$ with $u\ne 0$, so $\lim_{x\to 0}\frac{\sin 7x}{7x}=\lim_{u\to 0}\frac{\sin u}{u}=1$. Likewise with $v=3x$, $\lim_{x\to 0}\frac{\sin 3x}{3x}=1$, and since that limit is nonzero the Quotient Law gives $\lim_{x\to 0}\frac{3x}{\sin 3x}=\frac{1}{1}=1$. **Step 4 — combine.** All three factors have limits, so the Product Law applies: $$\lim_{x\to 0}\frac{\sin 7x}{\sin 3x}=\frac{7}{3}\cdot 1\cdot 1=\frac{7}{3}$$ **Answer: $\dfrac{7}{3}$.** (Numerical check: at $x=0.001$ the quotient is $2.33332$, heading to $\frac{7}{3}=2.3333$...)

Evaluate limt0(1t1+t1t)\displaystyle\lim_{t\to 0}\left(\frac{1}{t\sqrt{1+t}}-\frac{1}{t}\right).

Show hint

This is an \infty-\infty situation, so combine the two terms over a single denominator before you do anything else.

Show answer

Step 1 — recognise the form. Each term blows up as t0t\to 0, so the Difference Law does not apply (neither piece has a limit). Combine first.

Step 2 — common denominator. For t0t\ne 0 and t>1t>-1:

1t1+t1t=11+tt1+t\frac{1}{t\sqrt{1+t}}-\frac{1}{t}=\frac{1-\sqrt{1+t}}{t\sqrt{1+t}}

This is now 00\frac00.

Step 3 — rationalise the numerator with the conjugate 1+1+t1+\sqrt{1+t}:

\frac{1-\sqrt{1+t}}{t\sqrt{1+t}} &= \frac{1-\sqrt{1+t}}{t\sqrt{1+t}}\cdot\frac{1+\sqrt{1+t}}{1+\sqrt{1+t}}\\ &= \frac{1-(1+t)}{t\sqrt{1+t}\left(1+\sqrt{1+t}\right)}\\ &= \frac{-t}{t\sqrt{1+t}\left(1+\sqrt{1+t}\right)} \end{aligned}$$ **Step 4 — cancel** the factor $t\ne 0$: $$\frac{-t}{t\sqrt{1+t}\left(1+\sqrt{1+t}\right)}=\frac{-1}{\sqrt{1+t}\left(1+\sqrt{1+t}\right)}$$ **Step 5 — substitute.** This is continuous at $t=0$ and its denominator there is $1\cdot(1+1)=2\ne 0$: $$\lim_{t\to 0}\frac{-1}{\sqrt{1+t}\left(1+\sqrt{1+t}\right)}=\frac{-1}{1\cdot 2}=-\frac{1}{2}$$ **Answer: $-\dfrac{1}{2}$.** (Check at $t=0.001$: $999.5004-1000=-0.4996$, consistent.)

It is known that

4x9f(x)x24x+74x-9\le f(x)\le x^{2}-4x+7

for all x0x\ge 0. Find limx4f(x)\lim_{x\to 4}f(x), justifying every hypothesis of the theorem you use.

Show hint

Compare the two bounding functions at the point in question before you conclude anything.

Show answer

Step 1 — name the bounds. Let g(x)=4x9g(x)=4x-9 and h(x)=x24x+7h(x)=x^{2}-4x+7, so g(x)f(x)h(x)g(x)\le f(x)\le h(x).

Step 2 — check the interval hypothesis. The Squeeze Theorem needs the inequality to hold on an open interval containing a=4a=4, except possibly at aa. The inequality is given for all x0x\ge 0, and the open interval (3,5)(3,5) is contained in [0,)[0,\infty) and contains 44. Hypothesis satisfied.

Step 3 — compute the outer limits. Both gg and hh are polynomials, hence continuous everywhere, so direct substitution applies:

limx4g(x)=4(4)9=169=7\lim_{x\to 4}g(x)=4(4)-9=16-9=7

limx4h(x)=424(4)+7=1616+7=7\lim_{x\to 4}h(x)=4^{2}-4(4)+7=16-16+7=7

Step 4 — the outer limits agree. Both equal L=7L=7, which is the remaining hypothesis.

Step 5 — conclude. By the Squeeze Theorem, limx4f(x)\lim_{x\to 4}f(x) exists and

limx4f(x)=7\lim_{x\to 4}f(x)=7

Answer: 77. Note that we never needed a formula for ff, and ff need not be continuous at 44 — the squeeze forces the limit regardless. Note also that the argument works only at x=4x=4: at x=3x=3, for instance, g(3)=3g(3)=3 and h(3)=4h(3)=4 differ, so the theorem would give no conclusion there.

Evaluate limx01cosxxsinx\displaystyle\lim_{x\to 0}\frac{1-\cos x}{x\sin x}.

Show hint

The conjugate trick that produced limx01cosxx=0\lim_{x\to 0}\frac{1-\cos x}{x}=0 works here too.

Show answer

Step 1 — check the form. 1cosx01-\cos x\to 0 and xsinx0x\sin x\to 0, so this is 00\frac00.

Step 2 — multiply by the conjugate 1+cosx1+\cos x. For xx near 00 with x0x\ne 0 we have sinx0\sin x\ne 0 and 1+cosx01+\cos x\ne 0, so:

\frac{1-\cos x}{x\sin x} &= \frac{1-\cos x}{x\sin x}\cdot\frac{1+\cos x}{1+\cos x}\\ &= \frac{1-\cos^{2}x}{x\sin x\left(1+\cos x\right)}\\ &= \frac{\sin^{2}x}{x\sin x\left(1+\cos x\right)}\\ &= \frac{\sin x}{x}\cdot\frac{1}{1+\cos x} \end{aligned}$$ using the Pythagorean identity $1-\cos^{2}x=\sin^{2}x$ and cancelling one factor of $\sin x\ne 0$. **Step 3 — take limits factor by factor.** $\lim_{x\to 0}\frac{\sin x}{x}=1$ (standard limit), and $\frac{1}{1+\cos x}$ is continuous at $0$ with value $\frac{1}{1+1}=\frac12$. Both limits exist, so the Product Law applies: $$\lim_{x\to 0}\frac{1-\cos x}{x\sin x}=1\cdot\frac{1}{2}=\frac{1}{2}$$ **Answer: $\dfrac{1}{2}$.** *Alternative route:* write $\frac{1-\cos x}{x\sin x}=\frac{1-\cos x}{x^{2}}\cdot\frac{x}{\sin x}\to\frac12\cdot 1=\frac12$, using the standard result $\lim_{x\to 0}\frac{1-\cos x}{x^{2}}=\frac12$. Same answer, which is a good independent check.

Evaluate limx1x1/31x1/21\displaystyle\lim_{x\to 1}\frac{x^{1/3}-1}{x^{1/2}-1}.

Show hint

Fractional exponents with denominators 3 and 2 both become whole numbers if you rename xx as a suitable power of a new variable.

Show answer

Step 1 — check the form. At x=1x=1 both x1/31x^{1/3}-1 and x1/21x^{1/2}-1 equal 00: indeterminate 00\frac00.

Step 2 — change variable. Let u=x1/6u=x^{1/6}, so x=u6x=u^{6} with u>0u>0, and then x1/3=u2x^{1/3}=u^{2}, x1/2=u3x^{1/2}=u^{3}.

Hypotheses for the substitution: u=x1/6u=x^{1/6} is continuous on x>0x>0 with u1u\to 1 as x1x\to 1, and u1u\ne 1 whenever x1x\ne 1 (the sixth-root function is strictly increasing on x>0x>0, hence one-to-one). So the change of variable is valid and

limx1x1/31x1/21=limu1u21u31\lim_{x\to 1}\frac{x^{1/3}-1}{x^{1/2}-1}=\lim_{u\to 1}\frac{u^{2}-1}{u^{3}-1}

Step 3 — factor. Using u21=(u1)(u+1)u^{2}-1=(u-1)(u+1) and u31=(u1)(u2+u+1)u^{3}-1=(u-1)\left(u^{2}+u+1\right):

u21u31=(u1)(u+1)(u1)(u2+u+1)=u+1u2+u+1(u1)\frac{u^{2}-1}{u^{3}-1}=\frac{(u-1)(u+1)}{(u-1)\left(u^{2}+u+1\right)}=\frac{u+1}{u^{2}+u+1}\qquad (u\ne 1)

Step 4 — substitute. The simplified expression is a rational function whose denominator at u=1u=1 is 1+1+1=301+1+1=3\ne 0, so it is continuous there:

limu1u+1u2+u+1=23\lim_{u\to 1}\frac{u+1}{u^{2}+u+1}=\frac{2}{3}

Answer: 23\dfrac{2}{3}. (Check at x=1.0001x=1.0001: the original quotient is 0.666660.66666...)

Evaluate limx0(1+x)1/31x\displaystyle\lim_{x\to 0}\frac{(1+x)^{1/3}-1}{x} without using l'Hopital's Rule.

Show hint

The conjugate trick generalises: there is a three-term factor that turns a difference of cube roots into a difference of the radicands.

Show answer

Step 1 — check the form. As x0x\to 0, (1+x)1/31(1+x)^{1/3}\to 1, so the numerator 0\to 0 and the denominator 0\to 0: indeterminate 00\frac00.

Step 2 — set up the cube-root conjugate. Write a=(1+x)1/3a=(1+x)^{1/3}, so a3=1+xa^{3}=1+x, and b=1b=1. The identity is

(ab)(a2+ab+b2)=a3b3(a-b)\left(a^{2}+ab+b^{2}\right)=a^{3}-b^{3}

so multiply top and bottom by a2+a+1a^{2}+a+1:

\frac{(1+x)^{1/3}-1}{x} &= \frac{a-1}{x}\cdot\frac{a^{2}+a+1}{a^{2}+a+1}\\ &= \frac{a^{3}-1}{x\left(a^{2}+a+1\right)}\\ &= \frac{(1+x)-1}{x\left(a^{2}+a+1\right)}\\ &= \frac{x}{x\left(a^{2}+a+1\right)} \end{aligned}$$ This multiplication is legitimate because $a^{2}+a+1\ne 0$ for real $a$ (its discriminant is $1-4=-3<0$), and in fact $a^{2}+a+1\to 3$ near $x=0$. **Step 3 — cancel** the factor $x\ne 0$: $$\frac{x}{x\left(a^{2}+a+1\right)}=\frac{1}{a^{2}+a+1}=\frac{1}{(1+x)^{2/3}+(1+x)^{1/3}+1}$$ **Step 4 — substitute.** The cube root is continuous everywhere, so the denominator is continuous at $x=0$ with value $1+1+1=3\ne 0$: $$\lim_{x\to 0}\frac{(1+x)^{1/3}-1}{x}=\frac{1}{3}$$ **Answer: $\dfrac{1}{3}$.** (Check at $x=0.001$: $\frac{1.000333222-1}{0.001}=0.33322$..., heading to $\frac13$. This limit is also the derivative of $(1+x)^{1/3}$ at $x=0$, and $\frac{d}{dx}(1+x)^{1/3}=\frac13(1+x)^{-2/3}$ equals $\frac13$ there — an independent confirmation.)

Evaluate limx01cos4xxtan2x\displaystyle\lim_{x\to 0}\frac{1-\cos 4x}{x\tan 2x}.

Show hint

Convert the tangent to sine over cosine, then arrange every sine so that its argument also appears underneath it.

Show answer

Step 1 — check the form. 1cos4x01-\cos 4x\to 0 and xtan2x0x\tan 2x\to 0: indeterminate 00\frac00.

Step 2 — remove the tangent and the cosine. For x0x\ne 0 small (so sin2x0\sin 2x\ne 0, cos2x0\cos 2x\ne 0, 1+cos4x01+\cos 4x\ne 0):

\frac{1-\cos 4x}{x\tan 2x} &= \frac{1-\cos 4x}{x}\cdot\frac{\cos 2x}{\sin 2x}\\ &= \frac{1-\cos 4x}{x}\cdot\frac{\cos 2x}{\sin 2x}\cdot\frac{1+\cos 4x}{1+\cos 4x}\\ &= \frac{1-\cos^{2}4x}{x\sin 2x}\cdot\frac{\cos 2x}{1+\cos 4x}\\ &= \frac{\sin^{2}4x}{x\sin 2x}\cdot\frac{\cos 2x}{1+\cos 4x} \end{aligned}$$ **Step 3 — force the standard ratios.** Replace $\sin 4x=\frac{\sin 4x}{4x}\cdot 4x$ and $\sin 2x=\frac{\sin 2x}{2x}\cdot 2x$: $$\frac{\sin^{2}4x}{x\sin 2x}=\frac{\left(\frac{\sin 4x}{4x}\right)^{2}\left(4x\right)^{2}}{x\cdot\frac{\sin 2x}{2x}\cdot 2x}=\frac{16x^{2}}{2x^{2}}\cdot\frac{\left(\frac{\sin 4x}{4x}\right)^{2}}{\frac{\sin 2x}{2x}}=8\cdot\frac{\left(\frac{\sin 4x}{4x}\right)^{2}}{\frac{\sin 2x}{2x}}$$ so altogether $$\frac{1-\cos 4x}{x\tan 2x}=8\cdot\frac{\left(\frac{\sin 4x}{4x}\right)^{2}}{\frac{\sin 2x}{2x}}\cdot\frac{\cos 2x}{1+\cos 4x}$$ **Step 4 — take limits.** By substitution $u=4x$ and $u=2x$, both $\frac{\sin 4x}{4x}\to 1$ and $\frac{\sin 2x}{2x}\to 1$ (nonzero, so the Quotient Law is allowed); $\cos 2x\to 1$; $1+\cos 4x\to 2\ne 0$. Hence $$\lim_{x\to 0}\frac{1-\cos 4x}{x\tan 2x}=8\cdot\frac{1^{2}}{1}\cdot\frac{1}{2}=4$$ **Answer: $4$.** *Independent check with the standard results.* $\frac{1-\cos 4x}{x^{2}}\to\frac{4^{2}}{2}=8$ and $\frac{x\tan 2x}{x^{2}}=\frac{\tan 2x}{x}\to 2$, so the ratio tends to $\frac{8}{2}=4$. Numerically at $x=0.01$ the quotient is $3.99893$, and at $x=0.001$ it is $3.99999$.

Use the Squeeze Theorem to evaluate

limx0x2esin(1/x)\lim_{x\to 0}x^{2}e^{\sin(1/x)}

stating the inequality you use and why it is valid.

Show hint

Bound the exponent first, then use the fact that the exponential function is increasing.

Show answer

Step 1 — why substitution fails. The function is undefined at x=0x=0, and sin1x\sin\frac1x oscillates without limit as x0x\to 0, so no limit law reaches this directly. But the oscillating factor is bounded, which is exactly the squeeze situation.

Step 2 — bound the exponent. For every x0x\ne 0,

1sin1x1-1\le \sin\frac{1}{x}\le 1

Step 3 — apply the exponential. The exponential function ete^{t} is increasing on all of the reals, so applying it preserves the inequalities:

e1esin(1/x)e1e^{-1}\le e^{\sin(1/x)}\le e^{1}

Step 4 — multiply by x2x^{2}. Since x20x^{2}\ge 0, multiplying an inequality by x2x^{2} preserves its direction (this is the step that would fail if we multiplied by xx, which is negative on one side of 00):

x2ex2esin(1/x)ex2\frac{x^{2}}{e}\le x^{2}e^{\sin(1/x)}\le e\,x^{2}

valid for every xx in, say, the open interval (1,1)(-1,1) except x=0x=0 — precisely the hypothesis the Squeeze Theorem asks for.

Step 5 — the outer limits. By the Constant Multiple Law and continuity of x2x^{2}:

limx0x2e=0e=0,limx0ex2=e0=0\lim_{x\to 0}\frac{x^{2}}{e}=\frac{0}{e}=0,\qquad \lim_{x\to 0}e\,x^{2}=e\cdot 0=0

They are equal, so L=0L=0.

Step 6 — conclude. By the Squeeze Theorem the middle limit exists and

limx0x2esin(1/x)=0\lim_{x\to 0}x^{2}e^{\sin(1/x)}=0

Answer: 00. (Numerically at x=0.001x=0.001 the value is about 2.3×1062.3\times 10^{-6}, and at x=0.0001x=0.0001 about 7.4×1097.4\times 10^{-9}.)

Find constants aa and bb such that

limx0a+bx3x=2.\lim_{x\to 0}\frac{\sqrt{a+bx}-3}{x}=2.

Justify why aa is forced to take the value you claim.

Show hint

If the bottom tends to 0 and the whole quotient tends to a finite number, what is forced on the top? Write the numerator as (quotient) times (denominator).

Show answer

Step 1 — force the numerator to vanish. Write N(x)=a+bx3N(x)=\sqrt{a+bx}-3 and D(x)=xD(x)=x, and suppose the stated limit holds, so limx0N(x)D(x)=2\lim_{x\to 0}\frac{N(x)}{D(x)}=2. Since limx0D(x)=0\lim_{x\to 0}D(x)=0 and both of these limits exist, the Product Law gives

limx0N(x)=limx0(N(x)D(x)D(x))=20=0\lim_{x\to 0}N(x)=\lim_{x\to 0}\left(\frac{N(x)}{D(x)}\cdot D(x)\right)=2\cdot 0=0

So the numerator must tend to 00. (If instead a30\sqrt{a}-3\ne 0, the quotient would be a nonzero number divided by something tending to 00, which is unbounded — it could never converge to 22.)

Step 2 — solve for aa. We need a0a\ge 0 for the root to be defined, and the square-root function is continuous there, so limx0a+bx=a\lim_{x\to 0}\sqrt{a+bx}=\sqrt{a}. Setting a3=0\sqrt{a}-3=0:

a=3    a=9\sqrt{a}=3\quad\implies\quad a=9

Step 3 — now find bb by rationalising. With a=9a=9, note 9+bx>09+bx>0 for all xx close enough to 00, so the expression is defined on a punctured interval around 00. For x0x\ne 0:

\frac{\sqrt{9+bx}-3}{x} &= \frac{\sqrt{9+bx}-3}{x}\cdot\frac{\sqrt{9+bx}+3}{\sqrt{9+bx}+3}\\ &= \frac{(9+bx)-9}{x\left(\sqrt{9+bx}+3\right)}\\ &= \frac{bx}{x\left(\sqrt{9+bx}+3\right)}\\ &= \frac{b}{\sqrt{9+bx}+3} \end{aligned}$$ **Step 4 — take the limit and match.** The last expression is continuous at $x=0$ with denominator $3+3=6\ne 0$, so $$\lim_{x\to 0}\frac{\sqrt{9+bx}-3}{x}=\frac{b}{6}$$ Setting $\frac{b}{6}=2$ gives $b=12$. **Answer: $a=9$ and $b=12$.** **Verification.** With these values, $\frac{\sqrt{9+12x}-3}{x}=\frac{12}{\sqrt{9+12x}+3}\to\frac{12}{6}=2$. Numerically at $x=0.001$: $\frac{\sqrt{9.012}-3}{0.001}=1.99933$..., as required.