Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
[parent] Electromagnetic Waves: Ampere's Law and Symmetry - Exercises and Complete Worked Solutions (Example)

Electromagnetic Waves, Antennas, and RF: Ampère’s Law and Symmetry - Exercises and Complete Worked Solutions

This companion article provides self-study exercises for EM12, Ampère’s Law and Symmetry. All exercises are stated first. Complete worked solutions follow in Part II.

The central magnetostatic circulation law is

|∮-----------------|
|                  |
|   B ⋅ dℓ = μ0Ienc.
--C-----------------
(1)

For an infinitely long straight wire,

|------------|
|       μ0I- |
B (s) = 2πs .|
--------------
(2)

For a cylindrical wire of radius a carrying uniformly distributed current I,

|------------------------|
|B(s) = -μ0Is,     s < a,|
--------2-πa2-------------
(3)

and

|------------------------|
|        μ0I             |
|B (s) = ----,    s ≥ a. |
---------2πs-------------
(4)

For an ideal long solenoid,

|----------|
B--≈-μ0nI,--
(5)

and for an ideal toroid within its winding region,

|--------------|
|B(s) = μ0N--I.|
---------2πs----
(6)

The equivalent local magnetostatic law is

|--------------|
|∇ × B  = μ0J. |
----------------
(7)

These are the same definitions and conventions developed in EM12 [1235].

How to use this problem set

Attempt every exercise in Part I before consulting Part II. For each Ampère-law problem, identify the symmetry first. Then decide whether the proposed Amperian path makes the field tangent to the path and whether the magnitude of B is constant on the contributing segment. Only after those geometric steps should the circulation integral be simplified.

Part I: Exercises

Exercise 1: magnetic circulation around a known circular field

A magnetic field has constant magnitude

             −4
B  = 1.5 × 10  T
(8)

and is everywhere tangent to a circular path of radius

            −2
s = 6.0 × 10   m.
(9)

The field points in the same direction as the path traversal. Find

∮

 C B ⋅ d ℓ.
(10)

PIC

Figure. A circular Amperian loop centered on a straight current. Symmetry makes B tangent to the loop and constant in magnitude at fixed radius.

Exercise 2: signed enclosed current

A closed Amperian path is traversed counterclockwise as viewed from the +z side. Three currents pierce the bounded surface:

I1 = 5.0A   (+z ),
(11)

I2 = 2.0A   (− z),
(12)

and

I3 = 1.5A   (+z ).
(13)

Find the signed enclosed current and the resulting magnetic circulation.

Exercise 3: field around a long straight wire

An infinitely long straight wire carries

I = 15 A.
(14)

Find the magnetic-field magnitude at perpendicular distance

s = 2.5 × 10−2 m.
(15)

State why a circular Amperian loop centered on the wire is a symmetry-matched path.

Exercise 4: infer current from a measured field

A magnetic-field sensor measures

B  = 6.0 × 10−5T
(16)

at perpendicular distance

            − 2
s = 4.0 × 10   m
(17)

from a very long straight wire. Find the wire current.

Exercise 5: enclosed current inside a uniformly current-filled wire

A cylindrical wire has radius

a =  6.0 × 10− 3m
(18)

and carries total current

I =  12A
(19)

uniformly over its cross section. An Amperian circle has radius

            −3
s = 2.0 × 10   m.
(20)

Find:

  1. the enclosed current Ienc;
  2. the magnetic-field magnitude at that radius.

PIC

Figure. Inside a uniformly current-filled cylindrical wire, an Amperian loop encloses only the fraction of current within its radius.

Exercise 6: where is the field largest in a uniform-current wire?

A uniformly current-filled wire has radius

a =  4.0 × 10− 3m
(21)

and carries current

I = 8.0A.
(22)

Use the inside and outside formulas to show that the magnetic field is continuous at s = a. Find the field magnitude there and explain why this is the maximum field magnitude for this idealized wire.

Exercise 7: field outside a finite-radius wire

A cylindrical wire carries total current

I = 10 A.
(23)

Find the magnetic field at radius

s = 1.5 × 10−2 m,
(24)

where the observation point lies outside the wire. Explain why the outside field does not depend on the wire radius when the total current is fixed.

Exercise 8: ideal long-solenoid field

An ideal long solenoid has

n = 1500 turns/m
(25)

and carries current

I = 0.60 A.
(26)

Find the interior magnetic-field magnitude.

PIC

Figure. A rectangular Amperian path through an ideal long solenoid isolates the nearly uniform interior field contribution.

Exercise 9: design the turn density of a solenoid

An ideal long solenoid must produce

B  = 2.5 × 10−3T
(27)

with current

I = 1.2A.
(28)

