Calculating Divergence of a Vector Field in Three Dimensions

Click For Summary

Discussion Overview

The discussion revolves around calculating the divergence of a three-dimensional vector field, specifically addressing the inclusion of all components in the divergence formula. Participants explore the implications of having a zero k-component in the vector field.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions whether to include the partial derivatives with respect to z in the divergence calculation, given that the k-component is not explicitly present in the vector field.
  • Another participant suggests that the e^z term could represent the k-component, indicating that the partial derivative with respect to z should be included.
  • A later reply clarifies that the k-component is indeed zero, leading to a discussion about whether this affects the need to calculate all partial derivatives.
  • There is a suggestion that all partial derivatives should be considered regardless of the k-component being zero.

Areas of Agreement / Disagreement

Participants express differing views on whether the divergence should include the partial derivative with respect to z, leading to an unresolved discussion on the correct approach to calculating divergence in this context.

Contextual Notes

There is uncertainty regarding the implications of having a zero k-component and how it affects the calculation of divergence. The discussion does not resolve whether the divergence should include all three components or if it can be simplified due to the absence of the k-component.

I_laff
Messages
41
Reaction score
2
If I have a vector field say ## v = e^{z}(y\hat{i}+x\hat{j}) ##, and I want to calculate the divergence. Do I only take partial derivatives with respect to x and y (like so, ## \frac{\partial A_x}{\partial x} + \frac{\partial A_y}{\partial y} ##) or should I take partial derivatives with respect to x, y and z (like so, ## \frac{\partial A_x}{\partial x} + \frac{\partial A_y}{\partial y} + \frac{\partial A_z}{\partial z} ##). I'm confused as to which one because there is no ## \hat{k} ## unit vector, but z is changing and the graph should therefore be three dimensional.
 
Last edited:
Physics news on Phys.org
Where did you get this problem? It could be a typo. Did you check the online errata page associated with the book?

It seems the e^z term is the k-component in which case you take its partial derivative with respect to z.
 
The example was made up however, I remember seeing a question like this and it had me confused.
 
Oh apologies I made an error in my vector field equation, it has been corrected now.
 
Okay so the k-component would be ##0\hat{k}##

Now take your x,y,z partials for the divergence.
 
So since the k component is 0, would that not mean that the divergence is calculated using only the partials of x and y since ## A_z = 0 ##.
 
Yes but you need to remember to do all of them.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
754
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K