Skip to content

Electrostatics

Ordinary matter contains positively charged nuclei and negatively charged electrons. Most nuclei also contain neutral neutrons. Charging everyday objects mainly involves moving electrons between them. A proton has charge +e+e, an electron has charge āˆ’e-e, and a neutron is neutral, where

e=1.602Ɨ10āˆ’19Ā C.e=1.602\times 10^{-19}\text{ C}.

This is the elementary charge. An object becomes negative by gaining electrons and positive by losing them. Charging redistributes charge; it does not create net charge. The total charge of an isolated system stays constant.

How that excess charge moves depends on the material:

  • Conductors have mobile charges that can redistribute through the material.
  • Insulators have charges that are locally bound, so charge does not freely flow through the object.
  • Semiconductors are between the two: they have some mobile charge carriers, but far fewer than a good conductor.

This difference matters when we charge an object. In conduction, objects make electrical contact and electrons move between them. Two connected conductors reach the same potential at equilibrium; they do not necessarily end up with equal charges. Identical, widely separated metal spheres are a useful special case: after contact and separation, each has half the original total charge.

In induction, a nearby charged object changes the charge distribution without touching the conductor. Bring a negative rod near an isolated neutral metal sphere: electrons move to the far side, leaving a positive region near the rod. The sphere is polarized, but its total charge is still zero.

To leave a net positive charge on the sphere, connect it to ground while the negative rod is nearby. Repelled electrons can then leave through the wire. Disconnect the ground first, then remove the rod. The remaining positive charge redistributes over the sphere. Removing the rod while the sphere is still grounded would let electrons return and undo the charging. A positive inducing rod reverses the charge signs and electron-flow direction.

Grounding connects the conductor to a large charge reservoir, usually Earth. Electrons flow in either direction until the conductor reaches Earth’s potential, which we choose as V=0V=0. Grounding fixes potential, not net charge: the nearby rod can leave the grounded sphere positively charged even while it is connected.

A negative rod repels electrons from a metal sphere through a wire to Earth, with arrows for electron flow and the ground symbol

Theorem (Coulomb’s Law). For point-like charges,

Fāƒ—=kq1q2r2r^,k=14πε0.\vec F = k\frac{q_1q_2}{r^2}\hat r, \qquad k=\frac{1}{4\pi\varepsilon_0}.

The force is repulsive for like charges and attractive for opposite charges.

Here r^\hat r points from source charge q1q_1 toward the charge q2q_2 experiencing the force. The signs of q1q2q_1q_2 then give the direction. Doubling the separation reduces the force to one quarter; the expression applies to stationary point charges in vacuum, or outside spherically symmetric charge distributions when their centers can be used as the source points.

For several charges, use superposition: each source contributes its own force, and the net force is their vector sum. If a charge qq sits at rāƒ—\vec r and source charges qiq_i sit at rāƒ—i\vec r_i,

Fāƒ—(rāƒ—)=kqāˆ‘iqirāƒ—āˆ’rāƒ—i∣rāƒ—āˆ’rāƒ—i∣3.\vec F(\vec r)=kq\sum_i q_i\frac{\vec r-\vec r_i}{\lvert\vec r-\vec r_i\rvert^3}.

For a continuous distribution, divide the source into small elements dqdq and replace the sum by an integral:

Fāƒ—(rāƒ—)=kq∫rāƒ—āˆ’rāƒ—ā€²āˆ£rāƒ—āˆ’rāƒ—ā€²āˆ£3 dq.\vec F(\vec r)=kq\int \frac{\vec r-\vec r'}{\lvert\vec r-\vec r'\rvert^3}\,dq.

The source coordinate rāƒ—ā€²\vec r' varies during integration; the observation point rāƒ—\vec r stays fixed. Resolve directions before integrating. Adding force magnitudes would miss cancellations.

The constant ε0\varepsilon_0, read ā€œepsilon naught,ā€ is the vacuum permittivity. It sets the strength of electric interactions in SI units:

ε0ā‰ˆ8.854Ɨ10āˆ’12Ā C2N m2=8.854Ɨ10āˆ’12Ā F/m,k=14πε0ā‰ˆ8.988Ɨ109Ā N m2C2.\varepsilon_0\approx8.854\times10^{-12}\ \frac{\mathrm C^2}{\mathrm{N\,m}^2} =8.854\times10^{-12}\ \mathrm{F/m}, \qquad k=\frac{1}{4\pi\varepsilon_0}\approx8.988\times10^9\ \frac{\mathrm{N\,m}^2}{\mathrm C^2}.

The factor 4Ļ€4\pi comes from the geometry of a sphere, which has area 4Ļ€r24\pi r^2. We will see it cancel when integrating a point charge’s field over a spherical surface in Gauss’s law.

In a uniform, linear, isotropic dielectric filling the region, we often use ε=εrε0\varepsilon=\varepsilon_r\varepsilon_0. Interfaces and nonuniform materials require more care because polarization adds bound charges; those effects are covered in the capacitor and dielectric notes.

Example. Two charges +Q+Q are fixed at (a,0)(a,0) and (āˆ’a,0)(-a,0). A charge āˆ’q-q, with q>0q>0, is at (0,b)(0,b), where b>0b>0. Find the net force on āˆ’q-q.

Both source charges attract it. Their horizontal forces cancel, and both vertical components point down. Each separation is d=a2+b2d=\sqrt{a^2+b^2}, so

Fy=āˆ’2(kQqd2)bd=āˆ’2kQqb(a2+b2)3/2,Fx=0.F_y=-2\left(\frac{kQq}{d^2}\right)\frac{b}{d} =-\frac{2kQqb}{(a^2+b^2)^{3/2}}, \qquad F_x=0.

