Multivariable CalculusPartial Derivatives2 of 5
Partial Derivatives · 2

Limits and Continuity

To find the limit of a two-variable function f(x,y)\height{f(x, y)}, we need to see what height the surface z=f(x,y)\height{z = f(x, y)} approaches as (x,y)(x, y) walks toward our target point from every possible direction in the plane.

1

Limits and Continuity at a Point

x\htmlClass{lc-mute}{x}
00
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y=0y = 0
x=0x = 0
y=xy = x
y=x2y = x^2
spiral\text{spiral}

We want to find the height that f(x,y)=x2−yx2+y2\height{f(x, y)} = \frac{x^2 - y}{x^2 + y^2} approaches as (x,y)(x, y) walks toward (1,2)(1, 2):

lim⁡(x,y)→(1,2)x2−yx2+y2\displaystyle \takelim{\lim_{(x, y) \to (1, 2)}} \frac{x^2 - y}{x^2 + y^2}

With one variable, xx can only approach a point from the left or the right. In the (x,y)(x, y) plane, there are infinitely many paths into a point, and a limit exists only when every single path approaches the same surface height.

Limits and Continuity at a Point
lim⁡(x,y)→(0,0)f(x,y)\displaystyle\htmlClass{lc-violet}{\lim_{(x, y) \to (0, 0)}} \htmlClass{lc-blue}{f(x, y)}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
f(x,y)\htmlClass{lc-blue}{f(x, y)}

When a surface has no holes, jumps, or breaks at (a,b)(a, b), the height you approach along every path is simply the height of the surface right at (a,b)(a, b):

lim⁡(x,y)→(a,b)f(x,y)\displaystyle \takelim{\lim_{(x, y) \to (a, b)}} \height{f(x, y)} =f(a,b)⏟continuous at (a,b)\displaystyle = \underbrace{\height{f(a, b)}}_{\text{continuous at } (a, b)}
Text solution
Plug in (1,2)(1, 2)Most surfaces are smooth and unbroken where they are defined, so our first step is always to plug in the coordinates of the target point directly.
lim⁡(x,y)→(1,2)x2−yx2+y2\displaystyle \takelim{\lim_{(x, y) \to (1, 2)}} \frac{x^2 - y}{x^2 + y^2} =12−212+22\displaystyle = \frac{1^2 - 2}{1^2 + 2^2} =1−21+4\displaystyle = \frac{1 - 2}{1 + 4} =−15\displaystyle = \height{-\frac{1}{5}}

Because the denominator is not zero at (1,2)(1, 2), the function is continuous there, and every path into (1,2)(1, 2) leads to height −15\height{-\frac{1}{5}}.

2

The Path Test Along Straight Lines

When plugging in (0,0)(0, 0) gives 00\breaks{\frac{0}{0}}, plugging in the point can no longer tell us the limit. We want to see what happens near the origin for two 00\breaks{\frac{0}{0}} limits:

lim⁡(x,y)→(0,0)x2−y2x2+y2andlim⁡(x,y)→(0,0)xyx2+y2\displaystyle \begin{gathered}\takelim{\lim_{(x, y) \to (0, 0)}} \frac{x^2 - y^2}{x^2 + y^2} \\ \text{and} \\ \takelim{\lim_{(x, y) \to (0, 0)}} \frac{xy}{x^2 + y^2}\end{gathered}

Because every path toward (0,0)(0, 0) must lead to the same height for a limit to exist, finding just two paths that arrive at different heights proves the limit does not exist.

