Gauss’s Law – Examples

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 law in 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

\displaystyle \int\mathbf{E}\cdot d\mathbf{a}=\frac{1}{\epsilon_{0}}\int\rho(\mathbf{r})d^{3}\mathbf{r}
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 {R} and constant surface charge density {\sigma}. By taking a spherical Gaussian surface inside the shell, we see that {E=0} inside the shell, since there is no enclosed charge here. Outside the shell, we can take a spherical Gaussian surface with a radius {r>R}. Outside the shell {\mathbf{E}} is radially symmetric. The magnitude can be found by integrating {\mathbf{E}\cdot d\mathbf{a}} over the Gaussian surface:

\displaystyle 4\pi r^{2}E \displaystyle = \displaystyle \frac{q}{\epsilon_{0}}
\displaystyle \displaystyle = \displaystyle \frac{4\pi R^{2}\sigma}{\epsilon_{0}}
\displaystyle E \displaystyle = \displaystyle \frac{R^{2}\sigma}{\epsilon_{0}r^{2}}

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 {R} that has a uniform volume charge density {\rho}. For {r<R}

\displaystyle \int\mathbf{E}\cdot d\mathbf{a} \displaystyle = \displaystyle \frac{q}{\epsilon_{0}}
\displaystyle 4\pi r^{2}E \displaystyle = \displaystyle \frac{4\pi r^{3}\rho}{3\epsilon_{0}}
\displaystyle E \displaystyle = \displaystyle \frac{r\rho}{3\epsilon_{0}}

Outside the sphere, the sphere behaves as a point charge of magnitude {4\pi R^{3}\rho/3} so

\displaystyle E=\frac{R^{3}\rho}{3\epsilon_{0}r^{2}}

Example 3. For an infinitely long charged wire of linear charge density {\lambda} we can choose a cylindrical Gaussian surface of length {L} and radius {s} 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 {q=L\lambda} and the integral over the cylindrical surface gives

\displaystyle \int\mathbf{E}\cdot d\mathbf{a} \displaystyle = \displaystyle \frac{L\lambda}{\epsilon_{0}}
\displaystyle 2\pi sLE \displaystyle = \displaystyle \frac{L\lambda}{\epsilon_{0}}
\displaystyle E \displaystyle = \displaystyle \frac{\lambda}{2\pi s\epsilon_{0}}

Example 4. A sphere of radius {R} carries a volume charge density {\rho=kr} where {r} is the distance from the centre and {k} is a constant. Inside the sphere, the enclosed charge as a function of {r} is

\displaystyle q(r) \displaystyle = \displaystyle 4\pi\int_{0}^{r}(kr')(r'^{2})dr'
\displaystyle \displaystyle = \displaystyle \pi kr^{4}

Therefore, using Gauss’s law, we get

\displaystyle \int\mathbf{E}\cdot d\mathbf{a} \displaystyle = \displaystyle \frac{\pi kr^{4}}{\epsilon_{0}}
\displaystyle 4\pi r^{2}E \displaystyle = \displaystyle \frac{\pi kr^{4}}{\epsilon_{0}}
\displaystyle E \displaystyle = \displaystyle \frac{kr^{2}}{4\epsilon_{0}}

Outside the sphere, the enclosed charge is {\pi kR^{4}} so

\displaystyle E \displaystyle = \displaystyle \frac{\pi kR^{4}}{4\pi\epsilon_{0}r^{2}}
\displaystyle \displaystyle = \displaystyle \frac{kR^{4}}{4\epsilon_{0}r^{2}}

Example 5. A hollow spherical shell contains charge density {\rho=k/r^{2}} for {a\le r\le b}. In the region {r<a}, {E=0} since again there is no enclosed charge. In the region {a\le r\le b} we first calculate the enclosed charge.

\displaystyle q(r) \displaystyle = \displaystyle 4\pi\int_{a}^{r}\frac{k}{r'^{2}}(r'^{2})dr'
\displaystyle \displaystyle = \displaystyle 4\pi k(r-a)

