| Author |
Comment/Response |
Alex
|
06/06/04 02:45am
Hi,
I have two inequalities which I’d like to combine into one by eliminating a variable common to both. For example, if I have x < y and y < z as the two inequalities, Mathematica should have a function that converts the two into x < z (i.e. eliminating y).
I’ve tried the Reduce function: Reduce[{x<y,y<z},{x,z}] but that just gives y "is an element of" Reals&&x<y&&z>y – it gives separate conditions that must be satisfied rather than combining everything into one.
I’ve also tried the Eliminate function, but that doesn’t seem to work: Eliminate[{x<y,y<z},y] just returns me the same thing, Eliminate[{x<y,y<z},y]. Reading the Help description for Eliminate suggests it can only be used for equalities.
If anyone knows of a function that could help, that would be highly, highly appreciated. It seems Mathematica should have such a simple function, but I haven't been able to find it.
URL: , |
|