Navigation

Partial Derivatives

2.1 Limits

12 problems · hints, answers and solutions shown beside each one

1Stage 1Conceptual

Do you understand the idea? Usually little or no calculation.

Q1Stage 1

Suppose f(x,y)f(x,y) is a function such that lim(x,y)(0,0)f(x,y)=10\lim\limits_{(x,y)\to(0,0)}f(x,y)=10.

True or false: f(0.1,0.1)10<f(0.2,0.2)10|f(0.1,0.1)-10|<|f(0.2,0.2)-10|

Hint

How does the behaviour of a function far away from (0,0)(0,0) affect its limit at (0,0)(0,0)?

Answer

in general, false.

Full solution

In general, this is false. Consider f(x,y)=12(110x)2(110y)2f(x,y)=12-(1-10x)^2-(1-10y)^2.

  • lim(x,y)(0,0)f(x,y)=1211=10\lim\limits_{(x,y)\to(0,0)}f(x,y)=12-1-1=10 (the function is continuous)

  • f(0.1,0.1)=12(11)2(11)2=12f(0.1,0.1)=12-(1-1)^2-(1-1)^2=12

  • f(0.2,0.2)=12(12)2(12)2=10f(0.2,0.2)=12-(1-2)^2-(1-2)^2=10

We often (somewhat lazily) interpret the limit “lim(x,y)(0,0)f(x,y)=10\lim\limits_{(x,y)\to(0,0)}f(x,y)=10" to mean that, as (x,y)(x,y) gets closer and closer to the origin, f(x,y)f(x,y) gets closer and closer to 10. This isn't exactly what the definition means, though. The definition tells us that, we can guarantee that f(x,y)f(x,y) be very close to 10 by choosing (x,y)(x,y) very close to (0,0)(0,0).

The function f(x,y)f(x,y) can also be very close to 10 for some (x,y)(x,y)'s that are not close to (0,0)(0,0). Moreover, we don't know how close to (0,0)(0,0) we have to be in order for f(x,y)f(x,y) to be “very close" to 10.

Q2Stage 1

A millstone pounds wheat into flour. The wheat sits in a basin, and the millstone pounds up and down.

Samples of wheat are taken from various places along the basin. Their diameters are measured and their position on the basin is recorded.

Consider this claim: “As the particles get very close to the millstone, the diameters of the particles approach 50 μ\mum." In this context, describe the variables below from Definition 2.1.2 in the CLP-3 text.

  1. x\mathbf x

  2. a\mathbf a

  3. L\mathbf L

Hint

In this analogy, f(x,y)f(x,y) is the diameter of a particle taken from the position (x,y)(x,y) in the basin.

Answer

(a) the position of the particle in the basin
(b) the position in the basin that the millstone hits
(c) 50 μ\mum

Full solution
  1. The function we're taking the limit of has its input as the position of the particle, and its output the size of the particle. So, f(x,y)f(x,y) gives the size of particles found at position (x,y)(x,y). In the definition, we write x=(x,y)\mathbf x = (x,y). So, x\mathbf x is the position in the basin the particle was taken from.

  2. Our claim deals with particles very close to where the millstone hits the basin, so a\mathbf a is the position in the basin where the millstone hits.

  3. L\mathbf L is the limit of the function: in this case, 50 μ\mum.

Q3Stage 1

Let f(x,y)=x2x2+y2f(x,y)=\dfrac{x^2}{x^2+y^2}.

  1. Find a ray approaching the origin along which f(x,y)=1f(x,y)=1.

  2. Find a ray approaching the origin along which f(x,y)=0f(x,y)=0.

  3. What does the above work show about a limit of f(x,y)f(x,y)?

Hint

You can probably solve (a) and (b) by just staring at f(x,y)f(x,y).

Answer

(a) along the xx-axis (b) along the yy-axis (c) lim(x,y)(0,0)f(x,y)\lim\limits_{(x,y)\to(0,0)}f(x,y) does not exist

Full solution
  1. By inspection, when y=0y=0, then f(x,y)=1f(x,y)=1 as long as x0x \neq 0. So, if we follow the xx-axis in towards the origin, f(x,y)=1f(x,y)=1 along this route.

  2. Also by inspection, when x=0x=0, then f(x,y)=0f(x,y)=0 as long as y0y \neq 0. So, if we follow the yy-axis in towards the origin, f(x,y)=0f(x,y)=0 along this route.

  3. Since two different directions give us different values as we approach the origin, lim(x,y)(0,0)f(x,y)\lim\limits_{(x,y)\to(0,0)}f(x,y) does not exist.

    Figure from prob_s2.1, line 2

    Figure from prob_s2.1, line 2

Q4Stage 1

Let f(x,y)=x2y2f(x,y)=x^2-y^2

  1. Express the function in terms of the polar coordinates rr and θ\theta, and simplify.

  2. Suppose (x,y)(x,y) is a distance of 1 from the origin. What are the largest and smallest values of f(x,y)f(x,y)?

  3. Let r>0r>0. Suppose (x,y)(x,y) is a distance of rr from the origin. What are the largest and smallest values of f(x,y)f(x,y)?

  4. Let ϵ>0\epsilon>0. Find a positive value of rr that guarantees f(x,y)<ϵ|f(x,y)|<\epsilon whenever (x,y)(x,y) is at most rr units from the origin.

  5. What did you just show?

