Jessehk
- 21
- 0
Hello all.
I'm trying to figure out how to determine the correct sign of paths and surfaces defined for calculating quantities in electromagnetic problems.
For example, say there's a wire in the shape of a rectangular prism along the z-axis with some current density, \vec{J}.
Then the current through the wire is I = \int_S { \vec{J} \cdot \textrm{d} S }. Now, \textrm{d} S = \textrm{d} x \textrm{d} y \hat{z} but how can we know the sign of the normal to the cross-section? Is it in the -z direction (ie, -\hat{z}) or the +z direction?
Similarly, the potential difference in an electrostatic field is V_{12} = - \int_2^1 \vec{E} \cdot \textrm{d} \gamma but how do we define the sign of \textrm{d} \gamma? For example, if both points are in the same axis, is the direction of the path from (1) to (2) or from (2) to (1)?
Is there a general rule? I apologize if this question is not clear, and thanks in advance. :)
I'm trying to figure out how to determine the correct sign of paths and surfaces defined for calculating quantities in electromagnetic problems.
For example, say there's a wire in the shape of a rectangular prism along the z-axis with some current density, \vec{J}.
Then the current through the wire is I = \int_S { \vec{J} \cdot \textrm{d} S }. Now, \textrm{d} S = \textrm{d} x \textrm{d} y \hat{z} but how can we know the sign of the normal to the cross-section? Is it in the -z direction (ie, -\hat{z}) or the +z direction?
Similarly, the potential difference in an electrostatic field is V_{12} = - \int_2^1 \vec{E} \cdot \textrm{d} \gamma but how do we define the sign of \textrm{d} \gamma? For example, if both points are in the same axis, is the direction of the path from (1) to (2) or from (2) to (1)?
Is there a general rule? I apologize if this question is not clear, and thanks in advance. :)