<!DOCTYPE course SYSTEM "course.ent"> <!--*- Mode: SGML -*-->
<?xml-stylesheet href="course.css" ?>
<course xmlns="http://academia.hixie.ch/xmlns/courses"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns:math="http://www.w3.org/1998/Math/MathML"
        xmlns:course="http://academia.hixie.ch/xmlns/courses">
 <html:title>Electromagnetism</html:title>
 <section>
  <h>Objectives</h>
  <p>The goal of this course is to provide an understanding of the behaviour of em walves in real materials and in artificial structures (such as waveguides and antennae).</p>
  <p>Practically all applications of em thoery in the real world involve materials and structures.</p>
  <p>The course:</p>
  <ol>
   <li>Revision of vacuum theory.</li>
   <li>The effect of materials on electric fields (here we shall introduce the <v>D</v>-field).</li>
   <li>The effect of materials on magnetic fields (introducing the <v>H</v>-field).</li>
   <li>Rederive Maxwell's equations in presence of materials.</li>
   <li>Propagation of em waves in idealised and in real materials.</li>
   <li>Behaviour of em waves at interfaces (e.g. reflection).</li>
   <li>Propagation of em waves in man made structures (e.g. cables, waveguides).</li>
   <li>Transmission and reception of em waves (aerials).</li>
  </ol>
  <section>
   <h>Text book</h>
   <p>Elements of Electromagnetism
by M N O Sadiku
Oxford University Press</p>
  </section>
 </section>
 <section>
  <h>Revision</h>
  <pl>
   <i>
    <h>Electrostatics</h>
    <ul>
     <li>Electric Field <v>E</v></li>
     <li>Electrostatic Potential V</li>
     <li>Electric Dipole <v>p</v></li>
     <li>Electric flux and the Gauss theorem in electrostatics</li>
    </ul>
   </i>
   <i>
    <h>Current electricity</h>
    <ul>
     <li>Electromotive force (EMF)</li>
     <li>Current I</li>
     <li>Current density <v>J</v></li>
    </ul>
   </i>
   <i>
    <h>Magnetic effects</h>
    <ul>
     <li>Magnetic dipoles (<v>m</v>)</li>
     <li>The magnetic <v>B</v>-field</li>
     <li>Magnetic flux and the Gauss theorem in magnestatics</li>
     <li>Magnetic fields set up by electrical currents</li>
     <li>The Bi&ocirc;t-Savart law</li>
     <li>The Amp&egrave;re Law</li>
    </ul>
   </i>
   <i>
    <h>Electromagnetic induction</h>
    <ul>
     <li>The Faraday-Lenz law</li>
    </ul>
   </i>
   <i>
    <h>Time-dependent effects</h>
    <ul>
     <li>The displacement current</li>
     <li>Maxwell's equations</li>
     <li>The em wave equation (radio, light, ...)</li>
    </ul>
   </i>
   <i>
    <h>Vector operators in Mathematics</h>
    <table>
     <tr><td>grad</td><td>scalar field</td><td>&nabla;V</td></tr>
     <tr><td>div</td><td>vector field</td><td>&nabla;.<v>E</v></td></tr>
     <tr><td>curl</td><td>vector field</td><td>&nabla;&times;<v>E</v></td></tr>
     <tr><td>&nabla;<sup>2</sup></td><td>scalar</td><td>&nabla;<sup>2</sup>V</td></tr>
    </table>
   </i>
  </pl>
  <p>Throughout this section, we will be assuming that everything is in a vacuum.</p>
  <section>
   <h>Electric field <v>E</v></h>
   <f>
----o----> <v>E</v>
</f>
   <p>We define the <v>E</v>-field as the force on a unit charge at the point concerned.</p>
   <section>
    <h>Coulomb's Law</h>
    <f>
         r         q
o- - - - - - - - -o
Q                 X
</f>
    <p>Force on a charge q at X is <!--XXX-->(Qq)/(4&pi;&epsi;<sub>0</sub>r<sup>2</sup>).</p>
    <p>&epsi;<sub>0</sub> = permittivity of free space.</p>
    <p>Hence, the <v>E</v>-field at X due to Q is:</p>
    <math>E = <!--XXX-->(Q)/(4&pi;&epsi;<sub>0</sub>r<sup>2</sup>)</math>
   </section>
   <section>
    <h>Lines of <v>E</v> Fields</h>
    <p>The lines of an electric field <v>E</v> are given by:</p>
    <math>dy/dx = E<sub>y</sub>/E<sub>x</sub></math>
   </section>
  </section>
  <section>
   <h>Electrostatic Potential V</h>
   <p>The work done in moving test charge q in the presence of the charge Q from infinity to an arbitrary point is the <dfn>potential</dfn> V of this arbitary point.</p>
   <f>
A
 o         __ <v>F</v>
 |'..       /|
     :     / '
 |    ''. /
         o &lt;---- q
 |      / '.
r<sub>A</sub>     / ,->\   ,''.
 |    /  |   '..'  '.
     /   |           :
 |  /   d<v>l</v>            :  PATH
   /                   '..
 |/                       ''...
 o- - - - - - - - - - - - - - -'-o
Q              r<sub>B</sub>                 B
</f>
    <f>
           _
         <v>F</v> /|
          /
       q /)&theta;
        o----o
       /  d<v>l</v>
      /
     L <v>F</v><sub>ext</sub>
</f>
   <p><v>F</v><sub>ext</sub> is the force an external agent requires to hold charge q in position against force <v>F</v>.</p>
   <p>When q moves by d<v>l</v>, the work done by the external agent force <v>F</v><sub>ext</sub> is:</p>
   <math>dW<sub>ext</sub> = F<sub>ext</sub> &times; (-dl cos &theta;)</math>
   <p>But F<sub>ext</sub> = F = qE, so:</p>
   <math>dW<sub>ext</sub> = -q E dl cos &theta;</math>
   <math>dW<sub>ext</sub> = -q E<sub>l</sub> dl</math>
   <p>Hence, in qoing from A to B, the work done by the external agent is (by adding together the work done for each little bit d<v>l</v>):</p>
   <f>
         B
