Inmathematics and particularly indynamical systems, aninitial condition is the initial value (often attime) of adifferential equation,difference equation, or other "time"-dependent equation whichevolves in time. The most fundamental case, anordinary differential equation oforderk (the number ofderivatives in the equation), generally requiresk initial conditions to trace the equation's evolution through time. In other contexts, the term may refer to an initial value of arecurrence relation,discrete dynamical system,hyperbolic partial differential equation, or even a seed value of apseudorandom number generator, at "time zero", enough such that the overall system can be evolved in "time", which may bediscrete or continuous. The problem of determining a system's evolution from initial conditions is referred to as aninitial value problem.
A linearmatrix difference equation of the homogeneous (having no constant term) form has closed form solution predicated on the vector of initial conditions on the individual variables that are stacked into the vector; is called the vector of initial conditions or simply the initial condition, and containsnk pieces of information,n being the dimension of the vectorX andk = 1 being the number of time lags in the system. The initial conditions in this linear system do not affect the qualitative nature of the future behavior of the state variableX; that behavior isstable or unstable based on theeigenvalues of the matrixA but not based on the initial conditions.
Alternatively, a dynamic process in a single variablex having multiple time lags is
Here the dimension isn = 1 and the order isk, so the necessary number of initial conditions to trace the system through time, either iteratively or via closed form solution, isnk = k. Again the initial conditions do not affect the qualitative nature of the variable's long-term evolution. The solution of this equation is found by using itscharacteristic equation to obtain the latter'sk solutions, which are thecharacteristic values for use in the solution equation
Here the constants are found by solving a system ofk different equations based on this equation, each using one ofk different values oft for which the specific initial condition Is known.
A differential equation system of the first order withn variables stacked in a vectorX is
Its behavior through time can be traced with a closed form solution conditional on an initial condition vector. The number of required initial pieces of information is the dimensionn of the system times the orderk = 1 of the system, orn. The initial conditions do not affect the qualitative behavior (stable or unstable) of the system.
A singlekth order linear equation in a single variablex is
Here the number of initial conditions necessary for obtaining a closed form solution is the dimensionn = 1 times the orderk, or simplyk. In this case thek initial pieces of information will typically not be different values of the variablex at different points in time, but rather the values ofx and its firstk – 1 derivatives, all at some point in time such as time zero. The initial conditions do not affect the qualitative nature of the system's behavior. Thecharacteristic equation of this dynamic equation is whose solutions are thecharacteristic values these are used in the solution equation
This equation and its firstk – 1 derivatives form a system ofk equations that can be solved for thek parameters given the known initial conditions onx and itsk – 1 derivatives' values at some timet.
Nonlinear systems can exhibit a substantially richer variety of behavior than linear systems can. In particular, the initial conditions can affect whether the system diverges to infinity or whether itconverges to one or anotherattractor of the system. Each attractor, a (possibly disconnected) region of values that some dynamic paths approach but never leave, has a (possibly disconnected)basin of attraction such that state variables with initial conditions in that basin (and nowhere else) will evolve toward that attractor. Even nearby initial conditions could be in basins of attraction of different attractors (see for exampleNewton's method#Basins of attraction).
Moreover, in those nonlinear systems showingchaotic behavior, the evolution of the variables exhibitssensitive dependence on initial conditions: the iterated values of any two very nearby points on the samestrange attractor, while each remaining on the attractor, will diverge from each other over time. Thus even on a single attractor the precise values of the initial conditions make a substantial difference for the future positions of the iterates. This feature makes accuratesimulation of future values difficult, and impossible over long horizons, because stating the initial conditions with exact precision is seldom possible and because rounding error is inevitable after even only a few iterations from an exact initial condition.
Every empirical law has the disquieting quality that one does not know its limitations. We have seen that there are regularities in the events in the world around us which can be formulated in terms of mathematical concepts with an uncanny accuracy. There are, on the other hand, aspects of the world concerning which we do not believe in the existence of any accurate regularities. We call these initial conditions.[1]