Homepage

MATH 119 · Week 02 · Section 161

Limits and continuity

1

Limits

1a

lim⁡x→2(x3−8)sin⁡1x3−8\lim_{x\to 2}(x^3-8)\sin\frac{1}{x^3-8}
  1. At x=2x=2 the sine is asked for 1/01/0, so the expression is undefined. Substitution is illegal. The sine factor has no limit: its argument tends to infinity and it keeps oscillating.
  2. For every real tt, ∣sin⁡t∣≤1|\sin t|\le 1. For x≠2x\neq 2,
    −∣x3−8∣≤(x3−8)sin⁡1x3−8≤∣x3−8∣.-|x^3-8|\le (x^3-8)\sin\frac{1}{x^3-8}\le |x^3-8|.
  3. Both ∣x3−8∣|x^3-8| and −∣x3−8∣-|x^3-8| tend to 0 as x→2x\to 2. They are defined on a punctured neighborhood of 2. The Squeeze Theorem gives the limit of the middle expression, so the limit equals 0.
1.61.822.22.4-505
  • ∣x3−8∣|x^3-8|
  • −∣x3−8∣-|x^3-8|
  • (x3−8)sin⁡1x3−8(x^3-8)\sin\frac{1}{x^3-8}
  • Half-width0.55
  • Envelope at the edge8.581
  • Vertical scale±9.268
Every wave stays between the dashed curves. Zoom in: the vertical scale collapses to 0, which is the squeeze.

Next

1b

lim⁡x→∞4x3+4x2+13x6+x4−12\lim_{x\to\infty}\frac{4x^3+4x^2+1}{\sqrt{3x^6+x^4-12}}
  1. This is an ∞/∞\infty/\infty form. Factor x3x^3 from the numerator and x6x^6 from inside the root:
    x3(4+4x+1x3)x6(3+1x2−12x6).\frac{x^3\left(4+\frac{4}{x}+\frac{1}{x^3}\right)}{\sqrt{x^6\left(3+\frac{1}{x^2}-\frac{12}{x^6}\right)}}.
  2. x6=∣x3∣\sqrt{x^6}=|x^3|. Since x→+∞x\to+\infty, eventually x>0x>0, so ∣x3∣=x3|x^3|=x^3. The powers cancel:
    4+4x+1x33+1x2−12x6.\frac{4+\frac{4}{x}+\frac{1}{x^3}}{\sqrt{3+\frac{1}{x^2}-\frac{12}{x^6}}}.
  3. The inside of the root tends to 33, and 3>03>0. The square root is continuous at 3, so the denominator tends to 3\sqrt{3} and the limit is 4/34/\sqrt{3}.
51015202345678
  • quotient
  • 4/34/\sqrt{3}
After x6=x3\sqrt{x^6}=x^3 is cancelled for x>0x>0, the remaining expression settles at 4/34/\sqrt{3}.

Next

1c · 1d

lim⁡x→−∞1x2+2x−xlim⁡x→−∞1x2+2x+x\lim_{x\to-\infty}\frac{1}{\sqrt{x^2+2x}-x} \qquad \lim_{x\to-\infty}\frac{1}{\sqrt{x^2+2x}+x}

For x<−2x<-2 the expression under the root is positive. In both limits,

x2+2x=x2(1+2x)=∣x∣1+2x.\sqrt{x^2+2x}=\sqrt{x^2\left(1+\frac{2}{x}\right)}=|x|\sqrt{1+\frac{2}{x}}.