Gauss’s law then says

\displaystyle \int\mathbf{E}\cdot d\mathbf{a} \displaystyle = \displaystyle \frac{q}{\epsilon_{0}}
\displaystyle 4\pi r^{2}E \displaystyle = \displaystyle \frac{4\pi k(r-a)}{\epsilon_{0}}
\displaystyle E \displaystyle = \displaystyle \frac{k(r-a)}{r^{2}\epsilon_{0}}

For {r>b} we get

\displaystyle E=\frac{k(b-a)}{r^{2}\epsilon_{0}}

Example 6. A coaxial cable has a cylindrical inner core of radius {a} with uniform volume charge density {\rho}, and an outer cylindrical shell of radius {b} 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 {\rho}, the linear charge density for that portion of the cylinder inside radius {s} is {\pi s^{2}\rho}, so the field is

\displaystyle E \displaystyle = \displaystyle \frac{\pi s^{2}\rho}{2\pi s\epsilon_{0}}
\displaystyle \displaystyle = \displaystyle \frac{s\rho}{2\epsilon_{0}}

Between the inner cylinder and the outer shell, the linear charge density is {\pi a^{2}\rho} so the field becomes

\displaystyle E \displaystyle = \displaystyle \frac{\pi a^{2}\rho}{2\pi s\epsilon_{0}}
\displaystyle \displaystyle = \displaystyle \frac{a^{2}\rho}{2s\epsilon_{0}}

Outside the outer shell, the total enclosed charge is zero since the cable is neutral, so {E=0}.

Example 7. An infinite plane slab has thickness {2d}, and carries a uniform volume charge density {\rho}. If the {y} axis is perpendicular to the plane and the plane {y=0} is the centre plane of the slab, we can choose a Gaussian surface that is a cylinder of radius {a} with axis perpendicular to the slab and thickness {2y}. The enclosed charge is {\pi a^{2}(2y)\rho}, and by symmetry {\mathbf{E}} points away from the slab on both sides and only contributes on the ends of the cylinder, so

\displaystyle \int\mathbf{E}\cdot d\mathbf{a} \displaystyle = \displaystyle \frac{q}{\epsilon_{0}}
\displaystyle E(2\pi a^{2}) \displaystyle = \displaystyle \frac{2\pi a^{2}\rho y}{\epsilon_{0}}
\displaystyle E \displaystyle = \displaystyle \frac{\rho y}{\epsilon_{0}}

Outside the slab

\displaystyle E=\frac{\rho d}{\epsilon_{0}}

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 {R}, one of which has volume charge density {+\rho} and the other of which has density {-\rho}. The vector from the centre of the positive sphere to the centre of the negative sphere is {\mathbf{d}}. 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 {\int\mathbf{E}\cdot d\mathbf{a}} 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)

\displaystyle \mathbf{E}_{r}=\frac{\rho}{3\epsilon_{0}}\mathbf{r}
where {\mathbf{r}} is the vector from the centre of the sphere to the point in question. Now suppose that {\mathbf{s}} is the vector from the centre of the negative sphere to the same point. Because the charge is negative, we get

\displaystyle \mathbf{E}_{s}=-\frac{\rho}{3\epsilon_{0}}\mathbf{s}
so the total field is, using superposition

\displaystyle \mathbf{E} \displaystyle = \displaystyle \mathbf{E}_{r}+\mathbf{E}_{s}
\displaystyle \displaystyle = \displaystyle \frac{\rho}{3\epsilon_{0}}(\mathbf{r}-\mathbf{s})
\displaystyle \displaystyle = \displaystyle \frac{\rho}{3\epsilon_{0}}\mathbf{d}

where {\mathbf{d}} 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.

About these ads
Post a comment or leave a trackback: Trackback URL.

Trackbacks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 382 other followers

%d bloggers like this: