Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Formatting inequalities display

When solving inequalities of the type $$x^2-1>0$$ I use the code solve(x^2-1<0,x) to obtain the answer [[x > -1, x < 1]].

Question 1: Is there a way to make Sage display this solution as -1<x<1?

Question 2: Is there an already implemented way to change the display of the inequality x>1 to 1<x?