As x→−∞x\to-\infty, ∣x∣=−x|x|=-x, so the square root equals −x1+2/x-x\sqrt{1+2/x}.

  1. 1c. The denominator is −x1+2/x−x=−x(1+2/x+1)-x\sqrt{1+2/x}-x=-x\left(\sqrt{1+2/x}+1\right). Divide numerator and denominator by −x-x, which tends to +∞+\infty:
    1/(−x)1+2/x+1→01+1=0.\frac{1/(-x)}{\sqrt{1+2/x}+1}\to\frac{0}{1+1}=0.
    The denominator tends to 2, so the quotient law applies.
  2. 1d. Here x2+2x\sqrt{x^2+2x} and xx cancel. For x<−2x<-2 the conjugate x2+2x−x\sqrt{x^2+2x}-x is nonzero, because x2+2x=−x\sqrt{x^2+2x}=-x would force x=0x=0. Multiply by it:
    1x2+2x+x=x2+2x−x2x=−x1+2/x−x2x=−1+2/x+12.\frac{1}{\sqrt{x^2+2x}+x} =\frac{\sqrt{x^2+2x}-x}{2x} =\frac{-x\sqrt{1+2/x}-x}{2x} =-\frac{\sqrt{1+2/x}+1}{2}.
    The square root is continuous at 1, so the limit is −(1+1)/2=−1-(1+1)/2=-1.
-35-30-25-20-15-10-500.10.20.30.40.50.60.7
  • 1/(x2+2x−x)1/(\sqrt{x^2+2x}-x)
-35-30-25-20-15-10-5-1.2-1-0.8-0.6-0.4
  • 1/(x2+2x+x)1/(\sqrt{x^2+2x}+x)
  • x-12
  • √(x²+2x)10.954
  • |x| = −x12
  • Q1c0.0436
  • Q1d-0.9564
For x<0x<0, the square root tracks ∣x∣=−x|x|=-x. In Q1c that term is added to −x-x, so the denominator grows. In Q1d it is added to xx, so the denominator cancels down to a constant.

Next

1e

lim⁡x→∞sin⁡x3x\lim_{x\to\infty}\frac{\sin x}{3x}
  1. sin⁡x\sin x has no limit as x→∞x\to\infty, so the quotient law does not apply directly. For x>0x>0,
    ∣sin⁡x3x∣≤13x,\left|\frac{\sin x}{3x}\right|\le\frac{1}{3x},
    hence
    −13x≤sin⁡x3x≤13x.-\frac{1}{3x}\le\frac{\sin x}{3x}\le\frac{1}{3x}.
  2. Both ±1/(3x)\pm 1/(3x) tend to 0. The Squeeze Theorem on (0,∞)(0,\infty) gives the limit 0.
10203040-1-0.500.51
  • 1/(3x)1/(3x)
  • −1/(3x)-1/(3x)
  • sin⁡x/(3x)\sin x/(3x)
∣sin⁡x∣≤1|\sin x|\le 1 puts the quotient between two curves that both tend to 0.

Next

1f

lim⁡x→−∞sin⁡(πx2+5x+1x2+1−π6)\lim_{x\to-\infty}\sin\left(\frac{\pi x^2+5x+1}{x^2+1}-\frac{\pi}{6}\right)
  1. First take the inside. Divide numerator and denominator by x2x^2:
    π+5/x+1/x21+1/x2→π,\frac{\pi+5/x+1/x^2}{1+1/x^2}\to\pi,
    so the inside tends to π−π/6=5π/6\pi-\pi/6=5\pi/6.
  2. Sine is continuous at 5π/65\pi/6. If lim⁡u(x)=L\lim u(x)=L and gg is continuous at LL, then lim⁡g(u(x))=g(L)\lim g(u(x))=g(L). Therefore the limit is sin⁡(5π/6)=1/2\sin(5\pi/6)=1/2.
-40-30-20-102.42.452.52.552.62.652.72.75
  • inside the sine
  • 5π/65\pi/6
-40-30-20-100.350.40.450.50.550.60.65
  • sine of the inside
  • 1/21/2
The inside settles at 5π/65\pi/6. Sine is continuous there, so it passes through the limit and the value is 1/21/2.

Next

1g