Find the required turn density n. If the solenoid length is

L = 0.30 m,
(29)

estimate the required number of turns N = nL.

Exercise 10: ideal-toroid field

An ideal toroid has

N  = 500
(30)

turns and carries current

I = 0.80 A.
(31)

Find the magnetic field within the winding region at

s = 0.12 m.
(32)

PIC

Figure. For an ideal toroid, a circular Amperian path within the winding region follows the azimuthal magnetic field.

Exercise 11: choose the useful Amperian path

For each source below, state whether the proposed path is useful for solving directly for B, and explain why.

  1. A circle centered on an infinitely long straight wire.
  2. A circle displaced sideways from an infinitely long straight wire.
  3. A rectangular path with one long side inside an ideal long solenoid and one long side outside.
  4. An arbitrary irregular loop around two separated finite wires.

Your answer should distinguish between “Ampère’s law is true” and “the path lets us pull B out of the integral.”

Exercise 12: derive the inside-wire field from current density

A cylindrical Conductor of radius a carries uniform current density

J =  J0ˆz.
(33)

Using an Amperian circle of radius s < a, derive the magnetic-field magnitude in terms of J0 and s. Show that

B(s) = μ0J0s-.
          2
(34)

Exercise 13: differential Ampère law from a specified field

Suppose

B = − αy ˆx + αx ˆy,
(35)

where

α = 3.0 × 10−4T/m.
(36)

Find:

  1. ∇× B;
  2. the corresponding current density J using
    ∇ × B  = μ  J.
           0
    (37)

Exercise 14: magnetostatic limitation and Maxwell’s correction

Explain why

∮
   B ⋅ d ℓ = μ0Ienc
 C
(38)

is not the complete law for genuinely time-varying electromagnetic fields. State the additional term that Maxwell introduced and explain physically what quantity it depends on.

Part II: Complete Worked Solutions

Solution 1: magnetic circulation around a known circular field

Because B is tangent to the path, points in the same direction as the traversal, and has constant magnitude,

∮

   B ⋅ d ℓ = B(2πs ).
 C
(39)

Substitute the values:

CB d = (1.5 × 104)2π(6.0 × 102) (40)
= 5.65 × 105 T m. (41)

Therefore,

|∮---------------------------|
|                    − 5     |
| C B ⋅ dℓ = 5.65 × 10  T m. |
------------------------------
(42)

Solution 2: signed enclosed current

Counterclockwise traversal as seen from +z corresponds, by the right-hand rule, to a positive surface normal in the +z direction.

Therefore currents in +z count positive and currents in z count negative:

Ienc = I1 I2 + I3 (43)
= 5.0 2.0 + 1.5 (44)
= 4.5 A. (45)

Thus,

|------------|
-Ienc-=-4.5A.--
(46)

Ampère’s law then gives

CB d = μ0Ienc (47)
= (4π × 107)(4.5) (48)
= 5.65 × 106 T m. (49)

Therefore,

|----------------------------|
|∮                           |
|   B ⋅ dℓ = 5.65 × 10− 6T m.|
--C---------------------------
(50)

Solution 3: field around a long straight wire

For an infinitely long straight wire,

B (s) = μ0I-.
        2πs
(51)

Substitute:

B =         − 7
(4π-×-10---)(15-)
 2π(2.5 × 10−2) (52)
= 1.20 × 104 T. (53)

Hence,

|----------------------------|
B  = 1.20 × 10− 4T = 120 μT. |
------------------------------
(54)

The centered circle is useful because cylindrical symmetry guarantees that B is tangent to the circle and that its magnitude is the same everywhere on that circle.

Solution 4: infer current from a measured field

Rearrange

     μ0I-
B  = 2πs
(55)

to obtain

I =  2πsB-.
      μ0
(56)

Substitute:

I = 2-π(4.0 ×-10-−2)(6.0-×-10−-5)
         4π × 10−7 (57)
= 12 A. (58)

Therefore,

|----------|
-I-=-12-A.-|
(59)

Solution 5: enclosed current inside a uniformly current-filled wire

Uniform current density means the enclosed current scales with enclosed cross-sectional area:

         2
Ienc = Is-.
        a2
(60)

Substituting,

Ienc = 12(           )
  2.0 ×-10−3-
  6.0 × 10−32 (61)
= 12(  )
  1-
  32 (62)
= 1.33 A. (63)

Thus,

|--------------|
-Ienc =-1.33-A.|
(64)

Now apply Ampère’s law:

B (2πs ) = μ0Ienc.
(65)

Therefore,

B = μ0Ienc
 2πs (66)
= (4π × 10 −7)(1.333 )
-------------------
  2π (2.0 × 10− 3) (67)
= 1.33 × 104 T. (68)

Hence,

|------------------|
|             −4   |
B--=-1.33-×-10---T.-
(69)

Solution 6: where is the field largest in a uniform-current wire?

Inside the wire,

B  (s) = -μ0Is.
  in      2 πa2
(70)

At s = a,

         μ0I
Bin(a) = 2πa-.
(71)

Outside the wire,

           μ I
Bout(s) =  -0-,
           2πs
(72)

so at s = a,

           μ0I
Bout(a) =  ---.
           2πa
(73)

Thus the two expressions agree at the surface; the field is continuous there.

Numerically,

B(a) =          −7
(4π-×--10--)(8.0)
 2π (4.0 × 10 −3) (74)
= 4.0 × 104 T. (75)

Therefore,

|--------------------|
|               −4   |
B-(a)-=-4.0-×-10---T.-
(76)

Inside, B s, so the field rises with radius. Outside, B 1∕s, so it falls with radius. Therefore the maximum occurs at the surface s = a.

Solution 7: field outside a finite-radius wire

Outside the wire, the Amperian loop encloses the full current. Therefore,

     μ0I-
B =  2πs .
(77)

Substitute:

B = (4π × 10− 7)(10 )
------------−2--
 2π(1.5 × 10  ) (78)
= 1.33 × 104 T. (79)

So,

|------------------|
B  = 1.33 × 10−4 T.|
--------------------
(80)

Once the observation point lies outside the conductor, Ampère’s law depends only on the total enclosed current and the observation radius. The detailed distribution of that current inside the wire does not affect this symmetry result.

Solution 8: ideal long-solenoid field

For an ideal long solenoid,

B  ≈ μ0nI.
(81)

Substitute:

B = (4π × 107)(1500)(0.60) (82)
= 1.13 × 103 T. (83)

Therefore,

|--------------|
-B-≈--1.13mT.--|
(84)

Solution 9: design the turn density of a solenoid

From

B = μ0nI,
(85)

solve for n:

     -B--
n =  μ0I.
(86)

Substituting,

n =            −3
---2.5 ×-10------
(4π × 10− 7)(1.2) (87)
1.66 × 103 turns/m. (88)

Thus,

|-------------3----------|
-n-≈-1.66-×-10--turns/m.--|
(89)

The turn count for L = 0.30 m is

N = nL (90)
(1.658 × 103)(0.30) (91)
497. (92)

Therefore about

|--------------------|
-N-≈--5.0 ×-102-turns-
(93)

are required.

Solution 10: ideal-toroid field

For an ideal toroid,

       μ0N  I
B(s) = ------.
        2πs
(94)

Substitute:

B = (4π × 10 −7)(500)(0.80 )
-----------------------
       2π (0.12 ) (95)
= 6.67 × 104 T. (96)

Thus,

|------------------------------|
|             −4               |
B--=-6.67-×-10---T-=-0.667-mT.--
(97)

Solution 11: choose the useful Amperian path

  1. Useful. A circle centered on an infinitely long straight wire matches cylindrical symmetry. The field is tangent to the circle and has constant magnitude on it.
  2. Not useful for directly solving for B. Ampère’s law remains true, but the distance to the wire varies around the off-center circle. Thus the field magnitude is not constant and the field is not everywhere tangent to that circle.
  3. Useful under the ideal long-solenoid approximation. The interior long side is parallel to the nearly uniform interior field, the exterior long side lies where the idealized field is negligible, and the short sides are perpendicular to B.
  4. Generally not useful for directly solving the local field. Ampère’s law still gives the total circulation, but neither field direction nor magnitude is generally simple enough along an arbitrary irregular loop to extract a single B.

The distinction is important: the law remains valid under magnetostatic conditions even when a particular path does not simplify the unknown field.

Solution 12: derive the inside-wire field from current density

For uniform current density J0, the enclosed current within radius s < a is

           2
Ienc = J0πs .
(98)

Cylindrical symmetry gives a magnetic field tangent to the circular Amperian loop and constant in magnitude along it. Thus,

B (2πs ) = μ0J0 πs2.
(99)

Cancel one factor of πs:

2B =  μ0J0s.
(100)

Therefore,

|--------------|
|       μ0J0s  |
|B(s) = ------.|
-----------2----
(101)

This form makes the linear dependence on radius especially clear.

Solution 13: differential Ampère law from a specified field

The field components are

Bx  = − αy,     By = αx,      Bz = 0.
(102)

Only the z component of the curl is nonzero:

(∇× B)z = ∂By-
 ∂x ∂Bx--
 ∂y (103)
= α (α) (104)
= 2α. (105)

Therefore,

