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: Magnetic Fields Produced by Currents - Exercises and Complete Worked Solutions (Example)

Electromagnetic Waves, Antennas, and RF: Magnetic Fields Produced by Currents - Exercises and Complete Worked Solutions

This companion article provides self-study exercises for EM11, Magnetic fields Produced by Currents. All exercises are stated first. Complete worked solutions follow in Part II.

The central magnetostatic source law is the Biot–Savart law:

|-------------------|
|      μ   dℓ′ × R  |
dB  =  -0I -------, |
-------4π----R3-----
(1)

where

R  = r − r′.
(2)

For an infinitely long straight wire,

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

and for a circular loop of radius a,

|--------------|
|B      = μ0I-,|
---center----2a--|
(4)

|----------------------|
|                2     |
|Bz(z) = ----μ0Ia-----.|
---------2-(a2-+-z2)3∕2--
(5)

For a volume current density,

|----------------------------------|
|        μ0 ∫  J(r′) × (r − r′)    |
|B (r) = ---   ---------′3----dV ′.|
---------4π--V-----|r-−-r-|---------
(6)

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

How to use this problem set

Attempt all exercises in Part I before consulting Part II. Keep source and observation quantities separate. In current-source problems, a common error is to mix up the source coordinate rand the observation point r. In direction problems, determine the cross-product direction first and substitute numerical values second.

Part I: Exercises

Exercise 1: direction from a single current element

A small source element has direction

d ℓ′ = dℓ ˆx,
(7)

and the observation point lies directly in the +y direction from the element, so

 ˆ
R  = ˆy.
(8)

Determine the direction of dB.

PIC

Figure. Biot–Savart source/observation geometry. The source element I dat r contributes to the field at the observation point r.

Exercise 2: magnitude from one current element

A current element has

I = 5.0A,      dℓ′ = 2.0 × 10−3 m.
(9)

The observation point is at distance

R =  4.0 × 10− 2m,
(10)

and the angle between dand R is 30. Find the magnitude of dB.

Exercise 3: field of a long straight wire

An infinitely long straight wire carries current

I = 8.0A.
(11)

Find the magnetic-field magnitude at perpendicular distance

            −2
s = 4.0 × 10   m.
(12)

Also state the field-line geometry.

PIC

Figure. A long straight current produces circular magnetic-field lines around the wire.

Exercise 4: inverse-distance scaling for a straight wire

At a distance s from a long straight wire, the magnetic field has magnitude B1. What is the field magnitude at distance 2s? What is the ratio B(2s)∕B(s)?

Exercise 5: finite straight-wire field

A finite straight wire carries current

I = 10 A.
(13)

At the observation point, the perpendicular distance to the wire is

s = 3.0 × 10−2 m,
(14)

and the end angles are

𝜃  = 40 ∘,    𝜃  = 55∘.
  1            2
(15)

Using

     μ0I
B =  ---(sin𝜃1 + sin𝜃2),
     4πs
(16)

find the magnetic-field magnitude.

Exercise 6: infer current from a measured field

The magnetic field near a long straight wire is measured to be

B  = 4.0 × 10−5T
(17)

at perpendicular distance

s = 2.0 × 10−2 m.
(18)

Find the current in the wire.

Exercise 7: field at the center of a circular loop

A single circular loop of radius

a =  5.0 × 10− 2m
(19)

carries current

I = 3.0A.
(20)

Find the magnetic-field magnitude at the center of the loop.

Exercise 8: field at the center of an N-turn loop

A 25-turn circular coil has radius

a =  8.0 × 10− 2m
(21)

and carries current

I = 0.40 A.
(22)

Find the field magnitude at the center.

Exercise 9: field on the axis of a circular loop

A single circular loop has radius

a =  0.10 m
(23)

and current

I = 2.0A.
(24)

Find the magnetic field at the point on the axis located at

z =  0.10 m
(25)

from the center.

PIC

Figure. A circular loop produces an axial magnetic field. By symmetry, transverse components cancel on the axis.

Exercise 10: superposition from two long parallel wires

Two infinitely long parallel wires are separated by distance

d = 0.20 m.
(26)

Each carries current of magnitude

I = 5.0A.
(27)

Find the magnetic-field magnitude at the midpoint between the wires for the following two cases:

  1. both currents are in the same direction;
  2. the currents are in opposite directions.

Exercise 11: using current density to find the field outside a wire

A cylindrical wire of radius

a =  2.0 × 10− 3m
(28)

carries a uniform current density

J =  (5.0 × 105 A/m2 )ˆz.
(29)

