math.wiki
Calculus › Vector calculus › Conservative fields and potential functions
Sign in

Conservative fields and potential functions

When does the work a force field does on an object depend only on where the object starts and where it ends, and not on the path between, and how do we find the function whose change measures that work?

Where you are 8 in Vector calculus

Why this exists

In Line integrals the field \langle y^2, x \rangle did three different amounts of work along three paths from (0, 0) to (1, 1). Gravity does not behave that way: lifting a box onto a shelf takes the same work whichever way the box travels. The fields with this property are exactly the gradients \nabla f, and for them a line integral is evaluated as in The second fundamental theorem of calculus: subtract the values of f at the two ends.

Definition

Throughout, D \subseteq \mathbb{R}^n with n = 2 or 3, every curve is piecewise smooth as in Line integrals, and \mathbf{F} is a vector field continuous on D (Vector fields).

  • D is open if every point of D is the center of a ball (in the plane, a disk) contained in D.
  • An open set D is connected if any two points of D are joined by a curve in D.
  • A connected open set D is simply connected if every closed curve in D can be shrunk continuously to a point without leaving D. A disk, a half-plane and the whole plane are simply connected; the plane without the origin is not. In space, \mathbb{R}^3 without one point is simply connected, and \mathbb{R}^3 without the z-axis is not.

Let D be open. \mathbf{F} is conservative on D if \mathbf{F} = \nabla f for some differentiable f : D \to \mathbb{R}, called a potential function for \mathbf{F}. The partial derivatives of such an f are the components of \mathbf{F}, so they are continuous.

\mathbf{F} is path independent in D if \int_{C_1} \mathbf{F} \cdot d\mathbf{r} = \int_{C_2} \mathbf{F} \cdot d\mathbf{r} whenever C_1 and C_2 are curves in D with the same initial point and the same terminal point.

Physics writes a conservative force as \mathbf{F} = -\nabla U and calls U = -f the potential energy.

Intuition

Think of f as the height of a hillside. Along a trail \mathbf{r}(t) the height changes at the rate \nabla f(\mathbf{r}(t)) \cdot \mathbf{r}'(t) by the chain rule (The multivariable chain rule), and that is exactly the integrand of \int_C \nabla f \cdot d\mathbf{r}. So the line integral adds up the small changes in height along the trail, and the total is the height at the end minus the height at the start. A detour that climbs and comes back down gains nothing, and a loop gains nothing at all.

Figure 1 draws level curves of f(x, y) = xy and arrows of \nabla f = \langle y, x \rangle, which cross them at right angles (Gradient and directional derivatives). Both paths start on the level curve xy = 1 and end on xy = 4, so the field does work 3 along each.

1 2 4 6
C_1
C_2
A B x y
Figure 1Level curves xy = c of f(x, y) = xy and arrows of \nabla f = \langle y, x \rangle, drawn at 0.1 of their length. Along the segment C_1 and along the curve C_2 the field does work f(B) - f(A) = 4 - 1 = 3.

Results

Result 1 (fundamental theorem for line integrals). Let f be differentiable on an open set D with \nabla f continuous, and let C be a curve in D from A to B. Then

\int_C \nabla f \cdot d\mathbf{r} = f(B) - f(A).

In particular \oint_C \nabla f \cdot d\mathbf{r} = 0 for every closed curve C in D.

Result 2 (three equivalent conditions). Let \mathbf{F} be continuous on a connected open set D. The following are equivalent: (a) \mathbf{F} is conservative on D; (b) \mathbf{F} is path independent in D; (c) \oint_C \mathbf{F} \cdot d\mathbf{r} = 0 for every closed curve C in D.

Result 3 (potentials differ by constants). If f and g are potential functions for \mathbf{F} on a connected open set D, then f - g is constant on D.

