simple inequality check fails - why?

Hi,
I have the simple inequality check for testing purposes in MuPad:
assume(0<x<1)
assumeAlso(0<y<1)
assumeAlso(A>0)
is(1/(1-x) >=1/(1-x*y))
is(A/(1-x) >=A/(1-x*y))
The first check correctly evaluates to TRUE, but the second returns UNKNOWN, however it is obviously true. Am I doing something wrong, or I have reached the limitation of the tool?

Antworten (3)

Tom
Tom am 27 Jun. 2012

0 Stimmen

You have to split up the comparisons: e.g.:
x > 0 & x < 1

1 Kommentar

L. C.
L. C. am 28 Jun. 2012
Thanks. I tried and nothing has changed. Other ideas? I also tried to introduce an upper bound on A as well to avoid possible mess with infinity, but the result is just the same.

Melden Sie sich an, um zu kommentieren.

Radu Trimbitas
Radu Trimbitas am 10 Sep. 2014

0 Stimmen

Your code works works correctly in MATLAB 2014a.
timo
timo am 2 Jan. 2015

0 Stimmen

For me evaluates to:
TRUE TRUE
in mupad for Symbolic Math Toolbox Version 6.1 (R2014b)

Gefragt:

am 27 Jun. 2012

Beantwortet:

am 2 Jan. 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by