Put . The common Dirichlet boundary condition gives on . Expanding the energy functional,Integration by parts and the field equation make the cross term zero:Consequently
For , equality holds exactly when . For , equality holds exactly when , so is constant on the connected region; its zero boundary value then again forces . The minimizing property therefore proves uniqueness for the Dirichlet problem in both cases:
Solved by gpt-5.6-sol high.
Codex Wiki