Hint

Recall cos2θsin2θ=cos(2θ)\cos^2\theta-\sin^2\theta=\cos(2\theta)

Answer

(a) r2cos(2θ)r^2\cos(2\theta) (b) min=1, max=1\text{min}=-1,\ \text{max}=1 (c) min=r2, max=r2\text{min}=-r^2,\ \text{max}=r^2 (d) r<ϵr<\sqrt\epsilon

(e) lim(x,y)(0,0)f(x,y)=0\lim\limits_{(x,y)\to(0,0)}f(x,y)=0

Full solution
  1. Since x=rcosθx=r\cos\theta and y=rsinθy=r\sin\theta, we have that

    f=x2y2=r2cos2θr2sin2θ=r2cos(2θ)\begin{equation*} f=x^2-y^2=r^2\cos^2\theta-r^2\sin^2\theta=r^2\cos(2\theta) \end{equation*}
  2. When r=1r=1, f=cos(2θ)f=\cos(2\theta). So, f(x,y)f(x,y) runs between 1-1 and 11. It smallest value is 1-1 and its largest value is +1+1.

  3. The distance from (x,y)(x,y) to the origin is rr (for r0)r\ge0). So, at a distance rr, our function is r2cos(2θ)r^2\cos(2\theta). Then f(x,y)f(x,y) runs over the interval [r2,r2][-r^2,r^2]. It smallest value is r2-r^2 and its largest value is +r2+r^2.

  4. Using our answer to the last part, we have that fr2|f|\le r^2. So for 0<r<ϵ0<r<\sqrt\epsilon, we necessarily have that f(x,y)<ϵ|f(x,y)|<\epsilon whenever the distance from (x,y)(x,y) to the origin is at most rr.

  5. For every ϵ>0\epsilon>0, if we choose (x,y)(x,y) to be sufficiently close to (0,0)(0,0) (in particular, within a distance r<ϵr<\sqrt\epsilon), then f(x,y)f(x,y) is within distance ϵ\epsilon of 00. By Definition 2.1.2 in the CLP-3 text, we have that lim(x,y)(0,0)f(x,y)=0\lim\limits_{(x,y)\to(0,0)}f(x,y)=0.

Q5Stage 1

Suppose f(x,y)f(x,y) is a polynomial. Evaluate lim(x,y)(a,b)f(x,y)\lim\limits_{(x,y)\to(a,b)}f(x,y), where (a,b)R2(a,b)\in\mathbb R^2.

Hint

Theorem 2.1.6 in the CLP-3 text

Answer

f(a,b)f(a,b)

Full solution

By Theorem 2.1.6, f(x,y)f(x,y) is continuous over its domain. The domain of a polynomial is everywhere; in this case, R2\mathbb R^2. So, f(x,y)f(x,y) is continuous at (a,b)(a,b). By the definition of continuity, lim(x,y)(a,b)f(x,y)=f(a,b)\lim\limits_{(x,y)\to(a,b)}f(x,y)=f(a,b).

2Stage 2Procedural

Practising the skill itself, until applying it is automatic.

Q6Stage 2

Evaluate, if possible,

  1. lim(x,y)(2,1) (xy+x2)\dst\lim_{(x,y)\rightarrow(2,-1)}\ \big(xy+x^2\big)

  2. lim(x,y)(0,0) xx2+y2\dst\lim_{(x,y)\rightarrow(0,0)}\ \frac{x}{x^2+y^2}

  3. lim(x,y)(0,0) x2x2+y2\dst\lim_{(x,y)\rightarrow(0,0)}\ \frac{x^2}{x^2+y^2}

  4. lim(x,y)(0,0) x3x2+y2\dst\lim_{(x,y)\rightarrow(0,0)}\ \frac{x^3}{x^2+y^2}

  5. lim(x,y)(0,0) x2y2x2+y4\dst\lim_{(x,y)\rightarrow(0,0)}\ \frac{x^2y^2}{x^2+y^4}

  6. lim(x,y)(0,0) (sinx)(ey1)xy\dst\lim_{(x,y)\rightarrow (0,0)}\ \frac{(\sin x)\left(e^y-1\right)}{xy}

Hint

For parts (b), (c), (d), (e), switch to polar coordinates. For part (f),

lim(x,y)(0,0) (sinx)(ey1)xy=[limx0 sinxx] [limy0 ey1y]\begin{equation*} \lim_{(x,y)\rightarrow (0,0)}\ \frac{(\sin x)\left(e^y-1\right)}{xy} =\left[\lim_{x\rightarrow 0}\ \frac{\sin x}{x}\right]\ \left[\lim_{y\rightarrow 0}\ \frac{e^y-1}{y}\right] \end{equation*}
Answer

(a) 22 (b) undefined (c) undefined (d) 00 (e) 00 (f) 11

Full solution

(a) lim(x,y)(2,1) (xy+x2)=2(1)+22=2\dst\lim_{(x,y)\rightarrow(2,-1)}\ \big(xy+x^2\big)=2(-1)+2^2=2

(b) Switching to polar coordinates,

