3. Functions of Several Variables

Limits And Continuity In Higher Dimensions

Limits and Continuity in Higher Dimensions

Welcome, students, to one of the most important ideas in multivariable calculus 🌟 In single-variable calculus, you learned limits by watching what happens as $x$ gets close to a number. In higher dimensions, the idea is the same, but now a point can be approached from many directions in the plane or space. That makes the topic both powerful and a little tricky.

What you will learn

By the end of this lesson, students, you should be able to:

  • Explain what a limit means for a function of several variables.
  • Understand why limits in higher dimensions are harder than limits in one variable.
  • Test whether a limit exists using different paths.
  • Describe continuity for functions of several variables.
  • Connect limits and continuity to graphs, level curves, and real-world models.

A helpful way to think about this topic is to imagine walking toward a point on a map πŸ“ In one-variable calculus, you can only move left or right along a line. In multivariable calculus, you can approach from infinitely many directions. That extra freedom is the source of both the beauty and the challenge.

Limits in two variables

A function of two variables has the form $f(x,y)$. Instead of one input, it takes a pair of inputs. For example, $f(x,y)=x^2+y^2$ assigns a number to every point $(x,y)$ in the plane.

The limit of $f(x,y)$ as $(x,y)$ approaches $(a,b)$ is written as

$$\lim_{(x,y)\to(a,b)} f(x,y)=L$$

This means that as the point $(x,y)$ gets closer and closer to $(a,b)$, the values of $f(x,y)$ get closer and closer to $L$.

The key idea is that the point $(x,y)$ can approach $(a,b)$ along many paths: straight lines, parabolas, circles, or any curve. For the limit to exist, the function must approach the same value $L$ along every possible path.

Example 1: A limit that exists

Consider $f(x,y)=x^2+y^2$. If $(x,y)$ approaches $(0,0)$, then

$$f(x,y)=x^2+y^2$$

Since both $x^2$ and $y^2$ go to $0$ as $x$ and $y$ go to $0$, the function approaches $0$. So

$$\lim_{(x,y)\to(0,0)} (x^2+y^2)=0$$

This limit exists no matter which path you use. For instance, along the line $y=mx$, we get

$$f(x,mx)=x^2+m^2x^2=(1+m^2)x^2$$

and this also goes to $0$ as $x\to0$.

Example 2: A limit that does not exist

Now consider

$$f(x,y)=\frac{x^2-y^2}{x^2+y^2}$$

as $(x,y)\to(0,0)$. If we approach along the line $y=0$, then

$$f(x,0)=\frac{x^2}{x^2}=1$$

for $x\neq0$. But if we approach along the line $x=0$, then

$$f(0,y)=\frac{-y^2}{y^2}=-1$$

for $y\neq0$. Because two different paths give two different answers, the limit does not exist.

This is a major lesson in higher dimensions: checking just one path is not enough to prove a limit exists, but two different answers are enough to prove that it does not exist.

How to test a multivariable limit

When students works with a limit in higher dimensions, there are several useful strategies 🧠

1. Try different paths

If two paths give different values, the limit does not exist. This is often the fastest way to disprove a limit.

For example, with

$$f(x,y)=\frac{xy}{x^2+y^2}$$

at $(0,0)$, along $y=x$ we get

$$f(x,x)=\frac{x^2}{2x^2}=\frac{1}{2}$$

But along $y=-x$ we get

$$f(x,-x)=\frac{-x^2}{2x^2}=-\frac{1}{2}$$

Since the results differ, the limit does not exist.

2. Use algebraic simplification

Sometimes a limit looks complicated, but algebra reveals the answer. For example,

$$f(x,y)=\frac{x^2y}{x^2+y^2}$$

near $(0,0)$. Let’s estimate its size. Since $|x^2y|\le (x^2+y^2)|y|$ is not the cleanest route, a more useful idea is to switch to polar coordinates.

3. Use polar coordinates

In two dimensions, we can write

$$x=r\cos\theta, \quad y=r\sin\theta$$

where $r$ is the distance from the origin. Then approaching $(0,0)$ means $r\to0$.

For $f(x,y)=\frac{x^2y}{x^2+y^2}$, we get

