This is an old revision of the document!
Example: Gauss' Law Application -- A Ball of Charge
Suppose you charge an insulating ball by conduction. You are very thorough with your charging and it seems like the ball is pretty much uniformly charged. It has a charge $Q$ and a radius $R$. What is the electric field at a distance $r$ from the center of the ball? Be sure to account for both cases $r<R$ and $r>R$. You may find Gauss' Law to be useful here. Repeat for the case when the ball is a conductor.
Facts
- The ball is either an insulator (part A), or a conductor (part B).
- The ball has total charge $Q$ and radius $R$.
Lacking
- $\Phi_e$ for the ball.
- The “Gaussian surface” we will use for our application of Gauss' Law.
- $\vec{E}(\vec{r})$
Approximations & Assumptions
- The ball is a perfect sphere.
- There are no other charges that affect our calculations.
- The ball is not discharging.
- The ball is uniformly charged throughout its volume.
- For the sake of representation, we assume $Q>0$ (we don't make this assumption for the calculation, it just helps to visualize little charges as little $+$ signs).
Representations
- We represent the electric flux through a surface with:
$$\Phi_e=\int\vec{E}\bullet \text{d}\vec{A}$$
- We represent Gauss' Law as:
$$\Phi_e=\frac{Q_{\text{enclosed}}}{\epsilon_0}$$
- We represent the situation with the following diagram. The insulating case (part A) is shown on the left, and the conductor (part B) is on the right.
Solution (Part A)
A step-by-step approach to using Gauss' Law is shown in the notes for a line of charge. We will take a similar approach here.
The ball is an insulator. We need to figure out the electric field at a given distance $r$ from the center of the sphere. Before we choose a Gaussian surface, we should consider the symmetry of the problem. Notice that we have spherical symmetry: this means that we can rotate the entire system about the center of the sphere, and the problem does not change at all. This is because the charge is uniformly distributed throughout the ball. We can reason from this that the electric field must be aligned in the radial direction (directly towards or away from the center). If the electric field were directed otherwise, it would change when we rotate about the sphere, and we would not have spherical symmetry! So we can write: $$\vec{E}(\vec{r})=E(r)\hat{r}$$ Note that $r$ here is same $r$ in the premise of the problem: the distance from the center of the sphere. At this point, it becomes a little more clear what type of Gaussian surface we are after. If we choose the Gaussian surface to be a spherical shell centered with the ball, then its area-vectors will be parallel to $\vec{E}$, and $E(r)$ will be constant on its surface, since the shell's radius does not change. We draw our Gaussian surface with dotted lines, as indicated below. We keep the radius as a variable $r$, and we include two drawings to reiterate that we could have $r<R$ or $r>R$. The next step after choosing our Gaussian surface is to write the flux through the surface. Based on our symmetry argument above, the calculation should simplify nicely. Notice below that the $\hat{r}$ unit vectors come the fact that both $\vec{E}$ and $\text{d}\vec{A}$ are aligned in the radial direction (directly towards or away from the center). \begin{align*} \Phi_{\text{total}} &= \int\vec{E}\bullet \text{d}\vec{A} \\ &= \int E(r)\hat{r}\bullet \text{d}A\hat{r} \\ &= \int E(r)\text{d}A \\ &= E(r)\int \text{d}A \\ &= E(r)A_{\text{spherical shell}} \\ &= E(r)\cdot 4\pi r \end{align*} Notice that the above result is the same for both $r<R$ and $r>R$. Next, we need to find the total charge enclosed by the Gaussian surface. Here, it is helpful to determine the charge density in our insulator. There is helpful section in the notes on determining charge density. Since our ball is uniformly charged throughout its volume, we just need to divide the total charge by the total volume. The volume charge density is then: $$\rho=\frac{Q_{\text{total}}}{V_{\text{total}}}=\frac{Q}{\frac{4}{3}\pi R^3}=\frac{3Q}{4\pi R^3}$$ The charge enclosed by the Gaussian surface, then, would relate to the charge density. For $r<R$, the surface does not enclose the entire ball, so we would just multiply the volume that the Gaussian surface encloses by the charge density to find the charge contained in the Gaussian surface. $$Q_{\text{enclosed}}(r<R)=\rho \cdot V_{\text{spherical shell}} = \frac{3Q}{4\pi R^3}\cdot \frac{4}{3}\pi r^3=\frac{Qr^3}{R^3}$$ For $r>R$, the Gaussian surface contains the entire ball, so the charge enclosed is just $Q$. Below, we show how it breaks down for both cases. \[ Q_{\text{enclosed}} = \begin{cases} \frac{Qr^3}{R^3} & r<R \\ Q & r>R \end{cases} \] We are now fully equipped to solve for the electric field. Remember that Gauss' Law states $\Phi_e=Q_{\text{enclosed}}/\epsilon_0$. For $r<R$: $$E(r) = \frac{\Phi_{\text{total}}}{4\pi r^2} = \frac{Q_{\text{enclosed}}}{4\pi\epsilon_0 r^2}=\frac{Qr}{4\pi\epsilon_0 R^3}$$ For $r>R$: $$E(r) = \frac{\Phi_{\text{total}}}{4\pi r^2} = \frac{Q_{\text{enclosed}}}{4\pi\epsilon_0 r^2}=\frac{Q}{4\pi\epsilon_0 r^2}$$ Together: \[ E(r) = \begin{cases} \frac{1}{4\pi\epsilon_0}\frac{Qr}{R^3} & r<R \\ \frac{1}{4\pi\epsilon_0}\frac{Q}{r^2} & r>R \end{cases} \] Outside the ball, the electric field exists as if the ball were a point charge!