Result 4 (the cross-partial test). Let \mathbf{F} be conservative on an open set D, with components that have continuous first partial derivatives on D. In the plane, \mathbf{F} = \langle P, Q \rangle satisfies P_y = Q_x on D. In space, \mathbf{F} = \langle P, Q, R \rangle satisfies, on D,

P_y = Q_x, \quad P_z = R_x, \quad Q_z = R_y.

Result 5 (the converse on a rectangle). Let D = (a, b) \times (c, d) be an open rectangle, where any of a, b, c, d may be infinite, so that half-planes and the whole plane are included. If P and Q have continuous first partial derivatives on D and P_y = Q_x on D, then \mathbf{F} = \langle P, Q \rangle is conservative on D, and for any (x_0, y_0) in D a potential is

\begin{aligned} f(x, y) &= \int_{x_0}^{x} P(t, y_0)\,dt \\ &\quad + \int_{y_0}^{y} Q(x, s)\,ds. \end{aligned}

Result 6 (the converse on simply connected sets, stated here). Let D \subseteq \mathbb{R}^2 or \mathbb{R}^3 be open and simply connected, and let the components of \mathbf{F} have continuous first partial derivatives on D. If the equations of Result 4 hold on D, then \mathbf{F} is conservative on D. The plane case is proved in Green's theorem and the space case in Stokes' theorem.

Result 7 (conservation of energy). Let f be differentiable on an open set D \subseteq \mathbb{R}^3 with \nabla f continuous, and let an object of mass m move along \mathbf{r} : [a, b] \to D, with \mathbf{r}'' continuous, under the force \nabla f alone: m\,\mathbf{r}''(t) = \nabla f(\mathbf{r}(t)). Then

\tfrac12 m \lVert \mathbf{r}'(t) \rVert^2 - f(\mathbf{r}(t))

is constant on [a, b]: kinetic energy plus potential energy U = -f does not change.

Why it is true

Result 1. Let C be traced by \mathbf{r} on [a, b], smooth on each [t_{i-1}, t_i]. There g(t) = f(\mathbf{r}(t)) has g'(t) = \nabla f(\mathbf{r}(t)) \cdot \mathbf{r}'(t) by the chain rule, which is continuous, so by the fundamental theorem of calculus the piece contributes f(\mathbf{r}(t_i)) - f(\mathbf{r}(t_{i-1})). The sum telescopes to f(\mathbf{r}(b)) - f(\mathbf{r}(a)) = f(B) - f(A), which is 0 when C is closed.

Result 2. (a) implies (b): if \mathbf{F} = \nabla f, Result 1 gives f(B) - f(A) along every curve from A to B.

(b) implies (c): let C be closed, traced by \mathbf{r} on [a, b] with \mathbf{r}(a) = \mathbf{r}(b) = A. Choose c in (a, b) and let B = \mathbf{r}(c). The restrictions of \mathbf{r} to [a, c] and [c, b] trace a curve C_1 from A to B and a curve C_2 from B to A, and C = C_1 + C_2. Both C_1 and -C_2 run from A to B, so by (b) and Results 1 and 3 of Line integrals, \oint_C \mathbf{F} \cdot d\mathbf{r} = \int_{C_1} \mathbf{F} \cdot d\mathbf{r} - \int_{-C_2} \mathbf{F} \cdot d\mathbf{r} = 0.

(c) implies (b): if C_1 and C_2 run from A to B, then C_1 + (-C_2) is closed, so 0 = \int_{C_1} \mathbf{F} \cdot d\mathbf{r} - \int_{C_2} \mathbf{F} \cdot d\mathbf{r}.

(b) implies (a): fix A in D. For \mathbf{x} in D let f(\mathbf{x}) = \int_C \mathbf{F} \cdot d\mathbf{r} for any curve C in D from A to \mathbf{x}; one exists because D is connected, and by (b) the value does not depend on it. We work in space; the plane is the same without z. Let \mathbf{x}_0 \in D, with a ball of radius \delta about \mathbf{x}_0 inside D. For 0 < \lvert h \rvert < \delta the segment L_h traced by \mathbf{x}_0 + sh\,\mathbf{i}, 0 \le s \le 1, lies in the ball and is smooth. If C runs from A to \mathbf{x}_0, then C + L_h runs from A to \mathbf{x}_0 + h\mathbf{i}, so with \varphi(u) = P(\mathbf{x}_0 + u\,\mathbf{i}) and the substitution u = sh,

