For the constraint “u solves the Neumann Problem with conductivity , current and interior source ”, the Lagrangian couples the objective with the constraint through a multiplier (the adjoint state):

Strong form. gives .

Weak form (preferred). Integrating by parts once and inserting gives

Advantages of the weak form:

  1. The Neumann datum appears explicitly.
  2. Every variation needs at most one integration by parts. Terms with , which have no trace for , never appear.
  3. appears only in one term, which is linear in , so the -variation is exact and produces no boundary terms.

Function spaces. Trial space for and space of admissible variations:

forward problem
Dirichlet,
Neumann,

The multiplier lives in . For the Dirichlet problem drop the boundary integral, since .

Setting the variations to zero gives the State Equation, the Adjoint Equation and the functional derivative (see KKT Conditions and Adjoint State Method).

References

  1. M. Hinze, R. Pinnau, M. Ulbrich, S. Ulbrich (2009). Optimization with PDE Constraints. Springer. doi:10.1007/978-1-4020-8839-1
  2. A. M. Bradley (2024). PDE-constrained optimization and the adjoint method. Lecture notes, Stanford. cs.stanford.edu/~ambrad/adjoint_tutorial.pdf