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

Click For Summary
SUMMARY

The discussion focuses on applying the Divergence Theorem to the vector field v = y² (i) + (2xy + z²) (j) + (2yz) (k) within a unit cube, as outlined in Griffiths' "Introduction to Electrodynamics" (4th Edition). The key equation is the closed surface integral ∫v⋅da = ∫∇⋅vdV, which equates the flux across the surface to the volume integral of the divergence. The volume integral of ∇⋅v was calculated to be 2, but the user sought assistance in setting up the six surface integrals necessary for verification. Detailed steps for constructing these integrals were provided, emphasizing the importance of selecting the correct outward normals for each face of the cube.

PREREQUISITES
  • Understanding of vector calculus, specifically the Divergence Theorem.
  • Familiarity with surface integrals and volume integrals.
  • Knowledge of Cartesian coordinates and normal vectors.
  • Experience with the Griffiths Introduction to Electrodynamics textbook.
NEXT STEPS
  • Study the Divergence Theorem in detail, focusing on its applications in electromagnetism.
  • Practice calculating surface integrals for various vector fields.
  • Learn about normal vectors and their significance in surface integrals.
  • Explore additional examples in Griffiths' text to reinforce understanding of integral setups.
USEFUL FOR

Students of electromagnetism, particularly those studying vector calculus and the Divergence Theorem, as well as educators seeking to clarify integral setups in physics problems.

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.
 

Similar threads

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