Ask Your Question
1

multiplication -1 with a inequality

asked 2014-02-16 07:49:58 +0200

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
1

answered 2014-02-17 09:43:01 +0200

rws gravatar image

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

Comments

"For the moment" is getting funny after nearly 5 years. is it such a big problem?

pi gravatar imagepi ( 2018-11-26 21:57:04 +0200 )edit

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 07:49:58 +0200

Seen: 197 times

Last updated: Feb 17 '14