First time here? Check out the FAQ!

Ask Your Question
1

multiplication -1 with a inequality

asked 11 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

rws gravatar image

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

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

Preview: (hide)
link

Comments

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

pi gravatar imagepi ( 6 years ago )

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: 11 years ago

Seen: 225 times

Last updated: Feb 17 '14