For b≫ab\gg a this approaches āˆ’2kQq/b2-2kQq/b^2, the force of a single charge 2Q2Q at the origin.

An electric field assigns a vector to every point in space. That vector tells us the force a positive unit charge would experience there. The source charges establish the field whether or not we place a test charge at that point.

This separates the source configuration from the particle responding to it: calculate Eāƒ—\vec E once, then use Fāƒ—=qEāƒ—\vec F=q\vec E for any test charge. A negative charge feels a force opposite the field. The test charge must be small enough that it does not appreciably rearrange the sources.

The electric field is force per unit positive test charge:

Eāƒ—=Fāƒ—q0.\vec E=\frac{\vec F}{q_0}.

Since the electric field is a vector, it can be broken down into components:

Eāƒ—(x,y,z)=Ex(x,y,z)i^+Ey(x,y,z)j^+Ez(x,y,z)k^.\vec E(x,y,z)=E_x(x,y,z)\hat i+E_y(x,y,z)\hat j+E_z(x,y,z)\hat k.

In addition, by the superposition principle, for many source charges, add the individual fields:

Eāƒ—net=āˆ‘iEāƒ—i.\vec E_{\text{net}}=\sum_i \vec E_i.

For continuous charge distributions, we can replace the sum by an integral:

dE=kdqr2,dE=k\frac{dq}{r^2},

where

dq=λ dā„“,dq=Ļƒā€‰dA,dq=ρ dV.dq=\lambda\,d\ell,\qquad dq=\sigma\,dA,\qquad dq=\rho\,dV.

It is very important to choose useful coordinates (e.g. rectangular, polar, spherical, etc.), use symmetry to cancel components, project the remaining component, then integrate.

Example. Find the electric field of a uniformly charged disk with radius RR at a point xx above the center.

Charged disk of radius R, thin source ring of radius r and width dr, and observation point P a distance x along the disk axis

A uniformly charged disk can be built from thin rings. If the disk has surface charge density σ\sigma, then a ring of radius rr and thickness drdr has

dq=σ(2Ļ€r dr).dq=\sigma(2\pi r\,dr).

Using the on-axis field of a thin ring — a ring of charge dqdq at radius rr contributes an axial field k x dq/(x2+r2)3/2k\,x\,dq/(x^2+r^2)^{3/2} (this ring result is derived cheaply from the potential in the potential section below),

dEx=kx dq(x2+r2)3/2=kx(2Ļ€Ļƒr dr)(x2+r2)3/2.dE_x=k\frac{x\,dq}{(x^2+r^2)^{3/2}} =k\frac{x(2\pi\sigma r\,dr)}{(x^2+r^2)^{3/2}}.

Integrating from r=0r=0 to RR gives

Ex=2Ļ€kσ(1āˆ’xx2+R2)=σ2ε0(1āˆ’xx2+R2)E_x=2\pi k\sigma\left(1-\frac{x}{\sqrt{x^2+R^2}}\right) =\frac{\sigma}{2\varepsilon_0}\left(1-\frac{x}{\sqrt{x^2+R^2}}\right)

for x>0x>0.

Example. A solid hemisphere of radius RR occupies z≄0z\ge0 and has uniform volume charge density ρ\rho. Find the electric field at the origin, the center of its flat face, using disks and then a triple integral.

Rotational symmetry cancels the horizontal components. For ρ>0\rho>0 the field points down, away from the charge above the origin.

Method 1: stack thin disks. At height zz the disk radius is R2āˆ’z2\sqrt{R^2-z^2}, and a slice of thickness dzdz has effective surface charge density ρ dz\rho\,dz. Apply the disk result to a point a distance zz below that slice:

dEz=āˆ’Ļā€‰dz2ε0(1āˆ’zz2+(R2āˆ’z2))=āˆ’Ļ2ε0(1āˆ’zR)dz.dE_z=-\frac{\rho\,dz}{2\varepsilon_0} \left(1-\frac{z}{\sqrt{z^2+(R^2-z^2)}}\right) =-\frac{\rho}{2\varepsilon_0}\left(1-\frac{z}{R}\right)dz.

Then

Ez=āˆ’Ļ2ε0∫0R(1āˆ’zR)dz=āˆ’ĻR4ε0.E_z=-\frac{\rho}{2\varepsilon_0}\int_0^R\left(1-\frac{z}{R}\right)dz =-\frac{\rho R}{4\varepsilon_0}.

Method 2: spherical-coordinate triple integral. Let rr measure the source point’s distance from the origin and Īø\theta its angle from +z+z. The hemisphere has 0≤r≤R0\le r\le R, 0≤θ≤π/20\le\theta\le\pi/2, and 0≤ϕ≤2Ļ€0\le\phi\le2\pi. Since

dq=ρr2sin⁔θ dr dθ dĻ•,dq=\rho r^2\sin\theta\,dr\,d\theta\,d\phi,

the downward field component is dEz=āˆ’k dqcos⁔θ/r2dE_z=-k\,dq\cos\theta/r^2. Thus

Ez=āˆ’kρ∫0Rdr∫0Ļ€/2sin⁔θcos⁔θ dθ∫02Ļ€dĻ•=āˆ’kρR(12)(2Ļ€)=āˆ’ĻR4ε0.E_z=-k\rho \int_0^Rdr\int_0^{\pi/2}\sin\theta\cos\theta\,d\theta \int_0^{2\pi}d\phi =-k\rho R\left(\frac12\right)(2\pi) =-\frac{\rho R}{4\varepsilon_0}.

Both methods give

Eāƒ—=āˆ’ĻR4ε0z^.\vec E=-\frac{\rho R}{4\varepsilon_0}\hat z.