The Path Test Along Straight Lines
lim⁡(x,y)→(0,0)x2−y2x2+y200\displaystyle\htmlClass{lc-violet}{\lim_{(x, y) \to (0, 0)}} \frac{x^2 - y^2}{x^2 + y^2} \quad \htmlClass{lc-orange}{\tfrac{0}{0}}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
Text solution
Walk along the xx-axis (y=0y = 0)For x2−y2x2+y2\frac{x^2 - y^2}{x^2 + y^2}, setting y=0y = 0 before xx reaches 00 simplifies the fraction to a constant height of 1\height{1} everywhere along the xx-axis except the origin.
lim⁡x→0x2−02x2+02\displaystyle \takelim{\lim_{x \to 0}} \frac{x^2 - 0^2}{x^2 + 0^2} =lim⁡x→0x2x2\displaystyle = \takelim{\lim_{x \to 0}} \frac{x^2}{x^2} =lim⁡x→01\displaystyle = \takelim{\lim_{x \to 0}} 1 =1\displaystyle = \height{1}
Walk along the yy-axis (x=0x = 0)Approaching along the yy-axis sets x=0x = 0 and keeps the surface at a constant height of −1\height{-1}.
lim⁡y→002−y202+y2\displaystyle \takelim{\lim_{y \to 0}} \frac{0^2 - y^2}{0^2 + y^2} =lim⁡y→0−y2y2\displaystyle = \takelim{\lim_{y \to 0}} \frac{-y^2}{y^2} =lim⁡y→0(−1)\displaystyle = \takelim{\lim_{y \to 0}} (-1) =−1\displaystyle = \height{-1}
Since the xx-axis approaches height 1\height{1} and the yy-axis approaches height −1\height{-1}, lim⁡(x,y)→(0,0)x2−y2x2+y2\takelim{\lim_{(x, y) \to (0, 0)}} \frac{x^2 - y^2}{x^2 + y^2} does not exist.
Now for lim⁡(x,y)→(0,0)xyx2+y2\takelim{\lim_{(x, y) \to (0, 0)}} \frac{xy}{x^2 + y^2}, walking along either axis (y=0y = 0 or x=0x = 0) gives 0\height{0}, so we test all straight lines y=mxy = \dial{m}x through the origin at once.
Substitute y=mxy = \dial{m}xReplacing yy with mx\dial{m}x puts us on a straight line of slope m\dial{m} through (0,0)(0, 0) and gives every term on top and bottom the same power of xx.
x(mx)x2+(mx)2\displaystyle \frac{x(\dial{m}x)}{x^2 + (\dial{m}x)^2} =mx2x2+m2x2\displaystyle = \frac{\dial{m}x^2}{x^2 + \dial{m}^2x^2}
Factor and cancel x2x^2While we walk toward the origin, xx is not zero, so x2x^2 factors out of the denominator and cancels completely.
mx2x2(1+m2)\displaystyle \frac{\dial{m}x^2}{x^2(1 + \dial{m}^2)} =m1+m2\displaystyle = \height{\frac{\dial{m}}{1 + \dial{m}^2}}

Because the resulting height depends on the slope m\dial{m}, giving 0\height{0} along the xx-axis (m=0\dial{m = 0}) and 12\height{\frac{1}{2}} along the diagonal y=xy = x (m=1\dial{m = 1}), lim⁡(x,y)→(0,0)xyx2+y2\takelim{\lim_{(x, y) \to (0, 0)}} \frac{xy}{x^2 + y^2} does not exist. (To show this clearly when writing out your work, plug in two specific values of m\dial{m} like m=0\dial{m = 0} and m=1\dial{m = 1} to show the two different heights.)

Along any straight line y=mxy = \dial{m}x, the surface z=xyx2+y2\height{z} = \frac{xy}{x^2 + y^2} stays flat at the single height m1+m2\height{\frac{\dial{m}}{1 + \dial{m}^2}} all the way into the origin, and changing the slope m\dial{m} moves that height between −12\height{-\frac{1}{2}} and 12\height{\frac{1}{2}}.

The surface stays flat along every straight line through the origin, but turning the line moves that flat slice up and down between heights -1/2 and 1/2.
3

Curved Paths and Matching Powers

Even when every straight line y=mxy = \dial{m}x leads to the same height, the limit can still fail to exist along a curve. We want to find out whether this limit with uneven powers in the denominator exists:

lim⁡(x,y)→(0,0)xy2x2+y4\displaystyle \takelim{\lim_{(x, y) \to (0, 0)}} \frac{xy^2}{x^2 + y^4}
Curved Paths and Matching Powers
lim⁡(x,y)→(0,0)xy2x2+y4\displaystyle\htmlClass{lc-violet}{\lim_{(x, y) \to (0, 0)}} \frac{xy^2}{x^2 + y^4}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
z\htmlClass{lc-mute}{z}
y=mxy = \htmlClass{lc-pink}{m}x
Text solution
Test straight lines y=mxy = \dial{m}xAlong any straight line, xx and yy shrink at the same rate, so after canceling x2x^2 an extra x\leftover{x} remains on top and sends every straight-line limit to 0\height{0}.
lim⁡x→0x(mx)2x2+(mx)4\displaystyle \takelim{\lim_{x \to 0}} \frac{x(\dial{m}x)^2}{x^2 + (\dial{m}x)^4} =lim⁡x→0m2x3x2(1+m4x2)\displaystyle = \takelim{\lim_{x \to 0}} \frac{\dial{m}^2x^3}{x^2(1 + \dial{m}^4x^2)} =lim⁡x→0m2x1+m4x2\displaystyle = \takelim{\lim_{x \to 0}} \frac{\dial{m}^2\leftover{x}}{1 + \dial{m}^4x^2} =0\displaystyle = \height{0}
Match the denominator powers with x=my2x = \dial{m}y^2In the denominator x2+y4x^2 + y^4, substituting the parabola x=my2x = \dial{m}y^2 makes (my2)2=m2y4(\dial{m}y^2)^2 = \dial{m}^2y^4, so both denominator terms shrink at the same y4y^4 rate.
(my2)y2(my2)2+y4\displaystyle \frac{(\dial{m}y^2)y^2}{(\dial{m}y^2)^2 + y^4} =my4m2y4+y4\displaystyle = \frac{\dial{m}y^4}{\dial{m}^2y^4 + y^4}
Factor and cancel y4y^4Now every term on top and bottom has y4y^4, which cancels out for y≠0y \neq 0 and leaves a formula that depends only on m\dial{m}.
my4y4(m2+1)\displaystyle \frac{\dial{m}y^4}{y^4(\dial{m}^2 + 1)} =mm2+1\displaystyle = \height{\frac{\dial{m}}{\dial{m}^2 + 1}}

