To find the limit of a two-variable function f(x,y), we need to see what height the surface z=f(x,y) approaches as (x,y) walks toward our target point from every possible direction in the plane.
1
Limits and Continuity at a Point
We want to find the height that f(x,y)=x2+y2x2−y approaches as (x,y) walks toward (1,2):
(x,y)→(1,2)limx2+y2x2−y
With one variable, x can only approach a point from the left or the right. In the (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
When a surface has no holes, jumps, or breaks at (a,b), the height you approach along every path is simply the height of the surface right at (a,b):
(x,y)→(a,b)limf(x,y)=continuous at (a,b)f(a,b)
Text solution
Plug in (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.
(x,y)→(1,2)limx2+y2x2−y=12+2212−2=1+41−2=−51
Because the denominator is not zero at (1,2), the function is continuous there, and every path into (1,2) leads to height −51.
2
The Path Test Along Straight Lines
When plugging in (0,0) gives 00, plugging in the point can no longer tell us the limit. We want to see what happens near the origin for two 00 limits:
Because every path toward (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
Text solution
Walk along the x-axis (y=0)For x2+y2x2−y2, setting y=0 before x reaches 0 simplifies the fraction to a constant height of 1 everywhere along the x-axis except the origin.
x→0limx2+02x2−02=x→0limx2x2=x→0lim1=1
Walk along the y-axis (x=0)Approaching along the y-axis sets x=0 and keeps the surface at a constant height of −1.
y→0lim02+y202−y2=y→0limy2−y2=y→0lim(−1)=−1
Since the x-axis approaches height 1 and the y-axis approaches height −1,lim(x,y)→(0,0)x2+y2x2−y2 does not exist.
Now for lim(x,y)→(0,0)x2+y2xy, walking along either axis (y=0 or x=0) gives 0, so we test all straight lines y=mx through the origin at once.
Substitute y=mxReplacing y with mx puts us on a straight line of slope m through (0,0) and gives every term on top and bottom the same power of x.
x2+(mx)2x(mx)=x2+m2x2mx2
Factor and cancel x2While we walk toward the origin, x is not zero, so x2 factors out of the denominator and cancels completely.
x2(1+m2)mx2=1+m2m
Because the resulting height depends on the slope m, giving 0 along the x-axis (m=0) and 21 along the diagonal y=x (m=1), lim(x,y)→(0,0)x2+y2xy does not exist. (To show this clearly when writing out your work, plug in two specific values of m like m=0 and m=1 to show the two different heights.)
Along any straight line y=mx, the surface z=x2+y2xy stays flat at the single height 1+m2m all the way into the origin, and changing the slope m moves that height between −21 and 21.
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=mx 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:
(x,y)→(0,0)limx2+y4xy2
Curved Paths and Matching Powers
Text solution
Test straight lines y=mxAlong any straight line, x and y shrink at the same rate, so after canceling x2 an extra x remains on top and sends every straight-line limit to 0.
Match the denominator powers with x=my2In the denominator x2+y4, substituting the parabola x=my2 makes (my2)2=m2y4, so both denominator terms shrink at the same y4 rate.
(my2)2+y4(my2)y2=m2y4+y4my4
Factor and cancel y4Now every term on top and bottom has y4, which cancels out for y=0 and leaves a formula that depends only on m.
y4(m2+1)my4=m2+1m
Because m=0 (the y-axis x=0) gives height 0 while m=1 (the parabola x=y2) stays at height 21 all the way into the origin, lim(x,y)→(0,0)x2+y4xy2 does not exist.
Any straight-line path crosses the curved ridge of z=x2+y4xy2 away from the origin and drops back toward height 0 as it reaches (0,0), whereas following a parabola x=my2 stays at the constant height m2+1m 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 limit actually exists, we need a way to prove that every path approaches the same height at once:
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) in polar coordinates using its distance r from the origin and angle θ:
x=rcosθ,y=rsinθ,x2+y2=r2
Proving a Limit Exists
Text solution
First, for lim(x,y)→(1,1)x−yx2−y2, we can remove the 00 hole directly by factoring.
Factor and cancel x−yAway from the line x=y, the common factor x−y cancels, leaving x+y, which is continuous everywhere so we can plug (1,1) right in.
So the limit as (x,y) approaches (1,1) is 2, even though the original fraction is undefined at (1,1).
Next, for lim(x,y)→(0,0)x2+y2x2y, matching the denominator powers with y=mx leaves an extra x on top, and because x2+y2 is a sum of even powers that never cancel each other out, we can prove the limit is 0 using either the Squeeze Theorem or polar coordinates.
Bound the piece-over-whole fractionSince x2≥0 and y2≥0, adding y2 in the denominator makes x2+y2x2 a positive or zero part divided by the whole, so it is always trapped between 0 and 1 away from (0,0).
0≤piece over wholex2+y2x2≤1
Multiply by ∣y∣ and squeezeMultiplying every part of the inequality by ∣y∣ traps the absolute value of the function between 0 and ∣y∣ (we use ∣y∣ because y itself can be negative).
0≤x2+y2x2y=x2+y2x2∣y∣≤∣y∣
Because ∣y∣→0 as (x,y)→(0,0), the Squeeze Theorem forces lim(x,y)→(0,0)x2+y2x2y=0.
Alternative: switch to polar coordinatesSubstituting x=rcosθ and y=rsinθ turns the denominator x2+y2 into a single r2 that cancels against r3 on top.
Because −1≤cosθ≤1 and −1≤sinθ≤1, shrinking the distance r→0 sends rcos2θsinθ to 0 across every angle θ at once, proving lim(x,y)→(0,0)x2+y2x2y=0.
Above a circle of radius r around the origin, the wavy loop of heights on the surface z=x2+y2x2y is trapped between the surfaces z=∣y∣ and z=−∣y∣, and shrinking r toward 0 brings those bounds together to squeeze the entire loop flat to height 0 across every angle θ 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) 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
Text solution
Exclude where a denominator equals zeroA rational function like g(x,y)=y−x2x2 is continuous everywhere except on the curve where its denominator equals zero.
y−x2=0⟹{(x,y)∣y=x2}
Keep the inside of a square root 0 or greaterFor f(x,y)=4−x2−y2,4−x2−y2 is continuous everywhere, and the square root is continuous wherever the expression inside it is greater than or equal to 0.
4−x2−y2≥0⟹{(x,y)∣x2+y2≤4}
Keep the inside of a logarithm greater than 0For f(x,y)=ln(y−x), the natural logarithm is defined and continuous only where the expression inside it is greater than 0.
y−x>0⟹{(x,y)∣y>x}
6
Piecewise Continuity and the Limit Playbook
A rational function whose denominator is x2+y2 is automatically continuous everywhere except at (0,0). When a piecewise function gives a separate value right at (0,0), we want to know whether that value fills the hole to make the function continuous on the entire plane:
Check whether the limit at (0,0) exists for fAlong y=mx,x2+y2xy=1+m2m approaches different heights along different lines, so the limit at (0,0) does not exist and f is not continuous at (0,0) no matter what value is chosen for f(0,0).
(x,y)→(0,0)limx2+y2xy does not exist=f(0,0)
Compare the limit at (0,0) to g(0,0)For g(x,y), the Squeeze Theorem proved that x2+y2x2y approaches 0 from every direction, which matches the value g(0,0)=0 and makes g continuous on the entire (x,y) plane.
(x,y)→(0,0)limx2+y2x2y=0=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+y2x2−y=−51. Even if plugging in gives 00, check first whether a common factor cancels out directly, as in x−yx2−y2=x+y→2 at (1,1).
When a 00 fraction does not factor, let the powers in the denominator pick your path so its terms shrink at the same rate: use y=mx when the bottom is x2+y2, and use x=my2 when the bottom is x2+y4. If substituting that path makes all the x's and y's cancel out and leaves an expression with m, such as x2+y2xy=1+m2m along y=mx or x2+y4xy2=m2+1m along x=my2, then different paths approach different heights and the limit does not exist.
If the denominator is a sum of even powers (like x2+y2 or x2+y4) and matching its powers still leaves extra x's or y's in the numerator, the numerator shrinks faster than the denominator from every direction and the limit is 0. Because checking paths alone never proves a limit exists, prove it equals 0 by trapping a piece-over-whole fraction between 0 and 1, as in 0≤x2+y2x2y=x2+y2x2∣y∣≤∣y∣→0, or for x2+y2 by switching to polar coordinates (x=rcosθ,y=rsinθ,x2+y2=r2) and sending r→0. That same limit test checks piecewise continuity at (0,0): a formula defined away from (0,0) is continuous at the origin only when lim(x,y)→(0,0)f(x,y) exists and equals f(0,0).
7
Practice
1
Evaluate lim(x,y)→(2,−1)x2+y2x2+3xy, or show that it does not exist.
Watch the negative sign on y=−1: in the numerator, 3(2)(−1)=−6 (making it +6 gives the wrong answer 2).Watch the negative sign on y=−1: in the denominator, squaring −1 gives (−1)2=+1 (writing −1 in the denominator gives −32).
Check what happens to the denominator when you plug in x=2 and y=−1 before trying any paths.
Watch the negative sign on y=−1: in the numerator, 3(2)(−1)=−6 (making it +6 gives the wrong answer 2), and in the denominator, squaring −1 gives (−1)2=+1 (writing −1 in the denominator gives −32). Because the denominator is 5=0, the function is continuous at (2,−1), and the limit is −52.
2
Evaluate lim(x,y)→(2,1)x−2yx2−4y2, or show that it does not exist.
Be careful to keep the 2 on y in the remaining factor x+2y (dropping the 2 and writing x+y gives the wrong answer 3).
Plugging in (2,1) gives 00; look at the numerator x2−(2y)2 as a difference of squares.
Plugging in (2,1) gives 2−24−4=00, so we factor the numerator as a difference of squares and cancel x−2y away from the line x=2y:
Be careful to keep the 2 on y in the remaining factor x+2y (dropping the 2 and writing x+y gives the wrong answer 3). Plugging in x=2 and y=1 gives 2+2(1)=4.
3
Evaluate lim(x,y)→(0,0)3x2+y22xy, or show that it does not exist.
Don't stop after checking the x-axis (y=0) and y-axis (x=0): both axes give 0, which tempts you to say the limit is 0.
Both terms in the denominator 3x2+y2 have power 2. What path checks all straight lines through the origin at once?
Don't stop after checking the x-axis (y=0) and y-axis (x=0): both axes give 0, which tempts you to say the limit is 0. Because 3x2 and y2 both have power 2, we substitute y=mx to test all straight lines through the origin:
3x2+(mx)22x(mx)=x2(3+m2)2mx2=3+m22m
For m=0 (the x-axis) the height is 0, while for m=1 (the line y=x) the height is 3+122(1)=21. Because different slopes approach different heights, the limit does not exist.
4
Evaluate lim(x,y)→(0,0)x2+y23xy2, and prove your answer.
Compare the total power of the numerator 3xy2 with the even-power denominator x2+y2, and pull out the piece-over-whole fraction x2+y2y2.
Don't stop at substituting y=mx to get 1+m23m2x→0, because straight lines alone never prove a limit exists. Instead, since x2≥0 and y2≥0, the piece-over-whole fraction stays between 0 and 1:0≤x2+y2y2≤1 away from (0,0). Multiplying through by 3∣x∣ (keep the absolute value bars on ∣x∣, since x can be negative and writing ≤3x is false when x<0) traps the absolute value of the function:
0≤x2+y23xy2=3∣x∣⋅x2+y2y2≤3∣x∣
As (x,y)→(0,0),3∣x∣→0, so by the Squeeze Theorem (or in polar coordinates, 3rcosθsin2θ→0 as r→0) the limit is 0.
5
Evaluate lim(x,y)→(0,0)x4+y2x2y, or show that it does not exist.
Checking only straight lines y=mx gives x4+m2x2mx3=x2+m2mx→0 for every slope m, which misses the curved ridge and leads to the wrong answer 0.
Look at the uneven powers in the denominator x4+y2: what substitution for y makes y2 match x4?
Checking only straight lines y=mx gives x4+m2x2mx3=x2+m2mx→0 for every slope m, which misses the curved ridge and leads to the wrong answer 0. To match the powers in the denominator x4+y2, substitute the parabola y=mx2 (not x=my2, which would make the powers m4y8+y2 even more uneven):
x4+(mx2)2x2(mx2)=x4(1+m2)mx4=1+m2m
Since m=0 gives 0 and m=1 gives 21, the limit does not exist.
6
Find the set of all points in the (x,y) plane where f(x,y)=ln(y−x2) is continuous.
The polynomial y−x2 is continuous everywhere; what inputs does the natural log ln(inside) accept?
The polynomial y−x2 is continuous on the entire plane, and the natural logarithm is continuous wherever the expression inside it is greater than 0:
y−x2>0⟹y>x2
Be careful not to include the boundary parabola y=x2 (writing y≥x2 treats the log like a square root, and writing y=x2 treats it like a denominator, but ln(0) is undefined). The function is continuous on the region above the parabola y=x2 (not including the parabola itself), which is {(x,y)∣y>x2}.
7
Let f(x,y)=x2+y4x2y2 for (x,y)=(0,0), and f(0,0)=0. Is f continuous on the entire (x,y) plane? Justify your answer.
Pull out the piece-over-whole fraction x2+y4x2 to see what remains in the numerator as (x,y)→(0,0).
Away from (0,0),f is a rational function whose denominator x2+y4 is never zero. At (0,0), don't be fooled into answering "No" just because the powers in x2y2 add up to 4 and y4 has power 4: if you match the denominator powers with x=my2, the numerator becomes (my2)2y2=m2y6, which still has a higher power than y4 on the bottom. Since x2≥0 and y4≥0, we have 0≤x2+y4x2≤1 for (x,y)=(0,0), and multiplying by y2≥0 gives:
0≤x2+y4x2y2=x2+y4x2⋅y2≤y2
As (x,y)→(0,0),y2→0, so by the Squeeze Theorem lim(x,y)→(0,0)f(x,y)=0=f(0,0). Therefore, the answer is Yes.