The manipulations used to derive the Adjoint State Method.
Definitions.
- A functional maps a function to a scalar.
- An admissible variation keeps admissible for small . It satisfies the homogeneous version of all essential boundary conditions, for example where is prescribed.
- The first variation (Gâteaux derivative) is
Rules.
- Linearity: .
- Product and chain rule: , . Only terms of first order in are kept.
- Commutation: on a fixed domain, variation commutes with derivatives and integrals: and . On a moving domain, a Leibniz or Reynolds transport term appears (shape derivatives).
- Fundamental lemma: if for all , then a.e. Derivatives must first be moved off by integration by parts.
- Boundary terms decide boundary conditions: at an essential condition, , so the term drops and gives no condition on . At a natural (free) boundary, is arbitrary, so its coefficient must vanish, which gives a boundary condition on .
- Independence of variations: for , a joint variation gives . So and are separate conditions.
Pitfalls. Second variations are only needed to classify stationary points, not for gradients. is a free test function only until the adjoint equation fixes it.
References
- I. M. Gelfand, S. V. Fomin (1963). Calculus of Variations. Prentice-Hall (Dover reprint 2000). ISBN 978-0-486-41448-5
- M. Hinze, R. Pinnau, M. Ulbrich, S. Ulbrich (2009). Optimization with PDE Constraints. Springer. doi:10.1007/978-1-4020-8839-1