Docsity

Gradient, Divergence, and Curl in Vector Calculus - Prof. Abbas, Summaries of Law

Toggle sidebar
bg1
notes621.tex
Lecture Notes for Phys 621 ”Electrodynamics”
Vitaly A. Shneidman
Department of Physics, New Jersey Institute of Technology
(Dated: December 7, 2006)
Abstract
These lecture notes will contain some additional material related to Jackson, 3d ed. (abbreviated
JACK. ), which is the main textbook. Notes for all lectures will be kept in a single file and
the table of contents will be automatically updated so that each time you can print out only the
updated part.
The Mathematica appendix is included for reference; you do not have to print it out since there
will be other files which illustrate how this program works.
Please report any typos to [email protected]
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51

Partial preview of the text

Download Gradient, Divergence, and Curl in Vector Calculus - Prof. Abbas and more Summaries Law in PDF only on Docsity!

Lecture Notes for Phys 621 ”Electrodynamics”

Vitaly A. Shneidman Department of Physics, New Jersey Institute of Technology (Dated: December 7, 2006)

Abstract

These lecture notes will contain some additional material related to Jackson, 3d ed. (abbreviated JACK. ), which is the main textbook. Notes for all lectures will be kept in a single file and the table of contents will be automatically updated so that each time you can print out only the updated part. The Mathematica appendix is included for reference; you do not have to print it out since there will be other files which illustrate how this program works. Please report any typos to [email protected]

Contents

 - I. Vectors and vector calculus I Mathematical introduction - A. Summation convention - B. Derivatives - II. Multidimensional integration - A. Change of variables - B. Divergence theorem (Gauss) - C. Stokes theorem 
  • III. Dirac delta - A. Basic definitons - B. Multidimensional
    • IV. Special functions - A. General - 1. Oscillatory behavior - 2. Singular points and classification of the solutions - 3. Asymptotics, and the WKB approximation - B. Specific functions - C. Bessel functions - D. Asymptotes - 1. Small x - integral representation E. Integer vs. non-integer n, generating function, recurrence relations and - 1. Roots of Jν - 2. Orthogonality - 3. Relation to Laplacian - 4. Modified Bessel functions - F. Legendre - 1. Generating function for Legendre polynomials (LP) - 2. Explicit expressions and recurrence relations - 3. Relation to Laplacian - 4. The other solution - V. Field lines; sources and curles; charge II Overview of fields - A. Field lines - 1. Geometric meaning of the Gauss theorem - B. Intensity of sources and curles - C. Force on a charge
      • VI. Maxwell equations in free space
    • VII. Vectors D~ and H~ - A. Electric displacement, D~ - B. refraction of D~ near the surface of a dielectric - C. Comparing D~ and E~ - 1. ”Measuring” D~ and E~ inside a dielectric - D. H~ - E. Maxwell equations in media - F. Summary: sources and curles of E, ~ D, ~ B, ~ H~ - G. Beyond continuos medium
  • VIII. The Wave - IX. Free charges III Electrostatics - A. Field - B. Potential - 1. Surface charge and dipole layer - C. Poisson and Laplace equations - D. Green’s theorem - E. Uniqueness of the solution - F. Formal properties of the Green’s function - G. Energy - X. Multipole expansion - A. Notations - B. Expansion - C. Comments - D. Dipole - E. Multipole expansions for fields with asimuthal symmetry
    • XI. Conductors - A. Elementary properties of a conductor in electrostatics - B. Charge near a conducting sphere - 1. Method of images - 2. Surface chage density - 3. Non-zero potential or charge on the sphere - 4. Inversion properties of Laplace equation - 5. The Green’s function - C. Conducting sphere in uniform field E~ - 1. Method of images - 2. With Legendre polynomials
  • XII. Laplace equation in a semi-infinite stripe - A. Separation of variables - B. Edge - C. Corner - D. Relation to complex variables - 2D only! - 1. Cauchy-Riemann conditions - 2. Complex potential - 3. Conformal mapping and solution of the problem - E. Mixed boundary conditions - thin disc - 1. Charge density - 2. Capacitance - 3. The z-expansion
  • XIII. Dielectrics - A. Polarization: Elementary treatment - 1. Linear dielectric - B. Charge near a flat dielectric - C. Dielectric sphere - 1. a ”physicists solution” - 2. Solution with Legendre polynomials
    • XIV. Introduction IV Magnetostatics - A. Math - 1. Vector operations - 2. Elliptic integrals - B. Motion of charges and constant currents - C. Macroscopic ME - 1. Amper’s law
      • XV. Vector potential - A. Biot-Savarat law - B. Force between wire loops - C. Vector potential for a ring current - D. Expansion at large distances - E. Magnetic moment and gyromagnetic ratio - F. Torque and Larmor precession
        • G. Magnetization M~ - 1. Scalar magnetic potential ΦM - 2. Vector potential A~ - 3. Sphere in a uniform field
      • XVI. Energy in magnetic field - A. Interaction of linear currents and mutual inductance - B. Self induction - 1. Energy density - 2. Thin wire loop
    • XVII. Quasistatic magnetic field - A. Diffusion of magnetic field - B. Skin depth - C. Skin effect - 1. The problem - 2. math: Vector Laplacian - 3. Electric field - 4. Magnetic field
  • XVIII. Maxwell Equations - A. Vector and scalar potential - B. Green function of the wave equation - C. Field of a moving charge - 1. Lienard-Wiechert potential - 2. Charge moving with constant velocity - A. Some Mathematica commands - 1. Basic elementary commands - 2. Numbers - 3. Symbolic math - 4. Defining your own functions - 5. Graphics (2D) - 6. Main package - 7. Bessel zeros
    • B. Plotting electric field (EF) for a known potential
        1. Parametrization of the line with potential
        1. Mathematica realization
  • C. Diffusion equation