Because m=0\dial{m = 0} (the yy-axis x=0x = 0) gives height 0\height{0} while m=1\dial{m = 1} (the parabola x=y2x = y^2) stays at height 12\height{\frac{1}{2}} all the way into the origin, lim⁡(x,y)→(0,0)xy2x2+y4\takelim{\lim_{(x, y) \to (0, 0)}} \frac{xy^2}{x^2 + y^4} does not exist.

Any straight-line path crosses the curved ridge of z=xy2x2+y4\height{z} = \frac{xy^2}{x^2 + y^4} away from the origin and drops back toward height 0\height{0} as it reaches (0,0)(0, 0), whereas following a parabola x=my2x = \dial{m}y^2 stays at the constant height mm2+1\height{\frac{\dial{m}}{\dial{m}^2 + 1}} all the way into the origin.

Every straight line into the origin drops to height zero, while bending the path into a parabola keeps it at a constant height all the way in.
4

Proving a Limit Exists

Because there are infinitely many curves into the origin, checking paths can only prove that a limit does not exist. When a 00\breaks{\frac{0}{0}} limit actually exists, we need a way to prove that every path approaches the same height at once:

lim⁡(x,y)→(1,1)x2−y2x−yandlim⁡(x,y)→(0,0)x2yx2+y2\displaystyle \begin{gathered}\takelim{\lim_{(x, y) \to (1, 1)}} \frac{x^2 - y^2}{x - y} \\ \text{and} \\ \takelim{\lim_{(x, y) \to (0, 0)}} \frac{x^2y}{x^2 + y^2}\end{gathered}

When a common factor cancels, we can remove the hole directly; otherwise, we can bound all directions at once with the Squeeze Theorem or write (x,y)(x, y) in polar coordinates using its distance rr from the origin and angle θ\theta:

