Adjoint equation
An adjoint equation is a linear differential equation, usually derived from its primal equation using integration by parts.[src] Gradient values with respect to a particular quantity of interest can be efficiently calculated by solving the adjoint equation.[src] Methods based on solution of adjoint equations are used in wing shape optimization, fluid flow control and uncertainty quantification.[src]
An adjoint equation is a linear differential equation, usually derived from its primal equation using integration by parts.[src] Gradient values with respect to a particular quantity of interest can be efficiently calculated by solving the adjoint equation.[src] Methods based on solution of adjoint equations are used in wing shape optimization, fluid flow control and uncertainty quantification.[src] ==Example: Advection-Diffusion PDE== Consider the following linear, scalar advection-diffusion equation for the primal solution u(\vec{x}) , in the domain \Omega with Dirichlet boundary conditions: \begin{align} \nabla \cdot \left(\vec{c} u - \mu \nabla u \right) &= f, \qquad \vec{x} \in \Omega, \\ u &= b, \qquad \vec{x} \in \partial \Omega.[src] \end{align} Let the output of interest be the following linear functional: J(u) = \int_\Omega g u \ dV.[src] Derive the weak form by multiplying the primal equation with a weighting function w(\vec{x}) and performing integration by parts: \begin{align} B(u, w) &= L(w), \end{align} where, \begin{align} B(u, w) &= \int_\Omega w \nabla \cdot \left(\vec{c} u - \mu \nabla u \right) dV \\ &= \int_{\partial \Omega} w \left(\vec{c} u - \mu \nabla u \right) \cdot \vec{n} dA - \int_\Omega \nabla w \cdot \left(\vec{c} u - \mu \nabla u \right) dV, \qquad \text{(Integration by parts)} \\ L(w) &= \int_\Omega w f \ dV.[src] \end{align} Then, consider an infinitesimal perturbation to L(w) which produces an infinitesimal change in u as follows: \begin{align} B(u + u', w) &= L(w) + L'(w) \\ B(u', w) &= L'(w).[src] \end{align} Note that the solution perturbation u' must vanish at the boundary, since the Dirichlet boundary condition does not admit variations on \partial \Omega .[src] Using the weak form above and the definition of the adjoint \psi(\vec{x}) given below: \begin{align} L'(\psi) &= J(u') \\ B(u', \psi) &= J(u'), \end{align} we obtain: \begin{align} \int_{\partial \Omega} \psi \left(\vec{c} u' - \mu \nabla u' \right) \cdot \vec{n} dA - \int_\Omega \nabla \psi \cdot \left(\vec{c} u' - \mu \nabla u' \right) dV &= \int_\Omega g u' \ dV.[src] \end{align} Next, use integration by parts to transfer derivatives of u' into derivatives of \psi : \begin{align} \int_{\partial \Omega} \psi \left(\vec{c} u' - \mu \nabla u' \right) \cdot \vec{n} dA - \int_\Omega \nabla \psi \cdot \left(\vec{c} u' - \mu \nabla u' \right) dV - \int_\Omega g u' \ dV &= 0 \\ \int_{\partial \Omega} \psi \left(\vec{c} u' - \mu \nabla u' \right) \cdot \vec{n} dA + \int_\Omega u' \left(-\vec{c} \cdot \nabla \psi \right) dV + \int_\Omega \nabla u' \cdot \left( \mu \nabla \psi \right) dV - \int_\Omega g u' \ dV &= 0 \\ \int_{\partial \Omega} \psi \left(\vec{c} u' - \mu \nabla u' \right) \cdot \vec{n} dA + \int_\Omega u' \left( - \vec{c} \cdot \nabla \psi \right) dV + \int_{\partial \Omega} u' \left( \mu \nabla \psi \right) \cdot \vec{n} dA - \int_\Omega u' \nabla \cdot \left( \mu \nabla \psi \right) dV - \int_\Omega g u' \ dV &= 0 \qquad \text{(Repeating integration by parts on diffusion volume term)} \\ \int_\Omega u' \left[ -\vec{c} \cdot \nabla \psi - \nabla \cdot \left( \mu \nabla \psi \right) - g \right] dV + \int_{\partial \Omega} \psi \left(\vec{c} u' - \mu \nabla u' \right) \cdot \vec{n} dA + \int_{\partial \Omega} u' \left( \mu \nabla \psi \right) \cdot \vec{n} dA &= 0.[src] \end{align} The adjoint PDE and its boundary conditions can be deduced from the last equation above.[src] Since u' is generally non-zero within the domain \Omega , it is required that \left[ -\vec{c} \cdot \nabla \psi - \nabla \cdot \left(\mu \nabla \psi \right) - g \right] be zero in \Omega , in order for the volume term to vanish.[src] Similarly, since the primal flux \left(\vec{c} u' - \mu \nabla u' \right) \cdot \vec{n} is generally non-zero at the boundary, we require \psi to be zero there in order for the first boundary term to vanish.[src] The second boundary term vanishes trivially since the primal boundary condition requires u' = 0 at the boundary.[src] Therefore, the adjoint problem is given by: \begin{align} -\vec{c} \cdot \nabla \psi - \nabla \cdot \left( \mu \nabla \psi \right) &= g, \qquad \vec{x} \in \Omega, \\ \psi &= 0, \qquad \vec{x} \in \partial \Omega.[src] \end{align} Note that the advection term reverses the sign of the convective velocity \vec{c} in the adjoint equation, whereas the diffusion term remains self-adjoint.[src] ==See also== Adjoint state method Costate equations ==References==[src]
20 sentences · 20 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Adjoint equation." encyclopegia.org, 2026, https://encyclopegia.org/wiki/adjoint-equation. Accessed 02 December 2026.
Chicago
"Adjoint equation." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/adjoint-equation.
APA
encyclopegia.org. (2026). Adjoint equation. Retrieved December 2, 2026, from https://encyclopegia.org/wiki/adjoint-equation
Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON