Week-2_Magnetostatcis-Class Material
Week-2_Magnetostatcis-Class Material
PH1000
Class Day Time
1 Monday 9:00-9:50 AM
2 Wednesday 10:00-10:50 AM
3 Friday 11:00-11:50 AM
Textbooks:
1. Introduction to Electrodynamics, David J. Grifiths, Prentice Hall, 2007.
2. Electromagnetic Field Theory Fundamentals, Bhag Singh Guru, Huseyin R. Hiziroglu, Cambridge
University Press, 2nd edition, 2009.
2
PH1000
Ampere’s Law IIITDM
Problem: In region 1 of Figure, B1 = 1.2ax + 0.8ay + 0.4az (T). Find H2 (i.e., H at z =+ 0)
and the angles between the field vectors and a tangent to the interface.
Solution:
Write H1 directly below B1.
Then write those components of H2 and B2,
which follow directly from the two rules:
B normal is continuous and H tangential is
continuous across a current-free interface.
H1 = B1/(μr1.μ0)
B1⊥= B2⊥
i.e., Bz1=Bz2
H2 = B2/(μr2.μ0)
Further,
H1‖=H2‖
i.e., Hx1=Hx2
i.e., Hy1=Hy2
3
PH1000
Ampere’s Law IIITDM
Problem: cont… Find H2 (i.e., H at z =+ 0) and the angles between the field vectors
and a tangent to the interface.
Solution: cont….
Now the remaining terms follow directly:
H2 = B2/(μr2.μ0)
By using
4
PH1000
Ampere’s Law IIITDM
Problem: A toroidal coil consists of a circular ring, or “donut,” around which a long wire is
wrapped (Left side figure). The winding is uniform and tight enough so that each turn can be
considered a plane closed loop. The cross-sectional shape of the coil is immaterial. For the sake
of simplicity made it rectangular, but it could just as well be circular or even some weird
asymmetrical form (Right side figure), as long as the shape remains the same all the way around
the ring. In that case, it follows that the magnetic field of the toroid is circumferential at all
points, both inside and outside the coil.
Proof: According to the Biot-Savart law, the field at r due to the current element at rʹ is
5
PH1000
Ampere’s Law IIITDM
We may as well put r in the xz plane, so its Cartesian components are (x, 0,z), while
the source coordinates are rʹ = (sʹ cos φʹ , sʹ sin φʹ, zʹ)
Then
Since the current has no φ component, I = Isŝ + Iz ẑ, or (in Cartesian coordinates)
I = (Is cos φʹ, Is sin φʹ, Iz)
Accordingly,
Apply Ampere’s law to a circle of radius s about the axis of the toroid: B2πs = µ0Ienc
Hence,
6
PH1000
Divergence & Curl of B IIITDM
The Biot-Savart law for the general case of a volume current:
This formula gives the magnetic field at a point r = (x, y, z) in terms of an integral
over the current distribution J(xʹ, yʹ, zʹ).
It is best to be absolutely explicit at this stage:
• B is a function of (x, y, z)
• J is a function of (xʹ, yʹ, zʹ)
• ԉ = (x – xʹ) x̂ + (y - yʹ) ŷ + (z - zʹ) ẑ̂
• dτʹ = dxʹdyʹdzʹ
The integration is over the primed coordinates.
The divergence and the curl of B are with respect to the unprimed coordinates.
7
PH1000
Divergence & Curl of B IIITDM
By applying the product rule,
∇. (A×B) = B. (∇×A)-A.(∇×B)
Thus,
8
PH1000
Divergence & Curl of B IIITDM
Problem: Calculate the curl of H in Cartesian coordinates due to a current filament
along the z-axis with current ‘I’ in the az direction.
Solution:
Maxwell’s equations and the force law constitute the most elegant formulation of
electrostatics and magnetostatics:
10
PH1000
Comparison of Magnetostatics & Electrostatics IIITDM
The electric field diverges away from a positive charge and the magnetic field line
curls around a current.
Electric field lines originate on positive charges and terminate on negative ones.
Magnetic field lines do not begin or end anywhere (nonzero divergence) and they
typically form closed loops or extend out to infinity.
There are no point sources for B, as there are for E; there exists no magnetic
analog to electric charge. This is the physical content of the statement ∇ · B = 0.
It was Ampere who first speculated that all magnetic effects are attributable to
electric charges in motion (currents).
B is divergenceless, and there are no magnetic monopoles.
11
PH1000
Magnetic vector potential Vector Potential IIITDM
Just as ∇ × E = 0 permitted us to introduce a scalar potential (V) in electrostatics:
The potential formulation automatically takes care of ∇·B=0 (since the divergence
of a curl is always zero) and then Ampere’s law:
To prove that this is always possible, suppose that our original potential, A0, is not
divergenceless.
If we add to it the gradient of λ (A = A0 + ∇λ), the new divergence is
12
PH1000
Magnetic vector potential IIITDM
We can accommodate , then, if a function λ can be found that satisfies
If, ∇ · A0 does not go to zero at infinity, we’ll have to use other means to discover
the appropriate λ.
But, the essential point remains: It is always possible to make the vector potential
divergenceless.
To put it the other way around, the definition B = ∇ × A specifies the curl of A, but
it doesn’t say anything about the divergence.
With this condition on A, Ampere’s law becomes
This again is nothing but Poisson’s equation.
13
PH1000
Magnetic vector potential IIITDM
Assuming J goes to zero at infinity, we can read off the solution
If the current does not go to zero at infinity, we have to find other ways to get A.
It must be said that A is not as useful as V and it’s still a vector.
If we could get away with a scalar potential:
• But this is incompatible with Ampere’s law, since the curl of a gradient is always
zero.
• Since magnetic forces do not work, A does not admit a simple physical
interpretation in terms of potential energy per unit charge.
• This vector potential has substantial theoretical importance.
14
PH1000
Magnetization Magnetic Materials IIITDM
Origin of magnetism:
Magnetic moments arise from “electron motions” and the “spins” on electrons.
15
PH1000
Magnetization IIITDM
In the presence of a magnetic field, matter becomes magnetized.
Specifically, upon microscopic examination, it will be found to contain many tiny
dipoles with a net alignment along some direction.
There are two mechanisms that account for this magnetic polarization:
1. Paramagnetism: The dipoles associated with the spins of unpaired electrons
experience a torque tending to line them up parallel to the field.
2. Diamagnetism: The orbital speed of the electrons is altered in such a way as to
change the orbital dipole moment in a direction opposite to the field.
• You may have a question that materials other than the famous ferromagnetic
(iron, nickel, and cobalt) are affected by a magnetic field?
Of course, you can not pick up a piece of wood or aluminum with a magnet.
The reason is that diamagnetism and paramagnetism are extremely weak:
It takes a delicate experiment and a powerful magnet to detect them at all.
Y: Paramagnetic
substance
If you suspend a piece of paramagnetic material
above a solenoid, the induced magnetization would
be upward, and hence the force downward.
18
PH1000
Bound Currents IIITDM
But, as in the electrical case, the integral can be direct in a more illuminating form
by exploiting the identity:
With this,
Integrating by parts:
The second part of the above eqn. can be converting it to surface integral:
The first term looks just like the potential of a volume current:
19
PH1000
Bound Currents IIITDM
Where n̂ is the normal unit vector, then:
• This means is that the potential (field) of a magnetized object is the same as would
be produced by a volume current Jb = ∇ × M throughout the material,
and a surface current Kb = M × n̂, on the boundary.
We first determine the bound currents, and then find the field they produce.
Similarly, we would calculate the field of any other volume and surface currents.
Notice the striking parallel with the electrical case:
There the field of a polarized object was the same as that of
A bound volume charge ρb = -∇ · P
And a bound surface charge σb = P · n̂
20
PH1000
Bound Currents IIITDM
While the field outside is the same as that of a perfect dipole: m = 4/3 πR3M
Notice that the internal field is uniform, like the electric field inside a uniformly
polarized sphere.
21
PH1000
Bound Currents IIITDM
Problem: A current ‘I’ flows down a long straight wire of radius ‘a’. If the wire is made
of linear material with susceptibility, and the current is distributed uniformly. Find all
the bound currents. What is the net bound current flowing down the wire?
Solution:
22
PH1000
Magnetic Flux IIITDM
Problem: A cube of edge ‘2b’ is centered at the origin. A very long, straight wire
located along the z-axis carries a current ‘I’ in the z-direction. Find the flux passing
through the surface at x = b.
Solution: B.ds
I
B 0
a ; ds dydzax ; P x2 y2
2 P
0I
B.ds dydza .ax
2 P
y
a .ax sin
x2 y 2
I 0 y
B.ds dydz , where, x b
2 P x 2
y 2
0 I y
dydz
2 b2 y2
0 I b y b
Then, 2 2
dy dz
2 b b y b
1 I b 2y Ib b
2b 0
dy 0
ln b 2 y2 0
2 2 b b2 y2 2 b
23
PH1000
Magnetic Flux IIITDM
Problem: Find the flux crossing the portion of the plane φ = π/4 defined by 0.01 < r <
0.05 m and 0 < z < 2 m (figure). A current filament of 2.50 A along the z-axis is in the
az direction.
Solution:
24
PH1000
Energy in Magnetic Fields IIITDM
• The work done on a unit charge, against the back emf, in one trip around the
circuit is -ε (the minus sign records the fact that this is the work done against the emf).
• The amount of charge per unit time passing down the wire is I.
• Hence, the total work done per unit time is dW/dt = -εI = LI dI/dt
If we start with zero current and build it up to a final value I, the work done
(integrating the above equation over time) is W = (1/2)LI2 W = (1/2)CV2
It does not depend on how long we take to create the current, only on the
geometry of the loop (in the form of L) and the final current I.
There is an easy way to write W, which has the advantage that it is readily
generalized to surface and volume currents.
Remember that the flux φ through the loop is equal to LI → Φ=LI
On the other hand,
Where, the line integral is around the perimeter of the loop. Thus
In view of this result, we say the energy is “stored in the magnetic field”, in the
amount (B2/2µ0) per unit volume.
• The point is that producing a magnetic field, requires changing the field, and a
changing B-field, according to Faraday, induces an electric field.
• In the beginning, there is no E, and at the end there is no E; but in between, while
B is building up, there is an E, and it is against this that the work is done.
27
PH1000
Energy in Magnetic Fields IIITDM
Problem: A long coaxial cable carries current ‘I’ (the current flows down the surface
of the inner cylinder, radius ‘a’, and back along the outer cylinder, radius ‘b’). Find the
magnetic energy stored in a section of length l.
Solution:
28
PH1000
Energy in Magnetic Fields IIITDM
Integrating from a to b, we have:
This suggests a very simple way to calculate the self-inductance of the cable.
The energy can also be written as (1/2) LI2.
Comparing the two expressions,
29
PH1000
Magnetic Inductance IIITDM
Problem: Find the inductance of an ideal solenoid with 300 turns, ℓ =0.50 m, and a
circular cross section of radius 0.02 m.
Solution:
The turns per unit length is n= 300/0.50 = 600,
so that the axial field is
Then
30
PH1000
Work & Power in Magnetic fields IIITDM
Problem: Find the work and power required to move the conductor shown in Figure,
one full revolution in the direction shown in 0.02 s, if B= 2.50×10-3ar T and the
current is 45.0 A. Force law: F = Q [E + (v × B)]
Solution: F = iL × Bext
Then,
The negative sign means that work is done by the magnetic field in
moving the conductor in the direction shown.
31
PH1000
Magnetic dipole IIITDM
A magnetic dipole is a magnetic north pole and a magnetic south pole separated
by a small distance.
It is the limit of either a closed loop of electric current or a pair of poles as the
size of the source is reduced to zero (at constant magnetic moment).
It is a magnetic analogue of the electric dipole, but the analogy is not perfect.
The field is equivalent to that from a tiny bar magnet (a magnetic dipole).
We define the magnetic dipole moment to be equal to the product of the current
and loop area.
μ = iA p = Qd
Here, i is the current in the loop and
A is the loop area
The direction of the torque is to line up the dipole moment with the magnetic
field.
Since the magnetic dipole wants to array/assemble with the magnetic field, it
must have higher potential energy.
33
PH1000
Magnetic dipole Potential Energy IIITDM
To see this potential energy, let us calculate the work done by the magnetic field
when aligning the dipole.
Let θ be the angle between the magnetic dipole direction and the external field
direction:
τ=r×F
Now, the potential energy of the dipole is the negative of the work done by the
field:
34
PH1000
Magnetic dipole IIITDM
The zero-point of the potential energy is arbitrary, so let’s take it to be zero when
θ=90°.
Then
τ=μ×B
The positive sign arises because τ . dθ = τ dθ, τ and θ are oppositely aligned.
Thus,
Or, simply
If the μ and B parallel, lowest energy configuration can be obtained.
Work (energy) is required to re-align the magnetic dipole in an external B field.
The change in energy required to flip a dipole from one alignment to the other:
ΔU = 2Bμ
35
PH1000
Magnetic dipole IIITDM
Force on a Magnetic Dipole in a Non-uniform Field:
Two bar magnets stick/attract together when opposite poles are brought together
(N-S), and repel when the same poles are brought together (N-N, S-S).
The magnetic field of a small bar magnet is equivalent to a small current loop.
Hence, two magnets stacked end-to-end vertically are equivalent to two current
loops stacked.
The potential energy on one dipole from the magnetic field from the other is
36
PH1000
Magnetic dipole IIITDM
where, μ = iA is the
magnetic dipole moment of the loop
37
PH1000
Magnetic dipole IIITDM
Now, force is derived from the rate of change of the potential energy:
For example, the gravitational potential energy of a mass at a distance ‘z’ above
the surface of the Earth can be expressed by U = mgz.
Thus, the force is F = -mg ẑ
For the case of the stacked dipoles:
τ=μ×B
τ=r×F
39
PH1000
Magnetic Susceptibility & Permeability IIITDM
• In paramagnetic and diamagnetic materials, the magnetization is sustained by the
field, if B is removed, M disappears.
• In fact, for most substances the magnetization is proportional to the field,
provided the field is not too strong.
For notational consistency with the electrical case, we should express the
proportionality as follows:
40
PH1000
Magnetic Susceptibility & Permeability IIITDM
41
PH1000
Magnetic Susceptibility & Permeability IIITDM
Problem: An infinite solenoid (‘n’ turns per unit length, current ‘I’) is filled with linear
material of susceptibility χm. Find the magnetic field inside the solenoid.
44
PH1000
Boundary Conditions IIITDM
Therefore, the component of B that is parallel to the surface but perpendicular to
the current is discontinuous in the amount µ0K.
A similar Amperian loop running parallel to the current reveals that the parallel
component is continuous. These results can be summarized in a single formula
Like the scalar potential in electrostatics, the vector potential is continuous across
any boundary Aabove = Abelow
• For ∇ · A = 0 guarantee that the normal component is continuous.
• ∇ × A = B, in the form
It means that the tangential components are continuous (the flux through an
Amperian loop of vanishing thickness is zero).
But the derivative of A inherits the discontinuity of B
45
PH1000
Formulas Magnetostatics IIITDM
Lorentz force law for both electric and magnetic fields: F = Q [E + (v × B)]
The magnetic field of a steady line current is given by the Biot-Savart law:
1 I dl
dH
4
B =(µ0I/2πs)
Ampere’s law in differential form: ∇ × B = µ0J
Ampere’s law in integral form:
H dl I enc