x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(0,0)(0, 0)
(x,y)(x, y)
rr
θ\theta
x=rcos⁡θx = r\cos\theta
y=rsin⁡θy = r\sin\theta
x=rcos⁡θ,y=rsin⁡θ,x2+y2=r2\displaystyle \begin{gathered}x = r\cos\theta, \qquad y = r\sin\theta, \\ x^2 + y^2 = r^2\end{gathered}
Proving a Limit Exists
paths disagree⇒does not existpaths agree⇒?\begin{aligned}\text{paths disagree} &\Rightarrow \text{does not exist}\\ \text{paths agree} &\Rightarrow {?}\end{aligned}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
Text solution
First, for lim⁡(x,y)→(1,1)x2−y2x−y\takelim{\lim_{(x, y) \to (1, 1)}} \frac{x^2 - y^2}{x - y}, we can remove the 00\breaks{\frac{0}{0}} hole directly by factoring.
Factor and cancel x−yx - yAway from the line x=y\breaks{x = y}, the common factor x−yx - y cancels, leaving x+yx + y, which is continuous everywhere so we can plug (1,1)(1, 1) right in.
lim⁡(x,y)→(1,1)x2−y2x−y\displaystyle \takelim{\lim_{(x, y) \to (1, 1)}} \frac{x^2 - y^2}{x - y} =lim⁡(x,y)→(1,1)(x−y)(x+y)x−y\displaystyle = \takelim{\lim_{(x, y) \to (1, 1)}} \frac{(x - y)(x + y)}{x - y} =lim⁡(x,y)→(1,1)(x+y)\displaystyle = \takelim{\lim_{(x, y) \to (1, 1)}} (x + y) =1+1\displaystyle = 1 + 1 =2\displaystyle = \height{2}
So the limit as (x,y)(x, y) approaches (1,1)(1, 1) is 2\height{2}, even though the original fraction is undefined at (1,1)(1, 1).
Next, for lim⁡(x,y)→(0,0)x2yx2+y2\takelim{\lim_{(x, y) \to (0, 0)}} \frac{x^2y}{x^2 + y^2}, matching the denominator powers with y=mxy = \dial{m}x leaves an extra x\leftover{x} on top, and because x2+y2x^2 + y^2 is a sum of even powers that never cancel each other out, we can prove the limit is 0\height{0} using either the Squeeze Theorem or polar coordinates.
Bound the piece-over-whole fractionSince x2≥0x^2 \ge 0 and y2≥0y^2 \ge 0, adding y2y^2 in the denominator makes x2x2+y2\frac{x^2}{x^2 + y^2} a positive or zero part divided by the whole, so it is always trapped between 00 and 11 away from (0,0)(0, 0).
0≤x2x2+y2⏟piece over whole≤1\displaystyle \begin{gathered}0 \le \underbrace{\frac{x^2}{x^2 + y^2}}_{\text{piece over whole}} \le 1\end{gathered}
Multiply by ∣y∣\leftover{|y|} and squeezeMultiplying every part of the inequality by ∣y∣\leftover{|y|} traps the absolute value of the function between 00 and ∣y∣\leftover{|y|} (we use ∣y∣\leftover{|y|} because yy itself can be negative).
0\displaystyle 0 ≤∣x2yx2+y2∣\displaystyle \le \left|\frac{x^2y}{x^2 + y^2}\right| =x2x2+y2∣y∣\displaystyle = \frac{x^2}{x^2 + y^2}\leftover{|y|} ≤∣y∣\displaystyle \le \leftover{|y|}
Because ∣y∣→0\leftover{|y|} \to 0 as (x,y)→(0,0)(x, y) \to (0, 0), the Squeeze Theorem forces lim⁡(x,y)→(0,0)x2yx2+y2=0\takelim{\lim_{(x, y) \to (0, 0)}} \frac{x^2y}{x^2 + y^2} = \height{0}.
Alternative: switch to polar coordinatesSubstituting x=rcos⁡θx = r\cos\theta and y=rsin⁡θy = r\sin\theta turns the denominator x2+y2x^2 + y^2 into a single r2r^2 that cancels against r3r^3 on top.
x2yx2+y2\displaystyle \frac{x^2y}{x^2 + y^2} =(rcos⁡θ)2(rsin⁡θ)r2\displaystyle = \frac{(r\cos\theta)^2(r\sin\theta)}{r^2} =r3cos⁡2θsin⁡θr2\displaystyle = \frac{r^3\cos^2\theta\sin\theta}{r^2} =rcos⁡2θsin⁡θ\displaystyle = \leftover{r}\cos^2\theta\sin\theta

Because −1≤cos⁡θ≤1-1 \le \cos\theta \le 1 and −1≤sin⁡θ≤1-1 \le \sin\theta \le 1, shrinking the distance r→0r \to 0 sends rcos⁡2θsin⁡θ\leftover{r}\cos^2\theta\sin\theta to 0\height{0} across every angle θ\theta at once, proving lim⁡(x,y)→(0,0)x2yx2+y2=0\takelim{\lim_{(x, y) \to (0, 0)}} \frac{x^2y}{x^2 + y^2} = \height{0}.

Above a circle of radius rr around the origin, the wavy loop of heights on the surface z=x2yx2+y2\height{z} = \frac{x^2y}{x^2 + y^2} is trapped between the surfaces z=∣y∣z = \leftover{|y|} and z=−∣y∣z = -\leftover{|y|}, and shrinking rr toward 00 brings those bounds together to squeeze the entire loop flat to height 0\height{0} across every angle θ\theta at once.

Around every circle centered at the origin, the surface stays trapped between two simpler sheets, so shrinking the circle squeezes every direction down to zero at once.
5

Where a Function Is Continuous

Instead of testing a single point, we often want to find the set of all points (x,y)(x, y) in the plane where a function is continuous. Because polynomials, rational functions, roots, logarithms, and exponentials are continuous everywhere they are defined, finding where a function is continuous just means finding where its formula is defined.

