# Lecture 14 - Electrostatics Review

If you need a pdf version of these notes you can get it here

## Video of lecture

The video should play in any browser, but works best in anything that isn't Internet Explorer. If you are having trouble watching the video within the page you can download the video and play it in Quicktime.

## Electric field from charge

The field from a point charge is a vector $\vec{E}$ which has magnitude

$E=\frac{1}{4\pi\epsilon_{0}}\frac{Q}{r^{2}}$

and when $Q$ is positive points radially outwards from the charge.

You could write this as

$\vec{E}=E\hat{r}$

where $\hat{r}$ is a unit vector pointing away from the charge.

For a negative charge, Q is negative so the multiplication of the negative scalar with the outward $\hat{r}$ vector results in a field $\vec{E}$ that points inward towards the charge.

The field from an element of charge, which also points radially outwards from the charge element has magnitude

$dE=\frac{1}{4\pi\epsilon_{0}}\frac{dq}{r^{2}}$

If we want to find the field directly from a distribution of charge we can integrate over the charged distribution, but we have to be careful to do take in to account the vector nature of the field! In principle if we want to find the total field vector we need to integrate taking into account the direction. In a 3 dimensional coordinate system with no symmetry this would be 3 integrals, one for each vector in our coordinate system and each vector would contain some relationship to define the component of field that points from the charge we are looking at to the point where we want to know the field.

We will not do general problems like this because they are way too hard.

We only tackle problems where there is cancellation of components of the field from different parts of the charge distribution.

## Integration over a charge distrbution

Suppose we want to integrate over a distribution of charge. What does $\int dq$ really mean?

For a line of charge $\int dq = \int \lambda\,dx$
For a sheet of charge $\int dq = \int \sigma\,dA$
For volume of charge $\int dq =\int \rho\,dV$

Depending on the symmetry of the problem we might choose to integrate over Cartesian coordinates or polar coordinates, so for example,

for a rectangular sheet of charge $\int dq = \int \sigma\,dA=\int \int \sigma \,dx\,dy$
for a circular sheet of charge $\int dq = \int \sigma\,dA=\int \int \sigma r\,dr\,d\theta$

Typically we have considered (and will consider) situations where one of these integrals is already done, for example when considering a uniform disk we first did the integral over $\theta$ for a given radius (integral over a ring) and the integrated this result over the radius for a disk.

## What needs to go inside the integral?

Confusion often arises over what is constant and what needs to be integrated over. For the integral $E=\int dE=\frac{1}{4\pi\epsilon_{0}}\int\frac{dq}{r^{2}}$ the question we need to ask is, does the distance of the charge from the point where we want to know the field change as we move in the charge distribution? If so we need to express the distance $r$ from the charge in terms of the variable over which we are integrating (see the example for the line of charge). If not, $\frac{1}{r^{2}}$ can be moved outside the integral.

If the charge density is uniform with respect to the variable being integrated over, then it can be taken out of the integral, if not then it needs to be included in the integral.

For a line of charge $\int dq = \int \lambda\,dx$
For a sheet of charge $\int dq = \int \sigma\,dA$
For volume of charge $\int dq =\int \rho\,dV$

## Volume integrals in terms of shells

Often we come across integrals of spherical or cylindrical volumes (as these have easier symmetry than other volumes…)

In cases where $\rho$ is dependent either constant or only depends on r

For spherical volume the integral $\int\int\int\rho\,dV=\int\rho A dr=\int\rho 4\pi r^{2}dr$

For cylindrical volumes the integral $\int\int\int\rho\,dV=\int\rho A dr=\int\rho 2\pi r l dr$

## Volume integrals in terms of slices

When we have a volume with planar symmetry we instead can divide our volume in to slices of area A, so for a generic prism with area $A$ in which the charge density is uniform in the directions along $A$,

$\int\int\int\rho\,dV=\int\rho A dl$

## Gauss's Law

$\Phi_{E}=\oint\vec{E}.d\vec{A}=\frac{Q}{\varepsilon_{0}}$

Gauss's law will often give us a better way to evaluate the field for a distribution of charge, because on the right hand side we only need to evaluate the total amount of charge, we don't need to consider the direction or the distance of the field from the charge to the point at which we need to know the field.

The most important step is to choose an appropriate Gaussian surface which reflects the symmetry of the charge. We should remember that the Gaussian surface must be a closed surface, and so it may be composed of more than one surface. If possible we want to choose the surfaces so that the field on each surface is uniform and we don't have to actually any integration over the surface. It's important to remember that flux has a sign. It is positive when it is leaving the volume, and negative when entering (as the $\vec{A}$ always points out).

## Spherical symmetry

$\Phi_{E}=\oint\vec{E}.d\vec{A}=\frac{Q}{\varepsilon_{0}}$

If the field points out radially from the center of the sphere

$\oint\vec{E}.d\vec{A}=\oint E\,dA$

and if it is uniform over the surface

$\oint E\,dA=E \oint dA=E4\pi r^{2}$

As for the enclosed charge

$Q=\int\int\int\rho\,dV=\int\rho A dr=\int\rho 4\pi r^{2}dr$

## Cylindrical symmetry

$\Phi_{E}=\oint\vec{E}.d\vec{A}=\frac{Q}{\varepsilon_{0}}$

If we consider the line of charge to be infinitely long then the field points straight out from the line, so the flux through the end circular surfaces is zero and for the curved surface

$\oint\vec{E}.d\vec{A}=\oint E\,dA$

as the field is uniform over the surface

$\oint E\,dA=E \oint dA=E2\pi rl$

To find the enclosed charge

$Q=\int\int\int\rho\,dV=\int\rho A dr=\int\rho 2\pi r l dr$

## Planar symmetry

$\Phi_{E}=\oint\vec{E}.d\vec{A}=\frac{Q}{\varepsilon_{0}}$

If the plane is infinite then the flux through the curved surfaces is zero and we only need to be concerned about the flux through the flat prism surfaces of area $A$. The flux through those two faces will not always be the same, so in general if we define a field through the left face $E_{L}$ and the right face $E_{R}$

$\Phi_{E}=\oint\vec{E}.d\vec{A}=E_{L}A+E_{R}A$

$Q=\int\int\int\rho\,dV=\int\rho A dl$

or when there is sheet of charge $\sigma$

$Q=\int \sigma\,dA=\sigma A$

## Potential

We also need to be able to calculate the potential due to a charge distribution

$V_{b}-V_{a}=-\int_{r_{a}}^{r_{b}}\vec{E}.d\vec{l}$

$V=\frac{1}{4\pi\varepsilon_{0}}\int\frac{dq}{r}$

In general, use the first formula when Gauss's law easily gives the field, and the second formula where the distance $r$ is easily written in terms of the spatial variables that define $dq$ and the resulting integral is not too hard to do.

We can get the field from the potential from

$\vec{E}=-\hat{i}\frac{\partial V}{\partial x}-\hat{j}\frac{\partial V}{\partial y}-\hat{k}\frac{\partial V}{\partial z}$

phy142/lectures/14.txt · Last modified: 2012/03/02 20:54 by mdawber