Salta al contenuto
Note per Studenti Limits and Continuity in Several Variables Report

Limits and Continuity in Several Variables

In questa pagina 5

This note builds on Topology of Euclidean SpacesIn R^n the distance between two points is the Euclidean norm of their difference; open balls let us classify the points relative to a set (interior, exterior, boundary, accumulation, isolated) and define open, closed, bounded, compact (closed and bounded) and path-connected sets.Topology of Euclidean Spaces →.

In one variable we approach x0x_0 only from the right or from the left. In the plane we can approach (x0,y0)(x_0, y_0) along infinitely many lines, along parabolas, spiralling: the limit exists only if all these approaches give the same value. For this reason limits in several variables are handled with two opposite tools: restrictions (to prove that a limit does not exist) and estimates (to prove that it exists).

Definition of limit

Let f:D⊆Rn→Rf: D \subseteq \mathbb{R}^n \to \mathbb{R} and let X0X_0 be an accumulation pointa point such that every neighbourhood of it contains points of D different from X0X_0 of DD.

Definition (Limit). We say that lim⁡X→X0f(X)=L\lim_{X \to X_0} f(X) = L if for every sequence {Xn}⊆D∖{X0}\{X_n\} \subseteq D \setminus \{X_0\} with Xn→X0X_n \to X_0 we have f(Xn)→Lf(X_n) \to L.

Equivalently, in ϵ\epsilon-δ\delta form: ∀ϵ>0,∃δ>0\forall \epsilon > 0, \exists \delta > 0 such that ∀X∈D, 0<∥X−X0∥<δ  ⟹  ∣f(X)−L∣<ϵ\forall X \in D,\ 0 < \|X - X_0\| < \delta \implies |f(X) - L| < \epsilon.

Example. lim⁡(x,y)→(0,0)xyx2+y2\lim_{(x,y) \to (0,0)} \frac{xy}{x^2 + y^2} does not exist: along y=0y = 0 it equals 00, along y=xy = x it equals 12\frac{1}{2}.

Conditions for existence and non-existence

To decide whether a limit exists we use several strategies based on the behaviour of the function along specific paths.

Restrictions to lines and curves

Theorem (necessary condition). If lim⁡X→X0f(X)=L\lim_{X \to X_0} f(X) = L, then for every curve γ(t)\gamma(t) contained in the domain, with γ(t)→X0\gamma(t) \to X_0 and γ(t)≠X0\gamma(t) \neq X_0, we have lim⁡t→0f(γ(t))=L\lim_{t \to 0} f(\gamma(t)) = L.

Why. Along the curve we approach X0X_0 while staying in the domain: this is a particular case of "approaching X0X_0", so the definition (with the sequences Xn=γ(tn)X_n = \gamma(t_n)) forces ff to tend to LL there too.

The practical consequence: if two curves give different limits, or if along one curve the limit does not exist, the limit does not exist. For X0=(0,0)X_0 = (0, 0) one first tries the lines y=mxy = mx (and the axis x=0x = 0), then curves such as y=x2y = x^2.

Example of non-existence (path-dependent limits). Study lim⁡(x,y)→(0,0)xyx2+y2\lim_{(x,y) \to (0,0)} \frac{xy}{x^2 + y^2}.

  1. Along the lines y=mxy = mx: lim⁡x→0x(mx)x2+(mx)2=lim⁡x→0mx2x2(1+m2)=m1+m2\lim_{x \to 0} \frac{x(mx)}{x^2 + (mx)^2} = \lim_{x \to 0} \frac{mx^2}{x^2(1 + m^2)} = \frac{m}{1 + m^2}
  2. Since the result depends on mm (e.g. for m=0m=0 the limit is 00, for m=1m=1 it is 1/21/2), the limit does not exist.

We simplified x2x^2 because along the line x≠0x \neq 0 (we approach the origin without touching it). The limit value as a function of the slope is g(m)=m1+m2g(m) = \frac{m}{1 + m^2}: it varies between −12-\frac12 and 12\frac12.

