Electric Potential of a Continuous Charge Distribution

The potential of charge spread over a line, surface, or volume follows from the point-charge potential by slice and dice. Cut the source charge into pieces small enough to act as point charges. Each piece adds , where is its distance to the field point P. The total is

The zero is at infinity, carried over from the point-charge formula. The steps:

  • Draw the object, one typical piece , and the distance from it to P.
  • Write in terms of one variable, such as or .
  • Set the limits so that every piece of charge is counted once.
  • Integrate. No components, projection cosines, or symmetry cancellations are needed, because is a scalar.

This method is the one to use when Gauss’s law cannot give . Finding by slice and dice and then integrating again would take two integrals.

Standard results:

  • A ring has radius and charge . On its axis, at a distance from its center,
  • A straight rod has length and charge per length . On its perpendicular bisector, at a distance from its midpoint,
  • For a piece of a spherical shell of radius , take P at the sphere’s center. Every bit of the charge is then a distance away. So for a piece of any shape with charge . Let a uniform cover the polar angles from to , measured from the axis. That part is a cap around the axis, and

    The same cap has half-angle , measured from its own axis. In that angle the result reads .

The ring’s potential is known only on its axis. Off the axis the integral leads to elliptic integrals. These have no expression in powers, roots, logs, or trigonometric functions. 3.4.5. Electric Field from Electric Potential shows which field components this leaves within reach.

Intuition

Slice and dice works the same way for the potential as for the field, with one simplification. Each piece contributes a number. There is no direction to track, so nothing cancels by symmetry and no cosine factor appears. The integrals are often harder, though. For the rod, the field integral reduces to , while the potential integral reduces to .

A potential found this way is known only where it was computed. The ring formula holds on the axis and nowhere else.

The ring from the Easy example is cut into 8 pieces, and each piece adds the same at P. Then P moves along the axis, and the graph traces .

