Re: About Reduce and Mod
- To: mathgroup at smc.vnet.net
- Subject: [mg96915] Re: About Reduce and Mod
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 27 Feb 2009 06:12:26 -0500 (EST)
- Organization: Uni Leipzig
- References: <go63mv$psm$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, FullSimplify[ Reduce[{Mod[x, 5] == Mod[xP, 5], 0 <= xP < 5}, {xP}, Backsubstitution -> True], Element[x, Reals]] ?? Regards Jens olfa wrote: > Hi Mathematica community, > I have this input: Reduce[{Mod[x, 5] == Mod[xP, 5], 0 <= xP < 5}, > {xP}, Backsubstitution -> True] > Mathematicas gives me this output:0 <= Re[Mod[x, 5]] < 5 && Im[Mod[x, > 5]] == 0 && xP == Mod[x, 5] > 1)but why there is 0 <= Re[Mod[x, 5]] < 5 && Im[Mod[x, 5]] == 0 as > part of the output ? > 2) and how could I eliminate it (by adding something in reduce for > example) because all that I want is only this output xP == Mod[x, 5]? > > thank you very much. >