Ask Your Question
0

multiplication -1 with a inequality

asked 2014-02-16 00:49:58 -0500

pi gravatar image

hi, in sagemath cloud i multiply a inequality with -1. i expected that the operator change from > to <. but it dit not!

my input:

reset();var(x)
ie = (x>1); show(ie)
show(solve(ie,x))
ie = ie*(-1); show(ie)
show(solve(ie,x))

i dit the solve() to see that the multiplication with -1 results in another solution, which is wrong.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-17 02:43:01 -0500

See http://trac.sagemath.org/ticket/7660

For the moment you have to use a subsystem, e.g. maxima for inequalities.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-02-16 00:49:58 -0500

Seen: 62 times

Last updated: Feb 17 '14