W<sub>ext</sub> = - &int; q E cos &theta; dl
         A

         B
     = - &int; q E dr
         A
</f>
   <p>But E = Q/(4&pi;&epsi;<sub>0</sub>r<sup>2</sup>), so:</p>
    <f>
         B qQ.dr
W<sub>ext</sub> = - &int; -----
         A 4&pi;&epsi;<sub>0</sub>r<sup>2</sup>

       [ qQ.dr ]B     qQ       qQ
     = [ ----- ]  = ------ - ------
       [ 4&pi;&epsi;<sub>0</sub>r<sup>2</sup>]A   4&pi;&epsi;<sub>0</sub>r<sub>B</sub>   4&pi;&epsi;<sub>0</sub>r<sub>A</sub>
</f>
   <p>...which is independent of the route taken (and is thus a conservative force).</p>
   <p>If q is a unit charge,</p>
    <f>
         Q        Q
W<sub>ext</sub> = ------ - ------
       4&pi;&epsi;<sub>0</sub>r<sub>B</sub>   4&pi;&epsi;<sub>0</sub>r<sub>A</sub>
</f>
   <p>...which we write as:</p>
    <f>
W<sub>ext</sub> = v<sub>B</sub> - v<sub>A</sub>
</f>
   <p>...where</p>
    <f>
         Q
V(r) = ------
       4&pi;&epsi;<sub>0</sub>r<sub>r</sub>
</f>
   <p>...which is the <dfn>potential</dfn> at the point concerned, and is the work required to bring a unit test charge (q=1) from &infin; (r<sub>A</sub>=&infin;) to the point concerned (r<sub>B</sub>).</p>
   <section>
    <h>The relation between <v>E</v> and V</h>
     <f>
 <sub>A->B</sub>    B          B
W<sub>ext</sub> = - &int; E<sub>l</sub>dl = - &int; <v>E</v>.d<v>l</v>
         A          A
</f>
     <p>for unit charge</p>
     <f>
          B
V<sub>B</sub>-V<sub>A</sub> = - &int; <v>E</v>.d<v>l</v>
          A
</f>
    <p>Suppose A and B coincide (close loop). Then,</p>
    <math>V<sub>B</sub> = V<sub>A</sub></math>
    <p>Hence,</p>
     <f>
&conint; <v>E</v>.d<v>l</v> = 0
closed
loop
</f>
    <p>This is only correct in electrostatics.</p>
    <p>From earlier:</p>
    <math>dW<sub>ext</sub> = -q E<sub>l</sub> dl</math>
    <p>If q=1, dW<sub>ext</sub> = dV</p>
    <p>Hence,</p>
    <math>dV = -E<sub>l</sub>dl</math>
    <p>i.e.</p>
    <f>
     -&part;V
E<sub>l</sub> =  --
      &part;l
</f>
    <eg>
     <f>
     -&part;V
E<sub>x</sub> =  --  etc.
      &part;x
</f>
    </eg>
    <p>Since <v>E</v> is a vector, we have</p>
    <math><v>E</v> = -grad(v) = -&nabla;V</math>
    <eg>
     <f>
        &part;V     &part;V     &part;V
<v>E</v> = - <v>i</v> -- - <v>j</v> -- - <v>k</v> --
        &part;x     &part;y     &part;z
</f>
    </eg>
   </section>
  </section>
  <section>
   <h>Electric Dipole <v>p</v></h>
   <p>Two point charges +q and -q separated by a distance a constitute a <dfn>dipole</dfn>.</p>
   <f>
      a
 o---------o
-q         +q
  -------->
      <v>p</v>
</f>
   <p>Usually we assume a is small.</p>
   <p>The dipole moment <v>p</v> has magnitude</p>
   <math>p = qa</math>
   <section>
    <h>Potential due to a dipole</h>
    <f>
        o X
       /
      /
     / r
    /
   /
  /) &theta;
 --->
</f>
    <p>The potential at X due to a dipole is given by:</p>
    <f>
    p cos &theta;
v = -------
     4&pi;&epsi;<sub>0</sub>r<sup>2</sup>
</f>
   </section>
   <section>
    <h>Derivation of the potential due to a dipole</h>
    <f>
          X
        ,o
   r<sub>-</sub> .'/:
    ,' / :r<sub>+</sub>
  ,' r/)&theta;:
 o---+---o
-q   a   +q
</f>
    <p>From this diagram one sees that:</p>
    <f>
      q        q
V = ------ - ------
    4&pi;&epsi;<sub>0</sub>r<sub>+</sub>   4&pi;&epsi;<sub>0</sub>r<sub>-</sub>

      q   ( r<sub>-</sub> - r<sub>+</sub> )
  = ----- ( ------- )
     4&pi;&epsi;<sub>0</sub> (   r<sub>+</sub>r<sub>-</sub>  )
</f>
    <p>But, if you drop a perpendiculous from +q to r<sub>-</sub>, and assume that r>>a, you can approximate that r<sub>-</sub> - r<sub>+</sub> &cong; a cos &theta; and r<sub>-</sub>r<sub>+</sub> &cong; r<sup>2</sup>, so:</p>
    <f>
    qa cos &theta;   p cos &theta;
V = -------- = -------
     4&pi;&epsi;<sub>0</sub>r<sup>2</sup>     4&pi;&epsi;<sub>0</sub>r<sup>2</sup>
