# Electromagnetism/Reference/Ampere's Law

## Ampere's circuital law edit

"Ampere's circuital law" (named after André-Marie Ampère, not directly named after the unit of current), gives the magnetic field in the vicinity of an infinitely long straight wire carrying an electric current.

The magnetic field goes in circles around the wire, following a right-hand rule and calculated by

With

- . Magnetic field strength
- . Current
- . Permeability
- . Radius
- . Inductance

```
```

## Derivation edit

The pure (almost uselessly so) formula for the magnetic force is that the force acting on moving particle 2 from the motion of particle 1 is:

where and are the charges on the particles, and are their velocities, and is the unit vector giving the direction from particle 1 to particle 2.

The constant defining the strength of the magnetic force is . The value of μ is (by definition! See below) newtons per ampere squared, or henries per meter.

When this is reformulated in terms of the magnetic field (called B), the force felt by charge q_{2} moving at velocity v_{2} is

and the magnetic field generated by charge q_{1} moving at velocity v_{1} is

In practical electrical circuits, one uses a continuous flow of current through a wire rather than a static charge moving at a certain velocity. We use the equivalence:

where I is the current and is the length and direction of the wire through which the current is flowing. To see this equivalence, observe that a current of I amperes over a wire of length l meters will send I coulombs of charge a distance l every second, equivalent to I coulombs traveling at a speed of l meters per second.

Now we can't have current just flowing through a short length of wire—it has to complete a circuit. So we have to make the wire infinitely long, or else arrange for the current return path to be far away from the region of interest, and integrate the contributions to the magnetic field along the length of the wire that we are interested in.

So, in terms of wires and current, the magnetic force is

and the magnetic field (this is the actual law of Biot and Savart) is

In the diagram at the right, we have an infinitely long straight wire carrying current I, and we wish to find the magnetic field at some point at a distance R from the wire. We first calculate the contribution to that field from a small section of the wire, of length dl. That contribution is:

The cross product shows that the magnetic field vector points directly out of the page/screen, and has magnitude:

To get the magnetic field, at that point, from the current over the entire wire, integrate:

Which is:

```
```

With

- . Magnetic field strength
- . Current
- .
- . Radius
- . Inductance

```
```

## How is μ Defined? edit

The quantity , known as the "permeability of the vacuum", is a physical constant that defines the strength of the magnetic and electric fields. Suppose we have two infinitely long straight parallel wires, separated by distance R, and carrying currents of I_{1} and I_{2}. The magnetic field created by the first wire, at the location of the second wire, is:

The force on the second wire, along a section of length l, is:

If the currents are flowing in the same direction, the wires will be attracted to each other with a force per unit length of:

The ampere is defined by means of this formula. An ampere is the amount of current, flowing in each of two parallel wires separated by a distance of one meter, that causes an attractive magnetic force of newtons per meter of the wires' length. This has the effect of **defining**

in SI units, which are newtons per ampere squared, or henries per meter.