Loading…

Vector Potential Preview

Physics Electricity and Magnetism • Magnetic Fields and Sources

View all topics

6. Vector Potential Preview

Introduces the vector potential \( \mathbf{A} \) such that \( \mathbf{B}=\nabla\times\mathbf{A} \). This tool computes \( \mathbf{A} \) and verifies the curl for simple, symmetric cases (wire + ideal solenoid), and visualizes what the vectors mean.

Units: meters (m), amperes (A), tesla (T). Vector potential units: \( \mathrm{T\cdot m} \). Inputs accept 1e-3, pi, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.
Inputs
Wire inputs
Wire is along the \(z\)-axis; field is azimuthal \(\hat{\boldsymbol{\phi}}\).
Reverses \(\hat{\boldsymbol{\phi}}\) direction by the right-hand rule.
Sets the “zero” of \(\ln(r/r_0)\). It does not change \(\mathbf{B}\).
Adding a constant to \(A_z\) does not change \(\nabla\times\mathbf{A}\).
Used only if shift is ON.
Observation point
In the cross-section plane.
Radius is \(r=\sqrt{x^2+y^2}\).
Wire/solenoid are infinite ⇒ results do not depend on \(z\) (kept for consistency).
Visual controls

Pan/zoom: drag to pan • mouse wheel / trackpad / pinch to zoom • “Reset view” restores default.
Play animates the point around a circle at fixed radius to show how \(\hat{\boldsymbol{\phi}}\) rotates.

Ready

Steps

Enter values and click Solve.

Vector visual

Cross-section view (\(x\)-\(y\) plane): axis, \(P\), \(\mathbf{r}\), \(\mathbf{A}\), and \(\mathbf{B}\)
What the vectors represent
  • Source axis (wire or solenoid axis = z) at the origin
  • Solenoid boundary (\(r=R\)) (solenoid mode only)
  • \( \mathbf{r} \): from axis to observation point \(P\)
  • \( \mathbf{A} \): wire mode uses \(A_z\) (⊙/⊗); solenoid mode uses \(A_\phi\) (tangential arrow)
  • \( \mathbf{B}=\nabla\times\mathbf{A} \): wire mode shows azimuthal arrow; solenoid mode shows \(B_z\) as ⊙/⊗ (inside) or 0 (outside)
  • \(P\): observation point

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does the vector potential A represent in this calculator?

It is a vector field chosen so that the magnetic field is its curl: B = curl(A). The tool uses standard symmetric choices for A in a straight-wire case (Az) and a solenoid case (Aphi) to make the curl relationship easy to verify.

Why does changing r0 or adding a constant to Az not change the magnetic field?

For the wire model, Az(r) involves ln(r/r0), and changing r0 shifts Az by a constant amount. Adding a constant shift C to Az also changes A but does not change curl(A), so B is unchanged even though A itself is different.

What is the difference between the continuous and truncated solenoid Aphi options?

The continuous form uses Aphi = (B0 r)/2 inside and Aphi = (B0 R^2)/(2 r) outside, which avoids a jump at r = R. The truncated option forces Aphi = 0 for r > R to emphasize the idealized idea of B being inside the solenoid and approximately zero outside.

Why does the result not depend on z for the observation point?

Both the wire and the ideal infinite solenoid are modeled as infinite along the z-axis, so symmetry makes A and B depend only on the radial distance from the axis, not on z. The z input is included for consistency but does not change the computed values.