</f>
   </section>
   <section>
    <h>The electric field caused by a dipole</h>
    <f>
                     .
                    /|\ E<sub>&theta;</sub>
                     |_
  \          r       | |
   \-----------------+------> E<sub>r</sub>
    \'&theta;              X
dipole
</f>
    <f>
                       -&part;V
Radial component: E<sub>r</sub> =  --
                        &part;r

                           -&part;V   -1 &part;V
Tangential component: E<sub>&theta;</sub> =  -- =  - --
                            &part;s    r &part;&theta;
</f>
    <p>...where ds = rd&theta; is a deplacement in the tangential direction.</p>
    <p>Hence:</p>
    <f>
     2p cos &theta;
E<sub>R</sub> = --------
      4&pi;&epsi;<sub>0</sub>r<sup>3</sup>

     p cos &theta;
E<sub>&theta;</sub> = -------
      4&pi;&epsi;<sub>0</sub>r<sup>3</sup>
</f>
    <p>To find the electric field <v>E</v>, we use geometry:</p>
    <f>
                     .    _
                 E<sub>&theta;</sub> /|\   ,| <v>E</v>
                     |  ,'
  \          r       |,')) &phi;
   \-----------------+------> E<sub>r</sub>
 <v>p</v>  \'&theta;              X
</f>
    <p>Hence:</p>
    <f>

E = (E<sub>r</sub><sup>2</sup> + E<sub>&theta;</sub><sup>2</sup>)<sup>&frac12;</sup>

      p
  = ----- ( 3 cos<sup>2</sup> &theta; + 1 )<sup>&frac12;</sup>
    4&pi;&epsi;<sub>0</sub>r<sup>3</sup>

        E<sub>&theta;</sub>
tan &phi; = -- = &frac12; tan &theta;
        E<sub>r</sub>
</f>
   </section>
   <section>
    <h>The electric field caused by a dipole</h>
    <f>
_____________________\
               +q    /
  <v>E</v>            o--->qE
              /|
____________ /_|_____\
            /  |     /
          a/   |a sin &alpha;
          /    |
________ /_____|_____\
        /     _|     /
     -q/)&alpha;   | |
qE&lt;---o--------+ 
_____________________\
                     /
</f>
    <p><dfn>Couple</dfn> (<dfn>Torque</dfn>) acting on a dipole is denoted by the greek letter &Gamma; and is:</p>
    <math>&Gamma; = (Eq)&times;(a sin &alpha;)
&Gamma; = pE sin &alpha;</math>
    <p>In vector notation:</p>
    <math><v>&Gamma;</v> = <v>p</v> &times; <v>E</v></math> 
   </section>
  </section>
  <section>
   <h>Electric flux and the Gauss theorem in electrostatics</h>
   <f>
          |    _
 normal-->| &alpha;  /| <v>E</v>
          |,^./
          |  /
       ___|_/
      /  r|/\
      \_____/&lt;-- arbitrary area dS
         /
        /
       /
</f>
   <p><dfn>Electric Flux</dfn> passing through dS is defined as:
(normal Component of E) &times; (area)
  = E<sub>n</sub> dS
  = E cos &alpha; dS
  = <v>E</v>.d<v>S</v>  (for small d<v>S</v> &mdash; <v>E</v> same throughout d<v>S</v>)</p>
   <p>For a large surface, the flux passing through a surface is:</p>
     <f>
&Int; E<sub>n</sub> dS <!--XXX - surface integral-->
 surface
</f>
   <p>...were E may be a function of the position on dS.</p>
   <p>For a closed surface we can show that:</p>
     <f>
          charged enclosed
&Conint; E<sub>n</sub> dS = ----------------
 whole           &epsi;<sub>0</sub>
 surface
</f>
   <p>i.e. Electrical Flux leaving a closed surface is equal to the charge enclosed divided by &epsi;<sub>0</sub></p>
   <p>This is the Gauss Theorem.</p>
   <section>
    <h>Charge density</h>
    <p><dfn>&rho;(v)</dfn> = charge per unit volume at the point concerned.</p>
    <f>
         _____ 
        (  ,. )
       C  []'  )
      (_      _)    ,.
        (_____)    []' = volume dv

</f>
    <p>Clearly, the charge enclosed is given by:</p>
     <f>
&tint; &rho;(v) dv
 volume
</f>
   </section>
   <section>
    <h>Gauss Theorem</h>
    <p>The Gauss Theorem becomes:</p>
     <f>
           1
&Conint; E<sub>n</sub> dS = --- &tint; &rho;(v) dv
 surface   &epsi;<sub>0</sub>  volume
</f>
   </section>
   <section>
    <h>Gauss Theorem in differential form</h>
    <p>The divergence div(<v>F</v>) of a vector quantity <v>F</v> is the scalar which represents the net flux per unit volume of <v>F</v> leaving a small volume.</p>
    <p>Let's consider the divergence of the electrical field <v>E</v>:</p>
    <f>
         ______________  ___ /| 
LHFACE  /'            /| /|\ : 
       / |           / |  | :
      /             /  |  |'
     /   |         /   |.'|dz
    +-------------+ ..'|  |
 .  |    |   ...''|'   |  |
  ''|'....'''     |    | \|/     \ non uniform
    |    + - - - -|- - + __...'''/ electric field <v>E</v>
    |             | ../'' /\
    |  /  ......''|' /   /
 ..'|'''''        | /   /dy
    |/            |/   /
    +-------------+  \/_    RHFACE
    &lt;------------->
    x            x+dx
