hw1 Summ25
hw1 Summ25
2. Find the scaler function ϕ(x, y, z) whose gradient is A = ∇ϕ = (2xy + z 3 )î + x2 ĵ + 3xz 2 k̂.
3. Calculate ∇ · E for E = r/rn . Here r = xî + y ĵ + z k̂ and n = 0, ±1, ±2, ... Comment on
n = 3 case.
5. Find a unit normal vector to the surface 2xy 2 z − x2 yz 2 = 1 at the point (1, 1, 1).
6. Show that ∇ × (∇ϕ) = 0 for any scaler function ϕ(x, y, z) and ∇ · (∇ × A) = 0 for any
vector function A(x, y, z).
b) Consider A(x, y, z) = (−y î + xĵ)/2 and the arbitrary scaler function f (x, y, z). Show that
(∇ + A) × (∇ + A)f = (∇ × A)f = f k̂
and
∂
2 ∂
(x2 + y 2 )
(∇ + A) · (∇ + A)f = ∇ f + x −y f+ f.
∂y ∂x 4
7. Calculate the Laplacian of the following functions: i) ϕ(x, y, z) = sin(ax) sin(by) sin(cz) with
a, b and c are constants ii) ϕ(x, y, z) = e−5z sin(4y) cos(3z).
9. Find A vector function A(x, y, z) whose curl is B = ∇ × A = B k̂. You will get different
forms of A whsoe curl gives the same value.
1
11. a) Calculate the line integral of the vector A = x2 î + 2yz ĵ + y 2 k̂ from the origin to the point
(1,1,1) by three different paths:
(i) (0, 0, 0) → (1, 0, 0) → (1, 1, 0) → (1, 1, 1)
(ii) (0, 0, 0) → (0, 1, 0) → (0, 1, 1) → (1, 1, 1)
(iii) the direct straight line.
b) What is the line integral around the closed loop that goes out along path (i) and back
along path (ii).
12. Calculate C A · dl and S (∇ × A) · da for the vector A = xy î + 2yz ĵ + 3xz k̂, using the
H R
triangular area on yz plane as shown in Figure 1. Here, C is the positively oriented contour
and S is the surface area enclosed by the contour C.
z
2
2 y
x
13. a) A vector function is given by A = (−y î + xĵ)/2. Verify the Stokes’ theorem using open
surface of the northern/southern hemisphere and its base lying on the xy plane with the
origin at the center of the base. You will see that the result does not depend on the surface
you are considering.
2
14. Calculate the surface integral S A · da for A = (2x + z 2 )î + (y 2 + sin2 xz)ĵ + (xz + y 2 e−x )k̂
H
17. a) Evaluate curl of the vector function B = ϕ̂/s everywhere. Here ϕ and s are cylindrical
variables. [Hint: Use Stoke’s theorem].
b) Evaluate the surface integral
Z h ϕ̂ i
J= e−s ∇ × · da,
S s
2
Curved surface
flat surface
Figure 2:
Z
(0,1,1)
Y
(1,0,0) (0,1,0)
Figure 3:
where S is the surface of a circular disk of radius R, centered at origin: i) using the Stokes’
theorem and performing the line integral and ii) using Dirac delta function. [Hint: Use the
vector identity ∇ × (f A) = (∇f ) × A + f ∇ × A. Identify the scaler function f and the
vector A.]
19. Write down the volume charge density using the Dirac delta function for the following
configurations: a) The charge Q is uniformly distributed over a spherical shell of radius R.
b) The charge Q is uniformly distributed on a ring of radius R, which is lying on the xy
plane with its center at the origin. (write in both cylindrical and spherical coordinates)
3
where b is any real constant. Express f (x) in terms of the unit step function θ(x). [Hint:
first evaluate the function at any point in the two different regions: x < b, x > b
and at the point x = b. Take the limit after evaluating the function.]