Magnetic Field From An Infinite Wire

6 min read

The magnetic field produced by an infinite straight wire carrying a steady current is one of the foundational concepts in electromagnetism. It serves as the primary application of Ampère’s Law and provides the basis for understanding more complex magnetic configurations, from solenoids to transformers. This idealized model—assuming a wire of infinite length with uniform current distribution—yields a remarkably clean mathematical description that accurately approximates the behavior of real-world long conductors.

At its core, where a lot of people lose the thread.

The Physical Setup and Symmetry Arguments

Imagine a perfectly straight wire extending infinitely in both the positive and negative z-directions. A constant current I flows through this wire. Before writing down any equations, physics demands we analyze the symmetry of the problem. Symmetry dictates the geometry of the field lines and simplifies the mathematics immensely No workaround needed..

Because the wire is infinite and straight, the system possesses translational symmetry along the axis of the wire. Day to day, the system also possesses rotational symmetry around the wire axis. Moving up or down the wire changes nothing about the physical configuration; therefore, the magnetic field cannot depend on the z-coordinate. Practically speaking, rotating the wire around its own axis leaves the physical situation identical, meaning the field lines must form circles centered on the wire. Finally, there is reflection symmetry across any plane containing the wire, which implies the field has no radial component pointing toward or away from the wire Nothing fancy..

These symmetry arguments lead to a definitive conclusion: the magnetic field B must be tangential to circles centered on the wire, with a magnitude that depends only on the perpendicular distance r from the wire.

Derivation Using Ampère’s Law

The most elegant way to calculate the field magnitude is through Ampère’s Law (in its magnetostatic form), which relates the integrated magnetic field around a closed loop to the current passing through that loop:

$ \oint \mathbf{B} \cdot d\mathbf{l} = \mu_0 I_{\text{enc}} $

Here, $\mu_0$ is the permeability of free space ($4\pi \times 10^{-7} , \text{T}\cdot\text{m/A}$), and $I_{\text{enc}}$ is the total current enclosed by the Amperian loop.

Choosing the Amperian Loop

Guided by the symmetry analysis, the obvious choice for the Amperian loop is a circle of radius r centered on the wire, lying in a plane perpendicular to the wire. On this loop:

  1. The magnetic field B is everywhere tangent to the circle (parallel to $d\mathbf{l}$).
  2. The magnitude of B is constant at a fixed radius r.

The dot product $\mathbf{B} \cdot d\mathbf{l}$ simplifies to $B , dl$. Since B is constant on the loop, it can be pulled out of the integral:

$ B \oint dl = B (2\pi r) $

The enclosed current is simply the current in the wire, I. Substituting into Ampère’s Law:

$ B (2\pi r) = \mu_0 I $

Solving for the magnitude B:

$ B = \frac{\mu_0 I}{2\pi r} $

This result is profound in its simplicity. The field strength falls off as $1/r$, meaning it decreases linearly with distance. The direction is given by the right-hand rule: if you point the thumb of your right hand in the direction of the conventional current (positive to negative), your fingers curl in the direction of the magnetic field lines.

Derivation Using the Biot-Savart Law

While Ampère’s Law is faster for high-symmetry problems, the Biot-Savart Law provides a more fundamental, brute-force calculation that confirms the result and illuminates the superposition principle. The law states that a current element $I d\mathbf{l}'$ contributes a magnetic field $d\mathbf{B}$ at a point r:

$ d\mathbf{B} = \frac{\mu_0}{4\pi} \frac{I d\mathbf{l}' \times \mathbf{\hat{r}}}{r^2} $

Consider the infinite wire along the z-axis. Think about it: a current element at position $z'$ contributes to the field at a point P located at perpendicular distance r in the xy-plane. The vector from the element to P has magnitude $\sqrt{r^2 + z'^2}$. The cross product $d\mathbf{l}' \times \mathbf{\hat{r}}$ yields a direction circling the wire (azimuthal direction $\hat{\phi}$) and a magnitude $dz' \sin\theta$, where $\theta$ is the angle between the wire and the vector to P Worth knowing..

$ dB = \frac{\mu_0 I}{4\pi} \frac{r , dz'}{(r^2 + z'^2)^{3/2}} $

Integrating from $z' = -\infty$ to $+\infty$:

$ B = \frac{\mu_0 I r}{4\pi} \int_{-\infty}^{\infty} \frac{dz'}{(r^2 + z'^2)^{3/2}} $

Using the substitution $z' = r \tan\theta$, the integral evaluates to $2/r^2$. The final result is identical:

$ B = \frac{\mu_0 I}{2\pi r} $

This derivation confirms that the field is the superposition of contributions from every infinitesimal segment of the wire, reinforcing the concept that magnetism is a relativistic effect of moving charges And that's really what it comes down to..

Vector Form and Coordinate Systems

In cylindrical coordinates $(r, \phi, z)$, where the wire runs along the z-axis, the magnetic field vector is expressed cleanly as:

$ \mathbf{B}(r) = \frac{\mu_0 I}{2\pi r} , \hat{\boldsymbol{\phi}} $

In Cartesian coordinates, for a wire along the z-axis passing through the origin, the field at point $(x, y)$ is:

$ \mathbf{B}(x, y) = \frac{\mu_0 I}{2\pi (x^2 + y^2)} (-y , \hat{\mathbf{x}} + x , \hat{\mathbf{y}}) $

This vector form is essential for numerical simulations and for calculating forces on other current-carrying wires using the Lorentz force law $\mathbf{F} = I \mathbf{L} \times \mathbf{B}$.

Physical Implications and Applications

Force Between Parallel Wires

The most famous application of this field formula is the definition of the Ampere. Two parallel infinite wires separated by distance d, carrying currents $I_1$ and $I_2$, exert a force per unit length on each other:

$ \frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d} $

If the currents flow in the same direction, the force is attractive; if opposite, it is repulsive. This interaction is the operational basis for defining the unit of current in the SI system.

Inductance Calculations

The magnetic field of an infinite wire is the starting point for calculating the internal and external inductance of transmission lines. The magnetic flux per unit length between two radii $r_1$ and $r_2$ is found by integrating B:

$ \Phi = \int_{r_1}^{r_2} B , dr = \frac{\mu_0 I}{2\pi} \ln\left(\frac{r_2}{r_1}\right) $

This logarithmic dependence appears constantly in the design of coaxial cables and overhead power lines Most people skip this — try not to..

Limitations of the Infinite Model

It is crucial to remember that no physical wire is infinite. The formula $B = \mu_0 I / 2\pi r$ is an approximation valid when the distance r is much smaller than the length of the wire ($r \ll L$) and much larger than the wire radius ($r \gg a$). Near the ends of a finite wire, the

Coming In Hot

New This Week

Branching Out from Here

Don't Stop Here

Thank you for reading about Magnetic Field From An Infinite Wire. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home