ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 26 Nov 2018 14:57:04 -0600multiplication -1 with a inequalityhttps://ask.sagemath.org/question/11044/multiplication-1-with-a-inequality/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.
Sun, 16 Feb 2014 00:49:58 -0600https://ask.sagemath.org/question/11044/multiplication-1-with-a-inequality/Answer by rws for <p>hi,
in sagemath cloud i multiply a inequality with -1. i expected that the operator change from > to <. but it dit not!</p>
<p>my input:</p>
<pre><code>reset();var(x)
ie = (x>1); show(ie)
show(solve(ie,x))
ie = ie*(-1); show(ie)
show(solve(ie,x))
</code></pre>
<p>i dit the solve() to see that the multiplication with -1 results in another solution, which is wrong.</p>
https://ask.sagemath.org/question/11044/multiplication-1-with-a-inequality/?answer=16056#post-id-16056See http://trac.sagemath.org/ticket/7660
For the moment you have to use a subsystem, e.g. maxima for inequalities.Mon, 17 Feb 2014 02:43:01 -0600https://ask.sagemath.org/question/11044/multiplication-1-with-a-inequality/?answer=16056#post-id-16056Comment by pi for <p>See <a href="http://trac.sagemath.org/ticket/7660">http://trac.sagemath.org/ticket/7660</a></p>
<p>For the moment you have to use a subsystem, e.g. maxima for inequalities.</p>
https://ask.sagemath.org/question/11044/multiplication-1-with-a-inequality/?comment=44459#post-id-44459"For the moment" is getting funny after nearly 5 years.
is it such a big problem?Mon, 26 Nov 2018 14:57:04 -0600https://ask.sagemath.org/question/11044/multiplication-1-with-a-inequality/?comment=44459#post-id-44459