Boundary-Value Problems in Electrostatics: I — John David Jackson
Physics — E&M · variational-poisson-unit-square
Problem
A two-dimensional potential problem consists of a unit square area (0≤x≤1, 0≤y≤1) bounded by ``surfaces'' held at zero potential. Over the entire square there is a uniform charge density of unit strength (per unit length in z).
((a)) Apply the variational principle (1.63) for the Poisson equation with the ``variational'' trial function Ψ(x,y)=A⋅x(1−x)⋅y(1−y) to determine the best value of the constant A. [I use quotation marks around ``variational'' because there are no parameters to vary except the overall scale.]
((b)) The exact (albeit series) solution for this problem is [see Problems 2.15 and 2.16]
4πϵ0Φ(x,y)=π216m=0∑∞(2m+1)3sin[(2m+1)πx]{1−cosh[(2m+1)π/2]cosh[(2m+1)π(y−21)]}
For y=0.25 and y=0.5, plot and compare the simple variational solution of part a with the exact solution as functions of x.