lim⁡x→∞(x2+x−x2−x)\lim_{x\to\infty}\left(\sqrt{x^2+x}-\sqrt{x^2-x}\right)
  1. This is an ∞−∞\infty-\infty form. For x>1x>1 both roots are defined. Multiply by the conjugate:
    (x2+x)−(x2−x)x2+x+x2−x=2xx2+x+x2−x.\frac{(x^2+x)-(x^2-x)}{\sqrt{x^2+x}+\sqrt{x^2-x}} =\frac{2x}{\sqrt{x^2+x}+\sqrt{x^2-x}}.
  2. Factor x2x^2 out of each root. For x>0x>0, x2=∣x∣=x\sqrt{x^2}=|x|=x, so
    21+1/x+1−1/x→21+1=1.\frac{2}{\sqrt{1+1/x}+\sqrt{1-1/x}}\to\frac{2}{1+1}=1.
    The square root is continuous at 1.
510152025300.811.21.4
  • original difference
  • after rationalizing
  • 11
  • √(x²+x)8.485
  • √(x²−x)7.483
  • difference1.002
Each square root grows like xx. Their difference is the solid curve, and it agrees with the rationalized expression. Both tend to 1.

Next

1h

lim⁡x→∞x2(2+sin⁡2x)3x+1\lim_{x\to\infty}\frac{x^2(2+\sin^2 x)}{3x+1}
  1. sin⁡2x\sin^2 x oscillates between 0 and 1 and has no limit. For every xx,
    2≤2+sin⁡2x≤3.2\le 2+\sin^2 x\le 3.
  2. For x>0x>0 the denominator is positive, so
    2x23x+1≤x2(2+sin⁡2x)3x+1≤3x23x+1.\frac{2x^2}{3x+1}\le\frac{x^2(2+\sin^2 x)}{3x+1}\le\frac{3x^2}{3x+1}.
  3. The lower bound simplifies to 2x/(3+1/x)2x/(3+1/x), which tends to +∞+\infty. A quantity sitting above a function that tends to +∞+\infty also tends to +∞+\infty.
5101520250510152025
  • 3x2/(3x+1)3x^2/(3x+1)
  • 2x2/(3x+1)2x^2/(3x+1)
  • quotient
sin⁡2x\sin^2 x keeps swinging between 0 and 1. The quotient stays between two curves that both climb to +∞+\infty.

Next

2

Limit laws

2a

lim⁡x→a(f(x)+g(x))=2,lim⁡x→a(f(x)−g(x))=5.\lim_{x\to a}\bigl(f(x)+g(x)\bigr)=2, \qquad \lim_{x\to a}\bigl(f(x)-g(x)\bigr)=5.
Find lim⁡x→af(x)g(x)\lim_{x\to a} f(x)g(x).
  1. The separate functions are
    f=(f+g)+(f−g)2,g=(f+g)−(f−g)2.f=\frac{(f+g)+(f-g)}{2},\qquad g=\frac{(f+g)-(f-g)}{2}.
    The sum and difference laws apply to the two given limits, so both limits exist:
    lim⁡f=2+52=72,lim⁡g=2−52=−32.\lim f=\frac{2+5}{2}=\frac72,\qquad \lim g=\frac{2-5}{2}=-\frac32.
  2. Both limits are finite, so the product law applies:
    lim⁡fg=72⋅(−32)=−214.\lim fg=\frac72\cdot\left(-\frac32\right)=-\frac{21}{4}.

Next

2b

lim⁡x→3f(x)−5x−3=4.\lim_{x\to 3}\frac{f(x)-5}{x-3}=4.
Show that lim⁡x→3f(x)\lim_{x\to 3}f(x) exists, and find it.

The quotient has the shape of a derivative, and differentiability is not assumed. Only algebra and the product law are used.

  1. Let h(x)=(f(x)−5)/(x−3)h(x)=(f(x)-5)/(x-3) for x≠3x\neq 3. The hypothesis is lim⁡x→3h(x)=4\lim_{x\to 3}h(x)=4.
  2. Rearrange, for x≠3x\neq 3:
    f(x)−5=(x−3) h(x).f(x)-5=(x-3)\,h(x).
  3. x−3→0x-3\to 0 and h(x)→4h(x)\to 4, both finite, so the product law gives
    lim⁡x→3(f(x)−5)=0⋅4=0.\lim_{x\to 3}(f(x)-5)=0\cdot 4=0.
    Therefore lim⁡x→3f(x)=5\lim_{x\to 3}f(x)=5.

