Hello, I tried to following to find a maxima of a function: And the solution sage spits out are: I understand that sage cannot evaluate the validity of the second solution but the first one surely is no solution at all. Why does it give me this solution or am I doing anything wrong? |

I would not agree with you that these solutions are 'wrong'. They are just presented in a very user unfriendly way. The 1st one, i.e.: definitely so, it is not 'wrong' as you state - it is just 'totally useless' ;) The other solution is also perfectly ok since so, the solution you want is which I think is ok ..... from a well known competitor |

This is a bug (?) in The current Maxima has which is basically the same issue. I've reported this upstream https://sourceforge.net/p/maxima/bugs/2512/">here. |

I beg to differ : Maxima 5.28.0 http://maxima.sourceforge.net using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (a.k.a. GCL) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) load(to_poly_solve); Loading maxima-grobner $Revision: 1.6 $ $Date: 2009-06-02 07:49:49 $ (%o1) /usr/share/maxima/5.28.0/share/to_poly_solve/to_poly_solve.mac (%i2) display2d:false; (%o2) false (%i3) f(x,t):=(%e^(x (%o3) f(x,t):=%e^(x (%i4) map(factor,%solve([factor(diff(f(x,t),x))=0,factor(diff(diff(f(x,t),x),x))<0],x)); (%o4) %union([x = 1,-2 > 0],[x = (t-2)/t,2 > 0]) which is correct. Note that I load()ed to poly solve, HTH, |

Asked: **Dec 01 '12**

Seen: **122 times**

Last updated: **Dec 25 '12**

powered by ASKBOT version 0.7.22

Copyright Sage, 2010. Some rights reserved under creative commons license.

I know, that I could only solve for f'(x)==0 and filter for f''(x)<0 but solve shouldn't contain solutions like that, I think.

maweki (Dec 02 '12)