Simplifying an inequality
I ask:
var('x,y')
ineq = (x+2<y+2)
simplify(ineq)
and get:
x + 2 < y + 2
How can I get Sage to simplify this inequality to:
x < y
?
I ask:
var('x,y')
ineq = (x+2<y+2)
simplify(ineq)
and get:
x + 2 < y + 2
How can I get Sage to simplify this inequality to:
x < y
?
You can simplify this using
solve(ineq,x)
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2016-03-13 09:27:08 +0100
Seen: 867 times
Last updated: Mar 19 '16
LMI (Linear Matrix Inequalities)
why won't simplify multiply out square roots?
Symbolic expressions and simplifying
No simplification is done to invert trigonometric functions ?
Factorial simplification error
Dropping higher powers of a variable in an expression