\begin{aligned} f(\mathbf{x}_0 + h\mathbf{i}) - f(\mathbf{x}_0) &= \int_0^1 \varphi(sh)\,h\,ds \\ &= \int_0^h \varphi(u)\,du. \end{aligned}

Since \varphi is continuous on (-\delta, \delta), the fundamental theorem of calculus gives \displaystyle \frac1h \int_0^h \varphi(u)\,du \to \varphi(0) as h \to 0. So f_x = P at \mathbf{x}_0, and in the same way f_y = Q and f_z = R. These partials are continuous, so f is differentiable (Result 2 of Tangent planes and linear approximation, whose proof works in any number of variables), and \nabla f = \mathbf{F}.

Result 3. \nabla(f - g) = \mathbf{0} on D. Fix A in D; for \mathbf{x} in D choose a curve C in D from A to \mathbf{x}. By Result 1, (f - g)(\mathbf{x}) - (f - g)(A) = \int_C \mathbf{0} \cdot d\mathbf{r} = 0.

Result 4. From f_x = P and f_y = Q we get f_{xy} = P_y and f_{yx} = Q_x, both continuous on D. Clairaut’s theorem (Partial derivatives) gives f_{xy} = f_{yx}, so P_y = Q_x. In space the same argument applies to each pair of variables.

Result 5. Let (x, y) \in D. The closed rectangle K with opposite corners (x_0, y_0) and (x, y) lies in D, because D is a product of intervals. Let f_1 be the formula of Result 5 (along the bottom of K, then up) and f_2(x, y) = \int_{y_0}^{y} Q(x_0, s)\,ds + \int_{x_0}^{x} P(t, y)\,dt (up, then across). By the fundamental theorem of calculus, Q(x, s) - Q(x_0, s) = \int_{x_0}^{x} Q_x(t, s)\,dt and P(t, y) - P(t, y_0) = \int_{y_0}^{y} P_y(t, s)\,ds, so

\begin{aligned} f_1 - f_2 &= \int_{y_0}^{y} \int_{x_0}^{x} Q_x(t, s)\,dt\,ds \\ &\quad - \int_{x_0}^{x} \int_{y_0}^{y} P_y(t, s)\,ds\,dt. \end{aligned}