\usepackage{tikz}
\usetikzlibrary{animations}
\begin{document}
\makeatletter\@ifundefined{pgf@sys@id@count}{}{\global\pgf@sys@id@count=89000\relax}\@ifundefined{pgf@sys@svg@objectcount}{}{\global\pgf@sys@svg@objectcount=89000\relax}\makeatother
\definecolor{hot}{HTML}{D9483B}
\definecolor{grn}{HTML}{2F9E44}
\begin{tikzpicture}[font=\small, >=latex]
\path (-1.9,-2.45) rectangle (8.9,5.0);
\draw[hot,line width=1.2pt,densely dashed] (1.5,0)--(1.49,0.06)--(1.45,0.18)--(1.36,0.29)--(1.23,0.39)--(1.06,0.48)--(0.86,0.56)--(0.63,0.62)--(0.39,0.66)--(0,0.68)--(-0.39,0.66)--(-0.63,0.62)--(-0.86,0.56)--(-1.06,0.48)--(-1.23,0.39)--(-1.36,0.29)--(-1.41,0.23)--(-1.48,0.12)--(-1.5,0);
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29)}{\fill[hot] \p circle (0.13); \node[white] at \p {\tiny$+$};}
\draw[->] (0,-0.36)--(0,4.99) node[above] {$z$};
\fill (0,0) circle (0.04);
\draw (0,0)--(1.01,-0.5);
\draw[hot,line width=1.8pt] (-1.5,0)--(-1.48,-0.12)--(-1.41,-0.23)--(-1.36,-0.29)--(-1.23,-0.39)--(-1.06,-0.48)--(-0.86,-0.56)--(-0.63,-0.62)--(-0.39,-0.66)--(0,-0.68)--(0.39,-0.66)--(0.63,-0.62)--(0.86,-0.56)--(1.06,-0.48)--(1.23,-0.39)--(1.36,-0.29)--(1.45,-0.18)--(1.48,-0.12)--(1.5,0);
\foreach \p in {(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\fill[hot] \p circle (0.13); \node[white] at \p {\tiny$+$};}
\node[fill=white,inner sep=1pt] at (0.61,-0.5) {\small $a$};
\node[hot] at (1.48,-0.12) [below right=3pt] {$Q$};
\draw[->] (2.9,0)--(8.05,0) node[right] {$z$ (cm)};
\draw[->] (2.9,0)--(2.9,4.68) node[above] {$V$ (V)};
\draw (4.1,0.07)--(4.1,-0.07) node[below] {\scriptsize $4$};
\draw (5.3,0.07)--(5.3,-0.07) node[below] {\scriptsize $8$};
\draw (6.5,0.07)--(6.5,-0.07) node[below] {\scriptsize $12$};
\draw (7.7,0.07)--(7.7,-0.07) node[below] {\scriptsize $16$};
\draw (2.83,1.4)--(2.97,1.4) node[pos=0,left] {\scriptsize $500$};
\draw (2.83,2.8)--(2.97,2.8) node[pos=0,left] {\scriptsize $1000$};
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 14.2s = "true", 32.2s = "true", repeats}}}]
\filldraw[fill=grn,draw=black,thin] (6.33,0) rectangle (6.67,1.55);\foreach \y in {0.19,0.39,0.58,0.77,0.97,1.16,1.36}{\draw[thin] (6.33,\y)--(6.67,\y);}
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "true", 18.4s = "false", 32.2s = "false", repeats}}}]
\fill (0,3.21) circle (0.07); \node[right] at (0.05,3.33) {P}; \node[fill=white,inner sep=1pt] at (0.2,1.99) {\small $z$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 3.6s = "true", 6.6s = "false", 32.2s = "false", repeats}}}]
 \draw[grn,very thick] (1.41,0.23) circle (0.21); \draw[grn,very thick] (1.32,0.42)--(0,3.21); \node[grn,fill=white,inner sep=1pt,right] at (0.95,1.42) {\small $13\,\mathrm{cm}$}; \node[grn,fill=white,inner sep=1pt] at (1.83,-0.07) {\small $dq$}; \node[left] at (6.28,0.3) {\small $dV = 69\,\mathrm{V}$};\filldraw[fill=grn,draw=black,thin] (6.33,0) rectangle (6.67,0.19);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 6.6s = "true", 7.6s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.21);} \draw[grn,very thick] (0.63,0.62) circle (0.21); \draw[grn,very thick] (0.58,0.82)--(0,3.21); \node[grn,fill=white,inner sep=1pt,right] at (0.48,1.65) {\small $13\,\mathrm{cm}$}; \node[grn,fill=white,inner sep=1pt] at (1.05,0.32) {\small $dq$}; \node[left] at (6.28,0.39) {\small $2\,dV = 138\,\mathrm{V}$};\filldraw[fill=grn,draw=black,thin] (6.33,0) rectangle (6.67,0.39);\foreach \y in {0.19}{\draw[thin] (6.33,\y)--(6.67,\y);}
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 7.6s = "true", 8.6s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.21);} \draw[grn,very thick] (-0.51,0.64) circle (0.21); \draw[grn,very thick] (-0.47,0.85)--(0,3.21); \node[grn,fill=white,inner sep=1pt,left] at (-0.41,1.67) {\small $13\,\mathrm{cm}$}; \node[grn,fill=white,inner sep=1pt] at (-0.93,0.34) {\small $dq$}; \node[left] at (6.28,0.58) {\small $3\,dV = 207\,\mathrm{V}$};\filldraw[fill=grn,draw=black,thin] (6.33,0) rectangle (6.67,0.58);\foreach \y in {0.19,0.39}{\draw[thin] (6.33,\y)--(6.67,\y);}
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 8.6s = "true", 9.6s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.21);} \draw[grn,very thick] (-1.36,0.29) circle (0.21); \draw[grn,very thick] (-1.27,0.48)--(0,3.21); \node[grn,fill=white,inner sep=1pt,left] at (-0.92,1.46) {\small $13\,\mathrm{cm}$}; \node[grn,fill=white,inner sep=1pt] at (-1.78,-0.01) {\small $dq$}; \node[left] at (6.28,0.77) {\small $4\,dV = 277\,\mathrm{V}$};\filldraw[fill=grn,draw=black,thin] (6.33,0) rectangle (6.67,0.77);\foreach \y in {0.19,0.39,0.58}{\draw[thin] (6.33,\y)--(6.67,\y);}
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 9.6s = "true", 10.6s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.21);} \draw[grn,very thick] (-1.41,-0.23) circle (0.21); \draw[grn,very thick] (-1.33,-0.04)--(0,3.21); \node[grn,fill=white,inner sep=1pt,left] at (-0.95,1.14) {\small $13\,\mathrm{cm}$}; \node[grn,fill=white,inner sep=1pt] at (-1.83,-0.53) {\small $dq$}; \node[left] at (6.28,0.97) {\small $5\,dV = 346\,\mathrm{V}$};\filldraw[fill=grn,draw=black,thin] (6.33,0) rectangle (6.67,0.97);\foreach \y in {0.19,0.39,0.58,0.77}{\draw[thin] (6.33,\y)--(6.67,\y);}
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 10.6s = "true", 11.6s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.21);} \draw[grn,very thick] (-0.63,-0.62) circle (0.21); \draw[grn,very thick] (-0.6,-0.41)--(0,3.21); \node[grn,fill=white,inner sep=1pt,left] at (-0.48,0.91) {\small $13\,\mathrm{cm}$}; \node[grn,fill=white,inner sep=1pt] at (-1.05,-0.92) {\small $dq$}; \node[left] at (6.28,1.16) {\small $6\,dV = 415\,\mathrm{V}$};\filldraw[fill=grn,draw=black,thin] (6.33,0) rectangle (6.67,1.16);\foreach \y in {0.19,0.39,0.58,0.77,0.97}{\draw[thin] (6.33,\y)--(6.67,\y);}
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 11.6s = "true", 12.6s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.21);} \draw[grn,very thick] (0.51,-0.64) circle (0.21); \draw[grn,very thick] (0.49,-0.43)--(0,3.21); \node[grn,fill=white,inner sep=1pt,right] at (0.41,0.9) {\small $13\,\mathrm{cm}$}; \node[grn,fill=white,inner sep=1pt] at (0.93,-0.94) {\small $dq$}; \node[left] at (6.28,1.36) {\small $7\,dV = 484\,\mathrm{V}$};\filldraw[fill=grn,draw=black,thin] (6.33,0) rectangle (6.67,1.36);\foreach \y in {0.19,0.39,0.58,0.77,0.97,1.16}{\draw[thin] (6.33,\y)--(6.67,\y);}
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 12.6s = "true", 14.2s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.21);} \draw[grn,very thick] (1.36,-0.29) circle (0.21); \draw[grn,very thick] (1.28,-0.09)--(0,3.21); \node[grn,fill=white,inner sep=1pt,right] at (0.92,1.11) {\small $13\,\mathrm{cm}$}; \node[grn,fill=white,inner sep=1pt] at (1.78,-0.59) {\small $dq$}; \node[left] at (6.28,1.55) {\small $8\,dV = 553\,\mathrm{V}$};\filldraw[fill=grn,draw=black,thin] (6.33,0) rectangle (6.67,1.55);\foreach \y in {0.19,0.39,0.58,0.77,0.97,1.16,1.36}{\draw[thin] (6.33,\y)--(6.67,\y);}
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 14.2s = "true", 18.4s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.21);} \node[left] at (6.28,1.55) {\small $V = 553\,\mathrm{V}$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 14.2s = "true", 32.2s = "true", repeats}}}]
\node at (6.05,4.06) {$\displaystyle V = \frac{Q}{4\pi\varepsilon_0\sqrt{z^2 + a^2}}$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 18.4s = "true", 22s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,0);} \fill (0,0) circle (0.07); \node[right] at (0.05,0.14) {P}; \fill[grn] (2.9,4.03) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 22s = "true", 22.8s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,0.53);} \fill (0,0.53) circle (0.07); \node[right] at (0.05,0.67) {P}; \fill[grn] (3.5,3.74) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 22s = "true", 32.2s = "true", repeats}}}]
\draw[very thick] (2.9,4.03)--(3.02,4.01)--(3.14,3.98)--(3.26,3.92)--(3.38,3.84)--(3.5,3.74);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 22.8s = "true", 23.6s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,1.07);} \fill (0,1.07) circle (0.07); \node[right] at (0.05,1.21) {P}; \fill[grn] (4.1,3.14) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 22.8s = "true", 32.2s = "true", repeats}}}]
\draw[very thick] (3.5,3.74)--(3.74,3.51)--(4.1,3.14);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 23.6s = "true", 24.4s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,1.6);} \fill (0,1.6) circle (0.07); \node[right] at (0.05,1.74) {P}; \fill[grn] (4.7,2.58) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 23.6s = "true", 32.2s = "true", repeats}}}]
\draw[very thick] (4.1,3.14)--(4.46,2.79)--(4.7,2.58);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 24.4s = "true", 25.2s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,2.14);} \fill (0,2.14) circle (0.07); \node[right] at (0.05,2.28) {P}; \fill[grn] (5.3,2.13) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 24.4s = "true", 32.2s = "true", repeats}}}]
\draw[very thick] (4.7,2.58)--(4.94,2.39)--(5.3,2.13);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 25.2s = "true", 26s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,2.67);} \fill (0,2.67) circle (0.07); \node[right] at (0.05,2.81) {P}; \fill[grn] (5.9,1.8) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 25.2s = "true", 32.2s = "true", repeats}}}]
\draw[very thick] (5.3,2.13)--(5.54,1.99)--(5.9,1.8);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 26s = "true", 26.8s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.21);} \fill (0,3.21) circle (0.07); \node[right] at (0.05,3.35) {P}; \fill[grn] (6.5,1.55) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 26s = "true", 32.2s = "true", repeats}}}]
\draw[very thick] (5.9,1.8)--(6.14,1.69)--(6.5,1.55);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 26.8s = "true", 27.6s = "false", 32.2s = "false", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,3.74);} \fill (0,3.74) circle (0.07); \node[right] at (0.05,3.88) {P}; \fill[grn] (7.1,1.35) circle (0.08);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 26.8s = "true", 32.2s = "true", repeats}}}]
\draw[very thick] (6.5,1.55)--(7.1,1.35);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 27.6s = "true", 32.2s = "true", repeats}}}]
\foreach \p in {(1.41,0.23),(0.63,0.62),(-0.51,0.64),(-1.36,0.29),(-1.41,-0.23),(-0.63,-0.62),(0.51,-0.64),(1.36,-0.29)}{\draw[densely dotted,shorten <=1.3mm] \p--(0,4.28);} \fill (0,4.28) circle (0.07); \node[right] at (0.05,4.42) {P}; \fill[grn] (7.7,1.2) circle (0.08); \draw[very thick] (7.1,1.35)--(7.7,1.2);
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 18.4s = "true", 32.2s = "true", repeats}}}]
\node[anchor=south west] at (2.95,4.07) {\scriptsize $1440\,\mathrm{V}$};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "true", 3.6s = "false", 32.2s = "false", repeats}}}]
\node[anchor=north,align=center] at (3.4,-1.35) {A ring of radius $a = 5.0\,\mathrm{cm}$ holds $Q = 8.0\,\mathrm{nC}$.\\Point P sits on its axis at $z = 12\,\mathrm{cm}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 3.6s = "true", 6.6s = "false", 32.2s = "false", repeats}}}]
\node[anchor=north,align=center] at (3.4,-1.35) {Slice the ring into 8 pieces, each with $dq = 1.0\,\mathrm{nC}$.\\This piece is $\sqrt{z^2 + a^2} = 13\,\mathrm{cm}$ from P.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 6.6s = "true", 9.6s = "false", 32.2s = "false", repeats}}}]
\node[anchor=north,align=center] at (3.4,-1.35) {Every piece is $13\,\mathrm{cm}$ from P. So each adds the same\\$dV = \frac{dq}{4\pi\varepsilon_0\sqrt{z^2 + a^2}} = 69.15\,\mathrm{V}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 9.6s = "true", 14.2s = "false", 32.2s = "false", repeats}}}]
\node[anchor=north,align=center] at (3.4,-1.35) {Each $dV$ is a number with no direction.\\No components cancel, so all eight pieces add.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 14.2s = "true", 18.4s = "false", 32.2s = "false", repeats}}}]
\node[anchor=north,align=center] at (3.4,-1.35) {The total is $V = 8 \times 69.15\,\mathrm{V} = 553\,\mathrm{V}$.\\All the $dq$ add up to $Q$, so $V = \frac{Q}{4\pi\varepsilon_0\sqrt{z^2 + a^2}}$.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 18.4s = "true", 22s = "false", 32.2s = "false", repeats}}}]
\node[anchor=north,align=center] at (3.4,-1.35) {Now move P along the axis. At the center, every piece is $a = 5.0\,\mathrm{cm}$ away.\\So $V = 1440\,\mathrm{V}$, the largest value on the axis.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 22s = "true", 27.6s = "false", 32.2s = "false", repeats}}}]
\node[anchor=north,align=center] at (3.4,-1.35) {As P moves out, every piece gets farther away. So $V$ falls.};
\end{scope}
\begin{scope}[animate = {myself: = {:visible = {0s = "false", 27.6s = "true", 32.2s = "true", repeats}}}]
\node[anchor=north,align=center] at (3.4,-1.35) {This formula holds on the axis only.\\Off the axis, the pieces sit at different distances from P.};
\end{scope}
\end{tikzpicture}
\end{document}

