Ampere's law connects electric current to the magnetic field that curls around it. It is one of Maxwell's equations and is essential for understanding electromagnets, motors, transformers, and magnetic sensors. A long straight wire produces circular magnetic field lines, while a solenoid concentrates those field lines into a strong, nearly uniform field inside the coil.
This law matters because it lets you calculate magnetic fields from the currents that create them.
Understanding Physics: Ampere's Law
The useful idea behind Ampere's law is a closed imaginary path called an Amperian loop. You choose this path to match the shape of the current arrangement. The law compares the magnetic field along the whole loop with the current passing through the surface inside it.
This does not mean the field has the same size everywhere on every possible loop. It becomes simple only when the setup has strong symmetry. Around a very long straight wire, every point at the same distance from the wire behaves alike.
Inside a long, tightly wound coil, the field is nearly the same through much of the central region. Choosing a poor loop makes the calculation difficult rather than impossible.
Direction matters as much as field strength. Electric current has a conventional direction, defined as the direction positive charge would move. In a metal, electrons actually move the other way.
Keep using conventional current in the right hand rule. Point your right thumb with the current in a straight wire. Your curled fingers give the direction of the magnetic field.
For a loop calculation, the direction you travel around the imaginary path sets which current direction counts as positive. A current through the surface in the opposite direction counts negatively. This sign idea is important when several wires pass through the same loop.
A coil makes a useful electromagnet because the fields from its individual turns add together inside the coil. More turns packed into a given length produce a stronger field for the same current. Increasing the current strengthens the field too, until practical limits such as heating become important.
A wire has electrical resistance, so a large current transfers energy into thermal energy. Many classroom electromagnets use an iron core.
Iron changes the magnetic response of the space inside the coil and can make the field much stronger. The core can retain some magnetism or reach magnetic saturation, so real devices do not always follow the simplest ideal calculation exactly.
Students meet these ideas in relays, electric door locks, loudspeakers, motors, circuit breakers, and phone sensors. A motor uses magnetic forces on current carrying coils to create turning motion. A current sensor can measure the magnetic field near a conductor without cutting the wire.
When solving problems, first sketch the current direction and the expected field direction. Then identify the symmetry and decide whether a circular or rectangular loop is helpful. State clearly where the field is assumed constant.
Remember that the basic form of Ampere's law works best for steady currents. For changing electric fields, Maxwell added an extra contribution called displacement current. That addition explains electromagnetic waves and keeps the law consistent in situations such as a charging capacitor.
Key Facts
- Ampere's law: ∮B · dl = μ0 Ienc
- Magnetic field around a long straight wire: B = μ0 I / (2πr)
- Magnetic field inside a long solenoid: B = μ0 n I
- Permeability of free space: μ0 = 4π × 10^-7 T·m/A
- Right-hand rule for a wire: thumb points with current, curled fingers show magnetic field direction.
- For a solenoid, n = N / L, where N is the number of turns and L is the solenoid length.
Vocabulary
- Ampere's law
- A law stating that the circulation of the magnetic field around a closed path equals μ0 times the current enclosed by that path.
- Amperian loop
- An imaginary closed path used to apply Ampere's law to a symmetric magnetic field.
- Magnetic field
- A vector field that describes the magnetic force influence around currents, magnets, and changing electric fields.
- Solenoid
- A coil of wire that produces a strong magnetic field inside when electric current flows through it.
- Right-hand rule
- A direction rule that relates the direction of current to the direction of the magnetic field it creates.
Common Mistakes to Avoid
- Using total current instead of enclosed current is wrong because Ampere's law only counts current passing through the surface bounded by the chosen loop.
- Forgetting that B is a vector is wrong because the dot product B · dl depends on whether the field points along the loop direction.
- Using B = μ0 I / (2πr) for any wire is wrong because that formula assumes a long straight wire with cylindrical symmetry.
- Applying B = μ0 n I near the ends of a short solenoid is wrong because the simple formula works best for a long solenoid where the interior field is nearly uniform.
Practice Questions
- 1 A long straight wire carries a current of 8.0 A. Calculate the magnetic field strength 0.040 m from the wire.
- 2 A solenoid has 600 turns and is 0.30 m long. If it carries a current of 2.5 A, calculate the approximate magnetic field inside the solenoid.
- 3 A circular Amperian loop is drawn around two wires, one carrying 5 A out of the page and one carrying 3 A into the page. Explain how to determine the net enclosed current and the direction of the magnetic field circulation.