Dr. Vitaly A. Shneidman, Phys 621, 1st Lecture Foreword These notes will provide a description of topics which are not covered in JACK. in order to keep the course self-contained. Topics fully explained in JACK. will be described more briefly and in such cases sections from JACK. which require an in-depth analysis will be indicated as work-through: .... Occasionally you will have reading assignments - indicated as READING: .... (Do not expect to understand everything in such cases, but it is always useful to see a more general picture, even if a bit faint.) Homeworks are important part of the course; they are indicated as HW: ... and include both problems from JACK. and unfinished proofs/verifications from notes. If done by hand the HW solutions must be clearly written in pen (black or blue), if done using Mathematica they must be printed out as a clear hard copy (adding neat hand-written corrections on the hard copy is ok). No electronic submissions of Mathematica notebooks will be accepted.

(Cartesian coordinates only!) Then

gradΦ ≡ ∇ˆΦ ≡ (^) ∂~∂r Φ (5)

or in components (^) ( ∇ˆΦ) α = ∂ ∂xα^ Φ Divergence:

div F~ ≡ ∇ ·ˆ F~ = (^) ∂x∂α Fα (6)

Curl:

curl F~ ≡ ∇ ׈ F~ (7)

or in components (^) ( curl F~

) α =^ ≤α,β,γ

∂xβ^ Fγ HW: Let ~r = (x, y, z) and r = |~r|. Find ∇ˆr , ∇ ·ˆ ~r , ∇ ׈ (~ω × ~r) with ~ω = const Note gradΦ and curl F~ are genuine vectors, while div F~ is a true scalar. Important relations:

curl (gradΦ) = 0 (8)

div

( curl F~

) = 0 (9)

HW: show that HW: Prove formulas for ∇ ׈ (ψ~a) and ∇ ·ˆ

( ~a × ~b

)

  • see front inner cover of JACK.

II. MULTIDIMENSIONAL INTEGRATION

A. Change of variables

∫ ∫ R^ f^ (x, y)^ dx dy^ =

∫ ∫ R∗^ f^ [x(u, v)^ , y(u, v)]^ |∂(x, y)/∂(u, v)|^ (10)

Here |∂(x, y)/∂(u, v)| is the Jacobian. The 3D case is similar. Cylindrical: (r, φ, z) with