Find:

  1. the total current I in the wire;
  2. the magnetic-field magnitude at a point outside the wire at distance
                − 2
s = 1.0 × 10   m
    (30)

    from the axis.

PIC

Figure. A distributed current density can be treated as a superposition of many source elements.

Exercise 12: magnetostatic limitation of Biot–Savart

Explain why the magnetostatic Biot–Savart law developed in EM11 is not, by itself, the complete field law for a time-varying antenna current. Your answer should mention the steady-current assumption and the role of time-dependent electromagnetic propagation.

Part II: Complete Worked Solutions

Solution 1: direction from a single current element

From the Biot–Savart law,

        ′
dB ∝  dℓ × Rˆ.
(31)

Here,

  ′            ˆ
dℓ = d ℓ ˆx,    R =  ˆy.
(32)

Therefore,

  ′   ˆ
dℓ × R  = d ℓ(ˆx × ˆy) = dℓ ˆz.
(33)

So the field contribution points in the +z direction:

|----------------------|
-dB--points-along--+-ˆz.-|
(34)

Solution 2: magnitude from one current element

Use

      μ0 I dℓ′sin α
dB  = --------2----.
      4π    R
(35)

Substitute the given values:

dB = 107              −3       ∘
(5.0)(2.0 ×-10--)sin30--
      (4.0 × 10− 2)2 (36)
= 107(5.0)(2.0 × 10−3)(0.5 )
--------------−3-----
      1.6 × 10 (37)
= 1075.0-×-10−-3
1.6 × 10− 3 (38)
= 3.125 × 107 T. (39)

Thus,

----------------------
|               −7   |
-dB-=--3.13-×-10---T.--
(40)

Solution 3: field of a long straight wire

For an infinitely long straight wire,

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

Substitute the values:

B = (4π ×  10−7)(8.0)
-------------−2--
 2π (4.0 × 10   ) (42)
= 2 × 10 −7 ⋅ 8.0
--4.0 ×-10−2- (43)
= 4.0 × 105 T. (44)

Therefore,

|------------−-5-----------|
-B-=-4.0-×-10---T-=-40-μT.--
(45)

The field lines are circles centered on the wire, with direction determined by the right-hand rule.

Solution 4: inverse-distance scaling for a straight wire

Because

B (s) = μ0I-,
        2πs
(46)

we see directly that B 1∕s.

At distance 2s,

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

Hence,

|------------|
B (2s) = B1- ,
----------2---
(48)

and the ratio is

|------------|
|B (2s)   1  |
|------ = --.|
--B-(s)----2--
(49)

Solution 5: finite straight-wire field

Use the finite-wire expression:

     μ0I-
B =  4πs(sin𝜃1 + sin𝜃2).
(50)

Substituting,

B = 107----10-----
3.0 × 10− 2(sin 40 + sin 55) (51)
=      −6
---10------
3.0 × 10−2(0.6428 + 0.8192) (52)
= 3.333 × 105(1.4620) (53)
= 4.873 × 105 T. (54)

Thus,

|-------------------|
|             −5    |
B--≈-4.87-×-10---T.-
(55)

Solution 6: infer current from a measured field

From the long-wire formula,

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

Solve for I:

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

Now substitute:

I = 2 π(2.0 × 10 −2)(4.0 × 10− 5)
----------------−7---------
         4π × 10 (58)
= 1.6-×-10−-6π-
 4π ×  10−7 (59)
= 4.0 A. (60)

Therefore,

|----------|
-I-=-4.0A.--
(61)

Solution 7: field at the center of a circular loop

For a single loop,

Bcenter = μ0I-.
          2a
(62)

Substitute the values:

B =          −7
(4π-×--10--)(3.0)
  2(5.0 × 10−2) (63)
= 12 π × 10−7
-----------
    0.10 (64)
= 3.77 × 105 T. (65)

Thus,

|------------------|
B--=-3.77-×-10−5-T.-
(66)

Solution 8: field at the center of an N-turn loop

An N-turn coil multiplies the single-turn center field by N:

         μ0N I
Bcenter = ------.
           2a
(67)

Substitute the values:

B =          −7
(4π-×--10--)(25)(0.40-)
    2 (8.0 × 10− 2) (68)
= 4 π × 10−6
----------
   0.16 (69)
= 7.85 × 105 T. (70)

Therefore,

|------------------|
B--=-7.85-×-10−5-T.-
(71)

Solution 9: field on the axis of a circular loop

Use the on-axis formula:

                2
Bz(z) = ----μ0Ia-----.
        2 (a2 + z2)3∕2
(72)

With

