THE VECTOR DIFFERENTIAL OPERATOR

1 THE VECTOR DIFFERENTIAL OPERATOR ∇ THE VECTOR DIFFERENTIAL OPERATOR ∇ Divergence ∇ · v, Curl ∇ × v The vector differential operator ∇ is defined b...
Author: Rebecca Peters
78 downloads 2 Views 137KB Size
1

THE VECTOR DIFFERENTIAL OPERATOR ∇

THE VECTOR DIFFERENTIAL OPERATOR ∇ Divergence ∇ · v, Curl ∇ × v The vector differential operator ∇ is defined by setting ∇=

∂ ∂ ∂ i+ j + k. ∂x ∂y ∂z

This is no ordinary vector. Its “components” are differentiation symbols. As the term “operator” suggests, ∇ is to be thought of as something that “operates” on things.

What sort of things? Scalar fields and vector fields.

Suppose that f is a differentiable scalar field. Then ∇ operates on f as follows: ∇f =

 

!

∂ ∂ ∂ ∂f ∂f ∂f i+ j+ k f = i+ j+ k. ∂x ∂y ∂z ∂x ∂y ∂z

This is just the gradient of f , with which we are already familiar. How does ∇ operate on vector fields? In two ways. If v = v1 i + v2 j + v3 k is a

differentiable vector field, then by definition ∇·v =

∂v1 ∂v2 ∂v3 + + ∂x ∂y ∂z

and

∇×v =

Œ Œ Œ i Œ Œ ∂ Œ Œ ∂x Œ Œ v1

j ∂ ∂y

v2

Œ

k ŒŒ

Œ Œ Œ Œ Œ v3 Œ ∂ ∂z

=

 

!

 

!

 

!

∂v3 ∂v2 ∂v1 ∂v3 ∂v2 ∂v1 − i+ − j+ − k ∂y ∂z ∂z ∂x ∂x ∂y

The first “product,” ∇ · v, defined in imitation of the ordinary dot product, is called the divergence of v:

∇ · v = div v. The second “product,” ∇ × v, defined in imitation of the ordinary cross product, is called the curl of v:

∇ × v = curl v.

Interpretation of Divergence and Curl Suppose we know the divergence of a field and also the curl. What does that tell us? For definitive answers we must wait for the divergence theorem and Stokes’s theorem, but, in a preliminary way, we can give some rough answers right now. View v as the velocity field of some fluid. The divergence of v at a point P gives us an indication of March 17, 2001

2

THE VECTOR DIFFERENTIAL OPERATOR ∇

whether the fluid tends to accumulate near P (negative divergence) or tends to move away from P (positive divergence). The curl at P measures the rotational tendency of the fluid. Example 1. Set v(x, y, z) = αxi + αyj + αzk.(α a constant) Divergence: ∇·v =α Curl: ∇×v =

Œ Œ Œ i Œ Œ ∂ Œ ∂x Œ Œ Œ αx

∂x ∂y ∂z +α +α = 3α. ∂x ∂y ∂z

j ∂ ∂y

Œ k ŒŒ

∂ ∂z

αy αz

Œ Œ Œ Œ Œ Œ

=

Œ Œ Œ i Œ ∂ α ŒŒŒ ∂x Œ Œ x

j

Œ k ŒŒ

∂ ∂y

∂ ∂z

y

z

Œ Œ Œ Œ Œ Œ

=0

