Hertz vector
# Hertz vector

Hertz vectors, or the Hertz vector potentials, are an alternative formulation of the electromagnetic potentials. They are most often introduced in electromagnetic theory textbooks as practice problems for students to solve. There are multiple cases where they have a practical use, including antennas and waveguides. Though they are sometimes used in such practice problems, they are still rarely mentioned in most electromagnetic theory courses, and when they are they are often not practiced in a manner that demonstrates when they may be useful or provide a simpler method to solving a problem than more commonly practiced methods.

## Overview

Hertz vectors can be advantageous when solving for the electric and magnetic fields in certain scenarios, as they provide an alternative way to define the scalar potential $\phi$ and the vector potential $\mathbf {A}$ which are used to find the fields as is commonly done.

| $\mathbf {E} =-\nabla \phi -{\frac {\partial \mathbf {A} }{\partial t}}$ | (1) |
| - | - |
| $\mathbf {B} =\nabla \times \mathbf {A}$ | (2) |

Considering cases of electric and magnetic polarization separately for simplicity, each can be defined in terms of the scalar and vector potentials which then allows for the electric and magnetic fields to be found. For cases of just electric polarization the following relations are used.

| $\phi =-\nabla \cdot \mathbf {\Pi } _{e}$ | (3) |
| - | - |
| $\mathbf {A} =\mu \epsilon {\frac {\partial \mathbf {\Pi } _{e}}{\partial t}}$ | (4) |

And for cases of solely magnetic polarization they are defined as:

| $\phi =0$ | (5) |
| - | - |
| $\mathbf {A} =\nabla \times \mathbf {\Pi } _{m}$ | (6) |

To apply these, the polarizations need to be defined so that the form of the Hertz vectors can be obtained. Considering the case of simple electric polarization provides the path to finding this form via the wave equation. Assuming the space is uniform and non-conducting, and the charge and current distributions are given by $\rho (\mathbf {r} ,t),\mathbf {J} (\mathbf {r} ,t)$, define a vector $\mathbf {P} =\mathbf {P} (\mathbf {r} ,t)$ such that $\rho =-\nabla \cdot \mathbf {P}$ and $\mathbf {J} ={\frac {\partial \mathbf {P} }{\partial t}}$. Using these to solve for the $\mathbf {\Pi }$ vectors is similar to how the auxiliary fields $\mathbf {D}$ and $\mathbf {H}$ can be found, however here the Hertz vectors treat the electric and magnetic polarizations as sources. The Hertz vector potentials from these sources, $\mathbf {\Pi } _{e}$ for the electric Hertz potential, and $\mathbf {\Pi } _{m}$ for the magnetic Hertz potential can be derived using the wave equation for each.

| $\nabla ^{2}\mathbf {\Pi } _{e}-\mu \epsilon {\frac {\partial ^{2}\mathbf {\Pi } _{e}}{\partial t^{2}}}=-{\frac {\mathbf {P} }{\epsilon }}$ | (7) |
| - | - |
| $\nabla ^{2}\mathbf {\Pi } _{m}-\mu \epsilon {\frac {\partial ^{2}\mathbf {\Pi } _{m}}{\partial t^{2}}}=-\mu \mathbf {M}$ | (8) |

This is simply done by applying the d'Alembert operator $\Box =\left(\nabla ^{2}-{\frac {1}{c^{2}}}{\frac {\partial ^{2}}{\partial t^{2}}}\right)$ to both vectors, keeping in mind that $c^{2}=\left(\mu \epsilon \right)^{-1}$, and the result is non-zero due to the polarizations that are present. This provides a direct pathway between easily determined properties such as current density $\mathbf {J}$ to fields via the Hertz vectors and their relations to the scalar and vector potentials. These wave equations yield the following solutions for the Hertz vectors:

| $\mathbf {\Pi } _{e}={\frac {1}{4\pi \epsilon }}\int \limits _{V}{\frac {\left[\mathbf {P} \left(\mathbf {r} '\right)\right]}{|\mathbf {r} -\mathbf {r} '|}}d^{3}\mathbf {r} '$ | (9) |
| - | - | - | - |
| $\mathbf {\Pi } _{m}={\frac {\mu }{4\pi }}\int \limits _{V}{\frac {\left[\mathbf {M} \left(\mathbf {r} '\right)\right]}{|\mathbf {r} -\mathbf {r} '|}}d^{3}\mathbf {r} '$ | (10) |

where $\left[\mathbf {P} \left(\mathbf {r} '\right)\right]$ and $\left[\mathbf {M} \left(\mathbf {r} '\right)\right]$ should be evaluated at the retarded time $|\mathbf {r} -\mathbf {r'} |/v$. The electric and magnetic fields can then be found using the Hertz vectors. For simplicity in observing the relationship between polarization, the Hertz vectors, and the fields, only one source of polarization (electric or magnetic) will be considered at a time. In the absence of any magnetic polarization, the $\mathbf {\Pi } _{e}$ vector is used to find the fields as follows:

| $\mathbf {E} =\nabla \left(\nabla \cdot \mathbf {\Pi } _{e}\right)-\mu \epsilon {\frac {\partial ^{2}\mathbf {\Pi } _{e}}{\partial t^{2}}}$ | (11) |
| - | - |
| $\mathbf {B} =\mu \epsilon {\frac {\partial }{\partial t}}\left(\nabla \times \mathbf {\Pi } _{e}\right)$ | (12) |

Similarly, in the case of only magnetic polarization being present, the fields are determined via the previously stated relations to the scalar and vector potentials.

| $\mathbf {E} =-{\frac {\partial }{\partial t}}\left(\nabla \times \mathbf {\Pi } _{m}\right)$ | (13) |
| - | - |
| $\mathbf {B} =\nabla \times \nabla \times \mathbf {\Pi } _{m}$ | (14) |

For the case of both electric and magnetic polarization being present, the fields become

| $\mathbf {E} =\nabla \times \nabla \times \mathbf {\Pi } _{e}-\nabla \times {\frac {\partial \mathbf {\Pi } _{m}}{\partial t}}$ | (15) |
| - | - |
| $\mathbf {B} =\nabla \times \nabla \times \mathbf {\Pi } _{m}-\nabla \times {\frac {\partial \mathbf {\Pi } _{e}}{\partial t}}$ | (16) |

## Examples

### Oscillating dipole

Consider a one dimensional, uniformly oscillating current. The current is aligned along the z-axis in some length of conducting material ℓ with an oscillation frequency $\omega$. We will define the polarization vector

| $\mathbf {P} =(-I\ell /\omega )\cos \left[\omega t\right]_{t'}\mathbf {\hat {z}}$ | (17) |
| - | - |

where t is evaluated at the retarded time $t'=t-|\mathbf {r} -\mathbf {r} '|/v$. Inserting this into the electric Hertz vector equation knowing that the length ℓ is small and the polarization is in one dimension it can be approximated in spherical coordinates as follows

| $\mathbf {\Pi } _{e}={\frac {1}{4\pi \epsilon }}{\frac {\left(-I\ell /\omega \right)\cos \left[\omega t\right]_{t'}}{|\mathbf {r} -\mathbf {r} '|}}\left[\cos \left(\theta \right)\mathbf {\hat {r}} -\sin \left(\theta \right)\mathbf {\hat {\theta }} \right]$ | (18) |
| - | - | - | - |

Continuing directly to taking the divergence quickly becomes messy due to the $|\mathbf {r} -\mathbf {r'} |$ denominator. This is readily resolved by using Legendre Polynomials for expanding a $1/r$ potential:

| ${\frac {1}{|\mathbf {x} -\mathbf {x} '|}}=\sum _{\ell =0}^{\infty }{\frac {r'^{\ell }}{r^{\ell +1}}}P_{\ell }\left(\cos \gamma \right)$ | (19) |
| - | - | - | - |

It is important to note that in the above equation, $\mathbf {x}$ and $\mathbf {x} '$ are vectors, while $r$ and $r'$ are the lengths of those vectors. $\gamma$ is the angle between the vectors $\mathbf {x}$ and $\mathbf {x} '$. The Hertz vector is now written as follows.

| $\mathbf {\Pi } _{e}={\frac {\left(-I\ell /\omega \right)\cos \left[\omega t\right]_{t'}}{4\pi \epsilon }}\sum _{\ell =0}^{\infty }{\frac {r'^{\ell }}{r^{\ell +1}}}P_{\ell }\left(\cos \gamma \right)\left[\cos \left(\theta \right)\mathbf {\hat {r}} -\sin \left(\theta \right){\boldsymbol {\hat {\theta }}}\right]$ | (20) |
| - | - |

Taking the divergence

| $\nabla \cdot \mathbf {\Pi } _{e}={\frac {\left(I\ell /\omega \right)\cos \left[\omega t\right]_{t'}\cos \left(\theta \right)}{4\pi \epsilon }}\sum _{\ell =0}^{\infty }{\frac {r'^{\ell }\left(\ell +1\right)}{r^{\ell +2}}}P_{\ell }\left(\cos \gamma \right)$ | (21) |
| - | - |

Then the gradient of the result

| $\nabla \left(\nabla \cdot \mathbf {\Pi } _{e}\right)={\frac {\left(-I\ell /\omega \right)\cos \left[\omega t\right]_{t'}}{4\pi \epsilon }}\sum _{\ell =0}^{\infty }{\frac {r'^{\ell }\left(\ell +1\right)P_{\ell }\left(\cos \gamma \right)}{r^{\ell +3}}}\left[\left(\ell +2\right)\cos \left(\theta \right)\mathbf {\hat {r}} +\sin \left(\theta \right)\mathbf {\hat {\theta }} \right]$ | (22) |
| - | - |

Finally finding the second partial with respect to time

| $\mu \epsilon {\frac {\partial ^{2}\mathbf {\Pi } _{e}}{\partial t^{2}}}={\frac {\mu I\ell \omega \cos \left[\omega t\right]_{t'}}{4\pi }}\sum _{\ell =0}^{\infty }{\frac {r'^{\ell }}{r^{\ell +1}}}P_{\ell }\left(\cos \gamma \right)\left[\cos \left(\theta \right)\mathbf {\hat {r}} -\sin \left(\theta \right)\mathbf {\hat {\theta }} \right]$ | (23) |
| - | - |

Allows for finding the electric field

| $\mathbf {E} =\nabla \left(\nabla \cdot \mathbf {\Pi } _{e}\right)-\mu \epsilon {\frac {\partial ^{2}\mathbf {\Pi } _{e}}{\partial t^{2}}}={\frac {I\ell \cos \left[\omega t\right]_{t'}}{4\pi }}\sum _{\ell =0}^{\infty }{\frac {r'^{\ell }P_{\ell }\left(\cos \left(\gamma \right)\right)}{r^{\ell +1}}}\left[\left({\frac {-\left(\ell +1\right)\left(\ell +2\right)}{r^{2}\epsilon \omega }}-\mu \omega \right)\cos \left(\theta \right)\mathbf {\hat {r}} +\left({\frac {-\left(\ell +1\right)}{r^{2}\epsilon \omega }}+\mu \omega \right)\sin \left(\theta \right)\mathbf {\hat {\theta }} \right]$ | (24) |
| - | - |

**Simulation**

Using the appropriate conversions to Cartesian coordinates, this field can be simulated in a 3D grid. Viewing the X-Y plane at the origin shows the two-lobed field in one plane we expect from a dipole, and it oscillates in time. The image below shows the shape of this field and how the polarity reverses in time due to the cosine term, however it does not currently show the amplitude change due to the time varying strength of the current. Regardless, its shape alone shows the effectiveness of using the electric Hertz vector in this scenario. This approach is significantly more straightforward than finding the electric field in terms of charges within the infinitely thin wire, especially as they vary with time. This is just one of several examples of when the use of Hertz vectors is advantageous compared to more common methods.

### Current loop

Consider a small loop of area $A$ carrying a time varying current $I\sin \left(\omega t\right)$. With current flow, a magnetic field perpendicular to the direction of flow as a result of the right hand rule will be present. Due to this field being generated in a loop, it is expected that the field would look similar to that of an electric dipole. This can be proven quickly using Hertz vectors. First the magnetic polarization is determined by its relation to magnetic moment $\mathbf {M} ={\frac {d\mathbf {m} }{dV}}$. The magnetic moment of a current loop is defined as $\mathbf {m} =IA\mathbf {\hat {n}}$, so if the loop lies in the x-y plane and has the previously defined time-varying current, the magnetic moment is $\mathbf {m} =IA\sin \left(\omega t\right)\mathbf {\hat {z}}$. Inserting this into $\mathbf {M}$, and then into Equation (10), the magnetic Hertz vector is found in a simple form.

| $\mathbf {\Pi } _{m}={\frac {\mu IA\sin \left(\omega t\right)}{4\pi |\mathbf {r} -\mathbf {r} '|}}\mathbf {\hat {z}}$ | (25) |
| - | - | - | - |

As in the electric dipole example, the Legendre polynomials can be used to simplify the derivatives necessary to obtain $\mathbf {E}$ and $\mathbf {B}$. The electric field is then found through

| $\mathbf {E} =-{\frac {\partial }{\partial t}}\left(\nabla \times {\frac {\mu IA\sin \left(\omega t\right)}{4\pi }}\sum _{\ell =0}^{\infty }{\frac {r'^{\ell }}{r^{\ell +1}}}P_{\ell }\left(\cos \gamma \right)\right)\mathbf {\hat {z}}$ | (26) |
| - | - |

Due to the dependence on $r$, it is significantly simpler to express the Hertz vector in spherical coordinates by transforming from the sole $\mathbf {\hat {z}}$ component vector to the $\mathbf {\hat {r}}$ and $\mathbf {\hat {\theta }}$ components.

| $\mathbf {E} =-{\frac {\partial }{\partial t}}\left(\nabla \times {\frac {\mu IA\sin \left(\omega t\right)}{4\pi }}\sum _{\ell =0}^{\infty }{\frac {r'^{\ell }}{r^{\ell +1}}}P_{\ell }\left(\cos \gamma \right)\left[\cos \left(\theta \right)\mathbf {\hat {r}} -\sin \left(\theta \right)\mathbf {\hat {\theta }} \right]\right)$ | (27) |
| - | - |
| $\mathbf {E} ={\frac {-\mu AI\omega \cos \left(\omega t\right)}{4\pi }}\cos \left(\theta \right)\sum _{\ell =0}^{\infty }{\frac {r'^{\ell }}{r^{\ell +2}}}P_{\ell }\left(\cos \gamma \right)\left(1-\ell \right)\mathbf {\hat {\phi }}$ | (28) |

**Simulation**

This field was simulated using Python by converting the spherical component to x and y components. The result is as expected. Due to the changing current, there is a time dependent magnetic field which induces an electric field. Due to the shape, the field appears as if it were a dipole.