|--------------|
-∇-×-B--=-2α-ˆz.-
(106)

With α = 3.0 × 104 T/m,

∇ × B  = (6.0 × 10−4T/m  )ˆz.
(107)

Using

∇ × B  = μ0J,
(108)

we obtain

J = 2α
---
μ0z (109)
= 6.0-×-10−4-
4 π × 10−7z (110)
4.77 × 102z A/m2. (111)

Thus,

|----------------------|
|             2      2 |
-J-≈-4.77 ×-10-ˆzA/m---.-
(112)

Solution 14: magnetostatic limitation and Maxwell’s correction

The simple form

∮
   B ⋅ d ℓ = μ0Ienc
 C
(113)

is the magnetostatic form of Ampère’s law. It assumes steady currents and therefore does not contain all sources of magnetic-field circulation in a time-varying electromagnetic system.

Maxwell’s correction adds a term proportional to the time rate of change of electric flux:

|∮-----------------------------|
|                        d-ΦE- |
| C B ⋅ d ℓ = μ0Ienc + μ0𝜖0 dt .|
-------------------------------
(114)

The extra term depends on

dΦE--,
 dt
(115)

the rate at which electric flux through a surface bounded by C changes with time. This term allows a changing electric field to act as a source of magnetic-field circulation even where no conduction current crosses the surface.

That correction is essential for the later development of electromagnetic waves and antenna radiation.

Common mistakes

  • Mistake: assuming every closed path makes Ampère’s law easy to solve. The law gives circulation; symmetry determines whether B can be removed from the integral.
  • Mistake: using total current when the loop encloses only part of a distributed current.
  • Mistake: ignoring the orientation sign of current through the chosen surface.
  • Mistake: assuming an off-center circular path around a straight wire has constant B.
  • Mistake: treating ideal solenoid and toroid expressions as exact for every finite winding geometry.
  • Mistake: applying the magnetostatic law without modification to time-varying antenna currents.

What EM12E reinforces

The key working sequence is

|--------------------------------------------------------------------|
-identify-symmetry---→-choose--path-→--evaluate-circulation-→--use-Ienc.|
(116)

For magnetostatics,

|∮-----------------|
|   B ⋅ d ℓ = μ0Ienc
--C----------------|
(117)

and

|--------------|
|∇ ×  B =  μ0J |
---------------
(118)

are two forms of the same physical law, linked by Stokes’ theorem.

The next stage of the series can now move into time-varying fields, where Maxwell’s correction becomes essential.

References

[1]   David J. Griffiths, Introduction to Electrodynamics, 4th ed., Cambridge University Press, 2017.

[2]   Edward M. Purcell and David J. Morin, Electricity and Magnetism, 3rd ed., Cambridge University Press, 2013.

[3]   Samuel J. Ling, Jeff Sanny, and William Moebs, University Physics, Volume 2, OpenStax, 2016, sections on Ampère’s law, solenoids, and toroids.

[4]   Richard P. Feynman, Robert B. Leighton, and Matthew Sands, The Feynman Lectures on Physics, Volume II, Addison-Wesley, 1964, chapters on magnetic fields, circulation, and Maxwell’s equations.

[5]   Massachusetts Institute of Technology, 8.02 Physics II: Electricity and Magnetism, MIT OpenCourseWare, materials on Ampère’s law, solenoids, toroids, and magnetic-field symmetry.


"Electromagnetic Waves: Ampere's Law and Symmetry - Exercises and Complete Worked Solutions" is owned by bloftin.
(view preamble)
View style:
Other names:  EM12E
Keywords:  Ampere's law, magnetic circulation, Amperian loop, symmetry, straight wire, current density, cylindrical conductor, solenoid, toroid, Stokes theorem, curl, magnetostatics, exercises, worked solutions

This object's parent.

Cross-references: Stokes theorem, physical law, radiation, waves, conduction, electric field, flux, system, curl, Conductor, formulas, section, magnetic field, magnitude, field, magnetostatic, EM12

This is version 1 of Electromagnetic Waves: Ampere's Law and Symmetry - Exercises and Complete Worked Solutions, born on 2026-09-18.
Object id is 1232, canonical name is ElectromagneticWavesAmperesLawAndSymmetryExercisesAndCompleteWorkedSolutions.
Accessed 6 times total.

Classification:
Physics Classification41.20.Gz (Magnetostatics; magnetic shielding, magnetic induction, boundary-value problems)
 03.50.De (Classical electromagnetism, Maxwell equations )
 41.20.-q (Applied classical electromagnetism)
 41.20.Jb (Electromagnetic wave propagation; radiowave propagation )
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

No messages.

Interact
rate | post | correct | update request | add example | add (any)