Skip to content

FindMaximum

FindMaximum(f, {x, xstart})

searches for a local numerical maximum of f for the variable x and the start value xstart.

FindMaximum(f, {x, xstart}, Method->methodName)

searches for a local numerical maximum of f for the variable x and the start value xstart, with one of the following method names:

FindMaximum(f, {{x, xstart},{y, ystart},...})

searches for a local numerical maximum of the multivariate function f for the variables x, y,... and the corresponding start values xstart, ystart,....

See

Powell

Implements the Powell optimizer.

This is the default method, if no methodName is given.

ConjugateGradient

Implements the ConjugateGradient optimizer.
This is a derivative based method and the functions must be symbolically differentiable.

SequentialQuadratic

Implements the sequentiel quadratic optimizer.
This is a derivative, multivariate based method and the functions must be symbolically differentiable.

Examples

>> FindMaximum(Sin(x), {x, 0.5})
{1.0,{x->1.5708}}

FindMinimum, FindRoot, NRoots, Solve