$$f(r,\theta)=\frac{(r^2\cos^2\theta)(r\sin\theta)}{r^2}=r\cos^2\theta\sin\theta$$

As $r\to0$, this goes to $0$ for every $\theta$. So

$$\lim_{(x,y)\to(0,0)} \frac{x^2y}{x^2+y^2}=0$$

when $f(0,0)$ is not part of the original formula. Polar coordinates are especially useful because they measure how close we are to the point using distance, not direction.

Continuity in higher dimensions

A function of several variables is continuous at a point if three things happen:

  1. The function is defined at the point.
  2. The limit at the point exists.
  3. The limit equals the function value.

For a function $f(x,y)$, continuity at $(a,b)$ means

$$\lim_{(x,y)\to(a,b)} f(x,y)=f(a,b)$$

This is the multivariable version of continuity from single-variable calculus.

Example 3: A continuous function

The function

$$f(x,y)=x^2+3y^2-4x+1$$

is a polynomial in two variables. Polynomials are continuous everywhere, so $f$ is continuous at every point in the plane.

For example, at $(1,2)$,

$$f(1,2)=1+12-4+1=10$$

and the limit as $(x,y)\to(1,2)$ is also $10$.

Example 4: A function that is not continuous

Consider

$$f(x,y)=\frac{x^2+y^2}{x^2+y^2-1}$$

This function is not defined when

$$x^2+y^2-1=0$$

which is the circle $x^2+y^2=1$. On that circle, the function has no value, so it is not continuous there. Away from the circle, where the denominator is not zero, it is continuous.

This shows an important rule: many rational functions of several variables are continuous wherever their denominators are not zero.

Why limits in higher dimensions are different from one variable

In one-variable calculus, there are only two ways to approach a point: from the left and from the right. In multivariable calculus, there are infinitely many paths. That means a function can behave nicely on a few paths but still fail to have a limit.

Here is the big idea:

  • If the limit exists, every path must lead to the same answer.
  • If you can find even two paths with different answers, the limit does not exist.
  • A single path showing one value does not prove the limit exists.

This is why multivariable limits often require more creativity than single-variable limits. The geometry matters as much as the algebra.

Real-world meaning

Limits and continuity are used in science and engineering all the time πŸ”¬ For example, temperature on a metal plate can be modeled by a function $T(x,y)$. If the temperature changes smoothly, then nearby points have nearby temperatures, which means the function is continuous.

If $T(x,y)$ has a sudden jump, that could represent a sharp boundary, such as a heater touching one part of the plate or a material change in the surface. Limits help us understand what happens near such points.

Continuity is also important in climate models, pressure fields, and terrain height maps. If a height function $h(x,y)$ is continuous, then moving a small distance on the map changes the elevation only a little. That matches the physical idea of a smooth surface.

Conclusion

students, the central lesson is that multivariable limits depend on approach from many directions. A limit exists only when the function approaches the same number no matter how the point is reached. Continuity means the function value matches that limit. These ideas are basic tools for studying graphs, level curves, surfaces, and many physical models in multivariable calculus. Once you understand them, you are ready for more advanced topics like partial derivatives, the chain rule, and optimization in several variables πŸš€

Study Notes

  • A function of two variables has the form $f(x,y)$.
  • The limit $\lim_{(x,y)\to(a,b)} f(x,y)=L$ means $f(x,y)$ approaches $L$ as $(x,y)$ approaches $(a,b)$ from every path.
  • To prove a limit does not exist, it is enough to find two paths that give different values.
  • To prove a limit exists, checking one path is not enough; stronger reasoning is needed.
  • Polar coordinates use $x=r\cos\theta$ and $y=r\sin\theta$, which can make limits near the origin easier.
  • A function is continuous at $(a,b)$ when $\lim_{(x,y)\to(a,b)} f(x,y)=f(a,b)$ and the function is defined there.
  • Polynomials are continuous everywhere.
  • Rational functions are continuous wherever their denominators are not zero.
  • Limits and continuity help model smooth changes in real-world quantities like temperature, height, and pressure.
  • In higher dimensions, geometry and algebra work together to study how functions behave near a point.

Practice Quiz

5 questions to test your understanding