Phys103-Electric_&_Magnetic_Fields

Electric Fields

Coulomb's Law

Coulomb found that the force was proportional to the product of the two charges, and inversely proportional to the square of the distance between them: \[|F|=k\frac{|q_1q_2|}{r^2}\] where \(k=\frac{1}{4\pi\epsilon_0}\)

Definition Of E-Fields

The electric field, \(\vec{E}\), (\(NC^{-1}\))at a point is defined as the electric force, \(\vec{F}_0\), experienced by a test charge \(q_0\) at that point, divided by the charge \(q_0\), when \(q_0\) approaches zero: \[\vec{E}=\lim_{q_0\to 0}\frac{\vec{F}_0}{q_0}=k\frac{q}{r^2}\hat{r}=k\frac{q}{r^3}\vec{r}\] A test charge is used, as it's effect on the field are negligible. If the electric field \(\vec{E}\) at a given point is known, the force acting on a charge \(q_0\) is given by: \[\vec{F}=q_0\vec{E}\] To combine E fields, or Forces, we use the vector sum: i.e. \(\vec{F}_{total}=\vec{F}_1 +\vec{F}_2+\vec{F}_3\)

Electric Flux

Electric flux is a measure of the “flow” of the electric field through a given surface. Consider a flat area \(A\) perpendicular to a uniform electric field. The electric flux (\(Nm^2C^{-1}\))\(\Phi_E\) is defined as: \[\Phi_E=EA\] When considering area vectors, the direction of the vector is outward and perpendicular to the closed surface. It is often appropriate to consider the area as a sum of elements, hence: \[d\Phi_E=\vec{E}\cdot d\vec{A}\implies\Phi_E=\iint d\Phi_E=\iint\vec{E}\cdot d\vec{A}\]

Single Point Charge

Let's compute the electric flux through a sphere of radius R, when the charge is in the centre of the sphere. \[ \Phi_E=E\iint dA=E(4\pi R^2)=\frac{1}{4\pi\epsilon_0}\frac{q}{R^2}(4\pi R^2)=\frac{q}{\epsilon_0} \] Therefore the electric flux is independent of the radius of the sphere!

Arbitrary Closed Surface

\[ \Phi_E=\oint E\cdot dA=\frac{q}{e} \] It is essential that the surface is closed. Total flux does not depend on the shape of the surface. Only the charge inside the surface matters!

Arbitrary Closed Surface Enclosing no Charge

\[ \Phi_E=\oint E\cdot dA=0 \] If a field line from an external charge enters the surface at one point, it must leave it at another. This means the flux is 0.

Gauss' Law

From the previous section it follows that: \[ \Phi_E=\oint \vec{E}\cdot d\vec{A} = \frac{Q_{encl}}{\epsilon_0} \] We can setup gaussian surfaces to calculate the flux through them to simplify calculations

Charge Density

The total charge of a symmetrical organised charged object is related to the charge density: \[ \rho=\frac{Q}{V}=\frac{Q}{4/3\pi R^3}\quad\Leftrightarrow\quad Q=\frac{4}{3}\pi R^3\rho \] and \[ \sigma=\frac{Q}{A} \] We can use this to calculate how the electric field varies within the object itself.

Electric Field Computation: Recipe

A recipe for determining the electric field \(E\):

  1. Define a Gaussian surface reflecting the symmetry of the problem
  2. Determine charge \(Q_{encl}\) or the charge density (and what dimensional form of density is appropriate, e.g. volume, length, surface).
  3. Split the Gaussian surface into regions of \(E\cdot dA=0\) (parallel) and \(E\cdot dA=\textrm{const}\). (perpendicular)
  4. Calculate (in sections if necessary): \(A_s=\iint_sdA_s\)
  5. Apply Gauss’s law: \(\Phi_E=\frac{Q_{encl}}{\epsilon_0}=\sum_sEA_S\)
  6. Solve for \(E\)

Common Examples

  1. Outside a uniformly charged sphere: \[E=\frac{Q}{4\pi\epsilon_0r^2}\]
  2. Inside a uniformly charged sphere: \[E=\frac{Q}{4\pi\epsilon_0R^3}r:\quad(R>r)\]
  3. Uniformly charged thin wire \[E=\frac{\lambda}{2\pi\epsilon_0r}:\quad(Q=\lambda l)\]
  4. Uniformly Charged sheet \[E=\frac{\sigma}{2\epsilon_0}:\quad(Q=\sigma A)\]
  5. Two Sheets \[\textrm{Within: }E=\frac{\sigma}{\epsilon_0},\quad\textrm{Outside: } E=0\]

Conductors