Next

3

Floor function

lim⁡x→0−⌊x3−xx4−1⌋\lim_{x\to 0^-}\left\lfloor\frac{x^3-x}{x^4-1}\right\rfloor

The following calculation is not valid.

lim⁡x→0−⌊x3−xx4−1⌋=⌊lim⁡x→0−x3−xx4−1⌋=⌊0⌋=0.\lim_{x\to 0^-}\left\lfloor\frac{x^3-x}{x^4-1}\right\rfloor =\left\lfloor\lim_{x\to 0^-}\frac{x^3-x}{x^4-1}\right\rfloor =\lfloor 0\rfloor=0.

Passing a limit through an outer function needs that outer function to be continuous at the limiting value. The floor function is discontinuous at every integer, and this limit is the integer 0.

  1. For x2≠1x^2\neq 1,
    h(x)=x3−xx4−1=x(x2−1)(x2−1)(x2+1)=xx2+1.h(x)=\frac{x^3-x}{x^4-1}=\frac{x(x^2-1)}{(x^2-1)(x^2+1)}=\frac{x}{x^2+1}.
  2. Restrict to −1<x<0-1<x<0. Then h(x)<0h(x)<0. Also
    h(x)−x=x(1x2+1−1)=−x3x2+1>0,h(x)-x=x\left(\frac{1}{x^2+1}-1\right)=\frac{-x^3}{x^2+1}>0,
    because xx is negative and −x3-x^3 is positive. So −1<x<h(x)<0-1<x<h(x)<0.
  3. Every number in (−1,0)(-1,0) has floor −1-1. Thus ⌊h(x)⌋=−1\lfloor h(x)\rfloor=-1 throughout a left neighborhood of 0, and the limit is that constant.
h(x)-1-0.8-0.6-0.4-0.20-1.2-1-0.8-0.6-0.4-0.200.2
  • h(x)=x/(x2+1)h(x)=x/(x^2+1)
  • shaded region
-1-0.8-0.6-0.4-0.20-2-1.5-1-0.500.51
  • ⌊h(x)⌋\lfloor h(x)\rfloor
  • x-0.35
  • h(x)-0.3118
  • ⌊h(x)⌋−1
On (−1,0)(-1,0), h(x)h(x) stays inside the shaded strip (−1,0)(-1,0), so its floor is the constant −1-1.

Next

4

Piecewise continuity

