**Required math: vectors, calculus**

**Required physics: electrostatics**

Reference: Griffiths, David J. (2007) Introduction to Electrodynamics, 3rd Edition; Prentice Hall – Problems 2.11 – 2.18.

Gauss’s lawin electrostatics relates the integral over a closed surface of the electric field to the integral over the enclosed volume of the charge density. That is

where it is important to note that the integral on the left is over the enclosing surface (often called the *Gaussian surface*), while that on the right is over the volume enclosed by that surface.

In certain rather specialized situations, Gauss’s law allows the electric field to be found quite simply, without having to do sometimes horrendous integrals. The situations rely on the geometry of the charge distribution having some kind of symmetry. Here we’ll give a few examples of how Gauss’s law can be used in this way.

**Example 1. **We have a spherical shell with radius and constant surface charge density . By taking a spherical Gaussian surface inside the shell, we see that inside the shell, since there is no enclosed charge here. Outside the shell, we can take a spherical Gaussian surface with a radius . Outside the shell is radially symmetric. The magnitude can be found by integrating over the Gaussian surface:

Thus outside the shell, the charge behaves as a point charge at the centre of the sphere.

**Example 2. **Now we take a sphere of radius that has a uniform volume charge density . For

Outside the sphere, the sphere behaves as a point charge of magnitude so

**Example 3. **For an infinitely long charged wire of linear charge density we can choose a cylindrical Gaussian surface of length and radius centred on the wire. By symmetry the field points radially away from the wire and the end caps contribute nothing. The enclosed charge is then and the integral over the cylindrical surface gives

**Example 4. **A sphere of radius carries a volume charge density where is the distance from the centre and is a constant. Inside the sphere, the enclosed charge as a function of is

Therefore, using Gauss’s law, we get

Outside the sphere, the enclosed charge is so

**Example 5. **A hollow spherical shell contains charge density for . In the region , since again there is no enclosed charge. In the region we first calculate the enclosed charge.

Gauss’s law then says

For we get

**Example 6. **A coaxial cable has a cylindrical inner core of radius with uniform volume charge density , and an outer cylindrical shell of radius with a surface charge density that is of opposite sign to the charge on the core. The surface charge density is such that the cable is electrically neutral. Inside the inner cylinder, we can use the result of example 3. The field will point radially outward from the cylinder’s axis. Since the volume charge density is , the linear charge density for that portion of the cylinder inside radius is , so the field is

Between the inner cylinder and the outer shell, the linear charge density is so the field becomes

Outside the outer shell, the total enclosed charge is zero since the cable is neutral, so .

**Example 7.** An infinite plane slab has thickness , and carries a uniform volume charge density . If the axis is perpendicular to the plane and the plane is the centre plane of the slab, we can choose a Gaussian surface that is a cylinder of radius with axis perpendicular to the slab and thickness . The enclosed charge is , and by symmetry points away from the slab on both sides and only contributes on the ends of the cylinder, so

Outside the slab

That is, the electric field is constant no matter how far from the slab we are.

**Example 8. **We have two spheres, each of radius , one of which has volume charge density and the other of which has density . The vector from the centre of the positive sphere to the centre of the negative sphere is . The two spheres have a region of overlap and we want the electric field within this region.

We might be tempted to say that since, in the region of overlap, any volume contains zero net charge (since the densities are equal and opposite), there is zero field within this region. However, the problem with this argument is that when working out the surface integral of the field, there is no obvious symmetry we can invoke. Thus although it is correct to say that any integral over a closed surface entirely within the region of overlap is zero, this doesn’t automatically translate to the field being zero as it did in earlier examples.

The problem does, however, have a simple solution. If we look back at example 2, we see that the electric field inside a uniformly positively charged sphere is (restoring the vector notation)

where is the vector from the centre of the sphere to the point in question. Now suppose that is the vector from the centre of the negative sphere to the same point. Because the charge is negative, we get

so the total field is, using superposition

where is the vector joining the two centres. Thus the field is constant in the region of overlap, although it is not zero.

This is a bit of a trick question, since it relies on the field being directly proportional to the radius vector. For other geometries, no such simple solution exists.

Pingback: Electric potential – examples « Physics tutorials

Pingback: Electrostatic boundary conditions – examples « Physics tutorials

Pingback: Work and energy – continuous charge « Physics tutorials

Pingback: Electrostatics – conductors « Physics tutorials

Pingback: Electric field & potential – more examples « Physics tutorials

Pingback: Potential of two charged wires « Physics tutorials

Pingback: Laplace’s equation – average values of solutions « Physics tutorials

Pingback: Polarizability of hydrogen « Physics tutorials

Pingback: Polarizability of hydrogen – quantum version « Physics tutorials

Pingback: Polarizability – linear charge distribution « Physics tutorials

Pingback: Field of a polarized object « Physics tutorials

Pingback: Ohm’s law, conductivity and resistivity | Physics pages

Pingback: Flat space next to an infinite plane of mass | Physics pages