ConductorsEFields.png
This separation of charges produces an induced electric field. The electrons will move until the induced field, which they produce, compensates the external field. Therefore, in the electrostatic case (no current), the electric field inside any conductor must be exactly zero.

Charged Conductor

Consider a positively-charged conductor. Any charge inside the conductor creates an electric field. This field acts on the free electrons inside the conductor. The electrons will move in this field towards the positive charge. This process continues until the total field inside the conductor becomes zero. In that case, the excess charge must exist entirely on the surface. A cavity within a conductor will be shielded from external electric fields by the same principle as above.
ConductorCavity.png

Electric Potential

When charge \(q_0\) moves from point \(a\) to point \(b\), the work done is: \[ W_{a\to b}=\int^b_a\vec{F}\cdot d\vec{l}=\frac{1}{4\pi\epsilon_0}\int^b_a\frac{qq_0}{r^2}\cos\phi\;dl \]

Electric Potential Energy

\[ V=\frac{U}{q_0} \] Work \[ \frac{W}{q_0}=V_a-V_b\implies W=V_{ab}q_0 \] Potential Difference \[ V_{ab}=V_a-V_b \] Relationship Between Potential and Electric Field: \[ \vec{E}=-\nabla V \]

Capacitance

...is defined as: \[ C=\frac{Q}{V}=\frac{\epsilon_0A}{d} \] The energy stored in a capacitor is: \(U=\frac{Q^2}{2C}=\frac{1}{2}CV^2=\frac{1}{2}QV\) Remember \(V=Ed\). They follow the opposite relations of resistors in series and parallel.

Magnetic Fields

Magnetic Flux

\[ d\Phi_B=\vec{B}\cdot d\vec{A}=B\cos\phi\;dA \]

\[ \Phi_B=\iint \vec{B}\cdot d\vec{A}=\iint B\cos\phi\;dA \]

Gauss’ Law for Magnetic Fields

For a magnetic field, an isolated magnetic charge does not exist. Magnets always have two poles, therefore field lines will never have end points. Thus, Gauss' law for magnetic field is: \[ \Phi_B=\oint\vec{B}\cdot d\vec{A}=0 \] (For a closed surface)

Magnetic Force On Moving Charge

Any charge moving in a pure magnetic field experiences a force given by: \[ \vec{F}=q\vec{v}\times\vec{B} \] The total electromagnetic force, called the Lorentz force is thus: \[ \vec{F}=q(\vec{E}+\vec{v}\times\vec{B}) \] The significance of the vector cross product in the magnetic force equation is that the force is not aligned with the field, but perpendicular to it. \[ \vec{F}=|q|v|B|\sin\phi \] Notes on velocity selectors, mass spectrometers are better understood with the slides for L9.

Motion in both Fields


EB-Field-Gyration.png

Magnetic Force on a Current Carrying Conductor

\[ \vec{F}=q\vec{v}\times\vec{B}=qvB\sin\phi\;\vec{n} \]

\[ N=nAl \]

\[ \vec{F}=I\vec{l}\times\vec{B}=IlB\sin\phi \]

Magnetic Force on a Current Carrying Loop

The net force on a current carrying loop is 0, and the net torque on the loop is: \[ \tau=\mu B\sin\phi \]

Producing a Magnetic Field

Moving Charge

A moving charge produces a magnetic field: \[ \vec{B}=\frac{\mu_0}{4\pi}\frac{q\vec{v}\times\hat{r}}{r^2} \] where \(\hat{r}\) is the unit radial vector perpendicular to \(\vec{B}\) and \(r\) is the radial distance to the point at which the field is obtained. \(\mu_0=4\pi\times 10^{-7}\textrm{TmsC}^{-1}\) : Permeability of free space.
MovingChargeMagField.png
We can also write the field magnitude in terms of an angle \(\phi\) between the velocity vector \(\vec{v}\) and the direction \(\hat{r}\): \[ \vec{B}=\frac{\mu_0}{4\pi}\frac{|q|v\sin\phi}{r^2} \]

Current Carrying Wire & Biot-Savart Law

The magnetic field produced by a short segment of wire is: \[ \vec{dB}=\frac{\mu_0}{4\pi}\frac{I\vec{dl}\times\hat{r}}{r^2} \] This is the Biot-Savart Law. The magnetic field (magnitude) produced by a current in an infinite length line is: \[ \vec{B}=\frac{\mu_0 I}{2\pi r} \]

Ampere's Law

We can find the integral of magnetic field around a wire from the following. We will declare a infinitesimally small step around the field as \(dl\), (not the same as Biot-Savart law \(dl\)) \[ \oint \vec{B}\cdot d\vec{l}=\mu_0I_{encl} \]