The apparent 1/r21/r^2 singularity cancels against the volume element, so the integral remains finite at the origin.


Field lines are a visual tool:

  • They begin on positive charge and end on negative charge.
  • They point in the direction of Eāƒ—\vec E.
  • Their density represents field strength.
  • They never cross, because the field at one point cannot have two directions.

Field lines are not the field itself. They are a way to visualize a vector field in space.

// note to self: add the hw problem about electric field lines (problem 6 of Ran, HW 1)

Electric flux measures how much electric field passes through a surface:

ΦE=∫Eāƒ—ā‹…dAāƒ—.\Phi_E=\int \vec E\cdot d\vec A.

The direction of dAāƒ—d\vec A is the local normal direction. For a closed surface, the outward normal is positive by convention.

For a uniform field through a flat area,

ΦE=EAcos⁔θ.\Phi_E=EA\cos\theta. Uniform electric field crossing a tilted surface, with area normal and angle theta between the field and normal

For an open surface, flux depends on its area and orientation. For a closed surface, count outward crossings positively and inward crossings negatively. An external charge can send field through the surface, but its entering and leaving contributions cancel. Gauss’s law makes this connection between net flux and enclosed charge exact:

Theorem (Gauss’s Law). The net electric flux through any closed surface equals the enclosed charge over ε0\varepsilon_0,

∮Eāƒ—ā‹…dAāƒ—=Qencε0.\oint \vec E\cdot d\vec A=\frac{Q_{\text{enc}}}{\varepsilon_0}.

Proof (Gauss’s law). First prove the result for one point charge qq. By Coulomb’s law, the electric field a distance rr from the charge is

Eāƒ—=kqr2r^=14πε0qr2r^.\vec E=k\frac{q}{r^2}\hat r =\frac{1}{4\pi\varepsilon_0}\frac{q}{r^2}\hat r.

For a tiny area element dAdA on any closed surface, only the component of Eāƒ—\vec E perpendicular to the surface contributes to flux:

dΦE=Eāƒ—ā‹…dAāƒ—=q4πε0cos⁔θ dAr2,d\Phi_E=\vec E\cdot d\vec A =\frac{q}{4\pi\varepsilon_0}\frac{\cos\theta\,dA}{r^2},

where Īø\theta is the angle between r^\hat r and the outward normal. The quantity

dĪ©=cos⁔θ dAr2d\Omega=\frac{\cos\theta\,dA}{r^2}

is the solid angle subtended by the area element as seen from the charge. Therefore

dΦE=q4πε0 dĪ©.d\Phi_E=\frac{q}{4\pi\varepsilon_0}\,d\Omega.

If the charge is inside the closed surface, the surface surrounds the charge once, so the total solid angle is 4Ļ€4\pi steradians (3D equivalent of radians). Hence

∮Eāƒ—ā‹…dAāƒ—=q4πε0∮dĪ©=q4πε0(4Ļ€)=qε0.\oint \vec E\cdot d\vec A =\frac{q}{4\pi\varepsilon_0}\oint d\Omega =\frac{q}{4\pi\varepsilon_0}(4\pi) =\frac{q}{\varepsilon_0}.

If the charge is outside the closed surface, field lines that enter the surface also leave it. Equivalently, the signed solid angles cancel, so the net flux is 00.

For many point charges, electric fields add by superposition:

Eāƒ—=āˆ‘iEāƒ—i.\vec E=\sum_i \vec E_i.

Flux is linear, so

∮Eāƒ—ā‹…dAāƒ—=āˆ‘i∮Eāƒ—iā‹…dAāƒ—.\oint \vec E\cdot d\vec A =\sum_i\oint \vec E_i\cdot d\vec A.

Each charge inside contributes qi/ε0q_i/\varepsilon_0, and each charge outside contributes 00. Thus

∮Eāƒ—ā‹…dAāƒ—=1ε0āˆ‘insideqi=Qencε0.\oint \vec E\cdot d\vec A =\frac{1}{\varepsilon_0}\sum_{\text{inside}}q_i =\frac{Q_{\text{enc}}}{\varepsilon_0}.

A continuous charge distribution is the same argument with the sum replaced by an integral over charge elements dqdq.

Example. A nonconducting sphere of radius RR has charge density ρ(r)=ρ0r/R\rho(r)=\rho_0r/R. Find its electric field inside and outside.

A concentric Gaussian sphere has constant radial field. For r<Rr<R, first integrate the charge actually enclosed:

Qenc(r)=4Ļ€āˆ«0rρ0r′Rr′2 dr′=πρ0r4R.Q_{\mathrm{enc}}(r)=4\pi\int_0^r\frac{\rho_0r'}{R}r'^2\,dr' =\frac{\pi\rho_0r^4}{R}.

Gauss’s law gives 4Ļ€r2Er=Qenc/ε04\pi r^2E_r=Q_{\mathrm{enc}}/\varepsilon_0, so

Er(r)={ρ0r2/(4ε0R),r<R,ρ0R3/(4ε0r2),r>R.E_r(r)= \begin{cases} \rho_0r^2/(4\varepsilon_0R),&r<R,\\ \rho_0R^3/(4\varepsilon_0r^2),&r>R. \end{cases}

The total charge is πρ0R3\pi\rho_0R^3. The two expressions agree at r=Rr=R, and the exterior field falls as 1/r21/r^2.

// note to self, make sure to every standard E is here

Often times, USAPhO problems rely on standard cases of Gauss’ Law (which you can try to derive yourself!).

For a thin spherical shell of radius RR and total charge QQ,

E(r)={0,r<R,kQ/r2,r>R.E(r)= \begin{cases} 0, & r<R,\\ kQ/r^2, & r>R. \end{cases}

This is the electrostatic version of Newton’s shell theorem.

For a uniformly charged solid sphere of radius RR and total charge QQ,

E(r)={kQr/R3,r<R,kQ/r2,r>R.E(r)= \begin{cases} kQr/R^3, & r<R,\\ kQ/r^2, & r>R. \end{cases}

For an infinite line of charge,

E=Ī»2πε0r.E=\frac{\lambda}{2\pi\varepsilon_0 r}.

For an infinite cylindrical shell with charge per unit length Ī»\lambda,

E={0,r<R,Ī»/(2πε0r),r>R.E= \begin{cases} 0, & r<R,\\ \lambda/(2\pi\varepsilon_0 r), & r>R. \end{cases}

For an infinite nonconducting plane sheet,

E=σ2ε0.E=\frac{\sigma}{2\varepsilon_0}.

The direction is perpendicular to the sheet, away from positive charge and toward negative charge.

Feel free to derive these yourself, although the procedures are pretty standard.

Two of these combine constantly. A pair of parallel, oppositely charged sheets ±σ\pm\sigma superpose to give a uniform field between them and (ideally) zero field outside:

Ebetween=σε0,Eoutside=0.E_{\text{between}}=\frac{\sigma}{\varepsilon_0},\qquad E_{\text{outside}}=0.

This is the parallel-plate capacitor field — twice the single-sheet value, because in the gap both sheets push the same way while outside they cancel.

Superposition also cracks a classic that has no symmetry of its own:

Example. A sphere of uniform charge density ρ\rho has a smaller spherical cavity hollowed out of it, the cavity’s center displaced by dāƒ—\vec d from the big sphere’s center. Show that the field everywhere inside the cavity is uniform.

View the hollow object as a superposition: a complete solid sphere of density +ρ+\rho, plus a smaller sphere of density āˆ’Ļ-\rho filling the cavity. Inside a uniform sphere the field is Eāƒ—=ρ3ε0rāƒ—\vec E=\dfrac{\rho}{3\varepsilon_0}\vec r measured from that sphere’s own center (this is the interior result E=kQr/R3E=kQr/R^3 rewritten with Q=ρ⋅43Ļ€r3Q=\rho\cdot\tfrac{4}{3}\pi r^3). Let rāƒ—1\vec r_1 and rāƒ—2\vec r_2 be the position of a field point measured from the big-sphere and cavity centers, so rāƒ—1=rāƒ—2+dāƒ—\vec r_1=\vec r_2+\vec d. Adding the two contributions inside the cavity,

Eāƒ—=ρ3ε0rāƒ—1āˆ’Ļ3ε0rāƒ—2=ρ3ε0(rāƒ—1āˆ’rāƒ—2)=ρ3ε0dāƒ—.\vec E=\frac{\rho}{3\varepsilon_0}\vec r_1-\frac{\rho}{3\varepsilon_0}\vec r_2=\frac{\rho}{3\varepsilon_0}(\vec r_1-\vec r_2)=\frac{\rho}{3\varepsilon_0}\vec d.

The field point rāƒ—\vec r cancels, leaving the same field everywhere in the cavity: a uniform field ρ3ε0dāƒ—\dfrac{\rho}{3\varepsilon_0}\vec d parallel to the displacement dāƒ—\vec d.

In USAPhO, many problems will deal with conductors, since it is the easiest type of material to model charge transfer and effects on. In a conductor at electrostatic equilibrium, charges have stopped moving macroscopically. Therefore:

  • Eāƒ—=0\vec E=0 inside the conducting material.
  • Excess charge lies on the conductor’s surface.
  • The electric field just outside the surface is perpendicular to the surface.
  • Larger surface charge density means a stronger field just outside.

If a tangential electric field existed on the surface, free charge would slide along the conductor, so equilibrium would not hold.

For a conductor surface with local surface charge density σ\sigma,

Eoutside=σε0.E_{\text{outside}}=\frac{\sigma}{\varepsilon_0}.

These features are very important to remember for any conductor problems, since it makes it so much easier to solve. In addition, the outward electrostatic pressure on a charged conducting surface is

P=σ22ε0.P=\frac{\sigma^2}{2\varepsilon_0}.

One way to remember this is that the surface charge feels the field from the rest of the conductor, not the full field including itself; that gives the factor of 1/21/2.

Example. An isolated conducting sphere of radius RR carries charge QQ in vacuum. Find its surface charge density, the field immediately outside, and the electrostatic pressure.

Spherical symmetry makes the charge uniform:

σ=Q4Ļ€R2,Eāƒ—(R+)=Q4πε0R2r^.\sigma=\frac{Q}{4\pi R^2},\qquad \vec E(R^+)=\frac{Q}{4\pi\varepsilon_0R^2}\hat r.

The outward pressure is

P=σ22ε0=Q232Ļ€2ε0R4.P=\frac{\sigma^2}{2\varepsilon_0} =\frac{Q^2}{32\pi^2\varepsilon_0R^4}.

Doubling the charge quadruples the pressure. At fixed charge, doubling the radius reduces the pressure by a factor of 1616. The pressure is outward for either sign of QQ.

A cavity inside a conductor is a useful place to apply Gauss’s law carefully. Draw a Gaussian surface lying entirely inside the conducting material and wrapped tightly around the cavity wall. Since Eāƒ—=0\vec E=0 everywhere in the conducting material,

∮Eāƒ—ā‹…dAāƒ—=0⟹Qenc=0.\oint \vec E\cdot d\vec A=0 \quad\Longrightarrow\quad Q_{\text{enc}}=0.

Therefore, the total charge on the inner cavity surface plus any charge placed inside the cavity must add to zero. If a charge qq sits inside the cavity, the inner wall carries total charge āˆ’q-q. The outer surface then carries whatever charge is required by the conductor’s total charge.

For an isolated neutral conductor with a cavity charge qq:

Qinner=āˆ’q,Qouter=+q.Q_{\text{inner}}=-q,\qquad Q_{\text{outer}}=+q.

If the same conductor is grounded, charge can flow to Earth. The inner wall still carries āˆ’q-q, but the outside does not need to carry +q+q; for a fully shielding grounded conductor, the exterior field can be zero.

Example. An isolated conducting shell has total charge +3q+3q. A point charge āˆ’q-q sits off-center inside its closed cavity. Find the total charges on the inner and outer surfaces. Then find those totals after grounding the shell, assuming no external charges.

A Gaussian surface inside the metal has zero flux, so the inner wall must cancel the cavity charge:

Qinner=+q.Q_{\mathrm{inner}}=+q.

Before grounding, charge conservation gives

Qouter=3qāˆ’Qinner=2q.Q_{\mathrm{outer}}=3q-Q_{\mathrm{inner}}=2q.

Grounding fixes the shell potential at zero. With no external sources, the exterior solution is V=0V=0, so the outer surface becomes uncharged. The inner surface still carries +q+q. The conductor’s total charge changes from 3q3q to qq, so electrons with total charge āˆ’2q-2q have arrived from Earth.

The off-center position makes the inner surface charge nonuniform, but it does not change its total.


A force is conservative if the work it does between two points is path-independent, i.e.

W=∫ABFāƒ—ā‹…dā„“āƒ—W=\int_A^B \vec F\cdot d\vec\ell

depends only on the endpoints AA and BB. Equivalently,

∮Fāƒ—ā‹…dā„“āƒ—=0⟺Fāƒ—=āˆ’āˆ‡U\oint \vec F\cdot d\vec\ell=0 \qquad\Longleftrightarrow\qquad \vec F=-\nabla U

for some scalar potential energy UU. Defining Ī”U=U(B)āˆ’U(A)=āˆ’W\Delta U=U(B)-U(A)=-W then guarantees mechanical energy conservation, Ī”Ek+Ī”U=0\Delta E_k+\Delta U=0, since the work–energy theorem gives Ī”Ek=W\Delta E_k=W. Only differences in UU are physical; you must fix a reference where U=0U=0, and that choice is arbitrary.

Proof (Coulomb force is conservative). Move a charge qq from AA to BB in the field of a fixed charge QQ at the origin. Since r^ā‹…dā„“āƒ—=dr\hat r\cdot d\vec\ell=dr,

W=∫ABkQqr2r^ā‹…dā„“āƒ—=∫rArBkQqr2 dr=kQq(1rAāˆ’1rB),W=\int_A^B k\frac{Qq}{r^2}\hat r\cdot d\vec\ell =\int_{r_A}^{r_B} k\frac{Qq}{r^2}\,dr =kQq\left(\frac{1}{r_A}-\frac{1}{r_B}\right),

which depends only on the initial and final distances and not the path. For a system of source charges, superposition makes the total work the sum of pairwise works, each of which is path-independent, so the total is path-independent too.

For a charge qq in the field of a fixed QQ with the reference at infinity, U(r)=kQq/rU(r)=kQq/r. In a general field, pick a reference point OO with UO=0U_O=0:

Ep(A)=āˆ’āˆ«OAqEāƒ—ā‹…dā„“āƒ—.E_p(A)=-\int_O^A q\vec E\cdot d\vec\ell .

The minus sign comes from the definition of potential energy: work done by the electric force reduces the stored potential energy. In a small displacement,

dU=āˆ’dW=āˆ’Fāƒ—ā‹…dā„“āƒ—=āˆ’qEāƒ—ā‹…dā„“āƒ—.dU=-dW=-\vec F\cdot d\vec\ell=-q\vec E\cdot d\vec\ell.

Integrating from the chosen reference OO gives the expression above; EpE_p is another notation for UU. For a point source QQ, choose infinity as the reference and a radial path:

U(r)āˆ’U(āˆž)=āˆ’āˆ«āˆžrkQqr′2 dr′=āˆ’kQq[āˆ’1r′]āˆžr=kQqr.U(r)-U(\infty) =-\int_\infty^r\frac{kQq}{r'^2}\,dr' =-kQq\left[-\frac1{r'}\right]_\infty^r =\frac{kQq}{r}.

For like charges this is positive: bringing them together requires positive external work. For opposite charges it is negative: the electric force does positive work as they approach.

The electric potential is defined as the energy per unit charge,

V(A)=Epq=āˆ’āˆ«OAEāƒ—ā‹…dā„“āƒ—,V=kQrĀ (pointĀ charge).V(A)=\frac{E_p}{q}=-\int_O^A \vec E\cdot d\vec\ell, \qquad V=\frac{kQ}{r}\ \text{(point charge)} .

As opposed to electric field, electric potential is a scalar, meaning that it superposes by ordinary addition, and for continuous distributions it becomes an integral:

V=kāˆ‘iqiri,V=k∫dqr.V=k\sum_i\frac{q_i}{r_i}, \qquad V=k\int\frac{dq}{r}.

When the field is already known from symmetry, it is usually faster to integrate it: Ī”V=āˆ’āˆ«Eāƒ—ā‹…dā„“āƒ—\Delta V=-\int \vec E\cdot d\vec\ell. Although Eāƒ—\vec E may jump across a charged surface, but VV is always continuous, because it is the integral of a bounded field across zero thickness.

Like potential energy, electric potential requires a reference point. For real (finite) charge distributions, V(āˆž)=0V(\infty)=0 is always valid. However, for idealized infinite distributions (e.g. an infinite line or plane) V=k∫dq/rV=k\int dq/r diverges since the source itself extends out to the reference point. There you must choose a finite reference, and can only track changes in potential with respect to a finite point.

Example. Find the field on the axis of a uniformly charged ring of radius RR and charge QQ.

The field integral requires projecting every element onto the axis. The potential integral does not: every element of the ring is the same distance r=x2+R2r=\sqrt{x^2+R^2} from the axial point xx, so the ā€œconstant rrā€ shortcut gives the answer with no integration at all,

V(x)=kr∫dq=kQx2+R2.V(x)=\frac{k}{r}\int dq=\frac{kQ}{\sqrt{x^2+R^2}} .

On the axis, symmetry makes Eāƒ—\vec E point along xx, so the single derivative recovers the full field:

Ex=āˆ’dVdx=kQx(x2+R2)3/2.E_x=-\frac{dV}{dx}=\frac{kQx}{(x^2+R^2)^{3/2}} .

This matches the vector field integral with less calculation. To find Eāƒ—\vec E along a symmetry axis, it can be easier to compute the scalar VV first and differentiate. Keep VV as a function of position until after taking the derivative.

  • Uniform field: Ī”V=āˆ’Eāƒ—ā‹…dāƒ—\Delta V=-\vec E\cdot \vec d.
  • Center of a uniformly charged hemispherical shell (radius RR, charge QQ): every element sits at distance RR, so V=kR∫dq=kQRV=\frac{k}{R}\int dq=\frac{kQ}{R}. The same ā€œconstant rrā€ trick gives the full shell.
  • Spherical shell: V=kQ/rV=kQ/r outside, V=kQ/RV=kQ/R (constant) inside.
  • Solid sphere (radius RR): outside kQ/rkQ/r; inside, integrating the interior field E=kQr/R3E=kQr/R^3 gives V(r)=kQ2R(3āˆ’r2R2)V(r)=\dfrac{kQ}{2R}\left(3-\dfrac{r^2}{R^2}\right).
  • Coaxial cylinders, linear densities ±λ\pm\lambda, radii RA<RBR_A<R_B: VAāˆ’VB=Ī»2πε0ln⁔RBRAV_A-V_B=\dfrac{\lambda}{2\pi\varepsilon_0}\ln\dfrac{R_B}{R_A}.
  • Parallel planes ±σ\pm\sigma separated by dd: Ī”V=σdε0\Delta V=\dfrac{\sigma d}{\varepsilon_0}.

If you want, it is a good exercise to derive these yourself!

A few habits that save the most time on potential problems:

Since VV is an integral, we can rewrite it the total differential and comparing it with dV=āˆ’Eāƒ—ā‹…dā„“āƒ—dV=-\vec E\cdot d\vec\ell can give us the electric field components:

dV=āˆ‚Vāˆ‚xdx+āˆ‚Vāˆ‚ydy+āˆ‚Vāˆ‚zdz=āˆ’Ex dxāˆ’Ey dyāˆ’Ez dz,dV=\frac{\partial V}{\partial x}dx+\frac{\partial V}{\partial y}dy+\frac{\partial V}{\partial z}dz=-E_x\,dx-E_y\,dy-E_z\,dz,

so Ex=āˆ’āˆ‚V/āˆ‚xE_x=-\partial V/\partial x (and likewise for y,zy,z), i.e. Eāƒ—=āˆ’āˆ‡V\vec E=-\nabla V. The field is the negative gradient of the potential: it points in the direction of steepest decrease of VV, with magnitude equal to that steepest slope.

An equipotential surface is defined as a surface of constant VV. These surfaces have two main properties:

  • Field lines cross equipotentials at right angles. Moving a charge along an equipotential changes VV by zero, so Eāƒ—ā‹…dā„“āƒ—=0\vec E\cdot d\vec\ell=0 for any step within the surface; the field has no tangential component and is therefore perpendicular to the surface. (Equivalently, no work is done moving a charge along an equipotential.)
  • Closely spaced equipotentials mean a strong field. Since EE is the rate of change of VV with distance, tightly packed surfaces — a large Ī”V\Delta V over a small distance — signal a large gradient and a strong field.

The surface of a conductor in equilibrium is itself an equipotential, which is exactly why field lines always meet a conductor perpendicularly.

Example. In a region of space, V(x,y)=A(x2āˆ’y2)V(x,y)=A(x^2-y^2), where A>0A>0 has units V/m2\mathrm{V/m^2}. Find the field and show that it is perpendicular to the equipotential through (a,a)(a,a), where a>0a>0.

Taking the negative gradient,

Eāƒ—=āˆ’2Ax i^+2Ay j^.\vec E=-2Ax\,\hat i+2Ay\,\hat j.

At (a,a)(a,a), the potential is zero. The local equipotential is the line y=xy=x, with tangent t^=(i^+j^)/2\hat t=(\hat i+\hat j)/\sqrt2. Thus

Eāƒ—(a,a)ā‹…t^=āˆ’2Aa+2Aa2=0.\vec E(a,a)\cdot\hat t =\frac{-2Aa+2Aa}{\sqrt2}=0.

The field is perpendicular to the line and has magnitude 22Aa2\sqrt2 Aa. Potential zero at a point does not imply field zero there.

Example. Two thin concentric spherical shells carry charge Q1Q_1 (radius aa) and Q2Q_2 (radius b>ab>a). Find V(r)V(r) everywhere, with V(āˆž)=0V(\infty)=0.

Step 1 — field by Gauss’s law in each region. Only enclosed charge matters:

E(r)={0,r<a,kQ1/r2,a<r<b,k(Q1+Q2)/r2,r>b.E(r)= \begin{cases} 0, & r<a,\\[1mm] kQ_1/r^2, & a<r<b,\\[1mm] k(Q_1+Q_2)/r^2, & r>b. \end{cases}

Step 2 — integrate inward from infinity. For r>br>b,

V(r)=k(Q1+Q2)r.V(r)=\frac{k(Q_1+Q_2)}{r}.

Step 3 — fix the next constant by continuity at r=br=b. In a<r<ba<r<b, integrating E=kQ1/r2E=kQ_1/r^2 gives V=kQ1/r+CV=kQ_1/r+C. Matching to the outer solution at r=br=b,

kQ1b+C=k(Q1+Q2)b⟹C=kQ2b,V(r)=kQ1r+kQ2b.\frac{kQ_1}{b}+C=\frac{k(Q_1+Q_2)}{b} \quad\Longrightarrow\quad C=\frac{kQ_2}{b}, \qquad V(r)=\frac{kQ_1}{r}+\frac{kQ_2}{b}.

Step 4 — inside the inner shell. Here E=0E=0, so VV is constant, equal to its value at r=ar=a:

V(r<a)=kQ1a+kQ2b.V(r<a)=\frac{kQ_1}{a}+\frac{kQ_2}{b}.

Each integration constant was pinned down by demanding VV be continuous at a boundary—the free check from the tips list, now doing real work.


What if instead of bringing about a new object, we wanted to calculate the energy of a charged configuration? There are three equivalent ways to compute the total potential energy stored in a configuration; choose whichever matches the problem.

1. Pairwise sum. Add the interaction energy of every distinct pair,

U=14πε0āˆ‘i<jqiqjrij.U=\frac{1}{4\pi\varepsilon_0}\sum_{i<j}\frac{q_iq_j}{r_{ij}} .

This excludes the (infinite) self-energy of idealized point charges. The method works because due to the conservativeness of the Coulomb force it doesn’t matter what order you bring in the charges. However, this method is not typically used because it gets messier quickly as the number of charges increases.

2. Charge times potential, halved. Writing āˆ‘iqiVi\sum_i q_iV_i counts each pair twice, so

U=12āˆ‘iqiVi⟹U=12∫V dqU=\frac{1}{2}\sum_i q_iV_i \qquad\Longrightarrow\qquad U=\frac{1}{2}\int V\,dq

for a continuous distribution, where VV is the potential of the whole distribution. Unlike the pairwise sum, this form includes self-energy (energy required to assemble the system against electrostatic repulsion).

3. Charge it up. Assemble the charge from zero, tracking VV as a function of the accumulated charge, and integrate U=∫V dqU=\int V\,dq. This is most used when symmetry keeps the object near one potential as it charges: for instance a conductor, or a sphere built up shell by shell.

4. Field energy The field-energy viewpoint, U=∫12ε0E2 dVU=\int \tfrac12\varepsilon_0E^2\,dV, is itself a fourth way to compute configuration energy.

Example. What is the potential energy of a solid sphere with radius RR and total charge QQ (evenly distributed)?

Build the sphere up shell by shell at fixed density ρ\rho. When the assembled charge is qq at radius rr (final radius RR), q=Q(r/R)3q=Q(r/R)^3, and the next shell dq=Q 3r2R3drdq=Q\,\dfrac{3r^2}{R^3}dr is brought from infinity to the surface, which sits at V=kq/r=kQr2/R3V=kq/r=kQr^2/R^3. Hence

dU=V dq=kQr2R3ā‹…3Qr2R3 dr=3kQ2R6r4 dr,dU=V\,dq=\frac{kQr^2}{R^3}\cdot\frac{3Qr^2}{R^3}\,dr =\frac{3kQ^2}{R^6}r^4\,dr, U=∫0R3kQ2R6r4 dr=35kQ2R.U=\int_0^R \frac{3kQ^2}{R^6}r^4\,dr=\frac{3}{5}\frac{kQ^2}{R}.

Example. Find the potential energy of a disk of radius RR with uniform surface density σ=Q/Ļ€R2\sigma=Q/\pi R^2.

Sub-result — potential at the rim. First find the potential at a point PP on the edge of a uniform disk of radius ss. Put the origin at PP and use plane polar coordinates (ρ,φ)(\rho,\varphi) measured from the line through the center. The far boundary of the disk is the circle of radius ss centered a distance ss away, which in these coordinates is ρ=2scos⁔φ\rho=2s\cos\varphi for Ļ†āˆˆ[āˆ’Ļ€2,Ļ€2]\varphi\in[-\tfrac\pi2,\tfrac\pi2]. Then

Vrim(s)=kĻƒā€‰ā£āˆ«āˆ’Ļ€/2Ļ€/2ā€‰ā£ā€‰ā£āˆ«02scos⁔φ1ρ ρ dρ dφ=kĻƒā€‰ā£āˆ«āˆ’Ļ€/2Ļ€/2 ⁣2scos⁔φ dφ=4kσs.V_{\text{rim}}(s)=k\sigma\!\int_{-\pi/2}^{\pi/2}\!\!\int_0^{2s\cos\varphi}\frac{1}{\rho}\,\rho\,d\rho\,d\varphi =k\sigma\!\int_{-\pi/2}^{\pi/2}\!2s\cos\varphi\,d\varphi =4k\sigma s .

The 1/ρ1/\rho from Coulomb cancels the ρ\rho in the area element—this cancellation is exactly why the rim point is tractable while a generic interior point gives an elliptic integral.

Build the disk up from the edge. Grow the disk at constant σ\sigma by depositing successive rings at the current rim. When the disk has radius ss, the new ring dq=σ(2Ļ€s) dsdq=\sigma(2\pi s)\,ds lands at potential Vrim(s)V_{\text{rim}}(s), so

dU=Vrim(s) dq=(4kσs)(2Ļ€Ļƒs ds)=8Ļ€kσ2s2 ds,dU=V_{\text{rim}}(s)\,dq=(4k\sigma s)(2\pi\sigma s\,ds)=8\pi k\sigma^2 s^2\,ds, U=∫0R8Ļ€kσ2s2 ds=8Ļ€kσ2R33=83π kQ2R,U=\int_0^R 8\pi k\sigma^2 s^2\,ds=\frac{8\pi k\sigma^2 R^3}{3} =\frac{8}{3\pi}\,\frac{kQ^2}{R},

after substituting σ=Q/Ļ€R2\sigma=Q/\pi R^2. The coefficient 8/3Ļ€ā‰ˆ0.858/3\pi\approx0.85 is larger than the solid sphere’s 3/53/5 and the conducting sphere’s 1/21/2: flattening the same charge into a disk packs it closer together, raising the stored energy. Note the assembly order does not affect the answer — the same UU comes from 12∫V dq\tfrac12\int V\,dq over the finished disk, but that route needs the much harder interior potential.


The method of images introduces fake charges placed outside the physical region. The key idea is that a grounded conductor has fixed potential V=0V=0. If you can place imaginary charges so that the conductor surface is also at V=0V=0, then the field in the real region matches the actual conductor potential.

This works because of the uniqueness theorem: if a region is bounded by surfaces of specified potential (conductors, or infinity) and the charge in the region’s interior is specified, then the potential throughout the region is unique. So any candidate that (i) obeys Gauss’s law and the loop law and (ii) matches every boundary condition must be the answer — there is no other. If some arrangement of fictitious ā€œimageā€ charges reproduces the correct boundary potential, the field it gives in the real region is guaranteed correct.

For a grounded plane z=0z=0 and a real charge qq at (x0,y0,a)(x_0,y_0,a) with a>0a>0, use

q′=āˆ’q,rāƒ—ā€²=(x0,y0,āˆ’a).q'=-q,\qquad \vec r'=(x_0,y_0,-a).

Reflect the charge’s position across the plane and reverse its sign. The image is only a mathematical replacement for the conductor in the region z>0z>0; it is not a real charge inside the metal.

For a grounded sphere of radius RR centered at the origin, with a real charge qq at rāƒ—0=dn^\vec r_0=d\hat n and d>Rd>R, use

q′=āˆ’qRd,rāƒ—ā€²=R2dn^=R2d2rāƒ—0.q'=-q\frac{R}{d},\qquad \vec r'=\frac{R^2}{d}\hat n=\frac{R^2}{d^2}\vec r_0.

The image lies inside the sphere along the line to the real charge. For any surface point rāƒ—\vec r with ∣rāƒ—āˆ£=R\lvert\vec r\rvert=R,

∣rāƒ—āˆ’rāƒ—ā€²āˆ£=Rd∣rāƒ—āˆ’rāƒ—0∣,\lvert\vec r-\vec r'\rvert=\frac{R}{d}\lvert\vec r-\vec r_0\rvert,

so kq/∣rāƒ—āˆ’rāƒ—0∣+kq′/∣rāƒ—āˆ’rāƒ—ā€²āˆ£=0kq/\lvert\vec r-\vec r_0\rvert+kq'/\lvert\vec r-\vec r'\rvert=0 everywhere on the surface. These values assume grounding. An isolated sphere with prescribed total charge requires an additional image at its center.

Example. A charge +q+q is a distance aa above an infinite grounded conducting plane. Find the force induced on the charge.

Replace the plane by an image charge āˆ’q-q a distance aa below the plane.

At every point on the plane, the distances to +q+q and āˆ’q-q are equal, so their potentials cancel:

V=kqr+kāˆ’qr=0.V=k\frac{q}{r}+k\frac{-q}{r}=0.

Thus the image-charge setup satisfies the grounded-plane boundary condition. The force on the real charge equals the Coulomb attraction to the image charge:

F=kq2(2a)2=kq24a2,F=k\frac{q^2}{(2a)^2} =\frac{kq^2}{4a^2},

directed toward the conducting plane.

The image also gives the surface charge density on the real plane. Put the real charge at (0,0,a)(0,0,a) and the grounded plane at z=0z=0. Just above the conductor, the normal field is the zz-component of the field from the real charge plus image charge:

Ez(ρ,0+)=āˆ’14πε02qa(ρ2+a2)3/2,E_z(\rho,0^+) =-\frac{1}{4\pi\varepsilon_0}\frac{2qa}{(\rho^2+a^2)^{3/2}},

so

σ(ρ)=ε0Ez=āˆ’qa2Ļ€(ρ2+a2)3/2.\sigma(\rho)=\varepsilon_0E_z =-\frac{qa}{2\pi(\rho^2+a^2)^{3/2}}.

Integrating this over the whole plane gives total induced charge āˆ’q-q, as expected for a grounded infinite plane. The potential energy of the real charge-conductor system is not simply kq(āˆ’q)/(2a)kq(-q)/(2a); that would double-count the conductor response. The correct energy is half the real-charge/image interaction:

U=āˆ’kq24a.U=-\frac{kq^2}{4a}.

Example. // note to self: use a Ran problem


Capacitance, electric dipoles, polarization, and dielectric fields continue in Capacitors and Dielectrics.