Since Q_x = P_y is continuous on K, Fubini’s theorem (Iterated integrals and Fubini's theorem) makes the two iterated integrals equal: both are \pm\iint_K Q_x\,dA with the same sign, and both are 0 if K is a segment. So f_1 = f_2; call it f. In f_1 the first integral does not involve y, so f_y = Q(x, y) by the fundamental theorem of calculus; in f_2 the same reasoning gives f_x = P(x, y). These partials are continuous, so f is differentiable with \nabla f = \mathbf{F}.

Result 7. Let \displaystyle E(t) = \frac12 m\,\mathbf{r}'(t) \cdot \mathbf{r}'(t) - f(\mathbf{r}(t)). By the dot product rule of Vector-valued functions and the chain rule, E'(t) = m\,\mathbf{r}''(t) \cdot \mathbf{r}'(t) - \nabla f(\mathbf{r}(t)) \cdot \mathbf{r}'(t) = 0, so E is constant by the mean value theorem (The mean value theorem).

Worked examples

Example 1

Testing a plane field and using its potential

Let \mathbf{F}(x, y) = \langle 3x^2y^2 - 4y, 2x^3y - 4x + 1 \rangle. Show that \mathbf{F} is conservative on \mathbb{R}^2, find all its potential functions, and evaluate \int_C \mathbf{F} \cdot d\mathbf{r} along \mathbf{r}(t) = \langle 1 + t^2, 2t + \sin(\pi t) \rangle, 0 \le t \le 1.

Solution

P_y = 6x^2y - 4 and Q_x = 6x^2y - 4 agree, the components are polynomials, and \mathbb{R}^2 is an open rectangle, so \mathbf{F} is conservative by Result 5. To find f, integrate f_x = P in x, holding y fixed: f = x^3y^2 - 4xy + g(y), where g depends on y alone. Then f_y = 2x^3y - 4x + g'(y) must equal Q, so g'(y) = 1 and

f(x, y) = x^3y^2 - 4xy + y + K.

By Result 3 these are all the potentials.

The curve runs from \mathbf{r}(0) = (1, 0) to \mathbf{r}(1) = (2, 2), because \sin \pi = 0. By Result 1,

\begin{aligned} \int_C \mathbf{F} \cdot d\mathbf{r} &= f(2, 2) - f(1, 0) \\ &= 18 - 0 = 18. \end{aligned}
Example 2

A potential in space

Show that \mathbf{F}(x, y, z) = \langle yz + 2x, xz + ze^y, xy + e^y \rangle is conservative on \mathbb{R}^3 and find the work it does along any curve from (0, 0, 0) to (2, \ln 3, 1).

Solution

The equations of Result 4 hold: P_y = z = Q_x, P_z = y = R_x and Q_z = x + e^y = R_y. From f_x = P, f = xyz + x^2 + g(y, z). Then f_y = xz + g_y must be xz + ze^y, so g_y = ze^y and g = ze^y + h(z). Finally f_z = xy + e^y + h'(z) must be xy + e^y, so h is constant, and

f(x, y, z) = xyz + x^2 + ze^y.

Since \nabla f = \mathbf{F} by construction, \mathbf{F} is conservative, and by Result 1 the work is

\begin{aligned} f(2, \ln 3, 1) - f(0, 0, 0) &= 2\ln 3 + 4 + 3 \\ &= 7 + 2\ln 3 \approx 9.20. \end{aligned}
Example 3

Splitting off a gradient

Let \mathbf{F}(x, y) = \langle e^x \sin y - y, e^x \cos y \rangle and let C be the quarter of the unit circle from (1, 0) to (0, 1), counterclockwise. Find \int_C \mathbf{F} \cdot d\mathbf{r}.

Solution

Here P_y = e^x \cos y - 1 and Q_x = e^x \cos y differ everywhere, so by Result 4 \mathbf{F} is not conservative on any open set. But \mathbf{F} = \nabla(e^x \sin y) + \langle -y, 0 \rangle. By linearity (Result 3 of Line integrals) and Result 1, with \mathbf{r}(t) = \langle \cos t, \sin t \rangle, \displaystyle 0 \le t \le \frac{\pi}{2},

\begin{aligned} \int_C \mathbf{F} \cdot d\mathbf{r} &= \big[e^x \sin y\big]_{(1, 0)}^{(0, 1)} \\ &\quad - \int_C y\,dx \\ &= \sin 1 + \int_0^{\pi/2} \sin^2 t\,dt \\ &= \sin 1 + \tfrac{\pi}{4} \approx 1.627. \end{aligned}
Example 4

A field that passes the test but is not conservative

Let \mathbf{F}(x, y) = \left\langle \dfrac{-y}{x^2 + y^2}, \dfrac{x}{x^2 + y^2} \right\rangle on D, the plane without the origin. (a) Show P_y = Q_x on D. (b) Find the circulation around the unit circle, counterclockwise, and decide whether \mathbf{F} is conservative on D. (c) Find a potential on the right half-plane x > 0. (d) Find the work along the upper and the lower half of the unit circle from (1, 0) to (-1, 0).

Solution

(a) By the quotient rule,

P_y = \frac{y^2 - x^2}{(x^2 + y^2)^2} = Q_x.

(b) With \mathbf{r}(t) = \langle \cos t, \sin t \rangle, \mathbf{F}(\mathbf{r}(t)) = \langle -\sin t, \cos t \rangle = \mathbf{r}'(t), so the integrand is 1 and the circulation is 2\pi. Since D is connected, Result 2 says \mathbf{F} is not conservative on D, although it passes the test of Result 4 (Figure 2). Result 6 does not apply because D is not simply connected.

C
x y
Figure 2The field \mathbf{F} = \langle -y, x \rangle / (x^2 + y^2) of Example 4, arrows at 0.3 of their length. It passes the cross-partial test everywhere it is defined, yet its circulation around the unit circle C is 2\pi, not 0.

(c) The half-plane H = (0, \infty) \times (-\infty, \infty) is an open rectangle, so Result 5 applies on it. With (x_0, y_0) = (1, 0), P(t, 0) = 0, and for x > 0

f(x, y) = \int_0^y \frac{x}{x^2 + s^2}\,ds = \arctan\frac{y}{x}.

This is the polar angle \theta of (x, y), taken in \displaystyle \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) (Polar coordinates).