because the partial derivatives that appear in the expanded determinant are all zero. The field of Example 1 v(x, y, z) = αxi + αyj + αzk = αr can be viewed as the velocity field of a fluid in radial motion–toward the origin if α < 0, away from the origin if α > 0. Consider a point (x, y, z), a spherical neighborhood of that point, and a cone emanating from the origin that is tangent to the boundary of the neighborhood. Note two things: all the fluid in the cone stays in the cone, and the speed of the fluid is proportional to its distance from the origin. Therefore, if the divergence 3α is negative, then α is negative, the motion is toward the origin, and the neighborhood gains fluid because the fluid coming in is moving more quickly than the fluid going out. (Also the entry area is greater than the exit area.) If, however, the divergence 3α is positive, then α is positive, the motion is away from the origin, and the neighborhood loses fluid because the fluid coming in is moving more slowly than the fluid going out. (Also the entry area is smaller than the exit area.) Since the motion is radial, the fluid has no rotational tendency whatsoever, and we would expect the curl to be identically zero. It is. Example 2. Set v(x, y, z) = −ωyi + ωxj, (ω a positive constant). Divergence: ∇ · v = −ω Interpretation of Divergence and Curl

∂x ∂y +ω = 0 + 0 = 0. ∂x ∂y March 17, 2001

3

THE VECTOR DIFFERENTIAL OPERATOR ∇

Curl: ∇×v = The field of Example 2

Œ Œ Œ Œ Œ Œ Œ Œ Œ

i

j

∂ ∂x

∂ ∂y

Œ k ŒŒ

∂ ∂z

−ωy ωx

0

Œ Œ Œ Œ Œ Œ

= {ω

∂x ∂y + ω }k = 2ωk. ∂x ∂y

v(x, y, z) = −ωyi + ωxj, (ω a positive constant). is the velocity field of uniform counterclockwise rotation about the z-axis with angular speed ω. We can see this by noting that v is perpendicular to r : v · r = (−ωyi + ωxj) · (xi + yj + zk) = −ωyx + ωxy = 0. and the speed at each point is ωR where R is the radius of rotation: v=

q

q

ω 2 y 2 + ω 2 x2 = ω y 2 + x2 = ωR

How is the curl, 2ωk, related to the rotation? The angular velocity vector is the vector ωk. In this case then the curl of v is twice the angular velocity vector. With this rotation no neighborhood gains any fluid and no neighborhood loses any fluid. As we saw, the divergence is identically zero.

Basic Identities For vectors we have a × a = 0. Is it true that ∇ × ∇ = 0? We make it true by defining (∇ × ∇)f = ∇ × (∇f ). THEOREM (THE CURL OF A GRADIENT IS ZERO) If f is a scalar field with continuous second partials, then (∇ × ∇)f = 0. Proof (∇ × ∇)f =

Œ Œ Œ i Œ Œ ∂ Œ ∂x Œ Œ Œ ∂f ∂x

by the equality of the mixed partials.

j ∂ ∂y ∂f ∂y

Œ k ŒŒ

∂ ∂z ∂f ∂z

Œ Œ Œ Œ Œ Œ

= 0,

For vectors we have a · (a × c) = 0. The analogous operator formula,∇ · (∇ × v) = 0,

is also valid.

Basic Identities

March 17, 2001

4

THE VECTOR DIFFERENTIAL OPERATOR ∇

THEOREM (THE DIVERGENCE OF A CURL IS ZERO) If the components of the vector field v = v1 i + v2 j + v3 k have continuous second partials, then ∇ · (∇ × v) = 0. Proof. Again the key is the equality of the mixed partials: ∇ · (∇ × v) = 0 =

∂ ∂v1 ∂v3 ∂ ∂v2 ∂v1 ∂ ∂v3 ∂v2 ( − )+ ( − )+ ( − )=0 ∂x ∂y ∂z ∂y ∂z ∂x ∂z ∂x ∂y

since for each component the mixed partials cancel. The next two identities are product rules. Here f is a scalar field and v is a vector field. ∇ · (f v) = (∇f ) · v + f (∇ · v).

[div (f v) = (grad f ) · v + f (div v)]

∇ × (f v) = (∇f ) × v + f (∇ × v).

[curl (f v) = (grad f ) × v + f (curl v)]

We know from Example 1 that ∇ · r = 3 and ∇ × r = 0 at all points of space. Now

