Gradient, Divergence, Curl and Related Formulae

Similar documents
Mathematical Notes for E&M Gradient, Divergence, and Curl

Vector Potential for the Magnetic Field

ELECTROSTATIC THEOREMS

Q 4πǫ 0 δr 3 = Q r R. r R i r R i 3. (2) Q i

Separation of Variables in Polar and Spherical Coordinates

Vectors. October 1, A scalar quantity can be specified by just giving a number. Examples:

Differential Operators and the Divergence Theorem

Applications of Gauss Law

Problem Set #3: 2.11, 2.15, 2.21, 2.26, 2.40, 2.42, 2.43, 2.46 (Due Thursday Feb. 27th)

MAGNETIC FIELDS OF STEADY ELECTRIC CURRENTS, BIOT SAVART LAPLACE LAW, AND ITS APPLICATIONS

BOUNDARY PROBLEMS FOR DIELECTRICS

Electrostatics. Chapter Maxwell s Equations

Introduction and Vectors Lecture 1

xy 2 e 2z dx dy dz = 8 3 (1 e 4 ) = 2.62 mc. 12 x2 y 3 e 2z 2 m 2 m 2 m Figure P4.1: Cube of Problem 4.1.

(b) For the system in question, the electric field E, the displacement D, and the polarization P = D ɛ 0 E are as follows. r2 0 inside the sphere,

free space (vacuum) permittivity [ F/m]

Contents. MATH 32B-2 (18W) (L) G. Liu / (TA) A. Zhou Calculus of Several Variables. 1 Multiple Integrals 3. 2 Vector Fields 9

Vector analysis. 1 Scalars and vectors. Fields. Coordinate systems 1. 2 The operator The gradient, divergence, curl, and Laplacian...

Applications of Ampere s Law

Vector Integrals. Scott N. Walck. October 13, 2016

Dielectric Polarization, Bound Charges, and the Electric Displacement Field

Topic 7. Electric flux Gauss s Law Divergence of E Application of Gauss Law Curl of E

7 Curvilinear coordinates

Review of Electrostatics. Define the gradient operation on a field F = F(x, y, z) by;

송석호 ( 물리학과 )

Department of Mathematics, IIT Bombay End-Semester Examination, MA 105 Autumn-2008

Review of Electrostatics

Vector Analysis. Electromagnetic Theory PHYS 401. Fall 2017

Evaluating this approximately uniform field at the little loop s center which happens to lie on the big loop s axis we find

PHYS 281: Midterm Exam

Curvilinear Coordinates

Maxwell s equations for electrostatics

2.20 Fall 2018 Math Review

Chapter 1. Vector Algebra and Vector Space

Chapter 3 - Vector Calculus

Physics 3323, Fall 2016 Problem Set 2 due Sep 9, 2016

University of Illinois at Chicago Department of Physics

Solutions to Sample Questions for Final Exam

Math 350 Solutions for Final Exam Page 1. Problem 1. (10 points) (a) Compute the line integral. F ds C. z dx + y dy + x dz C

Integral Theorems. September 14, We begin by recalling the Fundamental Theorem of Calculus, that the integral is the inverse of the derivative,

Notes 19 Gradient and Laplacian

Physics 6303 Lecture 2 August 22, 2018

Course Notes Math 275 Boise State University. Shari Ultman

Caltech Ph106 Fall 2001

example consider flow of water in a pipe. At each point in the pipe, the water molecule has a velocity

Additional Mathematical Tools: Detail

Magnetostatics. Lecture 23: Electromagnetic Theory. Professor D. K. Ghosh, Physics Department, I.I.T., Bombay

Welcome. to Electrostatics

University of Alabama Department of Physics and Astronomy. PH 125 / LeClair Spring A Short Math Guide. Cartesian (x, y) Polar (r, θ)

Problems in Magnetostatics

. (70.1) r r. / r. Substituting, we have the following equation for f:

7a3 2. (c) πa 3 (d) πa 3 (e) πa3

Multiple Integrals and Vector Calculus (Oxford Physics) Synopsis and Problem Sets; Hilary 2015

Getting started: CFD notation

Gradient operator. In our calculation of dφ along the vector ds, we see that it can be described as the scalar product

