Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Topic: "extrema" and complex stationary points in Maple
Replies: 1   Last Post: Dec 8, 1996 4:55 PM

 Messages: [ Previous | Next ]
 Mahmut Parlar Posts: 11 Registered: 12/8/04
"extrema" and complex stationary points in Maple
Posted: Dec 6, 1996 10:11 AM

"extrema" is a useful procedure in Maple that can optimize
nonlinear functions subject to nonlinear equalities. However, it sometimes
goes overboard and considers even the complex stationary points, if they
exist.

For example, to minimize x^4+2*x^2, we enter

> extrema(x^4+2*x^2,{},{x},s);

{0, -1}
> s;
{{x = I}, {x = 0}, {x = -I}}

For this simple problem Maple gives three stationary solutions
two of which are complex. Is it possible to tell Maple that it should only
consider the _real stationary points_ as the complex ones have no meaning
in some problems?

Mahmut Parlar

Date Subject Author
12/6/96 Mahmut Parlar
12/8/96 Robert Israel