we can show that, if n is an integer, then, for all r 6= 0,

∇ · (rn r) = (n + 3)rn and ∇ × (rn r) = 0. Proof. Recall that ∇rn = nrn−2 r. We have ∇ · (rn r) = (∇rn ) · r + rn (∇ · r) 

‘

= nrn−2 r · r + rn (3) = nrn−2 (r · r) + 3rn = (n + 3)rn . Since

rn r = ∇(

rn+2 ), n+2

it follows that ∇ × (rn r) = 0.

The Laplacean From the operator ∇ we can construct other operators. The most important of these

is the Laplacean ∇2 = ∇ · ∇. The Laplacean (named after the French mathematician

Pierre- Simon Laplace) operates on scalar fields according to the following rule: ∇2 f = ∇ · (∇f ) = The Laplacean

∂ 2f ∂ 2f ∂2f + + . ∂x2 ∂y 2 ∂z 2

March 17, 2001

5

THE DIVERGENCE THEOREM

Example 3. If f (x, y, z) = x2 + y 2 + z 2 , then ∇2 f =

‘ ‘ ‘ ∂2  2 ∂2  2 ∂2  2 2 2 2 2 2 2 + y + z + + y + z + + y + z x x x ∂x2 ∂y 2 ∂z 2

= 2 + 2 + 2 = 6. Example 4. If f (x, y, z) = exyz , then ∂ 2 xyz ∂ 2 xyz ∂ 2 xyz (e ) + (e ) + (e ) = (y 2 z 2 + x2 z 2 + x2 y 2 )exyz . 2 2 2 ∂x ∂y ∂z √ Example 5. To calculate ∇2 (sin r) = ∇2 (sin x2 + y 2 + z 2 ) we could write ∇2 f =

“ “ “ ’ ’ ’ q q q ∂2 ∂2 ∂2 2 2 2 2 2 2 2 2 2 sin x + y + z + 2 sin x + y + z + 2 sin x + y + z ∂x2 ∂y ∂z

and proceed from there. The calculations are straightforward but lengthy. We will do it in a different way. Recall that ∇2 f = ∇ · ∇f,

∇ · (f v) = (∇f ) · v + f (∇ · v)

∇f (r) = f 0 (r)r−1 r,

∇ · (rn r) = (n + 3)rn

Using these relations, we have ∇2 (sin r) = ∇ · ∇ sin r = ∇ · [(cos r)r−1 r] = [(∇ cos r) · r−1 r] + cos r(∇ · r−1 r) = {[(− sin r)r−1 r] · r−1 r} + cos r(2r−1 ) = − sin r + 2r−1 cos r.

THE DIVERGENCE THEOREM Green’s theorem enables us to express a double integral over a Jordan region Ω with a piecewise-smooth boundary C as a line integral over C : ZZ " Ω

#

I ∂Q ∂P (x, y) − (x, y) dxdy = P (x, y) dx + Q(x, y) dy. ∂x ∂y C

In vector terms this relation can be written ZZ Ω

(∇ · v) dxdy =

Z

C

(v · n)ds. March 17, 2001

6

THE DIVERGENCE THEOREM

Here n is the outer unit normal and the integral on the right is taken with respect to arc length. Proof. Set v = Qi − P j. Then ZZ Ω

ZZ "

(∇ · v) dxdy =



∂Q ∂P − ∂x ∂y

#

dxdy.

All we have to show then is that Z

C

(v · n)ds =

I

C

P (x, y) dx + Q(x, y) dy.

For C traversed counterclockwise, n = T × k, where T is the unit tangent vector. Thus v · n = v · (T × k) = (−v) · (k × T ) = (−v × k) · T. Since −v × k = (P j − Qi) × k = P i + Qj, we have v · n = (P i + Qj) · T . Therefore

=

Z

Z

C

C

(v · n)ds =

Z

(P i + Qj) · dr =

C

[(P i + Qj) · T ]ds

