# solve x*exp(x)==0 and x*exp(-x)==0

```
sage: solve(x*exp(x)==0,x)
[x == 0, e^x == 0]
```

but

```
sage: solve(x*exp(-x)==0,x)
[x == 0]
```

How can i avoid the e^x==0 in the solutionlist?

Thanks for help.

solve x*exp(x)==0 and x*exp(-x)==0

```
sage: solve(x*exp(x)==0,x)
[x == 0, e^x == 0]
```

but

```
sage: solve(x*exp(-x)==0,x)
[x == 0]
```

How can i avoid the e^x==0 in the solutionlist?

Thanks for help.

0

This should be fixed in Sage 5.0, because of Trac 10682. Compare the following (old and new versions of Maxima):

```
Maxima 5.23.2 http://maxima.sourceforge.net
using Lisp ECL 11.1.1
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) solve(x*%e^x=0,x);
x
(%o1) [x = 0, %e = 0]
Maxima 5.26.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.24
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.
(%i2) solve(x*%e^x=0,x);
(%o2) [x = 0]
```

Asked: **
2012-03-12 02:06:03 -0600
**

Seen: **298 times**

Last updated: **Mar 12 '12**

Use `solve`output to create a function

understanding complex numbers from solve()

determine consistency of nonlinear system of equations

How to solve this equation with double square root?

What is the best way to return only real solutions?

declare a variable as *not* an integer for solve

Understanding the 'solve()' result with braces and brackets ("([{x:z},{x:y}],[1,1])")

System of 3 equations in 3 variables with symbolic coefficients

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

In Maxima 5.26.0 both solutions are [x=0] so I hope the problem will vanish soon

Huh, identical timings! Yes, #10682 should take care of it, and has positive review.