Derivation

For the ring, every piece sits the same distance from P. The right triangle with legs and gives this distance. It comes outside the integral:

For the rod, put it on the -axis from to , and put P at . A piece at height has charge and sits from P:

Substitute , as for the infinite line. Then and . The factors of cancel:

Return to with the right triangle of legs and , which gives and . Evaluating from to ,

Multiply the top and bottom of the fraction by . The bottom becomes , and the fraction becomes a square. The log of a square is twice the log, which gives the form in the callout.

For the cap, slice the shell into rings centered on the -axis. A ring at polar angle has radius . Its center sits from the sphere’s center, along the axis. Every point of the ring is then a distance from the center. The ring’s width is , so its charge is

Adding the rings from to ,

At the cap is the whole sphere. Then , which equals with .

Properties

(Zero at Infinity From the Pieces) The integral sets with no separate choice, because every piece already uses that zero.

The building block has its zero at infinity. A sum of such terms has the same zero. Another reference point would mean adding a constant to every piece. The same fact makes the method fail for an infinite object. An infinite line carries infinite charge, and its integral diverges. For such objects the potential comes from the field, as in 3.4.3. Electric Potential from Electric Field.

(Near and Far Limits) Near a long rod its potential matches the infinite line’s, and far away it matches a point charge’s.

For , , so . That is the infinite-line potential with . As grows, moves out toward infinity, and at a fixed grows without limit. This is why the infinite line has no zero at infinity. For , the log becomes . Then , the potential of a point charge .

Examples

(Easy) Potential of a Ring

A ring of radius carries spread evenly.

(Easy) A Charged Hemisphere

A thin plastic bowl is half of a sphere of radius . It carries spread evenly. Point P is the center of the sphere, at the middle of the bowl’s rim.

(Medium) A Rod Seen From Its Bisector

A rod long carries . Point P lies on its perpendicular bisector, from its midpoint.

(Medium) Beyond the End of a Rod

This is the rod from the Medium example of 3.2.4. Electric Field of a Continuous Charge Distribution. It lies on the -axis from to and carries spread evenly. Point P sits on the axis at , with .

(Hard) A Charged Disk on Its Axis

A thin disk of radius carries spread evenly. Point P lies on its axis, from the center.

See Also