Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Reducing Inequalities' topicStudent Support Forum > General > "Reducing Inequalities"

Next Comment >Help | Reply To Topic
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: ,

Subject (listing for 'Reducing Inequalities')
Author Date Posted
Reducing Inequalities Alex 06/06/04 02:45am
Re: Reducing Inequalities Carlo 06/10/04 06:35am
Next Comment >Help | Reply To Topic