lim(x,y)(0,0) xx2+y2=limr0+0θ<2π rcosθr2=limr0+0θ<2π cosθr\begin{align*} \lim_{(x,y)\rightarrow(0,0)}\ \frac{x}{x^2+y^2} &=\lim_{\Atop{r\rightarrow0^+}{0\le\theta<2\pi}}\ \frac{r\cos\theta}{r^2} =\lim_{\Atop{r\rightarrow0^+}{0\le\theta<2\pi}}\ \frac{\cos\theta}{r} \end{align*}

which does not exist, since, for example,

  • if θ=0\theta=0, then

    limr0+θ=0 cosθr=limr0+ 1r=+\begin{equation*} \lim_{\Atop{r\rightarrow0^+}{\theta=0}}\ \frac{\cos\theta}{r} =\lim_{r\rightarrow0^+}\ \frac{1}{r} =+\infty \end{equation*}
  • while if θ=π\theta=\pi, then

    limr0+θ=π cosθr=limr0+ 1r=\begin{equation*} \lim_{\Atop{r\rightarrow0^+}{\theta=\pi}}\ \frac{\cos\theta}{r} =\lim_{r\rightarrow0^+}\ \frac{-1}{r} =-\infty \end{equation*}

(c) Switching to polar coordinates,

lim(x,y)(0,0) x2x2+y2=limr0+0θ<2π r2cos2θr2=limr0+0θ<2π cos2θ\begin{align*} \lim_{(x,y)\rightarrow(0,0)}\ \frac{x^2}{x^2+y^2} &=\lim_{\Atop{r\rightarrow0^+}{0\le\theta<2\pi}}\ \frac{r^2\cos^2\theta}{r^2} =\lim_{\Atop{r\rightarrow0^+}{0\le\theta<2\pi}}\ \cos^2\theta \end{align*}

which does not exist, since, for example,

  • if θ=0\theta=0, then

    limr0+θ=0 cos2θ=limr0+ 1=1\begin{equation*} \lim_{\Atop{r\rightarrow0^+}{\theta=0}}\ \cos^2\theta =\lim_{r\rightarrow0^+}\ 1 = 1 \end{equation*}
  • while if θ=π2\theta=\frac{\pi}{2}, then

    limr0+θ=π/2 cos2θ=limr0+ 0=0\begin{equation*} \lim_{\Atop{r\rightarrow0^+}{\theta=\pi/2}}\ \cos^2\theta =\lim_{r\rightarrow0^+}\ 0 =0 \end{equation*}

(d) Switching to polar coordinates,

lim(x,y)(0,0) x3x2+y2=limr0+0θ<2π r3cos3θr2=limr0+0θ<2π rcos3θ=0\begin{align*} \lim_{(x,y)\rightarrow(0,0)}\ \frac{x^3}{x^2+y^2} &=\lim_{\Atop{r\rightarrow0^+}{0\le\theta<2\pi}}\ \frac{r^3\cos^3\theta}{r^2} =\lim_{\Atop{r\rightarrow0^+}{0\le\theta<2\pi}}\ r\cos^3\theta =0 \end{align*}

since cosθ1|\cos\theta|\le 1 for all θ\theta.

(e) Switching to polar coordinates,

lim(x,y)(0,0) x2y2x2+y4=limr0+0θ<2π r2cos2θ r2sin2θr2cos2θ+r4sin4θ=limr0+0θ<2π r2sin2θcos2θcos2θ+r2sin4θ=0\begin{align*} \lim_{(x,y)\rightarrow(0,0)}\ \frac{x^2y^2}{x^2+y^4} &=\lim_{\Atop{r\rightarrow0^+}{0\le\theta<2\pi}}\ \frac{r^2\cos^2\theta\ r^2\sin^2\theta} {r^2\cos^2\theta+r^4\sin^4\theta} =\lim_{\Atop{r\rightarrow0^+}{0\le\theta<2\pi}}\ r^2\sin^2\theta \frac{\cos^2\theta}{\cos^2\theta+r^2\sin^4\theta} \\ &= 0 \end{align*}

Here, we used that

sin2θcos2θcos2θ+r2sin4θcos2θcos2θ+r2sin4θ{cos2θcos2θ if cosθ00 if cosθ=0}1\begin{equation*} \left|\sin^2\theta\frac{\cos^2\theta} {\cos^2\theta+r^2\sin^4\theta}\right| \le \frac{\cos^2\theta} {\cos^2\theta+r^2\sin^4\theta} \le \left.\begin{cases} \frac{\cos^2\theta} {\cos^2\theta}&\text{ if }\cos\theta\ne 0 \\ 0 &\text { if }\cos\theta =0 \end{cases} \right\} \le 1 \end{equation*}

for all r>0r>0.

(f) To start, observe that

lim(x,y)(0,0) (sinx)(ey1)xy=[limx0 sinxx][limy0 ey1y]\begin{align*} \lim_{(x,y)\rightarrow (0,0)}\ \frac{(\sin x)\left(e^y-1\right)}{xy} =\left[\lim_{x\rightarrow 0}\ \frac{\sin x}{x}\right] \left[\lim_{y\rightarrow 0}\ \frac{e^y-1}{y}\right] \end{align*}

We may evaluate [limx0 sinxx]\dst\left[\lim_{x\rightarrow 0}\ \frac{\sin x}{x}\right] by l'H^opital's rule or by using the definition of the derivative to give

