Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8763

Re: Error in solving inequalities

From Szabolcs <szhorvat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Error in solving inequalities
Date 2012-02-27 11:41 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jifq4e$sls$1@smc.vnet.net> (permalink)
References <jictn2$enl$1@smc.vnet.net>

Show all headers | View raw


On Sunday, 26 February 2012 11:23:46 UTC+2, Franco  wrote:
> Hi,
> I cannot understand why solving
> Reduce[(x^2/x )>= 0, x]
> I get the result x>=0.
> 
> Clearly the inequality has not meaning for x=0.
> 
> Thanks a lot for your anwers.
> 

If you type x^2/x >= 0, Mathematica automatically returns x >= 0.  This is the expression Reduce sees.  It's not difficult to see that there are so many advantages to this simplification being automatically done.

However Reduce is usually smart enough about these things.  If you pass it x^2 / (x-1) >= 0 (which does not auto-simplify, so Reduce can see the expression as you entered it), it will return x == 0 || x > 1.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Error in solving inequalities "Franco" <franco@besd.net> - 2012-02-26 09:23 +0000
  Re: Error in solving inequalities Szabolcs <szhorvat@gmail.com> - 2012-02-27 11:41 +0000

csiph-web