Homework Assignment 4 Solution Set

CURRENT MATERIAL: Vector Calculus.

Announcement. Homework:

Chapter 2. Electrostatics. Introduction to Electrodynamics, 3 rd or 4 rd Edition, David J. Griffiths

DIVERGENCE AND CURL THEOREMS

Solutions: Homework 5

Lecture 13: Electromagnetic Theory Professor D. K. Ghosh, Physics Department, I.I.T., Bombay. Poisson s and Laplace s Equations

Math 31CH - Spring Final Exam

EECS 117 Lecture 7: Electrostatics Review

Electromagnetism Physics 15b

Coordinates 2D and 3D Gauss & Stokes Theorems

6 Div, grad curl and all that

x + ye z2 + ze y2, y + xe z2 + ze x2, z and where T is the

UNIT 1. INTRODUCTION

A Brief Revision of Vector Calculus and Maxwell s Equations

Keble College - Hilary 2015 CP3&4: Mathematical methods I&II Tutorial 4 - Vector calculus and multiple integrals II

Fundamentals of Applied Electromagnetics. Chapter 2 - Vector Analysis

EE2007: Engineering Mathematics II Vector Calculus

Coulomb s Law and Electric Field Intensity

Introduction and Review Lecture 1

Ma 1c Practical - Solutions to Homework Set 7

Electric Potential (Chapter 25)

Summary: Curvilinear Coordinates

Chapter 2. Electrostatics. Introduction to Electrodynamics, 3 rd or 4 rd Edition, David J. Griffiths

Circular motion. Aug. 22, 2017

density = N A where the vector di erential aread A = ^n da, and ^n is the normaltothat patch of surface. Solid angle

Magnetic Induction. Consider a wire moving across the magnetic fields, for example +

Mathematical Tripos Part IA Lent Term Example Sheet 1. Calculate its tangent vector dr/du at each point and hence find its total length.

Electromagnetic Field Theory (EMT)

Gauss s Law & Potential

Physics 342 Lecture 23. Radial Separation. Lecture 23. Physics 342 Quantum Mechanics I

Topic 3. Integral calculus

1 Fundamentals. 1.1 Overview. 1.2 Units: Physics 704 Spring 2018

EELE 3331 Electromagnetic I Chapter 3. Vector Calculus. Islamic University of Gaza Electrical Engineering Department Dr.

CURRENT MATERIAL: Vector Calculus.

Electro Magnetic Field Dr. Harishankar Ramachandran Department of Electrical Engineering Indian Institute of Technology Madras

INTRODUCTION ELECTROSTATIC POTENTIAL ENERGY. Introduction. Electrostatic potential energy. Electric potential. for a system of point charges

Orthogonal Curvilinear Coordinates

Lecture II: Vector and Multivariate Calculus

Tutorial 3 - Solutions Electromagnetic Waves

ES.182A Topic 46 Notes Jeremy Orloff. 46 Extensions and applications of the divergence theorem

Notes on Vector Calculus

Physics 225 Relativity and Math Applications. Fall Unit 10 The Line Element and Grad, Div, Curl

Summary of electrostatics

NOTES ON DIFFERENTIAL FORMS. PART 1: FORMS ON R n

Transcription:

Gradient, Divergence, Curl and Related Formulae The gradient, the divergence, and the curl are first-order differential operators acting on fields. The easiest way to describe them is via a vector nabla whose components are partial derivatives WRT Cartesian coordinates x, y, z: = ˆx x + ŷ y + ẑ. 1 The operator is a true vector in the following sense: Consider any two Cartesian coordinate systems x,y,z and x,y,z at some angles to each other; in general, they are related to each other as x = T x x x + T x y y +T x z z, y = T y x x + T y y y +T y z z, 2 z = T z x x + T z y y +T z z z, for some orthogonal 3 3 matrix T. Then the components of the operator in the x,y,z system i.e., the partial derivatives /x, /y, and / are related to the partial derivatives WRT x, y, z precisely as components of any other vector: x = T x x x + T x y y +T x z, y = T y x x + T y y y +T y z, = T z x x + T z y y +T z z. 3 Consequently, just like a regular vector say, A has different components in the two coordinate systems but they assemble to the same vector as A xˆx + A y ŷ + A z ẑ = A x ˆx + A y ŷ + A z ẑ = same A, 4 for the operator we also have ˆx x + ŷ y + ẑ = ˆx x + ŷ y + ẑ = same. 5 1