Grafico interattivo: Limit of xy/(x²+y²) along y = mx as a function of the slope m: m/(1+m²)

Example of non-existence (comparing curves). Study lim⁡(x,y)→(0,0)x2yx4+y2\lim_{(x,y) \to (0,0)} \frac{x^2y}{x^4 + y^2}.

  1. Along the lines y=mxy=mx with m≠0m \neq 0: x2⋅mxx4+m2x2=mxx2+m2→0m2=0\dfrac{x^2 \cdot mx}{x^4 + m^2x^2} = \dfrac{mx}{x^2 + m^2} \to \dfrac{0}{m^2} = 0; along the axes the function equals 00. All lines give 00.
  2. But x2yx^2y and x4+y2x^4 + y^2 have the same "weight" if yy is of order x2x^2: it pays to try the curve that balances the degrees, the parabola y=x2y=x^2: lim⁡x→0x2(x2)x4+(x2)2=lim⁡x→0x42x4=12\lim_{x \to 0} \frac{x^2(x^2)}{x^4 + (x^2)^2} = \lim_{x \to 0} \frac{x^4}{2x^4} = \frac{1}{2} Since 0≠1/20 \neq 1/2, the limit does not exist.

Grafico interattivo: For f = x²y/(x⁴ + y²): along the lines y = mx (m ≠ 0) the limit at (0, 0) is 0, but along the parabola y = x² the function is constantly 1/2: two curves tangent at the origin give different values

Sufficient condition: polar coordinates

To prove that the limit is LL it is often useful to pass to polar coordinates (x=ρcos⁡θ,y=ρsin⁡θx = \rho \cos \theta, y = \rho \sin \theta). If ∣f(ρcos⁡θ,ρsin⁡θ)−L∣≤g(ρ)|f(\rho \cos \theta, \rho \sin \theta) - L| \leq g(\rho) with lim⁡ρ→0g(ρ)=0\lim_{\rho \to 0} g(\rho) = 0, then the limit exists and equals LL.

Example of existence. Study lim⁡(x,y)→(0,0)x2yx2+y2\lim_{(x,y) \to (0,0)} \frac{x^2y}{x^2 + y^2}. In polar coordinates: ρ2cos⁡2θ⋅ρsin⁡θρ2=ρcos⁡2θsin⁡θ\frac{\rho^2 \cos^2 \theta \cdot \rho \sin \theta}{\rho^2} = \rho \cos^2 \theta \sin \theta. Since ∣cos⁡2θsin⁡θ∣≤1|\cos^2 \theta \sin \theta| \leq 1, we have ∣ρcos⁡2θsin⁡θ∣≤ρ|\rho \cos^2 \theta \sin \theta| \leq \rho. Because lim⁡ρ→0ρ=0\lim_{\rho \to 0} \rho = 0, the limit is 00.

Why the estimate must hold for every θ\theta. It is not enough that for each fixed θ\theta the expression tends to 00: fixing θ\theta means moving along a line, i.e. repeating the line test. For x2yx4+y2\frac{x^2y}{x^4 + y^2} in polar coordinates we get ρcos⁡2θsin⁡θρ2cos⁡4θ+sin⁡2θ\frac{\rho \cos^2\theta \sin\theta}{\rho^2\cos^4\theta + \sin^2\theta}, which for every fixed θ\theta tends to 00, yet the limit does not exist (along the parabola it equals 12\frac12). We need a g(ρ)g(\rho) that does not depend on θ\theta.