x = cos φ , y = sin φ (11) J = |∂(x, y, z)/∂(r, φ, z)| = |∂(x, y)/∂(r, φ)| = r

HW: show that Spherical: (r, θ, φ) with

x = r sin θ cos φ , y = r sin θ sin φ , z = r cos θ , (12) J = −r^2 sin θ (13)

HW: show that Solid angle:

dΩ ≡ dA r 2 = r^12 dV dr = sin θ dθ dφ (14) ∫ dΩ = 4π

HW: show that

B. Divergence theorem (Gauss)

∫ ∫ ∫ V

∇ · F~

) dV =

∫ ∫ S F^ ~ · ~n da (15)

Proof: first prove for an infinitesimal cube oriented along x, y, z; then extend for the full volume HW: (optional) do that HW: verify the Divergence theorem for F~ = ~r and spherical volume

-2 -1 1 2

1

2

-2 -1 1 2

1

2

-2 -1 1 2

1

2

3

4

5

-2 -1 1 2

1

2

3

4

FIG. 1: Various represenations of δn which lead to Dirac delta-function for n → ∞ - see eqs.(20-23).

HW: check normalization and reproduce plots Derivative: ∫ δ′(x)f (x) = −f ′(0) (24)

HW: Show that integrating by parts; verify explicitly by using eq.(19); note that for finite n derivative of eq.(19) leads to ±δ

B. Multidimensional

δ (~r − ~r 0 ) = δ (x − x 0 ) δ (y − y 0 ) δ (z − z 0 ) (25)

From Gauss theorem:

∇ˆ^2

r

) = − 4 πδ (~r) (26)

the rest will be discussed in class.

Dr. Vitaly A. Shneidman, Phys 621, 3d Lecture

IV. SPECIAL FUNCTIONS

A. General

Consider so-called ”normal” form of a differential equation

u′′^ + I(x)u = 0 (27)

Now if I(x) = const ≡ I, one has for solutions u(x)

sin

Ix

) , cos

Ix

) , I > 0

exp

( ±√−Ix

) , I < 0

For I(x) 6 = const we have special functions. [Q. Why not always use the normal form? A. f (x), g(x), h(x) are very simple, while I(x) is often not -see examples below, but for quali- tative analysis the normal form is better.] [Another Q. The normal form looks remarkably similar to the Schr¨odinger eqn. in physics (with I(x) = E − U (x)). Why not call it this way? A. Think. Will discuss in class.] Now what’s qualitatively new (besides the special functions being harder to compute or sometimes even imagine)? New is the fact that I(x) can change sign (!!!), leading to a transition from an oscillatory to exponential-type structure of the same solution in different domains of x. Already the simplest, Airy function described below has this property. The other novelty is the possibility of I (x 0 ) = ∞ at some x 0 called a singular point. Now instead of the pair of independent solutions of type sin and cos which look extremely similar to each other, one will have two solutions with very different structure, depending on their behavior near x 0. Near both types of points, zero and ∞ for I(x), very interesting physics is expected. In this sense special functions are much more exciting than the elementary, which are somewhat dull in having the same behavior for all x (and an excursion into the complex plain will not make things much more exciting).

or u(x) ∝ (^) |I^1 | 1 / 4 exp

{ ±

∫ (^) √ −I(x)dx

}

More explicitly, for I(x) > 0,

u(x) ∝ (^) I 11 / 4 sin

{∫ I^1 /^2 dx + α

} (29)

(α can have two values since 2 solutions), and for I(x) < 0

u(x) ∝ (^) (−I^1 ) 1 / 4 exp

{ ±

∫ (−I)^1 /^2 dx

} (30)

B. Specific functions

Easier in the full form (simpler coefficients):

f (x)y′′^ + g(x)y′^ + h(x)y = 0 (31) Name f (x) g(x) h(x) Applications Mathematica sin, cos 1 0 1 everywhere Sin, Cos exp (±x) 1 0 -1 everywhere Exp Airy 1 0 -x Optics (caustics), QM: transi- tion to classically forbidden re- gion; motion in constant field

AiryAi, AiryBi

Bessel (modified Bessel)

x^2 x ±x^2 − n^2 (mostly) problems with cylin- drical symmetry