a = 0.10 m,     z = 0.10 m,
(73)

we have

 2   2
a + z  = 0.01 + 0.01 = 0.02.
(74)

Then

Bz = (4π × 10− 7)(2.0)(0.10)2
-------------3∕2-------
       2(0.02 ) (75)
= 8π × 10− 9
2(0.02)3∕2 (76)
=          − 9
--8π-×-10-----
5.6569 × 10−3 (77)
= 4.44 × 106 T. (78)

So,

|--------------------|
|               −6   |
-Bz-=--4.44-×-10---T.-
(79)

The direction is along the loop axis, determined by the right-hand rule.

Solution 10: superposition from two long parallel wires

The midpoint lies at distance

    d-
s = 2 =  0.10m
(80)

from each wire.

Each wire individually contributes

                     − 7
B1 =  μ0I-=  (4π-×-10---)(5.0)-= 1.0 × 10−5 T.
      2πs        2π(0.10)
(81)

For case (a), same current direction, the two field directions at the midpoint are opposite. They cancel:

|--------------------------------------|
|B    = 0     (same current direction ).|
---mid----------------------------------
(82)

For case (b), opposite current directions, the two field directions at the midpoint are the same. They add:

                      − 5
Bmid =  2B1 = 2.0 × 10   T.
(83)

Hence,

|----------------------------------------------------|
Bmid-=--2.0 ×-10−5T-----(opposite-current-directions).-
(84)

Solution 11: using current density to find the field outside a wire

The total current is current density times cross-sectional area:

         2
I = J (πa  ).
(85)

Substitute the values:

I = (5.0 × 105)π(2.0 × 103)2 (86)
= (5.0 × 105)π(4.0 × 106) (87)
= 2π A (88)
6.28 A. (89)

Therefore,

|-----------|
I ≈ 6.28 A. |
-------------
(90)

Now use the outside-wire straight-current formula at s = 1.0 × 102 m:

B = μ0I-
2πs (91)
= (4π-×-10-−7)(6.283-)
  2π (1.0 × 10− 2) (92)
= 1.2566 × 104 T. (93)

Thus,

|-------------−4----|
B--≈-1.26-×-10---T.-|
(94)

Solution 12: magnetostatic limitation of Biot–Savart

The Biot–Savart law developed in EM11 assumes a steady current distribution. That means the source does not change with time, so the magnetic field is treated as a magnetostatic field.

For a time-varying antenna current, however, the fields do not adjust instantaneously everywhere in space. Electromagnetic influences propagate at finite speed, and changing electric and magnetic fields become coupled through the full Maxwell equations. In that regime, one must use the time-dependent field laws with retarded dependence on the source rather than the simple steady-current Biot–Savart expression.

So the essential point is:

|-----------------------------------------------------|
Biot–Savart is magnetostatic, not a full radiation law. |
-------------------------------------------------------
(95)

Closing summary

These exercises reinforce four core ideas from EM11:

  1. current elements produce magnetic-field contributions through the cross product d′× R;
  2. straight-wire fields scale as 1∕s;
  3. loop fields are obtained by systematic superposition and symmetry;
  4. the magnetostatic Biot–Savart law is foundational but limited to steady-current situations.

These skills prepare directly for the next topic: circulation laws and the stronger symmetry-based machinery of Ampère’s law.

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 magnetic fields produced by currents and the Biot–Savart law.

[4]   Richard P. Feynman, Robert B. Leighton, and Matthew Sands, The Feynman Lectures on Physics, Volume II, Addison-Wesley, 1964, chapters on steady currents and magnetic fields.

[5]   Massachusetts Institute of Technology, 8.02 Physics II: Electricity and Magnetism, MIT OpenCourseWare, materials on Biot–Savart law, current elements, straight wires, and loops.


"Electromagnetic Waves: Magnetic Fields Produced by Currents - Exercises and Complete Worked Solutions" is owned by bloftin.
(view preamble)
View style:
Other names:  EM11E1
Keywords:  magnetic field, electric current, Biot-Savart law, straight wire, circular loop, current density, source point, observation point, superposition, magnetostatics, exercises, worked solutions

This object's parent.

Cross-references: cross product, Maxwell equations, speed, formula, magnetic field, magnitude, volume, magnetostatic, fields, EM11

This is version 1 of Electromagnetic Waves: Magnetic Fields Produced by Currents - Exercises and Complete Worked Solutions, born on 2026-09-18.
Object id is 1230, canonical name is ElectromagneticWavesMagneticFieldsProducedByCurrentsExercisesAndCompleteWorkedSolutions.
Accessed 12 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)