1.8.24 · D1Electromagnetism

Foundations — Magnetic field of straight wire, circular loop, solenoid, toroid

2,570 words12 min readBack to topic

Before you can read a single formula in the parent note, every squiggle in it must mean something to you. This page builds each one from nothing.


0. What is a "current" and what is a "field"?

Figure — Magnetic field of straight wire, circular loop, solenoid, toroid

Why the topic needs it: magnetic fields are made by currents. No , no . Every formula in the parent has sitting in the numerator — double the flow, double the field.

In figure s01 the blue circles are the field wrapping the wire. Notice: no beginning, no end — magnetic field lines close on themselves. That circling is the whole personality of magnetism.


1. Vectors and the little hat: ,

Figure — Magnetic field of straight wire, circular loop, solenoid, toroid

Why the topic needs it: in Biot–Savart, answers "in what direction does this little piece of wire aim its influence?" Separating direction () from distance () is what lets the weakening and the swirl-direction be handled independently.


2. Distance and perpendicular distance

Why the topic needs it: magnetic influence fades with distance. The parent's straight-wire law says the field halves when you double — so must be crisply defined before that sentence makes sense.


3. Tiny pieces of wire: and its length

Why the topic needs it: Biot–Savart adds up the contribution of every . Whenever the direction has already been dealt with, only the plain length survives in the arithmetic — so you must know that is nothing more mysterious than .


4. The cross product — the swirl machine

This is the symbol most people meet for the first time here, so we build it slowly.

Figure — Magnetic field of straight wire, circular loop, solenoid, toroid

Reading the size formula: the is the key. When the two arrows are parallel (, ) the cross product is zero — a wire-piece sends no field straight along its own direction. When they are perpendicular (, ) the field is strongest. Look at the pink dot in s03: the result is largest exactly when the two black arrows make an L-shape.


5. The dot product — the "how-much-lines-up" machine

Ampère's law is built on a different product, so we need it too.

Figure — Magnetic field of straight wire, circular loop, solenoid, toroid

Look at s04: the dot product keeps only the shadow of cast onto (the blue projection). When leans fully along the shadow is full-length; when stands straight up, the shadow shrinks to nothing.

Why the topic needs it: in , on a well-chosen loop the field is parallel to the walk so and . This single simplification is what turns Ampère's law into an easy . The perpendicular sides of the solenoid's rectangle contribute nothing precisely because there .


6. The integral signs: and

Why the topic needs it: Biot–Savart is defined as an integral (add the contributions of every wire-piece). Ampère's law is defined as a closed-loop integral of the field. You cannot read either law without knowing these two symbols mean "add tiny pieces."


7. Angles , , , — keeping them straight

There are only two jobs an angle does in this topic; naming them once removes all confusion.

Why the topic needs it: every trig factor in the parent (, , the hidden in each cross product) is one of these. Read the subscript or letter and you instantly know which job the angle is doing.


8. The constants: , , and turn counts ,

Why the topic needs it: these turn a bare single-wire result into a real coil's field. Forgetting to multiply by is the parent's flagged classic mistake.


Prerequisite map

Read this as a chain, top to bottom — each idea below rests on the one above it:

  1. Current flows → it makes a magnetic field that circles it.
  2. Vectors and the unit vector let us give every arrow a direction.
  3. Chopping the wire gives tiny pieces (length ).
  4. The cross product () makes the new perpendicular field direction → powers Biot-Savart Law.
  5. The dot product () measures how much lines up → powers Ampere's Law.
  6. Integrals add all the pieces up; constants and turn counts supply the numbers.
  7. Out come the fields of the straight wire, loop, solenoid, and toroid of the parent topic.

Where these tools reappear

Once you have these symbols, the same vocabulary powers neighbouring topics: the cross product also gives the force on a current, the loop's field is really that of a magnetic dipole, and adding up over an area gives Magnetic flux, the ingredient of Faraday's law of induction.


Equipment checklist

Test yourself — reveal only after answering out loud.

What does mean and its unit?
Electric current — charge flowing per second; unit ampere (A).
Why is written with an arrow on top?
It is a vector: it has direction, not just size.
What does the hat in throw away and keep?
Throws away length (makes it 1), keeps only direction.
What is the difference between and ?
is a tiny wire-piece with direction (a vector); is just its length (a number).
When is a cross product zero?
When the vectors are parallel () — e.g. a wire sends no field along its own length.
When is a dot product zero?
When the vectors are perpendicular ().
Which product makes a new perpendicular direction, cross or dot?
The cross product .
What does mean and where is it used?
Sum around a closed loop; used in Ampère's law.
Why does appear in the straight-wire field?
It is the circumference of the circular Amperian path of radius .
What is physically?
The permeability of free space — the exchange rate from current to magnetic field, T·m/A.
What do , and each mean?
= total turns; = length of the coil; = turns per unit length.
Why does on a loop's axis?
The wire-piece is perpendicular to so , and has length 1, leaving .