Ampere's Law

When studying electromagnetism, we have seen that running a current through an electrical conductor, such as a wire, results in a magnetic field. When placing two current-carrying wires next to one another, they actually experience a magnetic force between them due to the interaction between their magnetic field. But how exactly are these magnetic fields formed? Ampere's law is a calculus-based, mathematical law that allows us to derive the exact equation for a magnetic field surrounding a current-carrying wire. To learn about Ampere's law and how to apply it to various situations, keep reading!

Get started

Millions of flashcards designed to help you ace your studies

Sign up for free

Review generated flashcards

Sign up for free
You have reached the daily AI limit

Start learning or create your own AI flashcards

StudySmarter Editorial Team

Team Ampere's Law Teachers

  • 11 minutes reading time
  • Checked by StudySmarter Editorial Team
Save Article Save Article
Contents
Contents

Jump to a key chapter

    Ampere's Law Definition

    In 1861, André-Marie Ampère came up with a general equation that linked the phenomenon of electric currents, to magnetic fields. The equation only considered currents moving at a steady state, unable to handle electric currents that varied over time. Four years later, in 1865, James Clerk Maxwell set his eyes on generalizing the equation such that it would be able to handle all cases regarding electric currents. The resultant equation, sometimes dubbed the Ampere-Maxwell equation included a term called the displacement current, accounting for time-varying currents.

    The law is based on calculus, enclosing the electric current with a theoretical amperian loop. But what exactly is an amperian loop?

    An amperian loop is a closed path around a current-carrying conductor.

    Now let's understand how to apply this theoretical concept in line integrals to find the magnetic field due to a current-carrying wire.

    Ampere's Law Formula

    In this section, we will explain Ampere's original form of the law, as well as Maxwell's addition, understanding the motivations behind both versions.

    Ampere's Law

    The equation for Ampere's law is given by

    \[ \oint \vec{B} \cdot \mathrm{d} \vec{l} = \mu_0 I_{\text{enclosed}} ,\]

    where \(\vec{B}\) is the magnetic vector field around the electric current measured in \(\mathrm{\frac{A}{m}}\), \(\mathrm{d} \vec{l}\) is the infinitesimal line element vector measured in \(\mathrm{m}\), \(\mu_0\) is the vacuum permeability given by a value of \(4\pi \times 10^{-7} \, \mathrm{\frac{H}{m}} \), and \( I_{\text{enclosed}}\) is the current enclosed by the amperian loop measured in amperes \(\mathrm{A}\). You should be familiar with this from previous calculus courses, but as a reminder, \(\oint\) represents the closed-loop one-dimensional line integral.

    Ampere-Maxwell Law

    Now let's go through the correction that Maxwell contributed to Ampere's law. One of the primary rules in physics that all equations must obey is conservation. In systems involving moving parts, all objects must obey energy conservation and momentum conservation. Similarly, in electric and magnetic systems, the system must obey the conservation of charge. Maxwell found that Ampere's law on its own does not obey the conservation of charge, therefore, there must be a missing term in this equation.

    The new law that Maxwell modified is then given as

    \[ \oint \vec{B} \cdot \mathrm{d} \vec{l} = \mu_0 I_{\text{enclosed}} + \mu_0 \epsilon_0 \frac{\mathrm{d} \Phi_{\text{E}}}{\mathrm{d} t} ,\]

    where the new extra term includes vacuum permittivity \( \epsilon_0\) given by a value of \( 8.85 \times 10^{-12} \, \mathrm{\frac{F}{m}} \), \(\Phi_{\text{E}}\) is the flux of the electric field measured in \(\mathrm{V \, m} \), and \(t\) is the time variable measured in \(\mathrm{s}\).

    Biot Savart Law vs Ampere's Law

    Another equation that allows us to calculate the magnetic field generated by an electric current is the Biot Savart law. It provides us with a way of calculating the magnetic field given a more complex situation with less symmetry. The equation is given as

    \[ \vec{B}(r) = \frac{\mu_0}{4 \pi} \int_C \frac{I \, \mathrm{d} \vec{l} \times \vec{r} }{| \vec{r} |^3} ,\]

    where our integral now contains the infinitesimal line element \(\mathrm{d} \vec{l}\) along the integral path \(C\) and \(\vec{r}\) is the vector distance between the point on the wire to the point where the magnetic field is being computed.

    An important point to note about this equation is the cross product between \(\mathrm{d} \vec{l}\) and \(\vec{r}\), this emphasizes to us that the direction of the resultant magnetic field is orthogonal to that of the current element.

    The Biot Savart law grants us more flexibility when calculating the magnetic field due to a current-carrying wire. When using Ampere's law, we are bounded to situations where we can exploit the symmetry of the magnetic field, for instance, straight current-carrying wires, solenoids, or conducting slabs. In theory, the Biot Savart law could be applied to a current of any shape, as long as the integral is solvable.

    Ampere's Law Examples

    Now let's consider some questions to which we can apply Ampere's law.

    Referring to the figure below, we have three currents enclosed by a circular amperian loop of radius \(r = 1.5 \, \mathrm{cm}\).

    Ampere's Law Enclosed currents StudySmarterFig. 1 - Three wires carrying electric currents enclosed by an amperian loop.

    The currents enclosed by the loop are given by values of \( I_1 = 1.2 \, \mathrm{mA}\), \(I_2 = 7.5 \, \mathrm{mA}\), and \(-5.0 \, \mathrm{mA}\). Using these values and Ampere's law, we can calculate the magnetic field due to all of the current-carrying wires combined. Firstly, we need to find the net current enclosed by the loop, this is given by

    \[\begin{align} I_{\text{net}} &= I_1 + I_2 + I_3 \\ I_{\text{net}} &= 1.2 \times 10^{-3} \, \mathrm{A} + 7.5 \times 10^{-3} \, \mathrm{A} + (- 5.0 \times 10^{-3} \, \mathrm{A} ) \\ I_{\text{net}} &= 3.7 \times 10^{-3} \, \mathrm{A} . \end{align} \]

    Now we can use this to solve our integral as the following

    \[ \begin{align} \oint \vec{B} \cdot \mathrm{d} \vec{l} &= \mu_0 I_{\text{enclosed}} \\ \oint \vec{B} \cdot \mathrm{d} \vec{l} &= \mu_0 \times 3.7 \times 10^{-3} \, \mathrm{A} . \end{align} \]

    We could perform the integration to solve for \(\vec{B}\), however, since our amperian loop is a circle, we can write that the line integral of a circle is equal to \(2\pi r\), where \(r\) is the radius of the circle. Thus we can solve for \(B\) as

    \[ \begin{align} B \times 2 \pi r &= \mu_0 \times 3.7 \times 10^{-3} \, \mathrm{A} \\ B &= \frac{ 4\pi \times 10^{-7} \, \mathrm{\frac{H}{m}} \times 3.7 \times 10^{-3} \, \mathrm{A} }{2 \pi \times 1.5 \times 10^{-2} \, \mathrm{m} } \\ B &= 4.9 \times 10^{-8} \, \mathrm{T}, \end{align} \]

    where we have used the fact that \( 1 \, \mathrm{T} = 1 \, \mathrm{\frac{kg}{s^2 \, A}} \) and \(1 \, \mathrm{H} = 1 \, \mathrm{\frac{kg \, m^2}{s^2 \, A^2}} \).

    We can also consider a second example where we find the magnetic field inside a current-carrying wire.

    Now we can use Ampere's law to calculate the magnetic field within a long current-carrying wire. Referring to the figure below, we have a straight, three-dimensional, current-carrying wire.

    Ampere's Law Current through wire StudySmarter

    Fig. 2 - A three-dimensional wire will have a current density.

    At each point along the wire, we have a current density \(J\), the amount of current per unit area in the cross-section along the wire. If the current traveling across the whole wire is \(I\), we can define the current density as

    \[ J = \frac{I}{\pi R^2} ,\]

    where \(J\) is the current density measured in units of \(\mathrm{\frac{A}{m^2}}\), \(I\) is the current measured in \(\mathrm{A}\), and \(R\) is the radius of the wire measured in \(\mathrm{m}\). Now let's try applying Ampere's law by drawing the amperian loop such that it has a radius \(r\), greater than the radius of the wire \(R\).

    To find the enclosed current by this loop, we multiply the current density \(J\) by the area of the loop, resulting in

    \[\begin{align} I_{\text{enclosed}} &= J \pi r^2 \\ I_{\text{enclosed}} &= I \frac{\bcancel{\pi} r^2 }{ \bcancel{\pi} R^2} \\ I_{\text{enclosed}} &= I \frac{r^2}{R^2} . \end{align} \]

    Substituting this into Ampere's law, we find that

    \[ \begin{align} \oint \vec{B} \cdot \mathrm{d} \vec{l} &= \mu_0 I_{\text{enclosed}} \\ B 2 \pi r &= \mu_0 I \frac{r^2}{R^2} \\ B &= \mu_0 \frac{Ir}{ 2 \pi R^2 } . \end{align} \]

    Thus, this is our expression for the magnetic field within a current-carrying wire.

    Ampere's Law Application

    So far in the article, we have only covered the applications of Ampere's law in straight, current-carrying wires, but Ampere's law can also be applied in other current-carrying shapes, such as a solenoid. In previous discussions of electromagnetism, we have already come across the equation for the magnetic field inside a solenoid as

    \[ B = \mu_0 \frac{N I}{L} ,\]

    where \(N\) is the number of turns in the solenoid coil, \(L\) is the length of the coil measured in \(\mathrm{m}\), and all the other symbols are the same as per previous equations. In order to derive this equation using Ampere's law, let's consider a square amperian loop containing one side of the solenoid coil.

    In order to solve for the magnetic field within the solenoid, we need to calculate the line integral. Referring to the figure, we can break up the line integral into four components representing the four edges of the rectangular loop. This results in

    \[ \oint \vec{B} \cdot \mathrm{d} \vec{l} = \int_A^B \vec{B} \cdot \mathrm{d} \vec{l} + \int_B^C \vec{B} \cdot \mathrm{d} \vec{l} + \int_C^D \vec{B} \cdot \mathrm{d} \vec{l} + \int_D^A \vec{B} \cdot \mathrm{d} \vec{l} ,\]

    where \(A, B, C\) and \(D\) represent the labeled edges of the rectangular loop. Now we can simplify and cancel out some components by analyzing the dot product. First considering the integral between edges \(B\) to \(C\) and \(D\) to \(A\), we can see that the magnetic field is perpendicular to the loop, rendering the dot product to zero. On the other hand, the integral between the point \(C\) to \(D\) is also zero due to the fact that the magnetic field just outside the solenoid is zero.

    This leaves us with the final integral between the point \(A\) to \(B\); assuming that the section of the curve is of length \(L\), we can simplify it down to

    \[ \oint \vec{B} \cdot \mathrm{d} \vec{l} = BL .\]

    Finally, in order to combine this result with Ampere's law, we still need to calculate the amount of current enclosed by the loop. The current contained by \(N\) turns of the solenoid is given by

    \[ I_{\text{enclosed}} = NI,\]

    where \(I\) is the current in the coil and \(N\) is the number of enclosed turns by the amperian loop.

    Thus we can plug all of these results into Ampere's law to find that

    \[ \begin{align} \oint \vec{B} \cdot \mathrm{d} \vec{l} &= \mu_0 I_{\text{enclosed}} \\ BL &= \mu_0 NI \\ B &= \frac{\mu_0 NI}{L} . \end{align} \]

    Ampere's Law - Key takeaways

    • An amperian loop is a closed path around a current-carrying conductor.
    • Ampere's original law is given by \( \oint \vec{B} \cdot \mathrm{d} \vec{l} = \mu_0 I_{\text{enclosed}} \).
    • Later on, Maxwell adapted Ampere's law to account for time-varying currents, resulting in \( \oint \vec{B} \cdot \mathrm{d} \vec{l} = \mu_0 I_{\text{enclosed}} + \mu_0 \epsilon_0 \frac{\mathrm{d} \Phi_{\text{E}}}{\mathrm{d} t} \).
    • The Biot-Savart law is a similar law but is more complicated to calculate. It is given by \( \vec{B}(r) = \frac{\mu_0}{4 \pi} \int_C \frac{I \, \mathrm{d} \vec{l} \times \vec{r} }{| \vec{r} |^3} \).

    References

    1. Fig. 1 - Enclosed currents, StudySmarter Originals.
    2. Fig. 2 - Current in wire, StudySmarter Originals.
    3. Fig. 3 - Amperian loop for solenoid, StudySmarter Originals.
    Frequently Asked Questions about Ampere's Law

    What is ampere's law?

    Ampere's law uses a closed-loop integral to calculate the magnetic field from a current.

    When to use Ampere's law and the application?

    We use Ampere's law when we have a steady state current traveling through a straight wire.

    Who discovered ampere's law?

    André-Marie Ampère wrote the formula based on empirical experiments.

    What is the Ampere formula?

    The Ampere formula is the closed loop integral of the magnetic field is equal to the vacuum permeability multiplied by the enclosed current.

    Why is Ampere's law useful?

    Ampere's law allows us to calculate the magnetic field from a wire in symmetrical systems.

    Save Article

    Test your knowledge with multiple choice flashcards

    What does Ampere's law allow us to calculate?

    What is the difference between Ampere's original law and the Ampere-Maxwell law?

    What is the equation for Ampere's law? 

    Next

    Discover learning materials with the free StudySmarter app

    Sign up for free
    1
    About StudySmarter

    StudySmarter is a globally recognized educational technology company, offering a holistic learning platform designed for students of all ages and educational levels. Our platform provides learning support for a wide range of subjects, including STEM, Social Sciences, and Languages and also helps students to successfully master various tests and exams worldwide, such as GCSE, A Level, SAT, ACT, Abitur, and more. We offer an extensive library of learning materials, including interactive flashcards, comprehensive textbook solutions, and detailed explanations. The cutting-edge technology and tools we provide help students create their own learning materials. StudySmarter’s content is not only expert-verified but also regularly updated to ensure accuracy and relevance.

    Learn more
    StudySmarter Editorial Team

    Team Physics Teachers

    • 11 minutes reading time
    • Checked by StudySmarter Editorial Team
    Save Explanation Save Explanation

    Study anywhere. Anytime.Across all devices.

    Sign-up for free

    Sign up to highlight and take notes. It’s 100% free.

    Join over 22 million students in learning with our StudySmarter App

    The first learning app that truly has everything you need to ace your exams in one place

    • Flashcards & Quizzes
    • AI Study Assistant
    • Study Planner
    • Mock-Exams
    • Smart Note-Taking
    Join over 22 million students in learning with our StudySmarter App
    Sign up with Email