Re: Re: Simplify Oddity
- To: mathgroup at smc.vnet.net
- Subject: [mg59446] Re: Re: Simplify Oddity
- From: albert <awnl at arcor.de>
- Date: Wed, 10 Aug 2005 02:55:39 -0400 (EDT)
- References: <dd7337$3q5$1@smc.vnet.net> <200508081017.GAA06649@smc.vnet.net> <dd9n8r$j0s$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
> You do not really need the assumptions g!=0 and r!=0.
>
>
> Assuming[{ Element[k,Integers]},Simplify[f1/f2]]
>
> 1
that's true, I was mislead because the following also simplify to 1 (and I
was not thinking hard enough):
Assuming[{g > 0, r > 0}, Simplify[f1/f2]]
Assuming[{r > 0}, Simplify[f1/f2]]
which as far as I can see is correct, independent of what k is (except for
the 0-cases which are known to behave as Andrzej pointed out). At least
Simplify seems to not be disturbed when giving more assumptions than
needed, so it probably makes sense to start with everything one knows...
> x/x
>
> 1
>
> without regard to whether x is 0 or not 1.
thanks to Andrzej for making this clear.
Albert
- References:
- Re: Simplify Oddity
- From: albert <awnl@arcor.de>
- Re: Simplify Oddity