limx0 sinxx=limx0 sinxsin0x0=ddxsinxx=0=cosxx=0=1\begin{equation*} \lim_{x\rightarrow 0}\ \frac{\sin x}{x} =\lim_{x\rightarrow 0}\ \frac{\sin x-\sin 0}{x-0} =\diff{}{x}\sin x\bigg|_{x=0} =\cos x\Big|_{x=0}=1 \end{equation*}

Similarly, we may evaluate [limy0 ey1y]\dst\left[\lim_{y\rightarrow 0}\ \frac{e^y-1}{y}\right] by l'H^opital's rule or by using the definition of the derivative to give

limy0 ey1y=limy0 eye0y0=ddyeyy=0=eyy=0=1\begin{equation*} \lim_{y\rightarrow 0}\ \frac{e^y-1}{y} =\lim_{y\rightarrow 0}\ \frac{e^y-e^0}{y-0} =\diff{}{y}e^y\bigg|_{y=0} =e^y\Big|_{y=0}=1 \end{equation*}

So all together

lim(x,y)(0,0) (sinx)(ey1)xy=[limx0 sinxx][limy0 ey1y]=[1] [1]=1\begin{align*} \lim_{(x,y)\rightarrow (0,0)}\ \frac{(\sin x)\left(e^y-1\right)}{xy} =\left[\lim_{x\rightarrow 0}\ \frac{\sin x}{x}\right] \left[\lim_{y\rightarrow 0}\ \frac{e^y-1}{y}\right] =[1]\ [1]=1 \end{align*}
Q7Stage 2Past exam · M253 2009D
  1. Find the limit: lim(x,y)(0,0)x8+y8x4+y4\dst \lim_{(x,y)\to(0,0)}\frac{x^8+y^8}{x^4+y^4}.

  2. Prove that the following limit does not exist: lim(x,y)(0,0)xy5x8+y10\dst \lim_{(x,y)\to(0,0)}\frac{xy^5}{x^8+y^{10}}.

Hint

Switch to polar coordinates.

Answer

(a) 00 (b) See the solution.

Full solution

(a) In polar coordinates, x=rcosθx=r\cos\theta, y=rsinθy=r\sin\theta, so that

x8+y8x4+y4=r8cos8θ+r8sin8θr4cos4θ+r4sin4θ=r4cos8θ+sin8θcos4θ+sin4θ\begin{align*} \frac{x^8+y^8}{x^4+y^4} &=\frac{r^8\cos^8\theta+r^8\sin^8\theta}{r^4\cos^4\theta+r^4\sin^4\theta} =r^4\frac{\cos^8\theta+\sin^8\theta}{\cos^4\theta+\sin^4\theta} \end{align*}

As

cos8θ+sin8θcos4θ+sin4θcos8θ+2cos4θsin4θ+sin8θcos4θ+sin4θ=(cos4θ+sin4θ)2cos4θ+sin4θ=cos4θ+sin4θ2\begin{align*} \frac{\cos^8\theta+\sin^8\theta}{\cos^4\theta+\sin^4\theta} &\le \frac{\cos^8\theta+2\cos^4\theta\sin^4\theta+\sin^8\theta} {\cos^4\theta+\sin^4\theta} =\frac{\big(\cos^4\theta+\sin^4\theta\big)^2}{\cos^4\theta+\sin^4\theta} \\ &=\cos^4\theta+\sin^4\theta \le 2 \end{align*}

we have

0x8+y8x4+y42r4\begin{equation*} 0\le \frac{x^8+y^8}{x^4+y^4}\le 2r^4 \end{equation*}

As lim(x,y)(0,0)2r4=0\dst\lim_{(x,y)\to (0,0)}2r^4=0, the squeeze theorem yields lim(x,y)(0,0)x8+y8x4+y4=0\dst\lim_{(x,y)\to(0,0)}\frac{x^8+y^8}{x^4+y^4}=0.

(b)
In polar coordinates

xy5x8+y10=r6cosθsin5θr8cos8θ+r10sin10θ=1r2cosθsin5θcos8θ+r2sin10θ\begin{align*} \frac{xy^5}{x^8+y^{10}} &=\frac{r^6\cos\theta\,\sin^5\theta}{r^8\cos^8\theta+r^{10}\sin^{10}\theta} =\frac{1}{r^2}\frac{\cos\theta\,\sin^5\theta}{\cos^8\theta+r^2\sin^{10}\theta} \end{align*}

As (x,y)(0,0)(x,y)\to (0,0) the first fraction 1r2\frac{1}{r^2}\to\infty but the second factor can take many different values. For example, if we send (x,y)(x,y) towards the origin along the yy–axis, i.e. with θ=±π2\theta=\pm\frac{\pi}{2},

lim(x,y)(0,0)x=0xy5x8+y10=limy00y10=0\begin{align*} \lim_{\Atop {(x,y)\to(0,0)}{x=0}}\frac{xy^5}{x^8+y^{10}} =\lim_{y\to 0} \frac{0}{y^{10}}=0 \end{align*}

but if we send (x,y)(x,y) towards the origin along the line y=xy=x, i.e. with θ=π4,5π4\theta=\frac{\pi}{4},\frac{5\pi}{4},

