we have solve(x^2+2*x+1=0); [x=-1] but, I don't know how to solve(x^2+2*x+1>0); Cannot solve inequalities. -`solve' -- an error. To debug this try debugmode(true);