since the curl of a gradient is automatically zero. The quantity in the above equation is known as the electric scalar potential.

Magnetic fields generated by steady currents (and unsteady currents, for that matter) satisfy

This immediately allows us to write

 

since the divergence of a curl is automatically zero. The quantity is known as the magnetic vector potential.