(d) Along the upper half, \mathbf{r}(t) = \langle \cos t, \sin t \rangle for 0 \le t \le \pi, the integrand is 1 and the work is \pi. Along the lower half, \mathbf{r}(t) = \langle \cos t, -\sin t \rangle, 0 \le t \le \pi, we get \mathbf{F}(\mathbf{r}(t)) = \langle \sin t, \cos t \rangle and \mathbf{r}'(t) = \langle -\sin t, -\cos t \rangle, so the integrand is -1 and the work is -\pi. The polar angle grows by \pi along one path and falls by \pi along the other.

Example 5

Proof: central fields are conservative

Let g be continuous on (0, \infty), write \rho = \lVert \mathbf{r} \rVert for \mathbf{r} = \langle x, y, z \rangle, and let \mathbf{F}(\mathbf{r}) = g(\rho)\,\mathbf{r} on D = \mathbb{R}^3 \setminus \{\mathbf{0}\}. Prove that \mathbf{F} is conservative on D, with potential h(\rho) for any antiderivative h of s\,g(s) on (0, \infty). Find a potential for the gravity of a mass M at the origin on a unit mass, \mathbf{F} = -GM\,\mathbf{r}/\rho^3.

Solution

The function s\,g(s) is continuous on (0, \infty), so it has an antiderivative h by the fundamental theorem of calculus. On D, \displaystyle \rho = \sqrt{x^2 + y^2 + z^2} has \rho_x = x/\rho and likewise in y and z, all continuous, so \nabla \rho = \mathbf{r}/\rho. By the chain rule f = h(\rho) is differentiable on D and

\begin{aligned} \nabla f &= h'(\rho)\,\nabla\rho = \rho\,g(\rho)\,\frac{\mathbf{r}}{\rho} \\ &= g(\rho)\,\mathbf{r} = \mathbf{F}. \end{aligned}

For gravity, g(s) = -GM/s^3, so s\,g(s) = -GM/s^2 and h(s) = GM/s: the potential is f = GM/\rho. The proof works word for word in the plane.

Example 6

The speed of a comet

At a stargazing club, Yuna has measured a comet 5 AU from the Sun (1 AU is the mean distance from Earth to the Sun) moving at 1.5 AU per year. Malik asks how fast it will be moving when it is 1 AU from the Sun. Nobody yet knows the shape of its orbit. Use units of AU and years, in which GM = 4\pi^2 for the Sun, and neglect every force except the Sun’s gravity.

Solution

The force on a comet of mass m is m times the field of Example 5, so it is \nabla f with f = GMm/\rho. By Result 7, \displaystyle \frac12 mv^2 - GMm/\rho is the same at both moments. Dividing by \displaystyle \frac{m}{2},