</f>
    <p>Flux of <v>E</v> leaving LHFACE = -E<sub>x</sub> dydz (negative because leaving in -x direction)</p>
    <p>At RHFACE, the field is (E<sub>x</sub>+dE<sub>x</sub>), so the flux leaving RHFACE = (E<sub>x</sub>+dE<sub>x</sub>)dydz</p>
    <p>Adding these two expressions, we get the net flux leaving in x-direction:</p>
    <math>dE<sub>x</sub> dydz</math>
    <p>...where dE<sub>x</sub> is:</p>
    <f>
      &part;E<sub>x</sub>
dE<sub>x</sub> = -- dx
      &part;x
</f>
    <p>Substituting:</p>
    <f>
 &part;E<sub>x</sub>           &part;E<sub>x</sub>
 -- dxdydz = -- dv
 &part;x          &part;x
</f>
    <p>Similarly for other directions, giving:</p>
    <f>
  &part;E<sub>x</sub>  &part;E<sub>y</sub>  &part;E<sub>z</sub> 
( -- + -- + -- ) dv = Net flux leaving whole volume
  &part;x   &part;y   &part;z
</f>
    <p>The flux leaving per unit volume is that divided by dv, thus:</p>
    <f>
  &part;E<sub>x</sub>  &part;E<sub>y</sub>  &part;E<sub>z</sub> 
( -- + -- + -- ) = div <v>E</v>
  &part;x   &part;y   &part;z
</f>
    <p>...which can be written &nabla;.<v>E</v></p>
    <p>Now the net flux leaving is equivalent to the charge enclosed divided by &epsi;<sub>0</sub>:</p>
    <math>div <v>E</v> dv = &rho;(v) dv / &epsi;<sub>0</sub></math>
    <p>...giving:</p>
    <math>div <v>E</v> = &rho;/&epsi;<sub>0</sub></math>
   </section>
  </section>
  <section>
   <h>Electromotice Force (EMF)</h>
   <p>Consider a charged capacitor:</p>
   <f>
              E<sub>Q</sub>
          B|- &lt;- +|A
           |- &lt;- +|
           |- &lt;- +|
 +---------|- &lt;- +|---------+
 :         |- &lt;- +|         :
 :         |- &lt;- +|         :
 :         |- &lt;- +|         :
 :                          :
 :..........................: mathematical
                              circuit
</f>
   <p>Inside the capacitor there is an electric field E<sub>Q</sub> due to the charges.</p>
   <f>
          B
V<sub>B</sub>-V<sub>A</sub> = - &int; <v>E</v>.d<v>l</v> = E<sub>Q</sub> x
          A
</f>
     <f>
&int; <v>E</v>.d<v>l</v> = 0 <!--XXX - closed loop integral-->
closed
loop
</f>
   <p>(This is all electrostatics -- no moving charges.)</p>
   <p>Consider now an electrochemical cell.</p>
   <f>
                  |
                  |
                  |
                  |
          B|- &lt;- +|A
           |- &rarr;&rarr; +|                   Key:
           |- &lt;- +|          
 +---------|- &rarr;&rarr; +|---------+     &lt;- E<sub>Q</sub> due to charges
 :         |- &lt;- +|         :
 :         |- &rarr;&rarr; +|         :     &rarr;&rarr; Field set up by
 :         |- &lt;- +|         :        chemical interactions
 :            &uarr;   |         :
 :    Electrolyte |         :
 :                |         :
 :                          :
 :..........................: mathematical
                              circuit
</f>
   <p>Owing to chemical interactions, - charges are driven to A, and + charges are driven to B.</p>
   <p>This continues until the electric field E<sub>Q</sub> due to charge separation balances the field set up by the chemical interaction.</p>
   <p>Therei s then no net electric field inside the cell.</p>
   <p>The A terminal is at a higher potential than terminal B (as evidenced by the fact that current flows).</p>
   <p>The difference V<sub>A</sub> - V<sub>B</sub> is called the EMF &epsi; of the cell (on an open circuit).</p>
   <!-- XXX &epsi; is wrong - should be curly E -->
     <f>
B
&int; <v>E</v>.d<v>l</v> (via circuit) = V<sub>A</sub>-V<sub>B</sub> = &epsi;
A
</f>
     <p>But:</p>
     <f>
B
&int; <v>E</v>.d<v>l</v> (via cell) = 0
A
</f>
   <p>...because the two fields cancel each other inside the cell. Hence:</p>
     <f>
&int; <v>E</v>.d<v>l</v> = &epsi; + 0 = &epsi; <!--XXX - closed loop integral-->
whole
circuit
</f>
   <p>The general definition of the <dfn>EMF in a circuit</dfn> is therefore:</p>
     <f>
&epsi; = &int; <v>E</v>.d<v>l</v> <!--XXX - closed loop integral-->
    whole
    circuit
</f>
   <p>Note that the circuit could be fictional, this is just any mathematical closed path.</p>
  </section>
  <section>
   <h>Magnetism</h>
   <p>There are only magnetic dipoles &mdash; e.g. small permanent magnets, small coils of current carrying wire. &mdash; no magnetic monopoles. (At least, not in the macroscopic world.)</p>
   <p>For small coils carrying a circuit I the magnetic dipole moment is given by:</p>
   <math>m = I &times; area</math>
   <f>
         .
        /|\ <v>m</v>
       __|___
      /  | |\ I
      \_____/
         | &uarr;
         | area d<v>S</v>
</f>
   <math><v>m</v> = Id<v>S</v> (for small areas)</math>
  </section>
  <section>
   <h>The Magnetic B-field</h>
   <p>Direction is that in which a freely suspended dipole points (a compass). Magnitude is obtained by measuring the torque needed to hold the compass needle at &pi;/2 rads to the field.</p>
    <f>

_____________________\
          __         /
 <v>B</v>         /|
          / '
________ /___________\
      &alpha;(/            /
       /
      / 
_____________________\
                     /
</f>
   <math><v>&Gamma;</v> = <v>m</v> &times; <v>B</v></math>
   <p>If &alpha; = &pi;/2, &Gamma; = mB, &there4; B = &Gamma;/m (where m is the magnetic dipole magnitude).</p>
  </section>
  <section>
   <h>Magnetic Field set up by a Dipole</h>
    <f>
                     .
                    /|\ B<sub>&theta;</sub>
                     |_
  \          r       | |
   \-----------------+------> B<sub>r</sub>
    \'&theta;
     \
     _\|
       <v>m</v> 
(magnetic dipole)
</f>
    <p>In E-fields,</p>
    <f>
     2p cos &theta;
E<sub>R</sub> = --------
      4&pi;&epsi;<sub>0</sub>r<sup>3</sup>

     p cos &theta;
E<sub>&theta;</sub> = -------
      4&pi;&epsi;<sub>0</sub>r<sup>3</sup>
</f>
   <p>...and by analogy, the magnetic dipole case is similar:</p>
    <f>
     &mu;<sub>0</sub>   2m cos &theta;
B<sub>R</sub> = -- . --------
     4&pi;      r<sup>3</sup>

     &mu;<sub>0</sub>   m cos &theta;
B<sub>&theta;</sub> = -- . -------
     4&pi;      r<sup>3</sup>
</f>
    <p>&mu;<sub>0</sub> = permeability of free space.</p>
  </section>
  <section>
   <h>Magnetic Flux</h>
   <f>
          |    _
 normal-->| &alpha;  /| <v>B</v>
          |,^./
          |  /
       ___|_/
      /  r|/\
      \_____/&lt;-- arbitrary area dS
         /
        /
       /
</f>
   <p>Magnetic flux passing through d<v>S</v> is B<sub>n</sub>dS = B cos &alpha; dS = <v>B</v>.d<v>S</v></p>
  </section>
  <section>
   <h>Gauss Theorem in Magnetostatics</h>
   <p>Magnetic flux leaving a closed surface is zero.</p>
     <f>
&int;&int; <v>B</v>.d<v>S</v> = 0 <!--XXX - closed surface integral-->
 closed
 surface

&there4; div <v>B</v> = 0
</f>
  </section>
  <section>
   <h>Magnetic Fields set up by Current Carrying Circuits</h>
   <section>
    <h>Bi&ocirc;t-Savart Law</h>
    <f>
   (_           B
   |\ I        /    ,'
     \        /   ,'
      |     r/  ,'
     /      / ,'
     \__ &theta; /,'
        <em>\</em>^/'
     d<v>l</v> ,<em>\</em> 
      ,'_/
    ,' /
  ,'   \__
          \
          (_
</f>
    <p>What is the field d<v>B</v> at the point marked B due to d<v>l</v>.</p>
    <p>We find that:</p>
    <f>
     &mu;<sub>0</sub>   I dl sin &theta;
dB = -- . ----------
     4&pi;       r<sup>2</sup>
</f>
    <p>...and it is into the diagram at the point B, so:</p>
    <f>
     &mu;<sub>0</sub>   I d<v>l</v> &times; <v>r</v>
d<v>B</v> = -- . --------
     4&pi;      r<sup>3</sup>
</f>
    <p>We can integrate this law to give:</p>
    <pl>
     <i>
      <h>Field due to a long straight wire</h>
      <f>
           |
          /|\ I
           |
           |
           |
      ...''|''...
   .''     |     ''.
  :        |-.  h   :
 :         +-+-------x
  :        |      __:
   '..     |     ../ B
      '''.....'''
           |
           |
           |
</f>
    <f>
    &mu;<sub>0</sub> I
<v>B</v> = ---
    2&pi;h
</f>
     </i>
     <i>
      <h>Field at the centre of a circular coil.</h>
      <f>

                  
             ..'..
           .'     '.
          :         :
        /:\ I        :
   B    :             :
---&lt;----:------+-+----+---&lt;---
        :      |_|    :
         :     |     :
          :    |a   :
           '.  |  .'
             ''|'' &uarr;
                   COIL
</f>
    <f>
    &mu;<sub>0</sub> I
<v>B</v> = ---
    2 a
</f>
     </i>
     <i>
      <h>Field inside a cylindrical coil.</h>
      <f> <!-- no comments please -->
         ,o8888888888888888888888888888888888888o.
       ,dP' `9b.   `9b.   `9b.   `9b.   `9b.   `9b.
      ,8'     `8.    `8.    `8.    `8.    `8.    `8.
      8'       `8.    `8.    `8.    `8.    `8.    `8.
     oP         'o     'o     'o     'o     'o     'o
  B  8           8      8.     8.     8.     8.     8
--&lt;--O]------ - -O]    /O]\   /O]\   /O]\   /O]\    O]
     8.          8    / 8 |' / 8 |' / 8 |' / 8 |'   8
     `o         ,P     ,P     ,P     ,P     ,P     ,P
      8.       ,8     ,8     ,8     ,8     ,8     ,8
      `8.     ,8'    ,8'    ,8'    ,8'    ,8'    ,8'
       `9b. .dP'   .dP'   .dP'   .dP'   .dP'   .dP'
         `98888888888888888888888888888888888888P'
               &uarr;
               n turns per unit length       <!--

 Here is an empty cylinder if you ever have to do this again:
         ,o8888888888888888888888888888888888888o.
       ,dP' `9b.                               `9b.
      ,8'     `8.                                `8.
      8'       `8.                                `8.
     oP         'o                                 'o
     8           8                                 `8
     O           O                                  O
     8.          8                                  8
     `o         ,P                                 ,P
      8.       ,8                                 ,8
      `8.     ,8'                                ,8'
       `9b. .dP'                               ,dP'
         `98888888888888888888888888888888888888P'

-->
</f>
      <p>B = &mu;<sub>0</sub>nI inside (uniform and independent of radius).</p>
     </i>
    </pl>
   </section>
  </section>
  <section>
   <h>The Amp&egrave;re Circuital Law</h>
   <p>The line integral of B around a closed path is equal to &mu;<sub>0</sub> times the current enclosed.</p>
   <math>&int; <!-- XXX closed path --> <v>B</v>.d<sub>l</sub> = &mu;<sub>0</sub> &times; (current enclosed)</math>
   <p>This is still just for a vacuum.</p>
   <p>Current passing through area d<v>s</v> is:</p>
   <f>
dI = J<sub>n</sub> dS
  = J cos &alpha; dS
  = <v>J</v>.d<v>S</v>
</f>
   <f>
       |    _
normal&rarr;| &alpha;  /| <v>J</v>
       |,-./
   ,---|--/-.
  /   _|_/_  \
 /   / |/ /   \
(   /____/&larr;d<v>S</v>  )
 \            /
  `--->------'
     path