I

C

P (x, y) dx + Q(x, y) dy.

Green’s theorem expressed has a higher dimensional analog that is known as the divergence theorem. THEOREM THE DIVERGENCE THEOREM Let T be a solid bounded by a closed surface S which, if not smooth, is piecewise smooth. If the vector field v = v(x, y, z) is continuously differentiable throughout T , then

ZZZ T

(∇ · v) dxdydz =

ZZ S

(v · n) dσ

where n is the outer unit normal. Proof. We will carry out the proof under the assumption that S is smooth and that any line parallel to a coordinate axis intersects S at most twice. Our first step is to express the outer unit normal n in terms of its direction cosines: n = cos α1 i + cos α2 j + cos α3 k. Then v · n = v1 cos α1 + v2 cos α2 + v3 cos α3 . The idea of the proof is to show that ZZ S

v1 cos α1 dσ =

ZZZ T

∂v1 dxdydz, ∂x March 17, 2001

7

THE DIVERGENCE THEOREM ZZ

v2 cos α2 dσ =

S

ZZZ

∂v2 dxdydz, ∂y

ZZ

v3 cos α3 dσ =

ZZZ

∂v3 dxdydz. ∂z

T

S

T

All three equations can be verified in much the same manner. We will carry out the details only for the third equation. Let Ωxy be the projection of T onto the xy-plane. If (x, y) ∈ Ωxy then, by assump-

tion, the vertical line through (x, y) intersects S in at most two points, an upper point P + and a lower point P − . (If the vertical line intersects S at only one point P , we set P = P + = P − .) As (x, y) ranges over Ωxy , the upper point P + describes a surface S + : z = f + (x, y), (x, y) ∈ Ωxy and the lower point describes a surface S − : z = f − (x, y), (x, y) ∈ Ωxy . By our assumptions,f + andf − are continuously differentiable, S = S + ∪ S − , and the

solid T is the set of all points (x, y, z) with

f − (x, y) ≤ z ≤ f + (x, y), (x, y)∈Ωxy . Now let γ be the angle between the positive z-axis and the upper unit normal. On S + the outer unit normal n is the upper unit normal. Thus on S + γ = α3 and cos α3 sec γ = 1. On S − the outer unit normal n is the lower unit normal. In this case γ = π − a3 and cos α3 sec γ = −1. Thus, ZZ

v3 cos α3 dσ =

S+

ZZ

v3 cos α3 sec γ dxdy =

ZZ

v3 [x, y, f + (x, y)] dxdy

Ωxy

Ωxy

and ZZ

v3 cos α3 dσ =

S−

ZZ

Ωxy

v3 cos α3 sec γ dxdy = −

ZZ

v3 [x, y, f − (x, y)] dxdy.

ZZ

v3 cos α3 dσ

Ωxy

It follows that ZZ S

v3 cos α3 dσ =

ZZ

S+

v3 cos α3 dσ +

S−

March 17, 2001

8

THE DIVERGENCE THEOREM

=

ZZ 

Ωxy

‘

v3 [x, y, f + (x, y)] − v3 [x, y, f − (x, y)] dxdy

=

ZZ  Z f + (x,y) f − (x,y)

Ωxy

=

ZZZ T

!

∂v3 (x, y, z) dz dxdy ∂z

∂v3 (x, y, z) dxdydz. ∂z

This confirms the third equation. The second equation can be confirmed by projection onto the xz-plane; the first equation can be confirmed by projection onto the yz-plane.

Divergence as Outward Flux per Unit Volume Choose a point P and surround it by a closed ball N , of radius . According to the divergence theorem ZZZ N

(∇ · v) dxdydz = flux of v out of N .

Thus (average divergence of v on N ) × (volume of N ) = flux of v out of N and average divergence of v on N =

flux of v out of N . volume of N

Taking the limit of both sides as  shrinks to 0, we have divergence of v at P = lim+ →0