\begin{aligned} v_2^2 &= v_1^2 + 2GM\left(\frac{1}{\rho_2} - \frac{1}{\rho_1}\right) \\ &= \tfrac94 + 8\pi^2 \cdot \tfrac45 \\ &= \tfrac94 + \tfrac{32\pi^2}{5} \approx 65.42, \end{aligned}

so v_2 \approx 8.09 AU per year. One AU per year is about 4.74 kilometers per second, so the comet will move at about 38 kilometers per second. Only the two distances entered: the comet has this speed at every point 1 AU from the Sun, on the way in and on the way out.

Boundaries

The cross-partial test only rules potentials out. Example 4 passes it on the plane without the origin and is not conservative there. In space, \langle -y, x, 0 \rangle/(x^2 + y^2) satisfies all three equations on \mathbb{R}^3 without the z-axis and is not conservative (Exercise 16).

Conservative on two sets does not mean conservative on their union. It does when the overlap is connected (Exercise 19), and can fail when it is not (Exercise 20).

Result 3 needs connectedness. On two disjoint open disks, the function equal to 0 on one and 1 on the other has gradient \mathbf{0}.

Some forces are not fields of position. Friction depends on the velocity; work against it depends on the path, and Result 7 fails.

Where this goes next

Green's theorem turns a circulation around a closed plane curve into the double integral of Q_x - P_y over the region inside, which proves Result 6 in the plane and shows that every counterclockwise simple loop around the origin in Example 4 has circulation 2\pi. Divergence and curl names the three expressions of Result 4 the components of \operatorname{curl} \mathbf{F}, and Stokes' theorem proves Result 6 in space.

Exercises

Testing fields and finding potentials

  1. Decide whether \mathbf{F} = \langle 2x + 3y, 3x - 4y \rangle is conservative on \mathbb{R}^2; if it is, find all its potential functions.
  2. Decide whether \mathbf{F} = \langle x^2y, xy^2 \rangle is conservative on any open set.
  3. Find a potential for \mathbf{F} = \langle ye^{xy} + 1, xe^{xy} - 2y \rangle on \mathbb{R}^2.
  4. Find all potentials of \mathbf{F} = \dfrac{\langle x, y \rangle}{x^2 + y^2} on the plane without the origin.
  5. Find a potential for \mathbf{F} = \langle y^2z, 2xyz + z, xy^2 + y + 3z^2 \rangle on \mathbb{R}^3.
  6. Decide whether \mathbf{F} = \langle y, x + z, -y \rangle is conservative on any open set in \mathbb{R}^3.
  7. Find the constant b for which \mathbf{F} = \langle 3x^2y + by^2, x^3 + 4xy \rangle is conservative on \mathbb{R}^2, and a potential for that b.

Evaluating line integrals

  1. Evaluate \int_C (\sin y + 2x)\,dx + x\cos y\,dy along \mathbf{r}(t) = \left\langle t^5, \tfrac{\pi}{2}\sin\tfrac{\pi t}{2} \right\rangle, 0 \le t \le 1.
  2. Evaluate \int_C (2xz + y)\,dx + (2yz + x)\,dy + (x^2 + y^2)\,dz along the helix \langle \cos t, \sin t, t \rangle, 0 \le t \le 3\pi.
  3. Find the work done by the field of Exercise 5 along any curve from (1, 1, 1) to (2, -1, 0).
  4. Evaluate \int_C 2xy\,dx + (x^2 + x)\,dy along the upper half of the unit circle from (1, 0) to (-1, 0).
  5. A spring anchored at the origin pulls on its end with the force \mathbf{F} = -50\langle x, y, z \rangle newtons, positions in meters. Find the work it does as the end moves from (0.3, 0, 0.4) to (0.1, 0.2, 0.2) along any path.
  6. At the stargazing club, Yuna tracks an asteroid 2 AU from the Sun moving at 5 AU per year. With GM = 4\pi^2 and only the Sun’s gravity acting, find the greatest distance from the Sun its energy allows it to reach.