Where a Function Is Continuous
f(x,y)=xyx2+y2\htmlClass{lc-blue}{f(x, y)} = \dfrac{xy}{x^2 + y^2}
where is f continuous?\text{where is } \htmlClass{lc-blue}{f} \text{ continuous?}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
Text solution
Exclude where a denominator equals zeroA rational function like g(x,y)=x2y−x2\height{g(x, y)} = \frac{x^2}{y - x^2} is continuous everywhere except on the curve where its denominator equals zero.
y−x2≠0  ⟹  {(x,y)∣y≠x2}\displaystyle y - x^2 \neq 0 \implies \{(x, y) \mid y \neq x^2\}
Keep the inside of a square root 00 or greaterFor f(x,y)=4−x2−y2\height{f(x, y)} = \sqrt{4 - x^2 - y^2}, 4−x2−y24 - x^2 - y^2 is continuous everywhere, and the square root is continuous wherever the expression inside it is greater than or equal to 00.
4−x2−y2≥0  ⟹  {(x,y)∣x2+y2≤4}\displaystyle \begin{gathered}4 - x^2 - y^2 \ge 0 \\ \implies \{(x, y) \mid x^2 + y^2 \le 4\}\end{gathered}
Keep the inside of a logarithm greater than 00For f(x,y)=ln⁡(y−x)\height{f(x, y)} = \ln(y - x), the natural logarithm is defined and continuous only where the expression inside it is greater than 00.
y−x>0  ⟹  {(x,y)∣y>x}\displaystyle y - x > 0 \implies \{(x, y) \mid y > x\}
y\htmlClass{lc-mute}{y}
x\htmlClass{lc-mute}{x}
22
x2+y2=4x^2 + y^2 = 4
y\htmlClass{lc-mute}{y}
x\htmlClass{lc-mute}{x}
22
y=xy = x
6

Piecewise Continuity and the Limit Playbook

A rational function whose denominator is x2+y2x^2 + y^2 is automatically continuous everywhere except at (0,0)(0, 0). When a piecewise function gives a separate value right at (0,0)(0, 0), we want to know whether that value fills the hole to make the function continuous on the entire plane:

f(x,y)={xyx2+y2if (x,y)≠(0,0)0if (x,y)=(0,0)andg(x,y)={x2yx2+y2if (x,y)≠(0,0)0if (x,y)=(0,0)\displaystyle \begin{gathered}\height{f(x, y)} = \begin{cases} \dfrac{xy}{x^2 + y^2} & \text{if } (x, y) \neq (0, 0) \\[6pt] \height{0} & \text{if } (x, y) = (0, 0) \end{cases} \\[6pt] \text{and} \\[6pt] \height{g(x, y)} = \begin{cases} \dfrac{x^2y}{x^2 + y^2} & \text{if } (x, y) \neq (0, 0) \\[6pt] \height{0} & \text{if } (x, y) = (0, 0) \end{cases}\end{gathered}
Piecewise Continuity and the Limit Playbook
f(x,y)={xyx2+y2(x,y)≠(0,0)0(x,y)=(0,0)\htmlClass{lc-blue}{f(x, y)} = \begin{cases} \dfrac{xy}{x^2 + y^2} & (x, y) \neq (0, 0) \\ \htmlClass{lc-blue}{0} & (x, y) = (0, 0) \end{cases}
lim⁡(x,y)→(0,0)f(x,y)=?f(0,0)\displaystyle \htmlClass{lc-violet}{\lim_{(x, y) \to (0, 0)}} \htmlClass{lc-blue}{f(x, y)} \overset{?}{=} \htmlClass{lc-blue}{f(0, 0)}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
Text solution
Check whether the limit at (0,0)(0, 0) exists for f\height{f}Along y=mxy = \dial{m}x, xyx2+y2=m1+m2\frac{xy}{x^2 + y^2} = \height{\frac{\dial{m}}{1 + \dial{m}^2}} approaches different heights along different lines, so the limit at (0,0)(0, 0) does not exist and f\height{f} is not continuous at (0,0)(0, 0) no matter what value is chosen for f(0,0)\height{f(0, 0)}.
lim⁡(x,y)→(0,0)xyx2+y2 does not exist≠f(0,0)\displaystyle \begin{aligned}\takelim{\lim_{(x, y) \to (0, 0)}} \frac{xy}{x^2 + y^2} &\text{ does not exist} \\ &\neq \height{f(0, 0)}\end{aligned}
Compare the limit at (0,0)(0, 0) to g(0,0)\height{g(0, 0)}For g(x,y)\height{g(x, y)}, the Squeeze Theorem proved that x2yx2+y2\frac{x^2y}{x^2 + y^2} approaches 0\height{0} from every direction, which matches the value g(0,0)=0\height{g(0, 0) = 0} and makes g\height{g} continuous on the entire (x,y)(x, y) plane.
lim⁡(x,y)→(0,0)x2yx2+y2\displaystyle \takelim{\lim_{(x, y) \to (0, 0)}} \frac{x^2y}{x^2 + y^2} =0\displaystyle = \height{0} =g(0,0)\displaystyle = \height{g(0, 0)}

Summary

When you are handed a two-variable limit, plug in the target point first. If the denominator is not zero, you don't need paths or squeezing at all, because the function is continuous there and plugging in gives the answer right away, like lim⁡(x,y)→(1,2)x2−yx2+y2=−15\takelim{\lim_{(x, y) \to (1, 2)}} \frac{x^2 - y}{x^2 + y^2} = \height{-\frac{1}{5}}. Even if plugging in gives 00\breaks{\frac{0}{0}}, check first whether a common factor cancels out directly, as in x2−y2x−y=x+y→2\frac{x^2 - y^2}{x - y} = x + y \to \height{2} at (1,1)(1, 1).

When a 00\breaks{\frac{0}{0}} fraction does not factor, let the powers in the denominator pick your path so its terms shrink at the same rate: use y=mxy = \dial{m}x when the bottom is x2+y2x^2 + y^2, and use x=my2x = \dial{m}y^2 when the bottom is x2+y4x^2 + y^4. If substituting that path makes all the xx's and yy's cancel out and leaves an expression with m\dial{m}, such as xyx2+y2=m1+m2\frac{xy}{x^2 + y^2} = \height{\frac{\dial{m}}{1 + \dial{m}^2}} along y=mxy = \dial{m}x or xy2x2+y4=mm2+1\frac{xy^2}{x^2 + y^4} = \height{\frac{\dial{m}}{\dial{m}^2 + 1}} along x=my2x = \dial{m}y^2, then different paths approach different heights and the limit does not exist.

If the denominator is a sum of even powers (like x2+y2x^2 + y^2 or x2+y4x^2 + y^4) and matching its powers still leaves extra x\leftover{x}'s or y\leftover{y}'s in the numerator, the numerator shrinks faster than the denominator from every direction and the limit is 0\height{0}. Because checking paths alone never proves a limit exists, prove it equals 0\height{0} by trapping a piece-over-whole fraction between 00 and 11, as in 0≤∣x2yx2+y2∣=x2x2+y2∣y∣≤∣y∣→00 \le \left|\frac{x^2y}{x^2 + y^2}\right| = \frac{x^2}{x^2 + y^2}\leftover{|y|} \le \leftover{|y|} \to 0, or for x2+y2x^2 + y^2 by switching to polar coordinates (x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta, x2+y2=r2x^2 + y^2 = r^2) and sending r→0r \to 0. That same limit test checks piecewise continuity at (0,0)(0, 0): a formula defined away from (0,0)(0, 0) is continuous at the origin only when lim⁡(x,y)→(0,0)f(x,y)\takelim{\lim_{(x, y) \to (0, 0)}} \height{f(x, y)} exists and equals f(0,0)\height{f(0, 0)}.

7

Practice

1

Evaluate lim⁡(x,y)→(2,−1)x2+3xyx2+y2\takelim{\lim_{(x, y) \to (2, -1)}} \frac{x^2 + 3xy}{x^2 + y^2}, or show that it does not exist.

Check what happens to the denominator when you plug in x=2x = 2 and y=−1y = -1 before trying any paths.

Plugging in x=2x = 2 and y=−1y = -1 directly gives:
lim⁡(x,y)→(2,−1)x2+3xyx2+y2\displaystyle \takelim{\lim_{(x, y) \to (2, -1)}} \frac{x^2 + 3xy}{x^2 + y^2} =22+3(2)(−1)22+(−1)2\displaystyle = \frac{2^2 + 3(2)(-1)}{2^2 + (-1)^2} =4−64+1\displaystyle = \frac{4 - 6}{4 + 1}
Watch the negative sign on y=−1y = -1: in the numerator, 3(2)(−1)=−63(2)(-1) = -6 (making it +6+6 gives the wrong answer 22), and in the denominator, squaring −1-1 gives (−1)2=+1(-1)^2 = +1 (writing −1-1 in the denominator gives −23-\frac{2}{3}). Because the denominator is 5≠05 \neq 0, the function is continuous at (2,−1)(2, -1), and the limit is −25\height{-\frac{2}{5}}.
2

Evaluate lim⁡(x,y)→(2,1)x2−4y2x−2y\takelim{\lim_{(x, y) \to (2, 1)}} \frac{x^2 - 4y^2}{x - 2y}, or show that it does not exist.

Plugging in (2,1)(2, 1) gives 00\breaks{\frac{0}{0}}; look at the numerator x2−(2y)2x^2 - (2y)^2 as a difference of squares.

Plugging in (2,1)(2, 1) gives 4−42−2=00\frac{4 - 4}{2 - 2} = \breaks{\frac{0}{0}}, so we factor the numerator as a difference of squares and cancel x−2yx - 2y away from the line x=2y\breaks{x = 2y}:
lim⁡(x,y)→(2,1)x2−4y2x−2y\displaystyle \takelim{\lim_{(x, y) \to (2, 1)}} \frac{x^2 - 4y^2}{x - 2y} =lim⁡(x,y)→(2,1)(x−2y)(x+2y)x−2y\displaystyle = \takelim{\lim_{(x, y) \to (2, 1)}} \frac{(x - 2y)(x + 2y)}{x - 2y} =lim⁡(x,y)→(2,1)(x+2y)\displaystyle = \takelim{\lim_{(x, y) \to (2, 1)}} (x + 2y)
Be careful to keep the 22 on yy in the remaining factor x+2yx + 2y (dropping the 22 and writing x+yx + y gives the wrong answer 33). Plugging in x=2x = 2 and y=1y = 1 gives 2+2(1)=42 + 2(1) = \height{4}.
3

Evaluate lim⁡(x,y)→(0,0)2xy3x2+y2\takelim{\lim_{(x, y) \to (0, 0)}} \frac{2xy}{3x^2 + y^2}, or show that it does not exist.

Both terms in the denominator 3x2+y23x^2 + y^2 have power 22. What path checks all straight lines through the origin at once?

Don't stop after checking the xx-axis (y=0y = 0) and yy-axis (x=0x = 0): both axes give 0\height{0}, which tempts you to say the limit is 00. Because 3x23x^2 and y2y^2 both have power 22, we substitute y=mxy = \dial{m}x to test all straight lines through the origin:
2x(mx)3x2+(mx)2\displaystyle \frac{2x(\dial{m}x)}{3x^2 + (\dial{m}x)^2} =2mx2x2(3+m2)\displaystyle = \frac{2\dial{m}x^2}{x^2(3 + \dial{m}^2)} =2m3+m2\displaystyle = \height{\frac{2\dial{m}}{3 + \dial{m}^2}}
For m=0\dial{m = 0} (the xx-axis) the height is 0\height{0}, while for m=1\dial{m = 1} (the line y=xy = x) the height is 2(1)3+12=12\frac{2(1)}{3 + 1^2} = \height{\frac{1}{2}}. Because different slopes approach different heights, the limit does not exist.
4

Evaluate lim⁡(x,y)→(0,0)3xy2x2+y2\takelim{\lim_{(x, y) \to (0, 0)}} \frac{3xy^2}{x^2 + y^2}, and prove your answer.

Compare the total power of the numerator 3xy23xy^2 with the even-power denominator x2+y2x^2 + y^2, and pull out the piece-over-whole fraction y2x2+y2\frac{y^2}{x^2 + y^2}.

Don't stop at substituting y=mxy = \dial{m}x to get 3m2x1+m2→0\frac{3\dial{m}^2\leftover{x}}{1 + \dial{m}^2} \to \height{0}, because straight lines alone never prove a limit exists. Instead, since x2≥0x^2 \ge 0 and y2≥0y^2 \ge 0, the piece-over-whole fraction stays between 00 and 11: 0≤y2x2+y2≤10 \le \frac{y^2}{x^2 + y^2} \le 1 away from (0,0)(0, 0). Multiplying through by 3∣x∣\leftover{3|x|} (keep the absolute value bars on ∣x∣|x|, since xx can be negative and writing ≤3x\le 3x is false when x<0x < 0) traps the absolute value of the function:
0\displaystyle 0 ≤∣3xy2x2+y2∣\displaystyle \le \left|\frac{3xy^2}{x^2 + y^2}\right| =3∣x∣⋅y2x2+y2\displaystyle = \leftover{3|x|} \cdot \frac{y^2}{x^2 + y^2} ≤3∣x∣\displaystyle \le \leftover{3|x|}
As (x,y)→(0,0)(x, y) \to (0, 0), 3∣x∣→0\leftover{3|x|} \to 0, so by the Squeeze Theorem (or in polar coordinates, 3rcos⁡θsin⁡2θ→0\leftover{3r}\cos\theta\sin^2\theta \to 0 as r→0r \to 0) the limit is 0\height{0}.
5

Evaluate lim⁡(x,y)→(0,0)x2yx4+y2\takelim{\lim_{(x, y) \to (0, 0)}} \frac{x^2y}{x^4 + y^2}, or show that it does not exist.

Look at the uneven powers in the denominator x4+y2x^4 + y^2: what substitution for yy makes y2y^2 match x4x^4?

Checking only straight lines y=mxy = \dial{m}x gives mx3x4+m2x2=mxx2+m2→0\frac{\dial{m}x^3}{x^4 + \dial{m}^2x^2} = \frac{\dial{m}\leftover{x}}{x^2 + \dial{m}^2} \to \height{0} for every slope m\dial{m}, which misses the curved ridge and leads to the wrong answer 00. To match the powers in the denominator x4+y2x^4 + y^2, substitute the parabola y=mx2y = \dial{m}x^2 (not x=my2x = \dial{m}y^2, which would make the powers m4y8+y2\dial{m}^4y^8 + y^2 even more uneven):
x2(mx2)x4+(mx2)2\displaystyle \frac{x^2(\dial{m}x^2)}{x^4 + (\dial{m}x^2)^2} =mx4x4(1+m2)\displaystyle = \frac{\dial{m}x^4}{x^4(1 + \dial{m}^2)} =m1+m2\displaystyle = \height{\frac{\dial{m}}{1 + \dial{m}^2}}
Since m=0\dial{m = 0} gives 0\height{0} and m=1\dial{m = 1} gives 12\height{\frac{1}{2}}, the limit does not exist.
6

Find the set of all points in the (x,y)(x, y) plane where f(x,y)=ln⁡(y−x2)\height{f(x, y)} = \ln(y - x^2) is continuous.

The polynomial y−x2y - x^2 is continuous everywhere; what inputs does the natural log ln⁡(inside)\ln(\text{inside}) accept?

The polynomial y−x2y - x^2 is continuous on the entire plane, and the natural logarithm is continuous wherever the expression inside it is greater than 00:
y−x2>0  ⟹  y>x2\displaystyle y - x^2 > 0 \implies y > x^2
Be careful not to include the boundary parabola y=x2y = x^2 (writing y≥x2y \ge x^2 treats the log like a square root, and writing y≠x2y \neq x^2 treats it like a denominator, but ln⁡(0)\breaks{\ln(0)} is undefined). The function is continuous on the region above the parabola y=x2y = x^2 (not including the parabola itself), which is {(x,y)∣y>x2}\{(x, y) \mid y > x^2\}.
7

Let f(x,y)=x2y2x2+y4\height{f(x, y)} = \frac{x^2y^2}{x^2 + y^4} for (x,y)≠(0,0)(x, y) \neq (0, 0), and f(0,0)=0\height{f(0, 0) = 0}. Is f\height{f} continuous on the entire (x,y)(x, y) plane? Justify your answer.

Pull out the piece-over-whole fraction x2x2+y4\frac{x^2}{x^2 + y^4} to see what remains in the numerator as (x,y)→(0,0)(x, y) \to (0, 0).

Away from (0,0)(0, 0), f\height{f} is a rational function whose denominator x2+y4x^2 + y^4 is never zero. At (0,0)(0, 0), don't be fooled into answering "No" just because the powers in x2y2x^2y^2 add up to 44 and y4y^4 has power 44: if you match the denominator powers with x=my2x = \dial{m}y^2, the numerator becomes (my2)2y2=m2y6(\dial{m}y^2)^2y^2 = \dial{m}^2y^6, which still has a higher power than y4y^4 on the bottom. Since x2≥0x^2 \ge 0 and y4≥0y^4 \ge 0, we have 0≤x2x2+y4≤10 \le \frac{x^2}{x^2 + y^4} \le 1 for (x,y)≠(0,0)(x, y) \neq (0, 0), and multiplying by y2≥0\leftover{y^2} \ge 0 gives:
0\displaystyle 0 ≤x2y2x2+y4\displaystyle \le \frac{x^2y^2}{x^2 + y^4} =x2x2+y4⋅y2\displaystyle = \frac{x^2}{x^2 + y^4} \cdot \leftover{y^2} ≤y2\displaystyle \le \leftover{y^2}
As (x,y)→(0,0)(x, y) \to (0, 0), y2→0\leftover{y^2} \to 0, so by the Squeeze Theorem lim⁡(x,y)→(0,0)f(x,y)=0=f(0,0)\takelim{\lim_{(x, y) \to (0, 0)}} \height{f(x, y)} = \height{0} = \height{f(0, 0)}. Therefore, the answer is Yes.