The Gradient: Acting with the operator on a scalar field Sx,y,z produces a vector field S = S S S ˆx + ŷ+ ẑ = gradsx,y,z 6 x y called the gradient of S. Physically, the gradient measures how much S is changing with the location; it points in the direction of steepest increase of S while its magnitude is the rate of that increase. At the local maxima, local minima, or other stationary points of S, the gradient vanishes. Leibniz rule for the gradient of a product of two scalar fields S 1 x,y,z and S 2 x,y,z: S 1 S 2 = S 1 S 2 + S 2 S 1. 7 Chain Rule for the gradient of a function of another function of the 3 coordinates: If Px,y,z = f Sx,y,z, then P = dp ds As an example, let s apply this rule to a spherically symmetric field S. 8 Px,y,z = Pronly, r = r = x 2 +y 2 +z 2. 9 By the chain rule, the gradient of any such field is Pr = dp dr r = dp dr ˆr 10 where the second equality follows from the gradient of the radius r being the unit vector ˆr in the radial direction. This should be obvious from the physical meaning of the gradient, but let s prove this mathematically. Let s start with the gradient of r 2 = x 2 +y 2 +z 2 : r 2 = ˆx x + ŷ y + ẑ x 2 +y 2 +z 2 = 2xˆx+ 2yŷ + 2zẑ = 2r. 11 At the same time, by the chain rule, hence quod erat demonstrandum. r 2 = dr2 dr r = 2r r, 12 r = 1 2r r2 = 1 2r = ˆr, 13 2r 2

As an example of eq. 10, the gradient of any power of the radius is r n = nr n 1ˆr. 14 The Divergenceofavector field Vx,y,zis ascalar field divvx,y,zwhich measures how much V spreads out at each point x,y,z or for a negative divergence, how much V converges to the point x, y, z. Algebraically, the divergence is the scalar product dot product of the operator and the vector field on which it acts: divvx,y,z = V = x V x + y V y + V z. 15 Example: A vector field parallel to the x axis spreading out in x direction, Vx,y,z = cxˆx for a constant c The divergence of this field is V = V x x + V y y + V z = cx x + 0 y + 0 = c + 0 + 0 = c. 16 Another example: A field pointing and spreading out in the radial direction, V = cr, 17 3

The divergence of this field is V = V x x + V y y + V z = cx x + cy y + cz = c + c + c = 3c. 18 Similar to the Leibniz rule for the gradient, there is a Leibniz rule for the divergence of a product of a scalar field Sx,y,z and a vector field Vx,y,z: SV = S V + S V. 19 This rule is particularly useful for calculating divergences of spherically symmetric radial fields Vx,y,z = Vronlyˆr = Vr r r 20 Indeed, by the Leibniz rule 19, V = Vr r = r Vr r r + Vr r r 21 where in the second term on the RHS r = 3, cf. the example 18. As to the first term on the RHS, and hence Vr r Vr r = r = dv/r dr ˆr = V r V r 2 V r V r 2 ˆr r = r Plugging this formula and r = 3 into eq. 21, we arrive at ˆr 22 = dv dr V r. 23 V = Vrˆr = dv dr V r + V r In particular, for Vr = kr n for a constant k, 3 = dv dr + 2V r. 24 kr nˆr = nkr n 1 + 2kr n 1 = n+2kr n 1. 25 Note: the Coulomb electric field of a point charge has this form for n = 2. Consequently, for E = Q ˆr r 2, E = n = 2+2 = 0 Q 1 = 0, 26 r3 the Coulomb electric field seems to be divergence-less! However, this formula is valid only outside the charge, at r 0, but right on top of the charge, at r = 0, the electric field itself is 4