Domains

  1. Let \mathbf{F} be the field of Example 4. Use Result 5 on the upper half-plane y > 0 with (x_0, y_0) = (0, 1) to find a potential there. On the first quadrant it differs from \displaystyle \arctan\frac{y}{x} by a constant: find the constant, and explain why it must be constant.
  2. For the field of Example 4, find the circulation (a) around the circle (x - 3)^2 + y^2 = 1, counterclockwise, without parametrizing; (b) around the circle of radius 5 about the origin, clockwise.
  3. Let \mathbf{F} = \dfrac{\langle -y, x, 0 \rangle}{x^2 + y^2} on \mathbb{R}^3 without the z-axis. Show that it satisfies the three equations of Result 4, find its circulation around the circle x^2 + y^2 = 1 in the plane z = 5, counterclockwise seen from above, and decide whether it is conservative.

Proofs

  1. Let g be continuous on \mathbb{R} and a, b constants. Prove that \mathbf{F}(x, y) = g(ax + by)\langle a, b \rangle is conservative on \mathbb{R}^2.
  2. Let D be an open set that is convex (it contains the segment between any two of its points), and let f be a potential for \mathbf{F} on D with \lVert \mathbf{F} \rVert \le M on D. Prove that \lvert f(B) - f(A) \rvert \le M\lVert B - A \rVert for all A, B in D.
  3. Let \mathbf{F} be conservative on open sets D_1 and D_2, and let D_1 \cap D_2 be nonempty and connected. Prove that \mathbf{F} is conservative on D_1 \cup D_2.
  4. Refute with a counterexample: if \mathbf{F} is conservative on open sets D_1 and D_2 and D_1 \cap D_2 is nonempty, then \mathbf{F} is conservative on D_1 \cup D_2.
