About Reduce and Mod
- To: mathgroup at smc.vnet.net
- Subject: [mg96875] About Reduce and Mod
- From: olfa <olfa.mraihi at yahoo.fr>
- Date: Thu, 26 Feb 2009 07:59:14 -0500 (EST)
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.