f(x)={sin⁡(ax)/xx<0,3+x3sin⁡(π/x3)0≤x≤1,ax+bx>1.f(x)=\begin{cases} \sin(ax)/x & x<0,\\ 3+x^3\sin(\pi/x^3) & 0\le x\le 1,\\ ax+b & x>1. \end{cases}
Find aa and bb so that ff is continuous everywhere, if such values exist.

Continuity at cc means three things: f(c)f(c) is defined, lim⁡x→cf(x)\lim_{x\to c}f(x) exists, and the limit equals f(c)f(c).

The pieces meet at x=0x=0 and x=1x=1. Elsewhere each piece is a quotient, a sine, or a polynomial, and those are continuous on the open intervals where they are used. The middle formula is the one that has to be checked at the endpoint x=0x=0.

f(0)=3+03sin⁡(π03).f(0)=3+0^3\sin\left(\frac{\pi}{0^3}\right).

π/03\pi/0^3 is undefined. Multiplying an undefined quantity by 030^3 does not produce a real number. So f(0)f(0) is not defined. Continuity at 0 already fails, for every real aa and bb.

No real numbers aa and bb make the printed function continuous everywhere.

Extension

Where a = 3 and b = 0 come from

The one-sided limits can still be computed on the punctured neighborhoods, where the formulas are defined. They describe a continuous extension. They do not repair the printed formula.

As x→0−x\to 0^-,

sin⁡(ax)x=a⋅sin⁡(ax)ax→a\frac{\sin(ax)}{x}=a\cdot\frac{\sin(ax)}{ax}\to a

when a≠0a\neq 0, because sin⁡u/u→1\sin u/u\to 1 as u→0u\to 0. If a=0a=0, the quotient is 0, which is the same limit.

As x→0+x\to 0^+, ∣x3sin⁡(π/x3)∣≤∣x∣3→0|x^3\sin(\pi/x^3)|\le |x|^3\to 0, so the middle piece tends to 3. Matching one-sided limits forces a=3a=3.

At x=1x=1 the middle formula is defined: f(1)=3+sin⁡π=3f(1)=3+\sin\pi=3. The right-hand limit of ax+bax+b is a+ba+b. Continuity at 1 forces a+b=3a+b=3. With a=3a=3, one gets b=0b=0.

Those values make the limits agree. The printed function is still missing f(0)f(0). Defining f(0)=3f(0)=3 by hand produces a continuous extension, which is a new function.

undefinedf(1)=3-1-0.500.511.520246
  • 3+x33+x^3
  • 3−x33-x^3
  • sin⁡(ax)/x\sin(ax)/x
  • 3+x3sin⁡(π/x3)3+x^3\sin(\pi/x^3)
  • ax+bax+b
  • Left limit at 03
  • Right limit at 03
  • f(1) and right limit3 and 3
The printed formula does not define f(0).

Next

5

Squeeze theorem

Suppose ∣f(x)∣≤x2|f(x)|\le x^2 for every real xx. Show that ff is continuous at 0.
  1. The inequality holds at x=0x=0: ∣f(0)∣≤0|f(0)|\le 0. Absolute value is nonnegative, so f(0)=0f(0)=0.
  2. The same inequality is
    −x2≤f(x)≤x2.-x^2\le f(x)\le x^2.
    Both −x2-x^2 and x2x^2 tend to 0 as x→0x\to 0. The Squeeze Theorem gives lim⁡x→0f(x)=0\lim_{x\to 0}f(x)=0.
  3. The limit equals f(0)f(0), so ff is continuous at 0.
f(0)=0-1.5-1-0.500.511.5-2-1012
  • x2x^2
  • −x2-x^2
  • x2sin⁡xx^2\sin x
  • shaded region
  • |x| < δ1
  • |f(x)| ≤ δ²1
Any function with ∣f(x)∣≤x2|f(x)|\le x^2 stays in the shaded region. The curves are examples. Inside ∣x∣<δ|x|<\delta, the region is only 2δ22\delta^2 tall.

Next

6

True or false

6a

If lim⁡x→0f2(x)=4\lim_{x\to 0}f^2(x)=4, then (lim⁡x→0f(x))2=4\bigl(\lim_{x\to 0}f(x)\bigr)^2=4. Here f2(x)f^2(x) means [f(x)]2[f(x)]^2.

Let f(x)=2sgn⁡(x)f(x)=2\operatorname{sgn}(x) for x≠0x\neq 0. Then [f(x)]2=4[f(x)]^2=4, so the limit of the square is 4. The right-hand limit of ff is 2 and the left-hand limit is −2-2, so lim⁡x→0f(x)\lim_{x\to 0}f(x) does not exist. Squaring has removed the sign that separated the two sides, so the statement is false.

-2-1012-3-2-10123
  • f(x)=2sgn⁡(x)f(x)=2\operatorname{sgn}(x)
-2-10120123456
  • [f(x)]2=4[f(x)]^2=4
The square is the constant 4, so its limit is 4. The original function approaches 2 from the right and −2 from the left.

Next

6b

If lim⁡x→af(x)\lim_{x\to a}f(x) exists and lim⁡x→ag(x)\lim_{x\to a}g(x) does not, then lim⁡x→a(f(x)+g(x))\lim_{x\to a}\bigl(f(x)+g(x)\bigr) does not exist.

Let lim⁡f=L\lim f=L. Suppose, for a contradiction, that lim⁡(f+g)=M\lim(f+g)=M. For xx near aa,

g(x)=(f(x)+g(x))−f(x).g(x)=\bigl(f(x)+g(x)\bigr)-f(x).

The difference law applies because both limits exist and are finite, so lim⁡g=M−L\lim g=M-L. That contradicts the hypothesis that lim⁡g\lim g does not exist. Therefore lim⁡(f+g)\lim(f+g) does not exist, and the statement is true.

Next

6c

If lim⁡x→0f(x)\lim_{x\to 0}f(x) exists and lim⁡x→0g(x)\lim_{x\to 0}g(x) does not, then lim⁡x→0f(x)g(x)\lim_{x\to 0}f(x)g(x) does not exist.

Take f(x)=xf(x)=x and g(x)=1/xg(x)=1/x for x≠0x\neq 0. Then lim⁡f=0\lim f=0, while gg has no finite limit. The product is 11 for every x≠0x\neq 0, so lim⁡fg=1\lim fg=1. The statement is false.

-2-1012-8-6-4-20246
  • g(x)=1/xg(x)=1/x
-2-1012-0.500.511.52
  • f(x)g(x)=1f(x)g(x)=1
f(x)=xf(x)=x has limit 0. gg has none. The product is 1 for every x≠0x\neq 0, so its limit is 1.

Next

6d

If f(x)≤g(x)f(x)\le g(x) for every real xx, then lim⁡x→af(x)≤lim⁡x→ag(x)\lim_{x\to a}f(x)\le\lim_{x\to a}g(x).

The statement never assumes that the limits exist. Let f(x)=sgn⁡(x)f(x)=\operatorname{sgn}(x), g(x)=1g(x)=1, and a=0a=0, with sgn⁡(0)=0\operatorname{sgn}(0)=0. Then f(x)≤g(x)f(x)\le g(x) for every xx, but lim⁡x→0f(x)\lim_{x\to 0}f(x) does not exist, so the statement is false. When both limits exist and are finite, and f≤gf\le g near aa, the inequality of the limits does hold.

-2-1012-1.5-1-0.500.511.5
  • f(x)=sgn⁡(x)f(x)=\operatorname{sgn}(x)
  • g(x)=1g(x)=1
f(x)≤g(x)f(x)\le g(x) holds for every x, once sgn⁡(0)=0\operatorname{sgn}(0)=0. The limit of ff at 0 does not exist, so the claimed comparison of limits has nothing to compare.

Next

7

Intermediate value theorem

If ff is continuous on [0,2][0,2], with f(0)>0f(0)>0 and f(2)<4f(2)<4, show that some cc in (0,2)(0,2) satisfies f(c)=c2f(c)=c^2.
  1. The equation f(c)=c2f(c)=c^2 is the same as h(c)=0h(c)=0 for
    h(x)=f(x)−x2.h(x)=f(x)-x^2.
  2. ff is continuous on [0,2][0,2] and x2x^2 is continuous everywhere, so hh is continuous on [0,2][0,2].
  3. h(0)=f(0)>0h(0)=f(0)>0 and h(2)=f(2)−4<0h(2)=f(2)-4<0. The value 0 lies strictly between h(0)h(0) and h(2)h(2).
  4. The Intermediate Value Theorem applies to a function continuous on a closed bounded interval: it attains every value between its endpoint values. So some cc in (0,2)(0,2) has h(c)=0h(c)=0, that is f(c)=c2f(c)=c^2.
example c00.511.5201234
  • y=x2y=x^2
  • f(x)=2−12x2f(x)=2-\tfrac12 x^2
00.511.52-4-3-2-1012
  • h(x)=f(x)−x2h(x)=f(x)-x^2
One example: f(0)=2>0f(0)=2>0 and f(2)=0<4f(2)=0<4, so h(0)>0>h(2)h(0)>0>h(2). The proof uses the intermediate value theorem on hh for an arbitrary continuous ff.

← MATH 119