In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a differential-algebraic system of equations (DAE) is a
system of equations that either contains
differential equations and
algebraic equation
In mathematics, an algebraic equation or polynomial equation is an equation of the form P = 0, where ''P'' is a polynomial with coefficients in some field, often the field of the rational numbers.
For example, x^5-3x+1=0 is an algebraic equati ...
s, or is equivalent to such a system.
The set of the solutions of such a system is a ''differential algebraic variety'', and corresponds to an
ideal in a
differential algebra of
differential polynomials.
In the
univariate case, a DAE in the variable ''t'' can be written as a single equation of the form
:
where
is a vector of unknown functions and the overdot denotes the time derivative, i.e.,
.
They are distinct from
ordinary differential equation
In mathematics, an ordinary differential equation (ODE) is a differential equation (DE) dependent on only a single independent variable (mathematics), variable. As with any other DE, its unknown(s) consists of one (or more) Function (mathematic ...
(ODE) in that a DAE is not completely solvable for the derivatives of all components of the function ''x'' because these may not all appear (i.e. some equations are algebraic); technically the distinction between an implicit ODE system
hat may be rendered explicitand a DAE system is that the
Jacobian matrix is a
singular matrix for a DAE system.
This distinction between ODEs and DAEs is made because DAEs have different characteristics and are generally more difficult to solve.
In practical terms, the distinction between DAEs and ODEs is often that the solution of a DAE system depends on the derivatives of the input signal and not just the signal itself as in the case of ODEs;
this issue is commonly encountered in
nonlinear systems with
hysteresis
Hysteresis is the dependence of the state of a system on its history. For example, a magnet may have more than one possible magnetic moment in a given magnetic field, depending on how the field changed in the past. Plots of a single component of ...
,
such as the
Schmitt trigger
In electronics, a Schmitt trigger is a comparator circuit with hysteresis implemented by applying positive feedback to the noninverting input of a comparator or differential amplifier. It is an passivity (engineering), active circuit which con ...
.
This difference is more clearly visible if the system may be rewritten so that instead of ''x'' we consider a pair
of vectors of dependent variables and the DAE has the form
::
:where
,
,
and
A DAE system of this form is called ''semi-explicit''.
Every solution of the second half ''g'' of the equation defines a unique direction for ''x'' via the first half ''f'' of the equations, while the direction for ''y'' is arbitrary. But not every point ''(x,y,t)'' is a solution of ''g''. The variables in ''x'' and the first half ''f'' of the equations get the attribute ''differential''. The components of ''y'' and the second half ''g'' of the equations are called the ''algebraic'' variables or equations of the system.
he term ''algebraic'' in the context of DAEs only means ''free of derivatives'' and is not related to (abstract) algebra.
The solution of a DAE consists of two parts, first the search for consistent initial values and second the computation of a trajectory. To find consistent initial values it is often necessary to consider the derivatives of some of the component functions of the DAE. The highest order of a derivative that is necessary for this process is called the ''differentiation index''. The equations derived in computing the index and consistent initial values may also be of use in the computation of the trajectory. A semi-explicit DAE system can be converted to an implicit one by decreasing the differentiation index by one, and vice versa.
Other forms of DAEs
The distinction of DAEs to ODEs becomes apparent if some of the dependent variables occur without their derivatives. The vector of dependent variables may then be written as pair
and the system of differential equations of the DAE appears in the form
::
where
*
, a vector in
, are dependent variables for which derivatives are present (''differential variables''),
*
, a vector in
, are dependent variables for which no derivatives are present (''algebraic variables''),
*
, a scalar (usually time) is an independent variable.
*
is a vector of
functions that involve subsets of these
variables and
derivatives.
As a whole, the set of DAEs is a function
::
Initial conditions must be a solution of the system of equations of the form
::
Examples
The behaviour of a
pendulum
A pendulum is a device made of a weight suspended from a pivot so that it can swing freely. When a pendulum is displaced sideways from its resting, equilibrium position, it is subject to a restoring force due to gravity that will accelerate i ...
of length ''L'' with center in (0,0) in Cartesian coordinates (''x'',''y'') is described by the
Euler–Lagrange equations
::
where
is a
Lagrange multiplier
In mathematical optimization, the method of Lagrange multipliers is a strategy for finding the local maxima and minima of a function (mathematics), function subject to constraint (mathematics), equation constraints (i.e., subject to the conditio ...
. The momentum variables ''u'' and ''v'' should be constrained by the law of conservation of energy and their direction should point along the circle. Neither condition is explicit in those equations. Differentiation of the last equation leads to
::
restricting the direction of motion to the tangent of the circle. The next derivative of this equation implies
::
and the derivative of that last identity simplifies to
which implies the conservation of energy since after integration the constant
is the sum of kinetic and potential energy.
To obtain unique derivative values for all dependent variables the last equation was three times differentiated. This gives a differentiation index of 3, which is typical for constrained mechanical systems.
If initial values
and a sign for ''y'' are given, the other variables are determined via
, and if
then
and
. To proceed to the next point it is sufficient to get the derivatives of ''x'' and ''u'', that is, the system to solve is now
::
This is a semi-explicit DAE of index 1. Another set of similar equations may be obtained starting from
and a sign for ''x''.
DAEs also naturally occur in the modelling of circuits with non-linear devices.
Modified nodal analysis employing DAEs is used for example in the ubiquitous
SPICE
In the culinary arts, a spice is any seed, fruit, root, Bark (botany), bark, or other plant substance in a form primarily used for flavoring or coloring food. Spices are distinguished from herbs, which are the leaves, flowers, or stems of pl ...
family of numeric circuit simulators.
Similarly,
Fraunhofer's Analog Insydes Mathematica package can be used to derive DAEs from a
netlist
In electronic design, a netlist is a description of the connectivity of an electronic circuit. In its simplest form, a netlist consists of a list of the electronic components in a circuit and a list of the nodes they are connected to. A netwo ...
and then simplify or even solve the equations symbolically in some cases. It is worth noting that the index of a DAE (of a circuit) can be made arbitrarily high by cascading/coupling via capacitors
operational amplifiers with
positive feedback.
Semi-explicit DAE of index 1
DAE of the form
::
are called semi-explicit. The index-1 property requires that ''g'' is
solvable for ''y''. In other words, the differentiation index is 1 if by differentiation of the algebraic equations for ''t'' an implicit ODE system results,
::
which is solvable for
if
Every sufficiently smooth DAE is almost everywhere reducible to this semi-explicit index-1 form.
Numerical treatment of DAE and applications
Two major problems in solving DAEs are ''index reduction'' and ''consistent initial conditions''. Most numerical solvers require
ordinary differential equations and
algebraic equations of the form
::
It is a non-trivial task to convert arbitrary DAE systems into ODEs for solution by pure ODE solvers. Techniques which can be employed include ''
Pantelides algorithm'' and ''
dummy derivative index reduction method''. Alternatively, a direct solution of high-index DAEs with inconsistent initial conditions is also possible. This solution approach involves a transformation of the derivative elements through ''orthogonal collocation on finite elements'' or ''direct transcription'' into algebraic expressions. This allows DAEs of any index to be solved without rearrangement in the open equation form
::
Once the model has been converted to algebraic equation form, it is solvable by large-scale nonlinear programming solvers (see
APMonitor).
Tractability
Several measures of DAEs tractability in terms of numerical methods have developed, such as ''differentiation index'', ''perturbation index'', ''tractability index'', ''geometric index'', and the ''Kronecker index''.
Structural analysis for DAEs
We use the
-method to analyze a DAE. We construct for the DAE a signature matrix
, where each row corresponds to each equation
and each column corresponds to each variable
. The entry in position
is
, which denotes the highest order of derivative to which
occurs in
, or
if
does not occur in
.
For the pendulum DAE above, the variables are
. The corresponding signature matrix is
:
See also
*
Algebraic differential equation, a different concept despite the similar name
*
Delay differential equation
*
Partial differential algebraic equation In mathematics a partial differential algebraic equation (PDAE) set is an incomplete system of partial differential equations that is closed with a set of algebraic equations.
Definition
A general PDAE is defined as:
: 0 = \mathbf F \left( \math ...
*
Modelica Language
References
Further reading
Books
*
*
*
* (Covers the structural approach to computing the DAE index.)
*
*
Various papers
*
*
*
*
*
*
*
*
External links
* http://www.scholarpedia.org/article/Differential-algebraic_equations
{{Differential equations topics
Numerical analysis
Differential calculus