Can this be solved in Sage?

x-4>sqrt(x-2)

The standard solve method does not work, and neither does solve_ineq.

edit retag close merge delete

I've been playing around with this question for a while now. I tried maxima's fourier elimination package with no success. I can't find a solution in Sage. Embarrassingly, WolframAlpha has no trouble: http://www.wolframalpha.com/input/?i=x-4+%3E+sqrt%28x-2%29

( 2011-06-10 14:45:55 +0200 )edit

Yes, I noticed WA could solve it.

( 2011-06-10 19:46:41 +0200 )edit

solve_ineq even fires an error here

( 2011-06-16 03:15:27 +0200 )edit

If you read the documentation for solve_ineq you'll see that if you simply call solve_ineq with an inequality as the argument, it passed it to Maxima assuming that it's a rational inequality (which this is certainly not). If you pass the inequality and variable as lists then it passes them to Maxima using the fourier elimination procedure which can solve some general non-linear inequalities, but not this one unfortunately. See "Case 1" and "Case 2" in the documentation for solve_ineq.

( 2011-06-16 17:46:20 +0200 )edit

( 2011-07-04 21:18:48 +0200 )edit

Sort by ยป oldest newest most voted

If you read the documentation for solve_ineq you'll see that if you call solve_ineq with an inequality as the argument, it's passed to Maxima assuming that it's a rational inequality (which this is certainly not). If you pass the inequality and variable as lists, Maxima is instructed to use the "Fourier elimination procedure" which can solve some general non-linear inequalities, but not this one unfortunately.

See "Case 1" and "Case 2" in the documentation for solve_ineq.

more