singular and its divergence is actually infinite. As we shall see later in class, for E = Q ˆr r 2, Er = Q ǫ 0 δ 3 r. 27 The Curl or rotor of a vector field Vx,y,z is another vector field curlvx,y,z which measures the vorticity of the V field. Specifically, the x component of the curlv measure the vorticity of the V field in the yz plane and thus around the x axis, and likewise for the y and z components. Algebraically, curlvx,y,z obtains as a vector product of the and the vector field V on which it acts: curlv = rotv = V = ˆx x + ŷ y + ẑ ˆxV z + ŷv y + ẑv z ˆx ŷ ẑ = det x y V x V y V z Vz = ˆx y V y Vx + ŷ V z x Vy + ẑ x V x. y 28 Example: the radially symmetric spreading out field 17 Vr = cr has zero curl. Indeed, the x component of the curl evaluates to cr x = cr z y cr y = cz y cy = 0 0 = 0, 29 and likewise, the y component and the z component of cr also vanish. 5

Another example: a vector field V = cxŷ cyˆx swirling in the xy plane like this 30 has a non-trivial curl in the z direction: cxŷ cyˆx z = V y = cx x V x = cy y = +c c = 2c, 31 while the x and y components of the curl vanish: cxŷ cyˆx x = V z = 0 V y = +cx y cxŷ cyˆx y = V x = cy V z = 0 x = 0 0 = 0, = 0 0 = 0. 32 Leibniz rule for the curl of a product of a scalar field Sx,y,z and a vector field Vx,y,z: SV = S V + S V, 33 Using this rule, it is easy to show that any spherically symmetric radial field Vx,y,z = Vrˆr 6

has zero curl. Indeed, V = Vr r, r V = V r + V r r r where r = 0, and V = dv/r ˆr, r dr dv/r hence V = ˆr r + 0 dr = dv/r ˆr r = 0 + 0 dr = 0. 34 Other Leibniz rules: a Divergence of a vector product of two vector fields Ax,y,z and Bx,y,z, A B = B A A B. 35 b Curl of a cross product of two vector fields, A B = B A A B + A B B A. 36 c Gradient of a dot product of two vector fields: A B = A B + B A + A B + B A. 37 In the last two formulae here A and B are not the divergences but rather the differential operators A = A x x + A y B = B x x + B y y + A z, y + B z 38, 7

which then act on other fields. For example, S A S = A x x + A S y y + A S z, B x A B = A x + Second Derivatives B x y + A z B x x + A y B z A x x + A B z y y + A z ˆx + B z ẑ. B y A x x + A B y y y + A z B y ŷ The gradient, the divergence, and the curl are first-order differential operators for the fields. By acting with two such operators one after the other we can make interesting secondorder differential operators. Thanks to = 0, two combinations of first-order operators are identical zeros: a The curl of a gradient of any scalar field vanishes identically, 39 for any Sx,y,z, curlgrads = S 0. 40 b The divergence of a curl of any vector field vanishes identically, for any Vx,y,z, divcurlv = V 0. 41 Proof: Let s start with the curl of a gradient. For the z component of the curl, we have S z = x S y y S x = S x y S y x = 0 42 because the partial derivatives WRT x,y,z can be taken in any order without changing the result. Likewise, the x and y components of the curl of a gradient vanish for the same reason: S x = S y S y = 0, S y = S x S x = 0. 43 8

Finally, the divergence of a curl of a vector field is V = V x x + y = x Vz y V y regrouping terms V z = x y V z y x = 0 + 0 + 0 = 0. Quod erat demonstrandum. V V y + + Vx y V z x + V x y z + V x y + Vy x V x y V y x x V y Now let s turn to the non-vanishing combinations of the derivative operators. Consider the divergence of a gradient of a scalar field: 44 divgrads = S = S x x + S y y + S = 2 x 2 + 2 y 2 + 2 2 S. 45 The second-order differential operator inside the on the RHS is called the Laplace operator or simply the Laplacian; it is usually denoted by the triangle, = 2 x 2 + 2 y 2 + 2 2. 46 Algebraically, the Laplacian is the scalar square of the vector, = 2 = = x x + y y +. 47 Since the operator acts as a true vector under coordinate transforms, the Laplacian is a true scalar it has the same form in all Cartesian coordinate systems, 2 x y 2 2 2 + + = 2 2 2 x 2 + 2 y 2 + 2 2 = same. 48 Hence, the Laplacian operator acting on a scalar field as in eq. 45 produces a bone fide scalar field. 9