flux of v out of N . volume of N

In this sense divergence is outward flux per unit volume. Think of v as the velocity of a fluid. Negative divergence at P signals an accumulation of fluid near P : ∇ · v < 0 at P⇒flux out of N < 0 ⇒net flow into N . Positive divergence at P signals a flow of liquid away from P : ∇ · v > 0 at P⇒flux out of N > 0 ⇒net flow out of N . Points at which the divergence is negative are called sinks; points at which the divergence is positive are called sources. If the divergence of v is 0 throughout, then the flow has no sinks and no sources and v is called solenoidal. Divergence as Outward Flux per Unit Volume

March 17, 2001

9

THE DIVERGENCE THEOREM

Solids Bounded by Two or More Closed Surfaces The divergence theorem, stated for solids bounded by a single closed surface, can be extended to solids bounded by several closed surfaces. Suppose, for example, that we start with a solid bounded by a closed surface S1 and extract from the interior of that solid a solid bounded by a closed surface S2 . The remaining solid, call it T has a boundary S that consists of two pieces: an outer piece S1 and an inner piece S2 . The key here is to note that the outer normal for T points out of S1 but into S2 . The divergence theorem can be proven for T by slicing T into two pieces T1 and T2 and applying the divergence theorem to each piece: ZZZ ZZZ

T1

T2

(∇ · v) dxdydz =

ZZ

(v · n) dσ

(∇ · v) dxdydz =

ZZ

(v · n) dσ

boundary of T1

boundary of T2

The triple integrals over T1 and T2 add up to the triple integral over T . When the surface integrals are added together, the integrals along the common cut cancel (because the normals are in opposite directions) and therefore only the integrals over S1 and S2 remain. Thus the surface integrals add up to the surface integral over S : S1 ∪ S2 and

the divergence theorem still holds: ZZZ T

(∇ · v) dxdydz =

ZZ S

(v · n) dσ.

An Application to Static Charges Consider a point charge q somewhere in space. This charge creates around itself an electric field E, which in turn exerts an electric force on every other nearby charge. If we center our coordinate system at q, then the electric field at r can be written E(r) = q

r . r3

(This is found experimentally.) Note that this field has exactly the same form as the gravitational field: a constant multiple of r−3 r. It follows from the formula ∇ · (rn r) = (n + 3)rn that ∇ · E = 0 for all r 6= 0. Solids Bounded by Two or More Closed Surfaces

March 17, 2001

10

THE DIVERGENCE THEOREM

We are interested in the flux of E out of a closed surface S. We assume that S does not pass through q. If the charge q is outside of S, then E is continuously differentiable on the region T bounded by S, and, by the divergence theorem, RRR

flux of E out of S =

T (∇

· E) dxdydz =

RRR

T

0 dxdydz = 0.

If q is inside of S, then the divergence theorem does not apply to T directly because E is not differentiable on all of T . We can circumvent this difficulty by surrounding q by a small sphere Sa of radius a and applying the divergence theorem to the region T 0 bounded on the outside by S and on the inside by Sa . Since E is continuously differentiable on T 0 , ZZZ T0

(∇ · E) dxdydz = flux of E out of S + flux of E into Sa = flux of E out of S − flux of E out of Sa .

Since ∇ · E = 0 on T 0 , the triple integral on the left is zero and therefore flux of E out of S = flux of E out of Sa . The quantity on the right is easy to calculate: on Sa , n = r/r and therefore E·n=q

r r q q · = = . r3 r r2 a2

Thus flux of E out of Sa =

RR

Sa (E

· n) dσ =

RR

q S a a2

dσ =

q (area a2

of Sa ) = 4πq.

It follows that the flux of E out of S = 4πq. In summary, E is the electric field of a point charge q and S is a closed surface that does not pass through q, then  

0, if q is outside of S flux of E out of S = .  4πq, if q is inside S

An Application to Static Charges

March 17, 2001