InitialSeeding
✖
InitialSeeding
is an option for NDSolve and other functions that specifies equations that specify initial seeding values for variables that may be used by iterative algorithms.
Details

- For differential algebraic equations in NDSolve and other functions, InitialSeeding->{u[t0]==val} indicates that the numerical value val should be used to start finding consistent initial conditions.
- For stationary nonlinear partial differential equations in NDSolve and other functions, InitialSeeding->{u[x1,…]==fun[x1,…]} indicates the numerical function fun of the independent variables x1,… should be used to get a starting vector on the mesh.
- Different initial seeding values may lead to different solutions. »
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (7)Survey of the scope of standard use cases
Specify an initial seeding that depends on a spatial coordinate:

https://wolfram.com/xid/0n4oikqt8mi-e6c86g

Use the solution of a linear boundary value problem as the initial seeding for a nonlinear boundary value problem:

https://wolfram.com/xid/0n4oikqt8mi-g23zfi


https://wolfram.com/xid/0n4oikqt8mi-s0damc

Different settings for InitialSeeding can lead to different solutions of boundary value problems:

https://wolfram.com/xid/0n4oikqt8mi-v601e

Specify a different value for the StartingGuess:

https://wolfram.com/xid/0n4oikqt8mi-n6su0o

Specify a complex-valued initial seed:

https://wolfram.com/xid/0n4oikqt8mi-vhheii

Find a solution to a boundary value problem:

https://wolfram.com/xid/0n4oikqt8mi-4ndi86


https://wolfram.com/xid/0n4oikqt8mi-88uqkc

Find a different solution by specifying a different setting for InitialSeeding:

https://wolfram.com/xid/0n4oikqt8mi-3c35bt


https://wolfram.com/xid/0n4oikqt8mi-da7nhp

Give different initial seedings for the "Shooting" method for a nonlinear boundary value problem:

https://wolfram.com/xid/0n4oikqt8mi-8burp


https://wolfram.com/xid/0n4oikqt8mi-cv0m5l

With the "Shooting" method, initial seeding can also be given inside of the solution interval:

https://wolfram.com/xid/0n4oikqt8mi-mfqp9t

Use InitialSeeding that is used to find consistent initial conditions for a system of differential algebraic equations:

https://wolfram.com/xid/0n4oikqt8mi-p6susd

https://wolfram.com/xid/0n4oikqt8mi-0bexxw

Possible Issues (2)Common pitfalls and unexpected behavior
For certain DAE systems, a message about inconsistent initial condition may be issued if no initial seeding is specified:

https://wolfram.com/xid/0n4oikqt8mi-i63x6k


https://wolfram.com/xid/0n4oikqt8mi-lu52t9

Provide an initial condition seeding to get consistent initial conditions:

https://wolfram.com/xid/0n4oikqt8mi-pwxtkv

https://wolfram.com/xid/0n4oikqt8mi-i5r48x

Different initial seeding values can lead to different results for DAE systems:

https://wolfram.com/xid/0n4oikqt8mi-kr5hi1

https://wolfram.com/xid/0n4oikqt8mi-gaomg2

Specify a different starting guess:

https://wolfram.com/xid/0n4oikqt8mi-8b8ag6

Wolfram Research (2019), InitialSeeding, Wolfram Language function, https://reference.wolfram.com/language/ref/InitialSeeding.html.
Text
Wolfram Research (2019), InitialSeeding, Wolfram Language function, https://reference.wolfram.com/language/ref/InitialSeeding.html.
Wolfram Research (2019), InitialSeeding, Wolfram Language function, https://reference.wolfram.com/language/ref/InitialSeeding.html.
CMS
Wolfram Language. 2019. "InitialSeeding." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InitialSeeding.html.
Wolfram Language. 2019. "InitialSeeding." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InitialSeeding.html.
APA
Wolfram Language. (2019). InitialSeeding. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InitialSeeding.html
Wolfram Language. (2019). InitialSeeding. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InitialSeeding.html
BibTeX
@misc{reference.wolfram_2025_initialseeding, author="Wolfram Research", title="{InitialSeeding}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/InitialSeeding.html}", note=[Accessed: 16-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_initialseeding, organization={Wolfram Research}, title={InitialSeeding}, year={2019}, url={https://reference.wolfram.com/language/ref/InitialSeeding.html}, note=[Accessed: 16-April-2025
]}