We may also act with the Laplacian operator 46 on a vector field Vx,y,z by acting on each component V x,v y,v z separately and produce a vector field V = 2 V x x 2 + 2 V x y 2 + 2 V x 2 V y 2 ˆx + x 2 + 2 V y y 2 + 2 V y 2 V z 2 ŷ + x 2 + 2 V z y 2 + 2 V z 2 ẑ. Such Laplacian of a vector field also obtains from combining the gradient of the divergence of that vector field with a curl of the curl, 49 V = V V = graddivv curlcurlv. 50 Formally, this formula obtains from the BAC CAB rule for the double cross product of 3 vectors where two of them are and the third is V: A B C = BA C CA B = BA C A BC, let A = B =, C = Vx,y,z, 51 V = V V = V V. More rigorously, we should redo the vector algebra here plugging the appropriate derivatives for the components of the vector and making explicit use of partial derivatives commuting with each other, but I am not doing it in these notes. Physically, the Laplacian of the electric potential is very important in electrostatics, while the Laplacians of the electric and the magnetic fields are very important for the propagation of the electromagnetic waves. 10

Integrals and Fundamental Theorems For the functions of one variable, the derivatives and the integrals are related by the Newton s Fundamental theorem of calculus: for f x = df dx, B A f xdx = fb fa. 52 There are similar theorems relating the gradients, the divergences, and the curls of fields to the line, surface, and volume integrals. Line Integral of a Vector Field Consider a vector field Vx,y,z integrated along some line L, straight or curved, L B I = V d l = V x dx+v y dy +V z dz. A L L 53 Note: the infinitesimal length element d l is treated as a vector in the direction tangent to the line, and the integrand is the scalar product of that d l with the vector field. For a line described by a vector-valued function rξ of a single coordinate ξ parametrizing the line, the line element is d l = drξ = dr/dξdξ, hence L V d l = ξ B ξ A Vrξ dr dξ. 54 dξ Physics example of a line integral: the mechanical work of a position dependent force Fx,y,z. W = F d l. 55 trajectory 11

Surface Integral of a Vector Field Vx,y,z is the flux of V through some surface S, Φ = S = S V d 2 A V nd 2 A. Again, we treat the infinitesimal area element d 2 A as a vector in the direction n normal to the surface S, and the integrand is the dot product of that infinitesimal area vector d 2 A with the vector field V. For a surface described by a vector-valued function rξ, η of two independent coordinates ξ and η parametrizing the surface, the area element is r r r d 2 A = ξ dξ η dη = ξ r dξdη. 56 η For example, for a sphere parametrized by the latitude θ and the longitude φ, r θ = Rˆθ, r = Rsinθ ˆφ φ r θ r φ = R2 sinθ ˆθ ˆφ = R 2 sinθˆr, 57 hence d 2 A = ˆrR 2 sinθdθdφ. Finally, the Volume Integral of a Scalar Field Sd 3 Vol = Sx,y,zdxdydz 58 V V does not involve any vectors, it s just the ordinary 3D integral of Sx,y,z over some volume V of 3D space. But the devil is in the details the integration boundaries for the x,y,z variables could be rather complicated, depending on the exact shape of the volume V. 12

The gradient theorem concerns line integrals of gradients: S d l = SfinishL SstartL. 59 line L Note: in general, a line integral of a vector field over a line L depends on the entire geometry of the line. But when that vector field happens to be be the gradient of some scalar field Sx,y,z, the integral depends only on ending points of the line, regardless of any intermediate points of the line. L 1 A B L 2 for a generic Vx,y,z, V d l V d l, 60 L 1 L 2 but for V = Sx,y,z, S d l = S d l = SB SA. L 1 L 2 In particular, integrating a gradient over a closed loop yields zero, loop loop S d l = 0. 61 The curl theorem also known as the Stokes theorem concerns surface integrals fluxes of curls. Let S be a surface spanning some closes loop C as on the figure below; in other words, S is a finite surface with a single boundary and the loop C is that boundary. Then the flux through S of a curl V of some vector field Vx,y,z equals the line integral of the V 13