</f>
     <f>
&int; <v>B</v> . d<v>l</v> = &mu;<sub>0</sub> &int;&int; <v>J</v> . d<v>S</v> <!-- XXX - closed path integral and double integral-->
line          surface
integral      integral
around
path
</f>
   <eg>
    <h>Field due to a long straight wire.</h>
      <f>
           |
          /|\ I
           |
           |
           |
      ...''|''...
   .''     |     ''.
  :        |-.  h   :
 :         +-+-------x
  :        |      __:
   '..     |     ../ B
      '''.....'''
           |
           |
           |
</f>
    <p>The lines of B are circles, by symmetry. Around a circle of radius h, B is a constant. Therefore:</p>
     <f>
&int; <v>B</v> . d<v>l</v> = B &int; dl <!-- XXX - closed path integral -->
closed       closed

         = B 2&pi;h
</f> <!-- XXX MathMLise this: -->
    <p>But &int;<v>B</v>.d<v>l</v> - &mu;<sub>0</sub> &times; (current enclosed) = &mu;<sub>0</sub>I
&there4; B 2&pi;h = &mu;<sub>0</sub>I
and B = &mu;<sub>0</sub>I/(2&pi;h) as before.</p>    
   </eg>
   <eg>
    <h>Field inside a long solenoid.</h>
    <f>
             n turns per unit length
    ,o8888888888888888888888888888888888888o.
  ,dP' `9b.&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;&xodot;`9b.
 ,8'     `8.                                `8.
 8'       `8. -->-->-->-->-->-->-->-->-->--  `8.
