- #1
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, [tex] \vec{J} [/tex].
Then the current through the wire is [tex] I = \int_S { \vec{J} \cdot \textrm{d} S } [/tex]. Now, [tex] \textrm{d} S = \textrm{d} x \textrm{d} y \hat{z} [/tex] but how can we know the sign of the normal to the cross-section? Is it in the -z direction (ie, [tex] -\hat{z}[/tex]) or the +z direction?
Similarly, the potential difference in an electrostatic field is [itex] V_{12} = - \int_2^1 \vec{E} \cdot \textrm{d} \gamma [/itex] but how do we define the sign of [itex] \textrm{d} \gamma [/itex]? 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, [tex] \vec{J} [/tex].
Then the current through the wire is [tex] I = \int_S { \vec{J} \cdot \textrm{d} S } [/tex]. Now, [tex] \textrm{d} S = \textrm{d} x \textrm{d} y \hat{z} [/tex] but how can we know the sign of the normal to the cross-section? Is it in the -z direction (ie, [tex] -\hat{z}[/tex]) or the +z direction?
Similarly, the potential difference in an electrostatic field is [itex] V_{12} = - \int_2^1 \vec{E} \cdot \textrm{d} \gamma [/itex] but how do we define the sign of [itex] \textrm{d} \gamma [/itex]? 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. :)