field itself over the boundary loop C: S V d 2 A = C V d l. 62 Again the flux of a general vector field through a surface depends on the entire surface, but when that vector field happens to be the curl of another vector field, the flux depends only on the surface s boundary. Thus for two surfaces S 1 and S 2 spanning the same loop C like the hemisphere and the disk on the figure below S 1 S 2 C for a generic Vx,y,z, V d 2 A V d 2 A, 63 S 1 S 2 but for V = V x,y,z, V d 2 A = V d 2 A = V d l. S 1 S 2 C 14

The divergence theorem also known as the Gauss theorem, the Green s theorem, or the Ostrogradsky s theorem concerns the volume integrals of the divergences of vector fields. Let V be some finite volume of space and let S be its complete surface. Then the volume integral over V of the divergence V of some vector field Vx,y,z equals to the flux of the V field itself through the surface S of V: V Vd 3 Vol = S V d 2 A. 64 Example: Let S be a sphere of radius R while V is the solid ball filling that sphere, and let Vx,y,z = frˆr be a spherically symmetric radial vector field. As we saw earlier in these notes in eq. 24, the divergence of such a field is frˆr = df dr + 2f r. 65 To integrate this divergence over the volume of the ball, we use spherical coordinates in which the volume element is d 3 Vol = r 2 drd 2 Ω 4πr 2 dr once we integrate over the directions. 66 Consequently, the integral of the divergence over the solid ball evaluates to ball Vd 3 Vol = R 0 df dr + 2f r R 4πr 2 d dr = 4πr 2 fr dr = 4πR 2 fr. 67 dr 0 On the other hand, the flux of the radial V field through the sphere is simply V = frˆr d 2 A = fr Areasphere = fr 4πR 2. 68 sphere By inspection, this flux is equal to the volume integral 67, in perfect agreement with the Gauss Theorem. 15

Applications to Electrostatics the Potential In electrostatics, the electric field lines never form any closed loops. This is a visualization of a stronger rule: the line integral of a static electric field over any closed loop is zero, loop C, C E d l = 0. 69 By the Stokes theorem, this means that the curl E has zero flux through any surface S spanning any closed loop C, S, S E d 2 A = 0. 70 In particular, the flux through any infinitesimal square of any orientation, and located anywhere in space must vanish, which means that the curl Ex,y,z must vanish identically everywhere in space. Thus, the static electric field has identically zero curl, Ex,y,z 0 x,y,z. 71 Another consequence of the vanishing-loop-integrals rule69 is that the integral of Ex, y, z over any open line depends only on the starting and finishing points of that line: L 1 A B L 2 E d l E d l = L 1 L 2 closed loop C=L 1 L 2 E d l = 0. 72 16

Physically, thelineintegralsherearerelatedtotheworkoftheelectrostaticforcef = qex,y,z on a moving probe charge q, W = q E d l. 73 trajectory Thus, eq. 72 means that the work of moving a probe charge from a point A to a point B is the same regardless of a particular path the charge takes from A to B. This makes the electrostatic force conservative. Consequently, the work of this force is related to a potential energy Ux,y,z which obviously have the form Ux,y,z = q Vx,y,z 74 for some q-independent electric potential Vx, y, z. The potential difference between any two points A and B obtains by integrating the electric field over any line from A to B, B VA VB = E d l, same integral for any path from A to B. 75 A The potential itself is ambiguous we may add a position-independent constant to the Vx,y,z without changing any of the differences. To remove the ambiguity, one usually picks a reference point O where the potential is set to zero by fiat. Then at any other point A, O VA = E d l along any path from A to O. 76 A Example: Consider the Coulomb field of a point charge at r = 0, Er = kq ˆr 77 r 2 where k = 1/ in the MKSA units. Then along any line in space, E d l = kq kq ˆr dr = r 2 r 2 d r = d kq r, 78 17

