is an option to functions like NDSolve that specifies the maximum size of a single step used in generating a result.


MaxStepSize
is an option to functions like NDSolve that specifies the maximum size of a single step used in generating a result.
Examples
open all close allBasic Examples (1)
Keep the largest step taken by NDSolve to be 0.01:
Applications (2)
The default step control may miss a suddenly varying feature:
A smaller MaxStepSize setting ensures that NDSolve catches the feature:
Attempting to compute the number of positive integers less than misses several events:
Setting a small enough MaxStepSize ensures that none of the events are missed:
Properties & Relations (1)
For a length l, MaxStepFraction->f is equivalent to MaxStepSize->(f l):
See Also
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), MaxStepSize, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxStepSize.html.
CMS
Wolfram Language. 1996. "MaxStepSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MaxStepSize.html.
APA
Wolfram Language. (1996). MaxStepSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxStepSize.html
BibTeX
@misc{reference.wolfram_2025_maxstepsize, author="Wolfram Research", title="{MaxStepSize}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/MaxStepSize.html}", note=[Accessed: 15-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_maxstepsize, organization={Wolfram Research}, title={MaxStepSize}, year={1996}, url={https://reference.wolfram.com/language/ref/MaxStepSize.html}, note=[Accessed: 15-August-2025]}