Example (estimate with ∣sin⁡t∣≤∣t∣|\sin t| \le |t|). lim⁡(x,y)→(0,0)sin⁡(x2y2)x2+y2\lim_{(x,y)\to(0,0)} \frac{\sin(x^2y^2)}{x^2 + y^2}. Using ∣sin⁡t∣≤∣t∣|\sin t| \leq |t|: ∣sin⁡(x2y2)x2+y2∣≤x2y2x2+y2=ρ4cos⁡2θsin⁡2θρ2≤ρ2→0\left|\frac{\sin(x^2y^2)}{x^2+y^2}\right| \leq \frac{x^2y^2}{x^2+y^2} = \frac{\rho^4\cos^2\theta\sin^2\theta}{\rho^2} \leq \rho^2 \to 0 The limit is 00. Bounding ∣sin⁡(x2y2)∣≤1|\sin(x^2y^2)| \le 1 would have been useless: what remains is 1ρ2\frac{1}{\rho^2}, which does not tend to 00.

More examples

1. lim⁡(x,y)→(0,0)2xy2−x3x2+y2\lim_{(x,y) \to (0,0)} \frac{2xy^2 - x^3}{x^2 + y^2}. Along the lines y=mxy = mx: x3(2m2−1)x2(1+m2)=x(2m2−1)1+m2→0\frac{x^3(2m^2 - 1)}{x^2(1 + m^2)} = \frac{x(2m^2-1)}{1+m^2} \to 0; the candidate is L=0L = 0. In polar coordinates: ∣ρ3(2cos⁡θsin⁡2θ−cos⁡3θ)ρ2∣=ρ ∣2cos⁡θsin⁡2θ−cos⁡3θ∣≤ρ (2+1)=3ρ→0\left|\frac{\rho^3(2\cos\theta\sin^2\theta - \cos^3\theta)}{\rho^2}\right| = \rho\,|2\cos\theta\sin^2\theta - \cos^3\theta| \leq \rho\,(2 + 1) = 3\rho \to 0 (every sine and cosine has modulus at most 11). The limit exists and equals 00.

2. lim⁡(x,y)→(0,0)x ey/x\lim_{(x,y) \to (0,0)} x\,e^{y/x} (defined for x≠0x \neq 0). Along y=mxy = mx: xem→0x e^{m} \to 0. Along the curve y=xy = \sqrt{x} with x>0x > 0: yx=1x→+∞\frac yx = \frac{1}{\sqrt x} \to +\infty and x e1/x→+∞x\,e^{1/\sqrt{x}} \to +\infty (setting s=1x→+∞s = \frac{1}{\sqrt x} \to +\infty, it is ess2\frac{e^s}{s^2}, and the exponential beats the power). Two paths give different limits (00 and +∞+\infty): the limit does not exist. Lines were not enough to see it.

Continuity

Definition. A function f:D→Rf: D \to \mathbb{R} is continuous at X0∈DX_0 \in D if: lim⁡X→X0f(X)=f(X0)\lim_{X \to X_0} f(X) = f(X_0) If X0X_0 is an isolated point, the function is always continuous at X0X_0.

Example. f(x,y)=x2yx2+y2f(x,y) = \frac{x^2 y}{x^2 + y^2} for (x,y)≠(0,0)(x,y) \ne (0,0) and f(0,0)=0f(0,0) = 0 is continuous at (0,0)(0,0): ∣f(x,y)∣≤∣y∣→0|f(x,y)| \le |y| \to 0.

Elementary functions (polynomials, exponentials, sine, cosine) are continuous on their domain. Sums, products and compositions of continuous functions are continuous. For instance f(x,y)=exycos⁡(x+y2)f(x, y) = e^{xy}\cos(x + y^2) is continuous on all of R2\mathbb{R}^2 without computing any limit.