and hence O A E d l = O A kq d rx,y,z = kq ro kq ra, 79 regardless of the directions of the points A and O relative to the charge Q, only their distances from the Q affect this integral. For the electric potential, this means VA = + kq ra kq ro. 80 For simplicity, let s move the reference point O where the potential vanishes to the infinity, ro =, then the electric potential due to a point charge Q become simply V[point charge] = Q 1 r. 81 The superposition principle for the electric field of multiple charges carries over to the electric potential. Thus, for a system of several point charges Q i located at points R i, the net electric potential is simply Vr = 1 Q i r R i. 82 Note that its easier to add up the scalar potentials due to each charge than to add up the electric field vectors. This is particularly true when the source charges are continuous rather than point-like, and the sum 80 becomes an integral. For example, for a volume change of density ρx, y, z, the electric potential is Vx,y,z = 1 i ρx,y,z x x 2 +y y 2 +z z 2 dx dy dz. 83 This is a painful triple integral, but at least we need only one such integral rather than three triple integrals we would need for calculating the electric field: E x x,y,z = 1 ρx,y,z x x 4πǫ 0 x x 2 +y y 2 +z z 2 3/2 dx dy dz, E y x,y,z = 1 E z x,y,z = 1 ρx,y,z y y x x 2 +y y 2 +z z 2 3/2 dx dy dz, ρx,y,z z z x x 2 +y y 2 +z z 2 3/2 dx dy dz. 84 18

In light of the formulae like 82 and 83 for the electric potential, the obvious question is: Given the electric potential Vx,y,z, how do we reconstruct the electric field Ex,y,z from this potential? The answer is very simple: take the gradient and flip the sign, Proof: By the gradient theorem, B A Ex,y,z = Vx,y,z. 85 V d l = VA VB = B A E d l. 86 Both equalities here do not depend on the specific path from A to B, so let s put point B infinitesimally close to point A, rb = ra+dr and take the straight-line path from A to B. In this case, the integrals simplify to integrand dr, thus V@A dr = E@A dr. 87 This equality must hold true for any infinitesimal dr, which requires the vector equality V = E at the same point A, for any such A. 88 In other words, Ex,y,z Vx,y,z as vector fields, quod erat demonstrandum. Example: Let s find the potential Vx,y,z due to a uniformly charged thin spherical shell or radius R, and then use that potential to find the electric field. Adapting eq. 83 to a surface rather than volume charge density, we have where for the spherical shell in question Vr = 1 σd 2 A r r, 89 σ = Q net = const. 90 4πR2 By the spherical symmetry of the system, the potential V depends only on the radial distance r from the center of the shell but not on the angular coordinates θ and φ in the spherical coordinates, Vr,θ,φ = Vronly. So without loss of generality, let s measure the potential along the positive half of the z axis, or in spherical coordinates θ = 0, φ undefined. 19