Magnetic Field Computation: Recipe

A recipe for determining the magnetic field \(B\):

  1. Choose an integration path reflecting the symmetry of the problem.
  2. Determine current \(I_{encl}\) or the current density (and what dimensional form of density is appropriate, e.g. volume, length, surface)
  3. Split the path into regions of \(\vec{B}\cdot d\vec{l}=0\) (perp) and \(\vec{B}\cdot dl=const\) (parallel)
  4. Calculate (in sections if req.): \(L_c=\int_cd\vec{l}\)
  5. Apply Ampere's law: \(\oint\vec{B}\cdot dl=\sum_c\vec{B}L_c=\mu_0I_{encl}\)
  6. Solve for B

Examples

  1. Solenoid: \(\vec{B}=\mu_0I\frac{N}{L}\)
  2. Toroid: \(\vec{B}=\frac{\mu_0NI}{2\pi r}\)
  3. Current Sheet: \(\vec{B}=\frac{\mu_0J}{2}\)

Mobile Conductors

In general we should use vector notation in case the field and velocity are not perpendicular: \[ \epsilon=\int^a_b(\vec{v}\times\vec{B})\;d\vec{l} \] Note the similarity with what we learned about electric fields and potential difference: \[ V=\int^b_a\vec{E}\cdot d\vec{l} \] Consistent with the schematic on the right, this yields: \[ \vec{E}=-(\vec{v}\times\vec{B}) \] Interestingly, we find that if the conductor forms a closed loop: \[ \epsilon=\oint(\vec{v}\times\vec{B})\;d\vec{l} \]

EMF from changing B-Field

This is used in Phys134, for inductors. \[ \epsilon=-A\frac{d\vec{B}}{dt}=-\frac{d\Phi_B}{dt}=-\vec{B}\frac{dA}{dt} \] \[ \epsilon=-N\frac{d\Phi_B}{dt}=-N\vec{B}\frac{dA}{dt} \]

Displacement Current

Maxwell noted that the presence of a changing electric field inside a capacitor, for example, produces a changing magnetic field, such that Ampere’s Law must be modified. Inclusion of an ‘imaginary’ current, called the displacement current, accounts for the electric field producing a magnetic field just like a real current would: \[ \oint\vec{B}\cdot d\vec{l}=\mu_0I_{encl}+\mu_0I_{disp} \] The displacement current is defined to be: \[ I_{disp}=\epsilon_0\frac{d\Phi_E}{dt} \] such that \[ \oint\vec{B}\cdot d\vec{l}=\mu_0I_{encl}+\mu_0\epsilon_0\frac{d\Phi_E}{dt} \]

Maxwell's Equations

From the entirety of the summary note so far, we have the four Maxwell's Equations:

  1. Static electric charges produce an electric field. These two quantities are related by Gauss’s Law for electric fields
  2. No isolated magnetic ‘monopoles’ have been observed. Gauss’s Law for a magnetic field
  3. Motion of electric charges or a changing electric field induces a magnetic field. These two quantities are related by Ampere’s Law
  4. Varying magnetic fields induces an electric field. These two quantities are related by Faraday’s Law

\[\begin{align} (1)\quad&\Phi_E=\oint\vec{E}\cdot d\vec{A}=\frac{Q_{encl}}{\epsilon_0}\\ (2)\quad&\Phi_B=\oint\vec{B}\cdot d\vec{A}=0\\ (3)\quad&\oint\vec{B}\cdot d\vec{l}=\mu_0I_{encl}+\mu_0\epsilon_0\frac{d\Phi_E}{dt}\\ (4)\quad&\oint\vec{E}\cdot d\vec{l}=-\frac{d\Phi_B}{dt} \end{align}\]

Maxwells Equations in Derivative Form

Note: NOT ASSESSED After completing Phys115-Vector Calculus, it becomes apparent the usefulness of vector calculus in this module. Maxwell's equations can be rewritten in the following (easier to remember) form: \[\begin{align} &(1)\quad\nabla\cdot\vec{E}=\frac{\rho}{\epsilon_0}\\ &(2)\quad\nabla\cdot\vec{B}=0\\ &(3)\quad\nabla\times\vec{B}=\mu_0J+\mu_0\epsilon_0\frac{\partial\vec{E}}{\partial t}\\ &(4)\quad\nabla \times\vec{E}=-\frac{\partial\vec{B}}{\partial t}\\ \end{align}\] \(J\) is the current density, such that: \[ J=\frac{I}{A} \] where \(I\) is the current flowing through the cross sectional area \(A\).