An adjoint equation is a
linear differential equation
In mathematics, a linear differential equation is a differential equation that is defined by a linear polynomial in the unknown function and its derivatives, that is an equation of the form
:a_0(x)y + a_1(x)y' + a_2(x)y'' \cdots + a_n(x)y^ = b( ...
, usually derived from its primal equation using
integration by parts
In calculus, and more generally in mathematical analysis, integration by parts or partial integration is a process that finds the integral of a product of functions in terms of the integral of the product of their derivative and antiderivative. ...
. Gradient values with respect to a particular quantity of interest can be efficiently calculated by solving the adjoint equation. Methods based on solution of adjoint equations are used in
wing shape optimization Wing-shape optimization is a software implementation of shape optimization primarily used for aircraft design. This allows for engineers to produce more efficient and cheaper aircraft designs.
History
Shape optimization, as a software process and ...
,
fluid flow control and
uncertainty quantification
Uncertainty quantification (UQ) is the science of quantitative characterization and reduction of uncertainties in both computational and real world applications. It tries to determine how likely certain outcomes are if some aspects of the system a ...
. For example
this is an
Itō stochastic differential equation. Now by using Euler scheme, we integrate the parts of this equation and get another equation,
, here
is a random variable, later one is an adjoint equation.
Example: Advection-Diffusion PDE
Consider the following linear, scalar
advection-diffusion equation for the primal solution
, in the domain
with
Dirichlet boundary conditions
In the mathematical study of differential equations, the Dirichlet (or first-type) boundary condition is a type of boundary condition, named after Peter Gustav Lejeune Dirichlet (1805–1859). When imposed on an ordinary or a partial differential ...
:
:
Let the output of interest be the following linear functional:
:
Derive the
weak form by multiplying the primal equation with a weighting function
and performing integration by parts:
:
where,
:
Then, consider an infinitesimal perturbation to
which produces an infinitesimal change in
as follows:
:
Note that the solution perturbation
must vanish at the boundary, since the Dirichlet boundary condition does not admit variations on
.
Using the weak form above and the definition of the adjoint
given below:
:
we obtain:
:
Next, use integration by parts to transfer derivatives of
into derivatives of
:
:
The adjoint PDE and its boundary conditions can be deduced from the last equation above. Since
is generally non-zero within the domain
, it is required that