oP         'o                                 'o
8           8   -->-->-->-->-->-->-->-->-->-- `8
O           O                                  O
8.          8   -->-->-->-->-->-->-->-->-->--  8
`o         ,P      1           2              ,P
 8.       ,8  -->- +-->-->-->--+ ->-->-->--  ,8
 `8.     ,8'       |           |            ,8'
  `9b. .dP'&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;|&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;|&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;&xotime;,dP'
    `98888888888888|88888888888|88888888888P'
                        |           |
                      4 +--&lt;--------+ 3
                              l    path
</f>
    <p>We perform the line integral in steps.</p>
    <f>
      2
1&rarr;2   &cwint; <v>B</v>.d<v>l</v> = Bl
      1

      3
2&rarr;3   &cwint; <v>B</v>.d<v>l</v> = 0 (<v>B</v> at right angles to d<v>l</v>)
      2

      4
3&rarr;4   &cwint; <v>B</v>.d<v>l</v> = 0 (<v>B</v> = <v>0</v> outside)
      3

      1
4&rarr;1   &cwint; <v>B</v>.d<v>l</v> = 0 (<v>B</v> at right angles to d<v>l</v>)
      4
</f>
    <p>Using the Amp&egrave;re theorem,</p>
    <f>
&cwconint; <v>B</v>.d<v>l</v> = Bl
</f>
   </eg>

<!-- EM21 -->
   <p>We perform the line integral in steps.</p>
   <math xmlns="http://www.w3.org/1998/Math/MathML">
    <mtable>
     <mtr>
      <mtd><mn>1</mn><mo>&rarr;</mo><mn>2</mn></mtd>
      <mtd>
       <msubsup><mo>&int;</mo><mn>1</mn><mn>2</mn></msubsup>
       <mi course:mitype="vector">B</mi><mo>.</mo><mrow><mo>&DifferentialD;</mo><mi course:mitype="vector">l</mi></mrow>
       <mo>=</mo>
       <mi>B</mi>
       <mo>&InvisibleTimes;</mo>
       <mi>l</mi>
      </mtd>
      <mtd/>
     </mtr>
     <mtr>
      <mtd><mn>2</mn><mo>&rarr;</mo><mn>3</mn></mtd>
      <mtd>
       <msubsup><mo>&int;</mo><mn>2</mn><mn>3</mn></msubsup>
       <mi course:mitype="vector">B</mi><mo>.</mo><mrow><mo>&DifferentialD;</mo><mi course:mitype="vector">l</mi></mrow>
       <mo>=</mo>
       <mn>0</mn>
      </mtd>
      <mtd><mi course:mitype="vector">B</mi> <mo>at</mo> <mfrac><mi>&pi;</mi><mn>2</mn></mfrac> <mo>to</mo> <mrow><mo>&DifferentialD;</mo><mi course:mitype="vector">l</mi></mrow></mtd>
     </mtr>
     <mtr>
      <mtd><mn>3</mn><mo>&rarr;</mo><mn>4</mn></mtd>
      <mtd>
       <msubsup><mo>&int;</mo><mn>3</mn><mn>4</mn></msubsup>
       <mi course:mitype="vector">B</mi><mo>.</mo><mrow><mo>&DifferentialD;</mo><mi course:mitype="vector">l</mi></mrow>
       <mo>=</mo>
       <mn>0</mn>
      </mtd>
      <mtd><mrow><mi course:mitype="vector">B</mi><mo>=</mo><mn>0</mn></mrow> <mtext>outside</mtext></mtd>
     </mtr>
    </mtable>
   </math>

<!-- end of page -->

  </section>
  <section>
   <h></h>
  </section>
  <section>
   <h></h>
  </section>
  <section>
   <h></h>
  </section>
  <section>
   <h></h>
  </section>
 </section>

<!-- EM 802 -->

 <section>
  <h>continued</h>
  <p>Thus, if we make
   <math xmlns="http://www.w3.org/1998/Math/MathML">
    <msub>
     <mi>Z</mi>
     <mi>s</mi>
    </msub>
    <mo>=</mo>
    <mfrac>
     <msubsup>
      <mi>Z</mi>
      <mi>0</mi>
      <mi>2</mi>
     </msubsup>
     <msub>
      <mi>Z</mi>
      <mi>1</mi>
     </msub>
    </mfrac>
   </math>, all power from the source enters the line.</p>



 </section>
<!-- end of page -->

 <section id="revision">
  <h>Revision</h>
  <section>
   <h>Relationships between <math
   xmlns="http://www.w3.org/1998/Math/MathML"><mi
   course:type="vector">B</mi></math>, <math
   xmlns="http://www.w3.org/1998/Math/MathML"><mi
   course:type="vector">H</mi></math>, <math
   xmlns="http://www.w3.org/1998/Math/MathML"><mi
   course:type="vector">E</mi></math>, <math
   xmlns="http://www.w3.org/1998/Math/MathML"><mi
   course:type="vector">D</mi></math></h>

   <p>We may approximate:
    <math xmlns="http://www.w3.org/1998/Math/MathML">
     <mi course:type="vector">B</mi>
     <mo>=</mo>
     <msub>
      <mi>&mu;</mi>
      <mi>r</mi>
     </msub>
     <mo>&InvisibleTimes;</mo>
     <msub>
      <mi>&mu;</mi>
      <mn>0</mn>
     </msub>
     <mo>&InvisibleTimes;</mo>
     <mi course:type="vector">H</mi>
    </math>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
     <mi course:type="vector">D</mi>
     <mo>=</mo>
     <msub>
      <mi>&epsi;</mi>
      <mi>r</mi>
     </msub>
     <mo>&InvisibleTimes;</mo>
     <msub>
      <mi>&epsi;</mi>
      <mn>0</mn>
     </msub>
     <mo>&InvisibleTimes;</mo>
     <mi course:type="vector">E</mi>
    </math>
    (linear approximation).</p>
   <p>Mnemonic: DeeDee.</p>
   <section>
    <h>Electric Dipole Moment Per Unit Volume</h>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
     <mi>p</mi>
     <mo>=</mo>
     <msub>
      <mi>&epsi;</mi>
      <mn>0</mn>
     </msub>
     <mo>&InvisibleTimes;</mo>
     <mi>&chi;</mi>
     <mo>&InvisibleTimes;</mo>
     <mi>E</mi>
    </math>
    <p>Mnemonic: p-e-chi-e. Pixie.</p>
   </section>
   <section>
    <h>Magnetic Dipole Moment Per Unit Volume</h>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
     <mi>M</mi>
     <mo>=</mo>
     <mi>&chi;</mi>
     <mo>&InvisibleTimes;</mo>
     <mi>H</mi>
    </math>
    <p>Mnemonic: mmm-chi-'h. Mickey.</p>
   </section>
  </section>
  <section>
   <h>Waves</h>
   <section>
    <h>Poynting Vector</h>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
     <mi course:type="vector">N</mi>
     <mo>=</mo>
     <mi course:type="vector">E</mi>
     <mo>&times;</mo>
     <mi course:type="vector">H</mi>
    </math>
    <p>Mnemonic: Neh.</p>
   </section>   
  </section>
  <section>
   <h>Wave In A Vacuum</h>
   <pl>
    <i>
     <h>Refractive Index</h>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mi>n</mi>
      <mo>=</mo>
      <msqrt>
       <msub>
        <mi>&epsi;</mi>
        <mi>r</mi>
       </msub>
       <msub>
        <mi>&mu;</mi>
        <mi>r</mi>
       </msub>
      </msqrt>
      <mo>=</mo>
      <mfrac bevelled="true">
       <mi>c</mi>
       <msub>
        <mi>v</mi>
        <mi>p</mi>
       </msub>
      </mfrac>
     </math>  
    </i>
    <i>
     <h>Phase Velocity</h>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <msub>
       <mi>v</mi>
       <mi>p</mi>
      </msub>
      <mo>=</mo>
      <mfrac>
       <mi>c</mi>
       <msqrt>
        <msub>
         <mi>&epsi;</mi>
         <mi>r</mi>
        </msub>
        <msub>
         <mi>&mu;</mi>
         <mi>r</mi>
        </msub>
       </msqrt>
      </mfrac>
      <mo>=</mo>
      <mfrac type="bevelled">
       <mi>&omega;</mi>
       <mi>k</mi>
      </mfrac>
      <mo>=</mo>
      <mi>f</mi>
      <mo>&InvisibleTimes;</mo>
      <mi>&lambda;</mi>
     </math>  
    </i>
    <i>
     <h>Power</h>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mi>Power Per Unit Area</mi>
      <mo>=</mo>
      <mfrac type="bevelled">
       <msup>
        <mfenced open="|" close="|">
         <mi course:mitype="vector">E</mi>
        </mfenced>
        <mn>2</mn>
       </msup>
       <mi>Z</mi>
      </mfrac>
     </math>  
    </i>
   </pl>
  </section>
  <section>
   <h>Wave In A Lossy Medium</h>
   <pl>
    <i>
     <h>Electromagnetic Wave</h>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mi>E</mi>
      <mo>=</mo>
      <msub>
       <mi>E</mi>
       <mn>0</mn>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <msup>
       <mi>e</mi>
       <mrow>
        <mi>i</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>&omega;</mi>
        <mo>&InvisibleTimes;</mo>
        <mrow>
         <mo>(</mo>
         <mi>t</mi>
         <mo>-</mo>
         <mfrac>
          <mrow>
           <mi>n</mi>
           <mo>&InvisibleTimes;</mo>
           <mi>x</mi>
          </mrow>
          <mi>c</mi>
         </mfrac>
         <mo>)</mo>
        </mrow>
       </mrow>
      </msup>
     </math>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mi>E</mi>
      <mo>=</mo>
      <msub>
       <mi>E</mi>
       <mn>0</mn>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <msup>
       <mi>e</mi>
       <mrow>
        <mi>i</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>&omega;</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>t</mi>
        <mo>-</mo>
        <mi>&alpha;</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>x</mi>
        <mo>-</mo>
        <mi>i</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>&beta;</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>x</mi>
       </mrow>
      </msup>
     </math>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mi>E</mi>
      <mo>=</mo>
      <msub>
       <mi>E</mi>
       <mn>0</mn>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <msup>
       <mi>e</mi>
       <mrow>
        <mi>i</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>&omega;</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>t</mi>
        <mo>-</mo>
        <mi>&gamma;</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>x</mi>
       </mrow>
      </msup>
     </math>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mi>E</mi>
      <mo>=</mo>
      <msub>
       <mi>E</mi>
       <mn>0</mn>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <munder>
       <msup>
        <mi>e</mi>
        <mrow>
         <mi>i</mi>
         <mo>&InvisibleTimes;</mo>
         <mo>(</mo>
         <mi>&omega;</mi>
         <mo>&InvisibleTimes;</mo>
         <mi>t</mi>
         <mo>-</mo>
         <mi>&beta;</mi>
         <mo>&InvisibleTimes;</mo>
         <mi>x</mi>
         <mo>)</mo>
        </mrow>
       </msup>
       <munder accentunder="true">
        <mo>&UnderBrace;</mo>
        <mtext>wave part</mtext>
       </munder>
      </munder>
      <mo>&InvisibleTimes;</mo>
      <munder>
       <msup>
        <mi>e</mi>
        <mrow>
         <mo>-</mo>
         <mi>&alpha;</mi>
         <mo>&InvisibleTimes;</mo>
         <mi>x</mi>
        </mrow>
       </msup>
       <munder accentunder="true">
        <mo>&UnderBrace;</mo>
        <mtext>decaying amplitude</mtext>
       </munder>
      </munder>
     </math>
    </i>
    <i>
     <h>Complex Refractive Index</h>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mi>&#x1E49;</mi>
      <mo>=</mo>
      <mi>n&prime;</mi>
      <mo>-</mo>
      <mi>i</mi>
      <mo>&InvisibleTimes;</mo>
      <mi>n&Prime;</mi>
     </math>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mfrac>
       <mrow>
        <mi>i</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>&omega;</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>&#x1E49;</mi>
       </mrow>
       <mi>c</mi>
      </mfrac>
      <mo>=</mo>
      <mi>&alpha;</mi>
      <mo>+</mo>
      <mi>i</mi>
      <mo>&InvisibleTimes;</mo>
      <mi>&beta;</mi>
     </math>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mi>&alpha;</mi>
      <mo>=</mo>
      <mfrac>
       <mrow>
        <mi>&omega;</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>n&Prime;</mi>
       </mrow>
       <mi>c</mi>
      </mfrac>
     </math>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mi>&beta;</mi>
      <mo>=</mo>
      <mfrac>
       <mrow>
        <mi>&omega;</mi>
        <mo>&InvisibleTimes;</mo>
        <mi>n&prime;</mi>
       </mrow>
       <mi>c</mi>
      </mfrac>
     </math>
     <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mfrac bevelled="true">
       <mi>&alpha;</mi>
       <mi>&beta;</mi>
      </mfrac>
      <mo>=</mo>
      <mfrac bevelled="true">
       <mi>n&Prime;</mi>
       <mi>n&prime;</mi>
      </mfrac>
     </math>
    </i>
   </pl>
  </section>
  <section>
   <h>Faraday Lenz Law</h>
   <p>The EMF is given by:</p>
   <math xmlns="http://www.w3.org/1998/Math/MathML">
    <mi>&epsi;</mi>
    <mo>=</mo>
    <mfrac>
     <mrow>
      <mo>-</mo>
      <mo>&part;</mo>
      <mi>&Phi;</mi>
     </mrow>
     <mrow>
      <mo>&part;</mo>
      <mi>t</mi>
     </mrow>
    </mfrac>
   </math>
   <p>where</p>
   <math xmlns="http://www.w3.org/1998/Math/MathML">
    <mrow>
     <mi>&Phi;</mi>
     <mo>=</mo>
     <mo>&Int;</mo>
     <mi course:type="vector">B</mi>
     <mo>.</mo>
     <mo>&DifferentialD;</mo>
     <mi>s</mi>
    </mrow>
   </math>
   <math xmlns="http://www.w3.org/1998/Math/MathML">
    <mi>&epsi;</mi>
    <mo>=</mo>
    <mfrac>
     <mrow>
      <mo>-</mo>
      <mo>&part;</mo>
      <mi>&Phi;</mi>
     </mrow>
     <mrow>
      <mo>&part;</mo>
      <mi>t</mi>
     </mrow>
    </mfrac>
   </math>
  </section>
 </section>
</course>