BesselJ, BesselY (−) or BesselI, BesselK (+) Legendre 1 − x^2 − 2 x n(n + 1) problems with asymuthal sym- metry

LegendreP, Leg- endreQ One can always switch to ”normal” form by changing variables in order to get rid of the 1st derivative: u(x) = y(x) exp

∫ (g/f )dx

}

with I = h/f − (1/4)(g/f )^2 − 1 /2 (g/f )′ Note: ”difficulty” of a special function mostly depends on the number of free parameters.

2 4 6 8 -0.

-0.

1 2 4 6 8

-1.

-0.

FIG. 2: Bessel functions Jn(x) (1st kind) and Yn(x) (2d kind) for n = 0 (red), n = 1 (green) and n = 2 (blue).

C. Bessel functions

READING: JACK. sec. 3.7. Note: JACK. uses N instead of Y. The singular point is x = 0. So, y 1 (x) = Jn(x) -first kind, and y 2 (x) = Yn(x) - second kind, see Fig. 2. Let us transform to normal form:

u(x) = y(x) exp

∫ (x/x^2 )dx

}

or u(x) = y(x)√x

and I(x) = 1 − n^2 /x^2 + 1/ 4 x^2

Note that for large x the function I(x) approaches 1. Thus, according to WKB, u(x) for x ¿ 1 is oscillatory, with period 2π and constant amplitude, while y(x) oscillates with amplitude decaying as 1/√x. Indeed, one has:

D. Asymptotes

Jn(x) ∼

√ 2 πx cos

( x − 12 nπ − π 4

) (32)

and Yn(x) ∼

√ 2 πx sin

( x − 12 nπ − π 4

) (33)

[HW: plot a few Bessel functions together with their asymptotes].

(note: here n are strictly integer!). Many recurrence relations which can be obtained directly from the above equation, e.g. Jn− 1 − Jn+1 = 2J n′ (39)

From here, and from the symmetry relation, one gets

J 0 ′ = −J 1

. Another relation is Jn(x) = x−n

∫ (^) x znJn− 1 (z)dz (40) There are several integral representations, the ”best” is

J 0 (x) = (^21) π

∫ (^2) π 0 e

ix sin θdθ (41)

which is famous for optics applications. (A similar expression for any n is available - see Abramowitz or Arfken).

  1. Roots of Jν

Jν (xν n) = 0

xν n ' π (n + ν/ 2 − 1 /4) , n ¿ 1 (42)

For arb. n - see Mathematica appendix.

  1. Orthogonality

The 2-d order operator in the Bessel equation can be made in self-adjoined form if divided by x. Then orthogonality of √xJν (xν n x) is achieved on [0, 1] for different n (Note: ν must be the same - different ν correspond to different operators and are not related).

∫ (^1) 0 xJν^ (xν n^ x)^ Jν^ (xν m^ x)^ dx^ = 0^ ,^ n^6 =^ m^ (43)

and ∫ (^1) 0 xJν^ (xν n^ x)

(^2) dx =^1 2 Jν+1^ (xν n)^ (44)

(Note: rhs is non-zero since xν n is a root of another function.)

  1. Relation to Laplacian

In cylindrical coordinates

∆ = ˆ^1 r

∂r

( r ∂r∂

)

  • r^12 ∂

2 ∂φ^2 +^

∂^2

∂z^2 (45)

Separating variables and using Z(z) ∝ exp (±kz) and Q(φ) ∝ exp (±iνφ) and switching to x = kr one gets the standard Bessel equation. HW: show that

  1. Modified Bessel functions

0.5 1 1.5 2 2.5 3

1

2

3

4

5

FIG. 3: Modified Bessel functions of the 1st kind , In(x) (ascending lines) and 2d kind, Kn(x) (descending lines) for n = 0 (red), n = 1 (green) and n = 2 (blue).

Note that going from x^2 to −x^2 in the Bessel equation can be achieved by going from x to ix. Strictly speaking, great care must be shown since we (i.e., us) do not know well enough analytical properties in the complex plain. Nevertheless,

In(x) = (−i)nJn(ix) (46)