|
Calling Sequence
|
|
dsolve({ODE, ICs}, y(x))
dsolve({ODE, ICs}, y(x), extra_args)
dsolve({sysODE, ICs}, {funcs})
dsolve({sysODE, ICs}, {funcs}, extra_args)
|
|
Parameters
|
|
ODE
|
-
|
ordinary differential equation
|
y(x)
|
-
|
the dependent variable (indeterminate function)
|
ICs
|
-
|
initial conditions for y(x) and/or its derivatives
|
sysODE
|
-
|
system of ODEs
|
{funcs}
|
-
|
set with indeterminate functions
|
extra_args
|
-
|
optional, can be 'type=series' or 'type=numeric'
|
|
|
|
|
Description
|
|
•
|
The basic task being performed by dsolve when solving an "Initial Conditions" (ICs) ODE problem is to find appropriate values for the set of integration constants _Cn appearing in the symbolic solution of the problem, such that the solution will match the given ICs.
|
•
|
As general rules for IC problems, the first argument must be a set containing an ODE or a system of ODEs together with the ICs, the second argument must be a set containing the indeterminate functions of the problem, and the number of ICs should not be greater than the sum of the differential orders of the given ODEs (see PDEtools[difforder]).
|
|
If no variable is specified, is assumed to be the variable.
|
•
|
For symbolic problems (that is, when neither series nor numeric solutions were requested) a typical IC can be any equation relating algebraic expressions, or just the algebraic expressions themselves, then assumed to be = 0 (see examples below).
|
|
The derivatives entering the ICs can always be expressed using the D syntax (for example , ). Alternately, standard math syntax may be used in 2-D math (for example is equivalent to the first example above, and is equivalent to or . If the evaluation points are of type symbol, diff will also work (for example, means that the derivative of at is 1).
|
|
It is also possible to give "coupled" ICs, involving more than one function in each IC equation, and perhaps in a nonlinear manner. When nonlinear ICs are given dsolve might return a sequence of solution sets related to the various possible solutions found for the integration constants.
|
•
|
When requesting numeric or series solutions, by giving the extra argument 'type=numeric' or 'type=series'; see dsolve,numeric, or dsolve,series), or the use of integral transforms (see dsolve,inttrans), the ICs must be given as equations. All derivatives entering the ICs must be expressed using the D syntax, each IC must be related to a single indeterminate function (coupled ICs are not allowed), and all ICs must be linear in the indeterminate function or its derivatives.
|
|
|
Examples
|
|
Explicit or implicit answers can be tested, in principle, using odetest:
Answers for systems of ODEs (provided that they are explicit as in this case) can also be tested using odetest
|
|
|