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


Groups > comp.soft-sys.math.mathematica > #8747 > unrolled thread

Error in solving inequalities

Started by"Franco" <franco@besd.net>
First post2012-02-26 09:23 +0000
Last post2012-02-27 11:41 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  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

#8747 — Error in solving inequalities

From"Franco" <franco@besd.net>
Date2012-02-26 09:23 +0000
SubjectError in solving inequalities
Message-ID<jictn2$enl$1@smc.vnet.net>
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.

Mark 



__________ Informazioni da ESET Smart Security, versione del database delle firme digitali 6912 (20120224) __________

Il messaggio รจ stato controllato da ESET Smart Security.

www.nod32.it




[toc] | [next] | [standalone]


#8763

FromSzabolcs <szhorvat@gmail.com>
Date2012-02-27 11:41 +0000
Message-ID<jifq4e$sls$1@smc.vnet.net>
In reply to#8747
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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web