Thecharges onthespherical shell arelocatedatfixedr = Rwhile theirangularcoordinates θ and φ span all possible directions, thus Vr = σ sphere d 2 A = R 2 sinθ dθ dφ. 91 distance The distance between the point where we measure the potential and the charge follows from the cosine theorem: distance 2 = r r 2 = r 2 + r 2 2r r = r 2 + R 2 2rR cosθ 92 because r = R and the angle between the r and the r vectors is θ. Consequently, Vr = σ = σr2 π 0 π 0 = 2πσR2 = dθ 2π 0 dφ R 2 sinθ R 2 +r 2 2Rrcosθ dθ sinθ R 2 +r 2 2Rrcosθ θ =π θ =0 2π 0 dφ = 2π dcosθ = +1 R 2 +r 2 2Rrcosθ rr d R 2 +r 2 2Rrcosθ 1 2 Q net 1 rr R 2 +r 2 2Rrcosθ θ =π θ =0 = Q net 1 2rR R 2 +r 2 +2Rr R 2 +r 2 2rR. 93 Furthermore, R 2 +r 2 ±2Rr = R±r 2, but when we take a square root of that, we must take the positive square root. Thus, R 2 +r 2 +2Rr = R+r but { r R outside the shell, R 2 +r 2 2Rr = R r 2 = R r = R r inside the shell, 94 and therefore R 2 +r 2 +2Rr R 2 +r 2 2rR = R+r R r = { 2R outside the shell, 2r inside the shell. Plugging this formula back into eq. 93 for the electric potential, we arrive at 95 Vr = Q net 1 r outside the shell, 96 20

but Vr = Q net 1 R inside the shell. 97 Graphically, Vr R r Given the potential, the electric field obtains as minus its gradient. According to eq. 97, inside the shell the potential V is constant, independent of r or the other two coordinates, so its gradient is zero and the electric field vanishes! On the other hand, outside the shell the potential depends on the radius as 1/r, hence the electric field is E = Vr = dv dr ˆr = d Q 1 ˆr = + Q 1 ˆr 98 dr r r2 the same as the Coulomb field of the point charge at the center of the shell. Earlier in class we have found the same electric field zero inside the shell and similar to the point charge s outside the shell from the Gauss Law. But it s nice to re-derive this field by a direct calculation. Applications to Electrostatics the Gauss Law In the integral form, the Gauss Law relates the flux of the electric field Ex,y,z through any closed surface S to the net electric charge Q surrounded by that surface, Φ E S = E d 2 A = 1 Q net [surrounded by S]. 99 ǫ 0 S Applying the Gauss Theorem to the electric field flux on the LHS here, we relate it to the 21

volume integral of the electric field s divergence, Ed 3 Vol = V S E d 2 A = 1 ǫ 0 Q net [in V]. 100 For a continuous charge distribution with volume density ρx,y,z, the net charge on the RHS obtains as a volume integral Q net [in V] = ρd 3 Vol, 101 V hence Ed 3 Vol = 1 ǫ 0 V V ρd 3 Vol. 102 Note the volume integrals on both sides of this equation are over the same volume V, whatever it is. Moreover, the equation must hold for any such volume, and this is possible only when the integrands are equal everywhere in space, point by point: x,y,z : Ex,y,z = 1 ǫ 0 ρx,y,z. 103 This is the Gauss Law in the differential form in MKSA units. Altogether, the static electric field has zero curl while its divergence is proportional to the local electric charge density, Ex,y,z 0, Ex,y,z 1 ǫ 0 ρx,y,z. 104 By comparison, the static magnetic field has zero divergence while its curl is proportional to the local electric current density, Bx,y,z 0, Bx,y,z = µ 0 Jx,y,z. 105 I shall address the magnetic field later in this class; for now, let s focus on the electrostatics. 22

Let s recast the electrostatic equations 104 in terms of the electric potential Vx, y, z. Note that the very existence of the potential or rather, the fact that the Ex,y,z field is a minus gradient of some scalar potential guarantees zero curl, E = V = E = 0. 106 Conversely, the Poincare Lemma says among other things that if a vector field has zero curl everywhere, throughout the whole 3D space, then that field is a gradient of some scalar field. Thus, the zero-curl equation for the electric field assures the existence of the electric potential, Ex,y,z 0 x,y,z = Vx,y,z such that Ex,y,z = Vx,y,z. 107 As to the Gauss Law, in terms of the potential, the divergence of the electric field becomes E = V = 2 V = V 108 where is the Laplacian operator = 2 = 2 x 2 + 2 y 2 + 2 2. 109 Hence, the Gauss Law for the electric field becomes the Poisson equation for the potential, Vx,y,z = 1 ǫ 0 ρx,y,z. 110 In particular, in empty regions of space where there are no charges, the potential obeys the Laplace equation Vx,y,z = 0. 111 We shall spend quite a few weeks learning how to solve the Poisson equation and the Laplace equation for various boundary conditions. 23

Summary Let me conclude these notes with the summary of essential electrostatic equations in both MKSA and Gauss units. Gauss Law in the integral form: S E d 2 A = Q net [inside S] { 4π in Gauss units, 1 ǫ 0 MKSA units. 112 Gauss Law in the differential form: Ex,y,z = ρx,y,z 1 ǫ 0 { 4π in Gauss units, MKSA units. 113 Poisson equation: Vx,y,z = ρx,y,z 1 ǫ 0 { 4π in Gauss units, MKSA units. 114 Coulomb potential of a point charge Q: Vx,y,z = Q r { 1 1 in Gauss units, in MKSA units. 115 Coulomb electric field of a point charge Q: { Vx,y,z = Qˆr 1 in Gauss units, r 2 in MKSA units. 1 116 Finally, some equations have similar form in both systems of units: Ex,y,z 0, 117 Ex,y,z = Vx,y,z, 118 B VA VB = E d l. 119 A 24