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.


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 all close allScope (7)
Specify an initial seeding that depends on a spatial coordinate:
Use the solution of a linear boundary value problem as the initial seeding for a nonlinear boundary value problem:
Different settings for InitialSeeding can lead to different solutions of boundary value problems:
Specify a different value for the StartingGuess:
Specify a complex-valued initial seed:
Find a solution to a boundary value problem:
Find a different solution by specifying a different setting for InitialSeeding:
Give different initial seedings for the "Shooting" method for a nonlinear boundary value problem:
With the "Shooting" method, initial seeding can also be given inside of the solution interval:
Use InitialSeeding that is used to find consistent initial conditions for a system of differential algebraic equations:
See Also
History
Text
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.
APA
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: 11-August-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: 11-August-2025]}