lim(x,y)(0,0)y=xxy5x8+y10=limx0x6x8+x10=limx01x211+x2=+\begin{align*} \lim_{\Atop {(x,y)\to(0,0)}{y=x} }\frac{xy^5}{x^8+y^{10}} =\lim_{x\to 0} \frac{x^6}{x^8+x^{10}} =\lim_{x\to 0} \frac{1}{x^2}\frac{1}{1+x^2} =+\infty \end{align*}

and if we send (x,y)(x,y) towards the origin along the line y=xy=-x, i.e. with θ=π4,3π4\theta=-\frac{\pi}{4},\frac{3\pi}{4},

lim(x,y)(0,0)y=xxy5x8+y10=limx0x6x8+x10=limx01x211+x2=\begin{align*} \lim_{\Atop {(x,y)\to(0,0)}{y=-x} }\frac{xy^5}{x^8+y^{10}} =\lim_{x\to 0} \frac{-x^6}{x^8+x^{10}} =\lim_{x\to 0}- \frac{1}{x^2}\frac{1}{1+x^2} =-\infty \end{align*}

So xy5x8+y10\frac{xy^5}{x^8+y^{10}} does not approach a single value as (x,y)(0,0)(x,y)\to(0,0) and the limit does not exist.

Q8Stage 2Past exam · M2226 2009D

Evaluate each of the following limits or show that it does not exist.

  1. lim(x,y)(0,0)x3y3x2+y2\dst\lim_{(x,y)\rightarrow (0,0)}\frac{x^3-y^3}{x^2+y^2}

  2. lim(x,y)(0,0)x2y4x2+y4\dst\lim_{(x,y)\rightarrow (0,0)}\frac{x^2-y^4}{x^2+y^4}

Hint

(a) Switch to polar coordinates.

(b) What are the limits when (i) x=0x=0 and y0y\rightarrow 0 and when (ii) y=0y=0 and x0x\rightarrow 0?

Answer

(a) 00

(b) The limit does not exist since the limits (i) x=0x=0, y0y\rightarrow 0 and (ii) y=0y=0, x0x\rightarrow 0 are different.

Full solution

(a) In polar coordinates

x3y3x2+y2=r3cos3θr3sin3θr2=rcos3θrsin3θ\begin{equation*} \frac{x^3-y^3}{x^2+y^2}=\frac{r^3\cos^3\theta-r^3\sin^3\theta}{r^2} =r\cos^3\theta-r\sin^3\theta \end{equation*}

Since

rcos3θrsin3θ2r\begin{equation*} \big|r\cos^3\theta-r\sin^3\theta\big|\le 2r \end{equation*}

and 2r02r\rightarrow 0 as r0r\rightarrow 0, the limit exists and is 00.

(b) The limit as we approach (0,0)(0,0) along the xx-axis is

limt0x2y4x2+y4(x,y)=(t,0)=limt0t204t2+04=1\begin{align*} \lim_{t\rightarrow 0}\frac{x^2-y^4}{x^2+y^4}\bigg|_{(x,y)=(t,0)} =\lim_{t\rightarrow 0}\frac{t^2-0^4}{t^2+0^4} =1 \end{align*}

On the other hand the limit as we approach (0,0)(0,0) along the yy-axis is

limt0x2y4x2+y4(x,y)=(0,t)=limt002t402+t4=1\begin{align*} \lim_{t\rightarrow 0}\frac{x^2-y^4}{x^2+y^4}\bigg|_{(x,y)=(0,t)} =\lim_{t\rightarrow 0}\frac{0^2-t^4}{0^2+t^4} =-1 \end{align*}

These are different, so the limit as (x,y)0(x,y)\rightarrow 0 does not exist.

We can gain a more detailed understanding of the behaviour of x2y4x2+y4\frac{x^2-y^4}{x^2+y^4} near the origin by switching to polar coordinates.

x2y4x2+y4=r2cos2θr4sin4θr2cos2θ+r4sin4θ=cos2θr2sin4θcos2θ+r2sin4θ\begin{equation*} \frac{x^2-y^4}{x^2+y^4} =\frac{r^2\cos^2\theta-r^4\sin^4\theta}{r^2\cos^2\theta+r^4\sin^4\theta} =\frac{\cos^2\theta-r^2\sin^4\theta}{\cos^2\theta+r^2\sin^4\theta} \end{equation*}

Now fix any θ\theta and let r0r\rightarrow 0 (so that we are approaching the origin along the ray that makes an angle θ\theta with the positive xx-axis). If cosθ0\cos\theta\ne 0 (i.e. the ray is not part of the yy-axis)

limr0cos2θr2sin4θcos2θ+r2sin4θ=cos2θcos2θ=1\begin{align*} \lim_{r\rightarrow 0} \frac{\cos^2\theta-r^2\sin^4\theta}{\cos^2\theta+r^2\sin^4\theta} =\frac{\cos^2\theta}{\cos^2\theta} =1 \end{align*}

But if cosθ=0\cos\theta= 0 (i.e. the ray is part of the yy-axis)

