This set practises the vector algebra of Lecture Notes 1 and the index notation and rotation matrices of Lecture Notes 2, and it adds the vector calculus that the course takes as known: the gradient, the divergence and the curl, the divergence theorem and Stokes' theorem. Problems 5 and 6 introduce the Dirac delta function in three dimensions, the tool that lets a point charge be written as a charge density. The problems follow MIT's Problem Set 1, in our own words. MIT publishes no solutions for the problem sets of this course, so the hints and the solutions here are our own.
Several things differ from MIT's sheet. Its due date and its reading assignment (a textbook chapter) are left out. MIT's Problems 2 and 4 are only pointers to problems in a textbook (Griffiths), named by number. The textbook is not used here: Problems 2 and 4 are our own problems on the subjects that MIT's titles name (triple cross products, and the use of the gradient), with MIT's points. Problem 3 starts on MIT's sheet from an equation of that textbook; here it starts from the same equation in Lecture Notes 2. Problem 7 is stated in full on MIT's sheet, which adds that hints can be found in the textbook: the hints here are our own, and its scalar function is called here (MIT writes ), to match Problems 3 and 4. Most of MIT's parts ask you to show something, which no box can check. So that there is something to check, some boxes are our additions, each marked as such in its part: both boxes of Problem 1(a) and the boxes of Problems 1(b) and 1(d); the three boxes of Problem 3; the number boxes of Problem 5 and the choice box of Problem 5(c); and the two boxes of Problem 7. The other boxes check what MIT asks for. Where MIT asks for a sketch, the solution has a graph computed from the formula. The sheet's pages are numbered: "p. 1" to "p. 4" below are the printed page numbers.
How to answer#
Work each problem on paper first. Then type your result in the answer box and press Check. A number box accepts any value within the tolerance written next to it. A formula box takes plain typing, for example Q/(4*pi*R^2), and accepts every correct way of writing the answer with the letters of that box. Write the symbols exactly as the box names them: pi stands for , w for , th for , lam for ; the other letters (k, x, r, L, a, Q, R, b) are typed as they are.
MIT gives the points per problem: 20 for Problem 1, 10 for Problem 2, 15 for Problem 3, 10 for Problem 4, 20 for Problem 5, 10 for Problem 6 and 15 for Problem 7, 100 points in all. The splits between parts are ours. Parts that ask you to show something have no box, or only a small one: open the solution and mark yourself. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.
The notation is that of the lecture notes. An index , , , or runs over 1, 2, 3, which stand for , , , so is one of the components of and is one of the coordinates. An index that appears twice in one term is summed from 1 to 3 (the summation convention); MIT's sheet uses this convention from Problem 1 on, and so does this page. The Kronecker delta is 1 when and 0 otherwise. The symbol is short for , so the gradient of a function has the components and the divergence of is . The unit vectors along the axes are , , , and is the distance from the origin.
Problem 1#
Vector identities involving cross products
The Levi-Civita symbol makes cross products easy to handle. It is defined by
In words
epsilon sub i j k equals plus 1 when if i j k is 123, 231 or 312; or minus 1 when if i j k is 213, 321 or 132; or 0 when otherwise
So is zero unless its three indices are all different. It is when they are 123 in cyclic order and in the opposite order. It is totally antisymmetric: swapping any two indices changes its sign, and moving the indices round in a cycle changes nothing.
In words
epsilon sub i j k equals minus epsilon sub i k j equals epsilon sub k i j
With it, component of a cross product is a double sum, written with the summation convention as
In words
( vector capital A cross vector capital B ) sub i equals epsilon sub i j k capital A sub j capital B sub k
(a)6 points
Starting from the definition of , show that
In words
epsilon sub i j k epsilon sub i n m equals delta sub j n delta sub k m minus delta sub j m delta sub k n
Here is summed over, and , , and are free indices: the equation holds for each of their sets of values.
The two boxes are our addition. Use the identity to find the number (all three indices summed) and the quantity (summed over and ).
Hint
You do not need to check 81 cases one by one. Sort them: what happens to both sides when ? And when , how many values of give a term that is not zero?
Hint
For only the one value of that differs from both contributes. Then is not zero only when and are the same pair as and , in the same order or swapped.
Hint
For the boxes: set in the identity and sum over . Remember that is a sum of three terms.
Solution
The idea. Both sides are small tables of numbers. Sorting the cases by the pair leaves only a few to compare.
The case
If , every on the left has two equal indices, so the left side is zero. The right side is as well.
The case
Now is zero unless is the one value that differs from both and . So the sum over has a single term, with . The other factor, with that same , is not zero only if and are the two values other than , which are and . There are three possibilities:
- and . The left side is . The right side is , because .
- and . The left side is . The right side is .
- Any other , . The left side is zero. On the right, needs and , and needs and ; neither holds, so the right side is zero too.
The two sides agree in every case, which proves the identity.
The two contractions
Set and sum over . Since and ,
In words
epsilon sub i j k epsilon sub i j m equals delta sub j j delta sub k m minus delta sub j m delta sub k j equals 3 delta sub k m minus delta sub k m equals 2 delta sub k m
Setting and summing once more gives .
Check the result
The number 6 can be counted directly: is the sum of the squares of all 27 entries, and exactly six of them (the six orders of 1, 2, 3) are .
(b)4 points
Use the index form of the cross product and the identity of part (a) to show that, for any three vectors,
In words
vector capital A cross ( vector capital B cross vector capital C ) equals vector capital B ( vector capital A dot vector capital C ) minus vector capital C ( vector capital A dot vector capital B )
The number box is our addition. Take , and and give the component of .
Hint
Write component of the left side with two Levi-Civita symbols. Give the inner cross product its own index names, so that no index appears more than twice.
Hint
The identity of part (a) needs the summed index in the first place of both symbols. A cyclic shift, , puts it there.
Solution
The idea. Two cross products give two Levi-Civita symbols that share one summed index. Part (a) turns them into Kronecker deltas, and each delta just renames an index.
Write it with indices
The inner product is , so
In words
( vector capital A cross ( vector capital B cross vector capital C ) ) sub i equals epsilon sub i j k capital A sub j epsilon sub k n m capital B sub n capital C sub m equals epsilon sub k i j epsilon sub k n m capital A sub j capital B sub n capital C sub m
Use the identity
With as the summed index, part (a) gives . So
In words
( vector capital A cross ( vector capital B cross vector capital C ) ) sub i equals the quantity delta sub i n delta sub j m minus delta sub i m delta sub j n, capital A sub j capital B sub n capital C sub m equals capital B sub i capital A sub j capital C sub j minus capital C sub i capital A sub j capital B j
Since and , this is component of .
The numbers
Here and , so
In words
vector capital A cross ( vector capital B cross vector capital C ) equals minus 4 (3, 0, 2) minus (-2, 1, 4) equals (-10, minus 1, minus 12)
Check the result
Directly: , and the component of is . Also, the result must be perpendicular to : .
(c)3 points
In the same way, show that for any two vector fields
In words
del dot ( vector capital A cross vector capital B ) equals vector capital B dot ( del cross vector capital A ) minus vector capital A dot ( del cross vector capital B )
Hint
The divergence is acting on component . The derivative acts on a product : use the product rule. The numbers are constants.
Hint
In index notation a curl is . Shift or swap the indices of each until you recognise one, and keep track of the sign.
Solution
The idea. The product rule gives two terms. In each, the and the derivative together form a curl.
Product rule
In words
del dot ( vector capital A cross vector capital B ) equals partial sub i ( epsilon sub i j k capital A sub j capital B sub k ) equals epsilon sub i j k ( partial sub i capital A sub j ) capital B sub k plus epsilon sub i j k capital A sub j ( partial sub i capital B sub k )
Recognise the curls
In the first term , and . In the second term swap the first two indices, , and . So
In words
del dot ( vector capital A cross vector capital B ) equals capital B sub k ( del cross vector capital A ) sub k minus capital A sub j ( del cross vector capital B ) sub j equals vector capital B dot ( del cross vector capital A ) minus vector capital A dot ( del cross vector capital B )
Check the result
Swapping and changes the sign of the left side, because the cross product changes sign. The right side changes sign too. No identity of part (a) was needed: one is enough for one cross product.
(d)4 points
Show that for any vector field , with ,
In words
vector capital A cross ( del cross vector capital A ) equals one half del ( capital A squared ) minus ( vector capital A dot del ) vector capital A
The box is our addition. For the field , with a constant , give the component of .
Hint
Proceed as in part (b), with replaced by . The one new rule: a derivative acts on what stands to its right, so do not move past unless the derivative is not meant to act on it.
Hint
One of the two terms is . Compare it with .
Solution
The idea. The same steps as in part (b), with the order of the factors kept, so that the derivative still acts on the last only.
With indices
In words
( vector capital A cross ( del cross vector capital A ) ) sub i equals epsilon sub k i j epsilon sub k n m capital A sub j partial sub n capital A sub m equals the quantity delta sub i n delta sub j m minus delta sub i m delta sub j n, capital A sub j partial sub n capital A sub m equals capital A sub j partial sub i capital A sub j minus capital A sub j partial j capital A i
Name the two terms
By the product rule , so the first term is , component of . The second term is the operator acting on . That is the identity.
The example
For the curl is , and
In words
vector capital A cross ( del cross vector capital A ) equals the quantity capital A sub y times 2 k, minus capital A sub x times 2 k, 0, equals (2 k squared x, 2 k squared y, 0 )
Check the result
The identity gives the same. Here , so . And acting on gives . The difference is .
(e)3 points
Show that for any two vector fields
In words
del cross ( vector capital A cross vector capital B ) equals ( vector capital B dot del ) vector capital A minus ( vector capital A dot del ) vector capital B plus vector capital A ( del dot vector capital B ) minus vector capital B ( del dot vector capital A )
Hint
Again two Levi-Civita symbols and the identity of part (a). This time the derivative stands in front and acts on the product of a component of and a component of .
Solution
The idea. The identity of part (a) gives two terms, and the product rule splits each in two.
With indices
In words
( del cross ( vector capital A cross vector capital B ) ) sub i equals epsilon sub k i j epsilon sub k n m partial j ( capital A sub n capital B sub m ) equals partial j ( capital A i capital B j ) minus partial j ( capital A sub j capital B sub i )
Product rule
In words
( del cross ( vector capital A cross vector capital B ) ) sub i equals capital B j partial j capital A i plus capital A i partial j capital B j minus capital B sub i partial j capital A sub j minus capital A sub j partial j capital B sub i
These are, in this order, component of , of , of with a minus sign, and of with a minus sign.
Check the result
Swapping and changes the sign of both sides. And for constant vectors every term has a derivative of a constant, so both sides vanish.
Problem 2#
Triple cross products (our own problem)
MIT's sheet gives only the numbers of two textbook problems here, under the title "Triple cross products". The problem below is our own, on the same subject. It uses the result of Problem 1(b).
(a)4 points
In a triple cross product the brackets matter. Take the three vectors of Problem 1(b), , and , for which . Now put the brackets the other way and work out . Give its component.
Hint
You can compute two cross products in a row. Or use Problem 1(b): since , the rule for gives the answer with two dot products.
Solution
The idea. Turn the product round so that Problem 1(b) applies.
The rule for the other bracketing
In words
( vector capital A cross vector capital B ) times vector capital C equals minus vector capital C cross ( vector capital A cross vector capital B ) equals minus vector capital A ( vector capital C dot vector capital B ) plus vector capital B ( vector capital C dot vector capital A ) equals vector capital B ( vector capital A dot vector capital C ) minus vector capital A ( vector capital B dot vector capital C )
The numbers
With and ,
In words
( vector capital A cross vector capital B ) times vector capital C equals minus 4 (3, 0, 2) minus 2 (1, 2, minus 1) equals (-14, minus 4, minus 6)
This is not : the cross product is not associative.
Check the result
Directly: , and the component of is . The result is perpendicular to : .
(b)3 points
Show that for any three vectors the two bracketings differ by a third triple product:
In words
vector capital A cross ( vector capital B cross vector capital C ) minus ( vector capital A cross vector capital B ) times vector capital C equals vector capital B cross ( vector capital A cross vector capital C )
Then say for which vectors (none of them zero) the two bracketings give the same result.
Hint
Write all three triple products with the rule of Problem 1(b). The term appears in both bracketings.
Hint
A cross product of two vectors that are not zero vanishes only if they are parallel. Apply this twice to .
Solution
The idea. Each triple product is a combination of two of the three vectors. Subtracting, one vector drops out.
Subtract
From Problem 1(b) and part (a),
In words
vector capital A cross ( vector capital B cross vector capital C ) minus ( vector capital A cross vector capital B ) times vector capital C equals the quantity vector capital B ( vector capital A dot vector capital C ) minus vector capital C ( vector capital A dot vector capital B ), all minus the quantity vector capital B ( vector capital A dot vector capital C ) minus vector capital A ( vector capital B dot vector capital C ), equals vector capital A ( vector capital B dot vector capital C ) minus vector capital C ( vector capital A dot vector capital B )
By Problem 1(b) with the letters renamed, , which is the same vector.
When it vanishes
The bracketings agree when . Either , which means is parallel (or antiparallel) to ; or is parallel to , which means is perpendicular to both and .
Check the result
For the vectors of part (a) the difference is , and . Three vectors in one plane are not enough: , but .
(c)3 points
A rigid body turns about a fixed axis through the origin with the constant angular velocity . A point of the body at the position has the velocity and the acceleration . Let be the angle between and . Use Problem 1(b) to find the magnitude of the acceleration in terms of , and , and show that the acceleration points straight at the axis. Then give the number for , and , in m/s².
Hint
Problem 1(b) gives . Split into a part along the axis and a part perpendicular to it.
Solution
The idea. The rule of Problem 1(b) removes from exactly its part along the axis.
Use the rule
Let be the unit vector along , so . Then
In words
vector omega cross ( vector omega cross vector r ) equals vector omega ( vector omega dot vector r ) minus omega squared vector r equals minus omega squared the quantity vector r minus n hat ( n hat dot vector r )
Read it
The bracket is minus its part along the axis: the vector from the axis straight out to the point. Its length is , the distance from the axis. So the acceleration points from the point straight to the axis, and its size is . This is the centripetal acceleration of circular motion with the radius .
The number
.
Check the result
The speed is , and for a circle of radius the centripetal acceleration is speed squared over radius: . The units are right: .
Problem 3#
Properties of the rotation matrix R
Under a rotation the components of a vector change as in Lecture Notes 2:
In words
capital A prime sub i equals capital R sub i j capital A sub j
(MIT's sheet quotes this equation from the textbook and numbers it (1.2.1); with the summation convention the sum over is not written. MIT's sheet marks the rotated quantities with a bar, , , ; this page uses primes, as Lecture Notes 2 does.)
(a)5 points
A rotation does not change the length of any vector. Show that this requires
In words
capital R sub i j capital R sub i k equals delta sub j k
Matrices with this property are called orthogonal.
The box is our addition: what does the condition say in the language of matrices?
Hint
Write with two copies of the rotation rule. The two summed indices need different names.
Hint
You get a condition of the form for every vector , with a symmetric . Choose simple vectors to read off the entries: first a basis vector, then the sum of two basis vectors.
Solution
The idea. The squared length after the rotation is a quadratic expression in the components of . It can equal for every only if the coefficients agree.
The length after the rotation
In words
capital A prime sub i capital A prime sub i equals capital R sub i j capital A sub j capital R sub i k capital A sub k equals ( capital R sub i j capital R sub i k ) capital A sub j capital A sub k
The old squared length is . The two are equal for all if and only if
In words
capital M sub j k capital A sub j capital A sub k equals 0 for all vector capital A, capital M sub j k is defined as capital R sub i j capital R sub i k minus delta sub j k
Every entry of M vanishes
is symmetric, because swapping and only swaps the two factors and . Take : the sum reduces to . In the same way . Take : the sum is . The same works for every pair, so all entries of vanish, which is the orthogonality condition. (The symmetry matters: an antisymmetric would give for every vector without being zero.)
As matrices
is the entry of the matrix product , and is the entry of the identity matrix. So the condition is : the transpose is the inverse. It then follows that , but that is a consequence and not the whole condition.
Check the result
For the rotation about the axis of Lecture Notes 2, the first two columns are and . Their dot product is zero and each has length 1, as demands of the columns and .
(b)4 points
Use the orthogonality condition to show that the rotation is undone by
In words
capital A i equals capital R sub j i capital A prime sub j
(MIT adds that from this relation one can show by the method of part (a); you do not have to.)
The box is our addition. Take the rotation by about the axis,
In words
capital R sub z ( phi ) equals cos phi minus sine phi 0; sine phi cos phi 0; 0 0 1
with . The rotated vector is . Find , the first component of the vector before the rotation.
Hint
Multiply the rotation rule, written as , by and sum over .
Hint
For the box: in the summed index is the first index of . You go down column of the matrix, not along row .
Solution
The idea. Contract the rotation rule with one more , so that the orthogonality condition can be used.
Contract
In words
capital R sub j i capital A prime sub j equals capital R sub j i capital R sub j k capital A sub k equals delta sub i k capital A sub k equals capital A i
The middle step is the orthogonality condition with the summed index called .
The number
.
Check the result
The second component is . Rotating forward gives , as it should. Using row 1 instead of column 1 would give , which is the vector turned by a further , not turned back.
(c)6 points
Let be a scalar function of position . In the rotated coordinates the same function is described by , with
In words
f prime ( x prime sub 1, x prime sub 2, x prime sub 3 ) equals f( x one, x two, x three )
Use the chain rule and part (b) to show that the gradient of transforms as a vector does:
In words
partial f prime over partial x prime sub i equals capital R sub i j partial f over partial x sub j
The box is our addition. Take , the rotation by about the axis of part (b), and the point with the old coordinates . Find at that point.
Hint
The chain rule needs : the old coordinates as functions of the new ones. Part (b) gives exactly that.
Hint
For the box you do not need at all: work out the old gradient at the point and rotate it.
Solution
The idea. The value of at the new coordinates is at the old ones, and part (b) says how the old coordinates depend on the new.
The old coordinates in terms of the new
The coordinates are the components of , so part (b) gives . The matrix is constant, so
In words
partial x sub j over partial x prime sub i equals capital R sub i j
Chain rule
In words
partial f prime over partial x prime sub i equals partial f over partial x sub j, times partial x sub j over partial x prime sub i equals capital R sub i j partial f over partial x sub j
This is the rule with : the three derivatives of a scalar are the components of a vector.
The number
The old gradient is at the point. So .
Check the result
Written out, and , so has , which at is again . The length of the gradient is the same before and after: , and the new components are with .
Problem 4#
Use of the gradient (our own problem)
MIT's sheet gives only the numbers of two textbook problems here, under the title "Use of the gradient". The problem below is our own, on the same subject.
(a)6 points
The temperature in a block of material is
In words
capital T (x, y, z) equals 20 plus 2 x y minus z squared
with , , in metres and in degrees Celsius. A probe sits at the point .
- How fast does the temperature rise per metre in the direction in which it rises fastest at ?
- How fast does it rise at per metre in the direction of the unit vector ?
- At the origin the gradient vanishes. What kind of point is the origin?
Hint
The gradient points in the direction of the fastest rise, and its length is the rate of that rise.
Hint
The rate of change along a unit vector is the dot product of the gradient with that unit vector.
Hint
For the origin: look at along the line in the plane , then along the line .
Solution
The idea. For a small step the temperature changes by . Everything asked follows from this one statement.
The gradient at P
In words
del capital T equals the quantity 2 y, 2 x, minus 2 z, del capital T equals (4, 2, minus 2) at capital P
in °C per metre.
Fastest rise
For a step of fixed length, is largest when the step is along . The rate is then the length of the gradient: °C per metre.
Along the given direction
°C per metre. It is much less than the maximum, because makes a large angle with the gradient.
The origin
Along the line , the field is , which has a minimum at the origin. Along , it is , which has a maximum there. So the origin is a saddle point: neither the warmest nor the coldest point. A vanishing gradient says only that the field is flat to first order.
Check the result
Take a real small step from along of length m, to . There , and . The rise is °C, close to ; the small difference is the second-order term.
(b)4 points
Many fields in this course depend only on the distance from the origin. Show that the gradient of such a function is radial,
In words
del f(r) equals d f over d r, times r hat
where is the unit vector pointing away from the origin. Then apply it to the function , with a constant length , and give the radial component of its gradient.
Hint
By the chain rule . Find from .
Solution
The idea. The only way such a function depends on is through .
The gradient of r
Differentiate : . So , which is component of .
Chain rule
, which is the statement.
The example
In words
d over d r ( the quantity e to the power minus r over capital L, end of power, all over r ) equals minus the quantity e to the power minus r over capital L, end of power, all over r squared minus the quantity e to the power minus r over capital L, end of power, all over the quantity capital L r, equals minus the quantity 1 over r squared plus 1 over the quantity capital L r, e to the power minus r over capital L, end of power
Check the result
For the function becomes and the gradient becomes , the form of the field of a point charge that Problem 5 uses. The gradient is negative everywhere: the function falls in every direction away from the origin.
Problem 5#
The Dirac delta function and the Laplacian of 1/(4πr)
One of the most used identities of the course is
In words
minus del squared 1 over the quantity 4 pi r, equals minus del dot del 1 over the quantity 4 pi r, equals del dot r hat over the quantity 4 pi r squared, equals delta cubed ( vector r ) equals delta (x) delta (y) delta (z)
Here is the three-dimensional delta function: zero everywhere except at the origin, and with the integral 1 over any volume that contains the origin. A direct calculation shows that is zero everywhere except at the origin, where it is not defined. To see why it is a delta function, replace by a function that is close to it but smooth everywhere:
In words
f sub a (r) equals minus 1 over the quantity 4 pi, times 1 over the square root of r squared plus a squared, end of root, the limit as a goes to 0 of f sub a (r) equals minus 1 over the quantity 4 pi r
For not zero, is well behaved everywhere, the origin included.
(a)8 points
Work out and show that it too is well behaved for all . Sketch as a function of .
The number box is our addition: give the value at the origin, , in units of .
Hint
In Cartesian index notation the Laplacian is , and .
Hint
After the second derivative you meet and . Put the two terms over one denominator.
Solution
The idea. Two derivatives of a power of , done with indices.
First derivative
In words
partial sub i f sub a equals minus 1 over the quantity 4 pi, times (- one half ) 2 x sub i over the quantity the quantity r squared plus a squared, all to the power three halves, equals 1 over the quantity 4 pi, times x sub i over the quantity the quantity r squared plus a squared, all to the power three halves
Second derivative
In words
g sub a equals partial sub i partial sub i f sub a equals 1 over the quantity 4 pi, times the quantity 3 over the quantity the quantity r squared plus a squared, all to the power three halves, minus 3 x sub i x sub i over the quantity the quantity r squared plus a squared, all to the power five halves, equals 3 a squared over the quantity 4 pi the quantity r squared plus a squared, all to the power five halves
The last step uses .
Well behaved, and the sketch
The denominator is never smaller than , so is finite and smooth everywhere. It is positive, largest at the origin, where , and it falls off as far away. In units of it depends on only:
Check the result
The radial form of the Laplacian gives the same: with and , the sum is , again on top. The units fit too: is one over a length, and two derivatives make one over a length cubed.
(b)7 points
Show that
In words
the integral over all space of g sub a (r) d cubed x equals 1
The number box is our addition: what fraction of this integral comes from the ball ?
Hint
depends on only, so use shells: .
Hint
Look for an antiderivative of the form times a power of , or substitute . A third way uses no integral of at all: the divergence theorem with on a large sphere.
Solution
The idea. The integrand in shells is an exact derivative.
An antiderivative
In words
d over d r r cubed over the quantity the quantity r squared plus a squared, all to the power three halves, equals 3 r squared over the quantity the quantity r squared plus a squared, all to the power three halves, minus 3 r to the power 4 over the quantity the quantity r squared plus a squared, all to the power five halves, equals 3 a squared r squared over the quantity the quantity r squared plus a squared, all to the power five halves, equals 4 pi r squared g sub a (r)
The integral
In words
the integral over r prime less than r of g sub a d cubed x equals the integral from 0 to r4 of pi r prime squared g sub a ( r prime ) d r prime equals r cubed over the quantity the quantity r squared plus a squared, all to the power three halves
For this tends to 1, whatever the value of . For it is : about a third of the integral lies inside .
Check the result
By the divergence theorem the integral of over a ball of radius is the flux of through its surface. Part (a) gave , and the surface is : the flux is , the same expression. Far away is the inverse-square field , whose flux is 1 through any sphere.
(c)5 points
Show that
In words
the limit as a goes to 0 of g sub a (r) equals 0 if r is not equal to 0
So in the limit the smooth function has the properties expected of a three-dimensional delta function.
The two boxes are our addition. How does at a fixed depend on once is much smaller than ? And what is when ?
Hint
For the in the denominator no longer matters. The one in the numerator does.
Solution
The idea. Away from the origin the denominator stays finite as , and the numerator goes to zero.
The limit
For , , so
In words
0 less than g sub a (r) is less than or equal to 3 a squared over the quantity 4 pi r to the power 5, goes to 0 as a goes to 0
For the bound is also the value, so falls as .
The number
With : . Compare the origin, where grows without limit.
Why this is a delta function
As , goes to zero at every point but the origin (this part), the value at the origin grows as (part a), and the integral over all space stays 1 (part b). By part (b) the integral inside any fixed radius , , tends to 1 as well. Those are the defining properties of . Since , this is the identity at the top of the problem: .
Problem 6#
Exercises with delta functions
Spherical coordinates are , with the volume element . Cylindrical coordinates are , with the distance from the axis and the volume element .
(a)4 points
A charge is spread evenly over a spherical shell of radius centred on the origin. Write its volume charge density with a delta function in spherical coordinates, as , and give . Then do the same for a thin ring of radius and charge in the plane, centred on the origin, as in spherical coordinates, and give .
Hint
The delta functions put the charge in the right place. The constant in front follows from one condition: the integral of over all space is .
Hint
Integrate with the full volume element. Each delta function removes one integral and sets its coordinate; the factors stay.
Solution
The idea. A delta function in a coordinate confines the charge to a surface or a line. The constant is fixed by the total charge.
The shell
In words
the integral of rho d cubed x equals capital C one the integral from 0 to infinity of delta the quantity r minus capital R, r squared d r the integral from 0 to pi of sine theta d theta the integral from 0 to 2 pi of d phi equals 4 pi capital R squared capital C one equals Q
So . The constant is the charge per area of the shell, as it should be.
The ring
In words
the integral of rho d cubed x equals capital C two the integral from 0 to infinity of delta the quantity r minus capital R, r squared d r the integral from 0 to pi of delta the quantity theta minus pi over 2, sine theta d theta the integral from 0 to 2 pi of d phi equals 2 pi capital R squared capital C two equals Q
So .
Check the result
Near the ring a small change is a distance , so there, and the density becomes : the charge per length times delta functions in the two directions across the ring. That is the same ring in cylindrical coordinates.
(b)2 points
In Cartesian coordinates . How is written in cylindrical coordinates ? (Take a point that is not on the axis.)
Hint
The defining property is that the integral over a volume containing is 1. Integrate your candidate with the volume element .
Solution
The idea. Three delta functions fix the three coordinates. A factor in front must cancel the factor of the volume element.
Integrate
In words
the integral of 1 over s, times delta the quantity s minus s prime, delta the quantity phi minus phi prime, delta the quantity z minus z prime, s d s d phi d z equals 1, delta cubed the quantity vector r minus vector r prime, equals 1 over s, times delta the quantity s minus s prime, delta the quantity phi minus phi prime, delta the quantity z minus z prime
The factor may be written just as well, because the delta function sets .
Check the result
The units fit: and are each one over a length, has none, and supplies the third. The last choice also has the right units and the integral 1, but it spreads the charge over a whole ring around the axis instead of putting it at one point. On the axis itself () the angle has no meaning and the formula cannot be used as it stands.
(c)2 points
A charge per unit length is spread evenly over the surface of a long cylinder of radius around the axis. Write the volume charge density as in cylindrical coordinates and give .
Hint
The charge in a slab of the cylinder of height is . Integrate over that slab.
Solution
The idea. As in part (a), with the charge of a slab of height .
Integrate over a slab
In words
the integral of rho d cubed x equals capital C three the integral from 0 to infinity of delta the quantity s minus b, s d s the integral from 0 to 2 pi of d phi the integral from 0 to h of d z equals 2 pi b h capital C three equals lambda h which gives rho equals lambda over the quantity 2 pi b, times delta the quantity s minus b
Check the result
The constant is the charge per area of the cylinder's surface: the charge of the slab divided by its area .
(d)2 points
What is in two dimensions, where ?
Hint
Follow Problem 5: first away from the origin, with indices that now run over 1 and 2 only, so that .
Hint
Then the origin: the two-dimensional divergence theorem turns the integral of over a disk into the flux of through its edge, a circle.
Solution
The idea. In two dimensions plays the part that plays in three: its gradient is the field whose flux through every circle around the origin is the same.
Away from the origin
In words
partial sub i log r equals x sub i over r squared, partial sub i x sub i over r squared equals 2 over r squared minus 2 x sub i x sub i over r to the power 4 equals 0 (r is not equal to 0)
The origin
The gradient is . Its flux through a circle of radius is , for every radius. So the integral of over any disk around the origin is , while the function vanishes away from the origin:
In words
del squared log r equals 2 pi delta squared ( vector r ) equals 2 pi delta (x) delta (y)
Check the result
Compare three dimensions, where the flux of through a sphere is and , the identity of Problem 5. The number in front is the size of the unit circle here and of the unit sphere there. The same smoothing works too: in two dimensions, which integrates to for every .
Problem 7#
Corollaries of the fundamental integral theorems
The two theorems are the divergence theorem, for a volume with the closed surface (see the divergence theorem), and Stokes' theorem, for a surface with the edge (see Stokes' theorem). Here is a small piece of surface as a vector along its normal (outward for a closed surface), and the direction round and the normal of are related by the right-hand rule. Below, is any smooth scalar function and any smooth vector field.
(a)5 points
Show that
In words
the integral of _ capital V del f d cubed x equals the loop integral of _ capital S f d vector a
where is the surface that bounds . Show that it follows that for every closed surface.
The number box is our addition. An open hemisphere (the curved surface only, without its flat base) has the radius and sits on the plane with its pole on the positive axis. Give the component of over it, in m², with the normal pointing away from the centre.
Hint
A vector equation holds if its dot product with every constant vector holds. Apply the divergence theorem to the field .
Hint
For the box: the hemisphere and its flat base together make a closed surface.
Solution
The idea. The divergence theorem is one equation between numbers. Feeding it with an arbitrary constant vector turns it into three.
Apply the divergence theorem
Since is constant, . The theorem gives
In words
vector c dot the integral of _ capital V del f d cubed x equals the loop integral of _ capital S f vector c dot d vector a equals vector c dot the loop integral of _ capital S f d vector a
This holds for every . Taking , , in turn shows that the two vectors agree component by component.
A closed surface has no net area vector
Take . Its gradient vanishes, so .
The hemisphere
The curved surface and the flat base (a disk of radius 2 m) form a closed surface, so their area vectors add up to zero. The outward normal of the base is , and its area is . So for the curved part .
Check the result
Directly: on the hemisphere and the component of is , so the integral is . It is the area of the shadow of the surface, not its true area .
(b)4 points
Show that
In words
the integral of _ capital V del cross vector capital A d cubed x equals minus the loop integral of _ capital S vector capital A cross d vector a
where is the surface that bounds .
Hint
Apply the divergence theorem to with a constant . Problem 1(c) gives its divergence.
Hint
In a triple product the three vectors may be moved round in a cycle. Use this to bring to the front on the surface side.
Solution
The idea. The same trick as in part (a), with a cross product in place of the product with a scalar.
The divergence
By Problem 1(c), , because is constant.
The surface side
, by a cyclic shift and then a swap.
Put together
In words
vector c dot the integral of _ capital V del cross vector capital A d cubed x equals minus vector c dot the loop integral of _ capital S vector capital A cross d vector a
for every constant , which gives the statement.
Check the result
Take of Problem 1(d) and a ball of radius around the origin. The curl is , so the left side is . On the right, and has the component . The average of over the sphere is , so the integral is . The two sides agree.
(c)4 points
Show that
In words
the integral of _ capital S del f times d vector a equals minus the loop integral of sub capital gamma f d vector l
where is the edge of the surface .
The number box is our addition. Take and for the flat disk of radius in the plane, centred on the origin, with its normal along . Both sides are then a vector along . Give its component, in m².
Hint
Now it is Stokes' theorem that gets the field . You need the curl of a constant vector times a scalar.
Hint
. Then move to the front of the triple product, as in part (b).
Solution
The idea. Part (a) again, one dimension lower: Stokes' theorem applied to .
The curl
Component of is , which is component of .
Apply Stokes' theorem
In words
the integral of _ capital S ( del f times vector c ) times d vector a equals the loop integral of sub capital gamma f vector c dot d vector l
On the left, . So for every constant , which is the statement.
The disk
With the gradient is , and . Since , the left side is times the area of the disk: its component is .
Check the result
The right side, directly: on the circle and , counterclockwise seen from above, as the right-hand rule demands for a normal along . Then , and with the minus sign the component is .
(d)2 points
Show that for a closed surface
In words
the loop integral of _ capital S ( del cross vector capital A ) times d vector a equals 0
Hint
There are two ways, one with each theorem. With Stokes' theorem: what is the edge of a closed surface? With the divergence theorem: what is the divergence of a curl?
Solution
The idea. A closed surface has no edge, and a curl has no divergence.
With the divergence theorem
The flux is the integral of over the volume inside. With indices, . Swapping the names and changes the sign of but not of , so the sum equals minus itself and vanishes.
With Stokes' theorem
Cut the closed surface into two pieces along a closed curve . Each piece has as its edge, but with the outward normals the right-hand rule sends the two round in opposite directions. So the two fluxes are and , and they add up to zero.
Check the result
For the field of part (b)'s check, the curl is the constant vector , and its flux through a closed surface is , which vanishes by part (a).