Answers
  1. Conservative: P_y = 3 = Q_x on the rectangle \mathbb{R}^2. Integrating, f = x^2 + 3xy - 2y^2 + K, and by Result 3 these are all.
  2. No. P_y = x^2 and Q_x = y^2, and every open set contains points with x^2 \ne y^2, so Result 4 rules out a potential.
  3. f = e^{xy} + x - y^2. From f_x = P, f = e^{xy} + x + g(y); then f_y = xe^{xy} + g'(y), so g' = -2y.
  4. \displaystyle f = \frac12 \ln(x^2 + y^2) + K: Example 5 in the plane with g(s) = 1/s^2, h(s) = \ln s, and Result 3 on this connected set.
  5. f = xy^2z + yz + z^3. From f_x = y^2z, f = xy^2z + g(y, z); f_y = 2xyz + g_y gives g = yz + h(z); f_z = xy^2 + y + h'(z) gives h' = 3z^2.
  6. No. Q_z = 1 but R_y = -1 at every point, so Result 4 rules out a potential on every open set.
  7. b = 2, f = x^3y + 2xy^2. P_y = 3x^2 + 2by and Q_x = 3x^2 + 4y agree everywhere exactly when b = 2.
  8. 2. The field is \nabla(x\sin y + x^2), and the curve runs from (0, 0) to \displaystyle \left(1, \frac{\pi}{2}\right), where the potential is 1 + 1.
  9. 3\pi. The field is \nabla\big((x^2 + y^2)z + xy\big), and the helix runs from (1, 0, 0), potential 0, to (-1, 0, 3\pi), potential 3\pi.
  10. -3. With f = xy^2z + yz + z^3, f(2, -1, 0) - f(1, 1, 1) = 0 - 3.
  11. \displaystyle \frac{\pi}{2}. The field is \nabla(x^2y) + \langle 0, x \rangle. The gradient part gives f(-1, 0) - f(1, 0) = 0. With \langle \cos t, \sin t \rangle, 0 \le t \le \pi, \displaystyle \int_C x\,dy = \int_0^\pi \cos^2 t\,dt = \frac{\pi}{2}.
  12. 4 joules. The force is \nabla f with f = -25(x^2 + y^2 + z^2), and \rho^2 goes from 0.25 to 0.09, so the work is -25(0.09 - 0.25) = 4.
  13. About 5.45 AU. By Result 7 and Example 5, \displaystyle v^2 = 25 + 8\pi^2\left(\frac{1}{\rho} - \frac12\right) at distance \rho. Since v^2 \ge 0, \displaystyle \frac{1}{\rho} \ge \frac12 - \frac{25}{8\pi^2} > 0, so \rho \le \dfrac{8\pi^2}{4\pi^2 - 25} \approx 5.45.
  14. \displaystyle f = -\arctan\frac{x}{y}; the constant is \displaystyle \frac{\pi}{2}. Here \int_0^x P(t, 1)\,dt = -\arctan x, and since \displaystyle \frac{\partial}{\partial s}\arctan\frac{x}{s} = \frac{-x}{x^2 + s^2}, \displaystyle \int_1^y Q(x, s)\,ds = \arctan x - \arctan\frac{x}{y}. Both functions are potentials on the connected first quadrant, so they differ by a constant (Result 3); at (1, 1) it is \displaystyle \frac{\pi}{4} + \frac{\pi}{4}.
  15. (a) 0: the circle lies in the half-plane x > 0, where \displaystyle \mathbf{F} = \nabla\arctan\frac{y}{x}, so Result 1 applies. (b) -2\pi: with \langle 5\cos t, -5\sin t \rangle, 0 \le t \le 2\pi, \displaystyle \mathbf{F} = \frac15\langle \sin t, \cos t \rangle and \mathbf{r}' = -5\langle \sin t, \cos t \rangle, so the integrand is -1.
  16. Not conservative. P_y = Q_x as in Example 4, and P_z = 0 = R_x, Q_z = 0 = R_y. With \langle \cos t, \sin t, 5 \rangle the integrand is 1, so the circulation is 2\pi \ne 0, and Result 2 applies since the set is connected.
  17. Let G be an antiderivative of g, which exists by the fundamental theorem of calculus, and f(x, y) = G(ax + by). By the chain rule f_x = a\,g(ax + by) and f_y = b\,g(ax + by), both continuous, so f is differentiable and \nabla f = \mathbf{F}.
  18. If A = B there is nothing to prove. Otherwise the segment L from A to B, traced by A + t(B - A), 0 \le t \le 1, lies in D, is smooth and has length \lVert B - A \rVert. By Result 1, f(B) - f(A) = \int_L \mathbf{F} \cdot d\mathbf{r}, and the length estimate (Result 4 of Line integrals) bounds its absolute value by M\lVert B - A \rVert.
  19. Let f_1, f_2 be potentials on D_1, D_2. The intersection is open (the smaller of a ball in D_1 and one in D_2 lies in both) and connected, and f_1, f_2 are both potentials on it, so f_1 - f_2 = K there by Result 3. Let f = f_1 on D_1 and f = f_2 + K on D_2; the rules agree on the overlap. Each point of D_1 has a ball inside D_1 on which f = f_1, so f is differentiable there with \nabla f = \mathbf{F}; likewise at points of D_2.
  20. Take the field of Example 4, D_1 = \{x > 0\} \cup \{y > 0\} and D_2 = \{x < 0\} \cup \{y < 0\}. Each half-plane is an open rectangle avoiding the origin, so \mathbf{F} is conservative on it by Result 5. The two half-planes in D_1 meet in the open first quadrant, which is connected, so by Exercise 19 \mathbf{F} is conservative on D_1; likewise on D_2, through the third quadrant. But D_1 \cup D_2 is the plane without the origin, where \mathbf{F} is not conservative (Example 4). Here D_1 \cap D_2, the open second and fourth quadrants, is nonempty but not connected.
math.wiki · CC-BY-SA-4.0