limr0cos2θr2sin4θcos2θ+r2sin4θ=limr0r2sin4θr2sin4θ=sin4θsin4θ=1\begin{align*} \lim_{r\rightarrow 0} \frac{\cos^2\theta-r^2\sin^4\theta}{\cos^2\theta+r^2\sin^4\theta} =\lim_{r\rightarrow 0} \frac{-r^2\sin^4\theta}{r^2\sin^4\theta} =\frac{-\sin^4\theta}{\sin^4\theta} =-1 \end{align*}

3Stage 3Application

Further than practice: several ideas at once, or an unfamiliar situation.

Q9Stage 3Past exam · M226 2010D

Evaluate each of the following limits or show that it does not exist.

  1. lim(x,y)(0,0)2x2+x2yy2x+2y2x2+y2\dst\lim_{(x,y)\rightarrow (0,0)}\frac{2x^2 + x^2y - y^2x + 2y^2}{x^2 + y^2}

  2. lim(x,y)(0,1)x2y22x2y+x2(x2+y22y+1)2\dst\lim_{(x,y)\rightarrow(0,1)} \frac{x^2y^2 -2 x^2y + x^2} {(x^2 + y^2-2y+1)^2}

Hint

For part (a) switch to polar coordinates. For part (b), switch to polar coordinates centred on (0,1)(0,1). That is, make the change of variables x=rcosθx=r\cos\theta, y=1+rsinθy=1+r\sin\theta.

Answer

(a) 22 (b) The limit does not exist. See the solution.

Full solution

(a) In polar coordinates x=rcosθx=r\cos\theta, y=rsinθy=r\sin\theta

2x2+x2yy2x+2y2x2+y2=2r2cos2θ+r3cos2θsinθr3cosθsin2θ+2r2sin2θr2=2+r[cos2θsinθsin2θcosθ]\begin{align*} \frac{2x^2 + x^2y - y^2x + 2y^2}{x^2 + y^2} &=\frac{2r^2\cos^2\theta + r^3\cos^2\theta\sin\theta - r^3\cos\theta\sin^2\theta + 2r^2\sin^2\theta}{r^2} \\ &=2+ r\big[\cos^2\theta\sin\theta - \sin^2\theta\cos\theta \big] \end{align*}

As

rcos2θsinθsin2θcosθ2r0 as r0\begin{equation*} r\big|\cos^2\theta\sin\theta - \sin^2\theta\cos\theta \big| \le 2r \rightarrow 0\text{ as }r\rightarrow 0 \end{equation*}

we have

lim(x,y)(0,0)2x2+x2yy2x+2y2x2+y2=2\begin{equation*} \lim_{(x,y)\rightarrow(0,0)} \frac{2x^2 + x^2y - y^2x + 2y^2}{x^2 + y^2}=2 \end{equation*}

(b) Since

x2y22x2y+x2(x2+y22y+1)2=x2(y1)2[x2+(y1)2]2\begin{align*} \frac{x^2y^2 -2 x^2y + x^2} {(x^2 + y^2-2y+1)^2} =\frac{x^2(y-1)^2} {\big[x^2 + (y-1)^2\big]^2} \end{align*}

and, in polar coordinates centred on (0,1)(0,1), x=rcosθx=r\cos\theta, y=1+rsinθy=1+r\sin\theta,

x2(y1)2[x2+(y1)2]2=r4cos2θsin2θr4=cos2θsin2θ\begin{equation*} \frac{x^2(y-1)^2} {\big[x^2 + (y-1)^2\big]^2} =\frac{r^4\cos^2\theta\sin^2\theta}{r^4} =\cos^2\theta\sin^2\theta \end{equation*}

we have that the limit does not exist. For example, if we send (x,y)(x,y) to (0,1)(0,1) along the line y=1y=1, so that θ=0\theta=0, we get the limit 00, while if we send (x,y)(x,y) to (0,1)(0,1) along the line y=x+1y=x+1, so that θ=π4\theta=\frac{\pi}{4}, we get the limit 14\frac{1}{4}.

Q10Stage 3

Define, for all (x,y)(0,0)(x,y)\ne(0,0), f(x,y)=x2yx4+y2f(x,y)=\frac{x^2y}{x^4+y^2}.

  1. Let 0θ<2π0\le \theta<2\pi. Compute limr0+f(rcosθ,rsinθ)\dst\lim_{r\rightarrow 0^+}f(r\cos\theta,r\sin\theta).

  2. Compute limx0f(x,x2)\dst\lim_{x\rightarrow 0}f(x,x^2).

  3. Does lim(x,y)(0,0)f(x,y)\dst\lim_{(x,y)\rightarrow (0,0)}f(x,y) exist?

Hint

For part (c), does there exist a single number, LL, with the property that f(x,y)f(x,y) is really close to LL for all (x,y)(x,y) that are really close to (0,0)(0,0)?

Answer

(a) 00 (b) 12\frac{1}{2} (c) No.

Full solution

(a) We have

