Method of images (source code)

= Method of images
{wiki}

The <method of images> solves a linear boundary problem by replacing a boundary with fictitious sources chosen so their combined field obeys its conditions. The constructed solution is then justified by a <uniqueness of Poisson equation>, not by treating the fictitious sources as physically present.

For a charge $q$ at height $a$ above a grounded <conducting plane> $z=0$, place an <image charge> $-q$ at height $-a$. In the upper half-space,
$$
V(x,y,z)=\frac{q}{4\pi\epsilon_0}\left(\frac1{\sqrt{x^2+y^2+(z-a)^2}}-\frac1{\sqrt{x^2+y^2+(z+a)^2}}\right)
$$
is zero on the plane and satisfies the required source equation. <Dirichlet uniqueness for the Poisson equation> identifies it as the physical potential above the conductor. The construction exploits <symmetry>; arbitrary boundaries need not have a <finite set> of image sources.