How Do You Apply the Divergence Theorem to a Vector Field in a Unit Cube?

Click For Summary
The discussion focuses on applying the divergence theorem to a specific vector field within a unit cube. The divergence of the vector field v has been calculated to equal 2, but the user seeks guidance on setting up the surface integrals for the cube's six faces. A step-by-step approach is provided, beginning with selecting a cube face and determining the outward normal in Cartesian coordinates. The dot product of the vector field with the normal is computed, followed by the integration process for each face. The overall goal is to demonstrate that the surface integrals match the volume integral, confirming the divergence theorem's validity.
N8G
Messages
8
Reaction score
0

Homework Statement


Griffiths Introduction to Electrodynamics 4th Edition
Example 1.10

Check the divergence theorem using the function:
v = y^2 (i) + (2xy + z^2) (j) + (2yz) (k)
and a unit cube at the origin.

Homework Equations


(closed)∫v⋅da = ∫∇⋅vdV
The flux of vector v at the boundary of the closed surface (surface integrals) is equal to the volume integral of the divergence of the vector field.

The Attempt at a Solution


I have completed the volume integral of ∇⋅v and it equals 2. However the issue I am running into is that I do not understand how to properly construct all 6 of the surface integrals necessary to determine the left hand side of the equation. Obviously it must equal 2 but I need help setting up the integrals.

This is an example problem in the Griffiths E&M text however it just shows the integrals and their solutions rather than how each integral is conceived for each surface of the cube.

If anyone can give me a walkthrough on how to set up those integrals, I would appreciate it immensely.

Thank you.
 
Physics news on Phys.org
You have to
1. Pick a cube face, say the one parallel to the yz-plane at x = a (a = 1 m).
2. Express the outward normal in Cartesian coordinates. Answer: ##\hat n = \hat x##.
3. Calculate ##\vec v \cdot \vec n##. Answer: ##(y^2 \hat x +(2ay + z^2) \hat y +2yz \hat z)\cdot \hat x##
4. Multiply out the dot product.
5. Do the integral ##\int{\vec v \cdot \vec n~dA},## where for this particular choice of face ##dA=dy~dz##.

Note that in step 3 I replaced ##x## with its constant value at that face. Similar replacements must be done at the other 5 faces where ##x##, ##y## or ##z## are constant.
 
I'll give you an example of one surface integral: the surface that has ## z=1 ## with the outward normal pointing in the ## +\hat{k} ## direction, where ## x ## and ## y ## each get integrated from ## 0 ## to ## 1 ##. You just take ## \int\limits_{0}^{1} \int\limits_{0}^{1} \vec{v} \cdot \hat{k} \, dx dy ##. It takes a little work doing all 6 faces, and you need to make sure you pick the outward pointing normal in the right direction, but it's pretty straightforward.
 
(a) The polarisation pattern is elliptical with maximum (1,1) and minimum (-1,-1), and anticlockwise in direction. (b) I know the solution is a quarter-wave plate oriented π/4, and half-wave plate at π/16, but don't understand how to reach there. I've obtained the polarisation vector (cos π/8, isin π/8) so far. I can't find much online guidance or textbook material working through this topic, so I'd appreciate any help I can get. Also, if anyone could let me know where I can get more...

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K