limr0+f(rcosθ,rsinθ)=limr0+(rcosθ)2(rsinθ)(rcosθ)4+(rsinθ)2=limr0+r cos2θsinθr2cos4θ+sin2θ=limr0+r limr0+cos2θsinθr2cos4θ+sin2θ\begin{align*} \lim_{r\rightarrow 0^+}f(r\cos\theta,r\sin\theta) &=\lim_{r\rightarrow 0^+} \frac{(r\cos\theta)^2(r\sin\theta)}{(r\cos\theta)^4+(r\sin\theta)^2} \\ &=\lim_{r\rightarrow 0^+}r\ \frac{\cos^2\theta\sin\theta}{r^2\cos^4\theta+\sin^2\theta} \\ &=\lim_{r\rightarrow 0^+}r\ \lim_{r\rightarrow 0^+}\frac{\cos^2\theta\sin\theta} {r^2\cos^4\theta+\sin^2\theta} \end{align*}

Observe that, if sinθ=0\sin\theta=0, then

cos2θsinθr2cos4θ+sin2θ=0\begin{equation*} \frac{\cos^2\theta\sin\theta}{r^2\cos^4\theta+\sin^2\theta}=0 \end{equation*}

for all r0r\ne 0. If sinθ0\sin\theta\ne 0,

limr0+cos2θsinθr2cos4θ+sin2θ=cos2θsinθsin2θ=cos2θsinθ\begin{align*} \lim_{r\rightarrow 0^+} \frac{\cos^2\theta\sin\theta}{r^2\cos^4\theta+\sin^2\theta} &=\frac{\cos^2\theta\sin\theta}{\sin^2\theta} =\frac{\cos^2\theta}{\sin\theta} \end{align*}

So the limit limr0+cos2θsinθr2cos4θ+sin2θ\dst\lim_{r\rightarrow 0^+} \frac{\cos^2\theta\sin\theta}{r^2\cos^4\theta+\sin^2\theta} exists (and is finite) for all fixed θ\theta and

limr0+f(rcosθ,rsinθ)=0\begin{equation*} \lim\limits_{r\rightarrow 0^+}f(r\cos\theta,r\sin\theta)=0 \end{equation*}

(b) We have

limx0f(x,x2)=limx0x2x2x4+(x2)2=limx0x42x4=12\begin{equation*} \lim_{x\rightarrow 0}f(x,x^2) =\lim_{x\rightarrow 0}\frac{x^2x^2}{x^4+{(x^2)}^2} =\lim_{x\rightarrow 0}\frac{x^4}{2x^4} =\frac{1}{2} \end{equation*}

(c) Note that in part (a) we showed that as (x,y)(x,y) approaches (0,0)(0,0) along any straight line, f(x,y)f(x,y) approaches the limit zero. In part (b) we have just shown that as (x,y)(x,y) approaches (0,0)(0,0) along the parabola y=x2y=x^2, f(x,y)f(x,y) approaches the limit 12\half, not zero. So f(x,y)f(x,y) takes values very close to 00, for some (x,y)(x,y)'s that are really near (0,0)(0,0) and also takes values very close to 12\frac{1}{2}, for other (x,y)(x,y)'s that are really near (0,0)(0,0). There is no single number, LL, with the property that f(x,y)f(x,y) is really close to LL for all (x,y)(x,y) that are really close to (0,0)(0,0). So the limit does not exist.

Q11Stage 3Past exam · M226 2007D

Compute the following limits or explain why they do not exist.

  1. lim(x,y)(0,0)xyx2+y2\dst\lim_{(x,y)\rightarrow(0,0)}\frac{xy}{x^2+y^2}

  2. lim(x,y)(0,0)sin(xy)x2+y2\dst\lim_{(x,y)\rightarrow(0,0)}\frac{\sin(xy)}{x^2+y^2}

  3. lim(x,y)(1,1)x2+2xy2+y41+y4\dst\lim_{(x,y)\rightarrow(-1,1)}\frac{x^2+2xy^2+y^4}{1+y^4}

  4. lim(x,y)(0,0)yx\dst\lim_{(x,y)\rightarrow(0,0)}|y|^x

Hint

For part (b), consider the ratio of sin(xy)x2+y2\frac{\sin(xy)}{x^2+y^2} (from part (b)) and xyx2+y2\frac{xy}{x^2+y^2} (from part (a)), and recall that limt0sintt=1\dst\lim_{t\rightarrow 0}\tfrac{\sin t}{t}=1.

For part (d) consider the limits along the positive xx- and yy-axes.

Answer

(a), (b), (d) Do not exist. See the solutions. (c) 00

Full solution

(a) Since, in polar coordinates,

xyx2+y2=r2cosθsinθr2=cosθsinθ\begin{equation*} \frac{xy}{x^2+y^2}=\frac{r^2\cos\theta\sin\theta}{r^2} =\cos\theta\sin\theta \end{equation*}

we have that the limit does not exist. For example,

  • if we send (x,y)(x,y) to (0,0)(0,0) along the positive xx-axis, so that θ=0\theta=0, we get the limit sinθcosθθ=0=0\sin\theta\cos\theta\big|_{\theta=0}=0,

  • while if we send (x,y)(x,y) to (0,0)(0,0) along the line y=xy=x in the first quadrant, so that θ=π4\theta=\frac{\pi}{4}, we get the limit sinθcosθθ=π/4=12\sin\theta\cos\theta\big|_{\theta=\pi/4}=\frac{1}{2}.

(b) This limit does not exist, since if it were to exist the limit

