The Relationship between Magnetostatic Potentials, Fields, and Sources
Starting with the vector potential for a line current, we used the superposition principle in § {The Biot-Savart Law} to obtain an integral formula for the vector potential due to any current distribution, namely \begin{equation} \AA(\rr) = {\mu_0\over 4\pi} \int {\JJ(\rrp)\,d\tau'\over|\rr-\rrp|} \end{equation} as well as a similar formula for the magnetic field, the Biot-Savart Law, namely \begin{equation} \BB(\rr) = {\mu_0\over 4\pi} \int {\JJ(\rrp)\times(\rr-\rrp)\,d\tau'\over|\rr-\rrp|^3} \end{equation} These relationships correspond, respectively, to the arrows numbered 1 and 2 in Figure 2. Furthermore, as also discussed in § {The Biot-Savart Law}, the magnetic field is just the curl of the vector potential, \begin{equation} \BB = \grad\times\AA \label{BcurlA} \end{equation} and this relationship can (in principle) be inverted to obtain the vector potential as an integral of the magnetic field; these are arrows 5 and 3, respectively.
Figure 2: The relationships between $\AA$, $\BB$, and $\JJ$. Each numbered arrow is discussed in the text; moving down the diagram corresponds to differentiation.
We have also seen in § {Differential Form of Ampère's Law} that the current density can be recovered as the curl of the magnetic field, namely \begin{equation} \mu_0\JJ = \grad\times\BB \label{JcurlB} \end{equation} which is arrow number 4. It remains to show how to recover the current density from the vector potential (arrow number 6), at which point we are able to compute any of the quantities $\BB$, $\AA$, and $\JJ$ from any of the others.
But from ($\ref{BcurlA}$) and ($\ref{JcurlB}$) it is easy to compute \begin{equation} \mu_0\JJ = \grad\times(\grad\times\AA) \end{equation} which is the desired relation. These relationships are nicely summarized in the triangle in Griffiths in Figure 5.48 on page 240, or alternatively in Figure 2. (This vector second derivative can be rewritten using formulas on the inside front cover of Griffiths.) The corresponding relationships between $\EE$, $V$, and $\rho$ are discussed in § {The Relationship between Electrostatic Potentials, Fields, and Sources}.