Problems arise at points where the function is defined piecewise. For example f(x,y)={xyx2+y2(x,y)≠(0,0)0(x,y)=(0,0)f(x, y) = \begin{cases} \dfrac{xy}{x^2 + y^2} & (x, y) \neq (0, 0) \\ 0 & (x, y) = (0, 0) \end{cases} is continuous away from the origin (quotient of continuous functions with non-vanishing denominator), but not at the origin, because the limit there does not exist. On the other hand the same construction with x2yx2+y2\frac{x^2y}{x^2+y^2} gives a function that is continuous at the origin too, because the limit equals 0=f(0,0)0 = f(0, 0).

Common mistakes

  • Swapping the necessary and the sufficient condition: having found the same limit along all lines does not guarantee that the limit exists; it might change along a parabola or another curve.
  • Wrong bounds: using estimates that do not tend to 00 or that keep a dependence on θ\theta, which prevents isolating the behaviour in ρ\rho.
  • Confusing the limit along the axes with the limit at the point: the limit must hold for every possible direction of approach.

Versione ripasso

Definition. lim⁡X→X0f(X)=L\lim_{X\to X_0} f(X) = L if for every sequence Xn∈D∖{X0}X_n \in D \setminus \{X_0\} with Xn→X0X_n \to X_0 we have f(Xn)→Lf(X_n) \to L. Equivalently, ∀ϵ>0 ∃δ>0\forall\epsilon>0\ \exists\delta>0: 0<∥X−X0∥<δ  ⟹  ∣f(X)−L∣<ϵ0 < \|X-X_0\| < \delta \implies |f(X)-L| < \epsilon.

Non-existence (restrictions). If two curves give different limits, the limit does not exist. If along one curve the limit does not exist, neither does the full limit.

  • xyx2+y2\frac{xy}{x^2+y^2}: along y=mxy = mx it equals m1+m2\frac{m}{1+m^2}, which depends on mm.
  • x2yx4+y2\frac{x^2y}{x^4+y^2}: along the lines y=mxy = mx (m≠0m \neq 0) it tends to 00, but along y=x2y = x^2 it equals 12\frac12 identically. Lines are not enough: the right curve is the one balancing the degrees.
  • x ey/xx\,e^{y/x}: along y=mxy = mx it tends to 00, along y=xy = \sqrt x it tends to +∞+\infty.

Existence (polar estimates). With x=ρcos⁡θx = \rho\cos\theta, y=ρsin⁡θy = \rho\sin\theta: if ∣f−L∣≤g(ρ)|f - L| \le g(\rho) with g(ρ)→0g(\rho) \to 0 and gg independent of θ\theta, then the limit is LL.

  • x2yx2+y2=ρcos⁡2θsin⁡θ\frac{x^2y}{x^2+y^2} = \rho\cos^2\theta\sin\theta, bounded by ρ\rho.
  • 2xy2−x3x2+y2\frac{2xy^2 - x^3}{x^2+y^2}: ρ ∣2cos⁡θsin⁡2θ−cos⁡3θ∣≤3ρ→0\rho\,|2\cos\theta\sin^2\theta - \cos^3\theta| \le 3\rho \to 0.
  • sin⁡(x2y2)x2+y2\frac{\sin(x^2y^2)}{x^2+y^2}: with ∣sin⁡t∣≤∣t∣|\sin t| \le |t| it is ≤x2y2x2+y2≤ρ2\le \frac{x^2y^2}{x^2+y^2} \le \rho^2. Bounding ∣sin⁡∣≤1|\sin| \le 1 would not suffice.

For x2yx4+y2\frac{x^2y}{x^4+y^2} in polar coordinates, for each fixed θ\theta the limit is 00, yet the full limit does not exist: we need a gg not depending on θ\theta.

Continuity. ff is continuous at X0X_0 if lim⁡X→X0f(X)=f(X0)\lim_{X\to X_0} f(X) = f(X_0). Polynomials, exponentials, sine and cosine are continuous on their domain, and so are sums, products and compositions. Trouble arises at the junction points of piecewise functions. Example: xyx2+y2\frac{xy}{x^2+y^2} with value 00 at the origin is not continuous there (the limit does not exist). With x2yx2+y2\frac{x^2y}{x^2+y^2} and value 00 it is: ∣f∣≤∣y∣→0|f| \le |y| \to 0.

Typical mistakes.

  • Inferring that the limit exists because the value is the same along all lines: a non-straight curve must also be checked.
  • Using estimates that depend on θ\theta: they do not isolate the behaviour in ρ\rho.
  • Confusing the limit along the axes with the limit at the point: it must hold in every direction.

Teoria collegata