lim(x,y)(0,0)xyx2+y2=lim(x,y)(0,0)xysin(xy) sin(xy)x2+y2=lim(x,y)(0,0)xysin(xy) lim(x,y)(0,0)sin(xy)x2+y2\begin{equation*} \lim_{(x,y)\rightarrow(0,0)}\frac{xy}{x^2+y^2} =\lim_{(x,y)\rightarrow(0,0)}\frac{xy}{\sin(xy)}\ \frac{\sin(xy)}{x^2+y^2} =\lim_{(x,y)\rightarrow(0,0)}\frac{xy}{\sin(xy)}\ \lim_{(x,y)\rightarrow(0,0)}\frac{\sin(xy)}{x^2+y^2} \end{equation*}

would also exist. (Recall that limt0sintt=1\dst\lim_{t\rightarrow 0}\tfrac{\sin t}{t} =1.)

(c) Since

lim(x,y)(1,1)[x2+2xy2+y4]=(1)2+2(1)(1)2+(1)4=0lim(x,y)(1,1)[1+y4]=1+(1)4=2\begin{align*} \lim_{(x,y)\rightarrow(-1,1)}\big[x^2+2xy^2+y^4\big] &=(-1)^2+2(-1)(1)^2+(1)^4=0 \\ \lim_{(x,y)\rightarrow(-1,1)}\big[1+y^4\big] &=1+(1)^4=2 \end{align*}

and the second limit is nonzero,

lim(x,y)(1,1)x2+2xy2+y41+y4=02=0\begin{equation*} \lim_{(x,y)\rightarrow(-1,1)}\frac{x^2+2xy^2+y^4}{1+y^4}=\frac{0}{2}=0 \end{equation*}

(d) Since the limit along the positive xx-axis

limt0t>0yx(x,y)=(t,0)=limt0t>00t=limt0t>00=0\begin{equation*} \lim_{\Atop{t\rightarrow 0}{t>0}}|y|^x\Big|_{(x,y)=(t,0)} =\lim_{\Atop{t\rightarrow 0}{t>0}}0^t =\lim_{\Atop{t\rightarrow 0}{t>0}}0 =0 \end{equation*}

and the limit along the yy-axis

limt0yx(x,y)=(0,t)=limt0t0=limt01=1\begin{equation*} \lim_{t\rightarrow 0}|y|^x\Big|_{(x,y)=(0,t)} =\lim_{t\rightarrow 0}|t|^0 =\lim_{t\rightarrow 0}1 =1 \end{equation*}

are different, the limit as (x,y)0(x,y)\rightarrow 0 does not exist.

Q12Stage 3

Evaluate each of the following limits or show that it does not exist.

  1. lim(x,y)(0,0){x2yxif yx0if y=x\dst\lim_{(x,y)\rightarrow (0,0)}\begin{cases} \frac{x^2}{y-x} &\text{if }y\ne x \\ 0 & \text{if }y=x \end{cases}

  2. lim(x,y)(0,0){x8yxif yx0if y=x\dst\lim_{(x,y)\rightarrow(0,0)}\begin{cases} \frac{x^8}{y-x} &\text{if }y\ne x \\ 0 & \text{if }y=x \end{cases}

Hint

For part (a), determine what happens as (x,y)(x,y) tends to (0,0)(0,0) along the curve y=x+x2ay=x+\frac{x^2}{a}, where aa is any nonzero constant.

Answer

(a), (b) The limit does not exist. See the solution.

Full solution

(a) Let aa be any nonzero constant. When y=x+x2ay=x+\frac{x^2}{a} and x0x\ne 0,

x2yx=x2x2/a=a\begin{equation*} \frac{x^2}{y-x} =\frac{x^2}{x^2/a} =a \end{equation*}

So the limit along the curve y=x+x2ay=x+\frac{x^2}{a} is

limt0x2yx(x,y)=(t,t+t2/a)=limt0a=a\begin{equation*} \lim_{t\rightarrow 0}\frac{x^2}{y-x}\Big|_{(x,y)=(t,t+t^2/a)} =\lim_{t\rightarrow 0}a =a \end{equation*}

In particular, the limit along the curve y=x+x2y=x+x^2, which is 11, and the limit along the curve y=xx2y=x-x^2, which is 1-1, are different. So the limit as (x,y)0(x,y)\rightarrow 0 does not exist.

(b) Let aa be any nonzero constant. When y=x+x8ay=x+\frac{x^8}{a} and x0x\ne 0,

x8yx=x8x8/a=a\begin{equation*} \frac{x^8}{y-x} =\frac{x^8}{x^8/a} =a \end{equation*}

So the limit along the curve y=x+x8ay=x+\frac{x^8}{a} is

limt0x8yx(x,y)=(t,t+t8/a)=limt0a=a\begin{equation*} \lim_{t\rightarrow 0}\frac{x^8}{y-x}\Big|_{(x,y)=(t,t+t^8/a)} =\lim_{t\rightarrow 0}a =a \end{equation*}

In particular, the limit along the curve y=x+x8y=x+x^8, which is 11, and the limit along the curve y=xx8y=x-x^8, which is 1-1, are different. So the limit as (x,y)0(x,y)\rightarrow 0 does not exist.

My list

nothing marked yet

Loading…

Open the whole list →

Your tutor can open this list with you. It follows your account, so it is there on whichever device you study on.

From the UBC Math 200 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.