Re: Strange result of solve
- To: mathgroup at smc.vnet.net
 - Subject: [mg132424] Re: Strange result of solve
 - From: Matthias Bode <lvsaba at hotmail.com>
 - Date: Tue, 11 Mar 2014 03:38:29 -0400 (EDT)
 - Delivered-to: l-mathgroup@mail-archive0.wolfram.com
 - Delivered-to: l-mathgroup@wolfram.com
 - Delivered-to: mathgroup-outx@smc.vnet.net
 - Delivered-to: mathgroup-newsendx@smc.vnet.net
 - References: <20140310084113.E8ECC6A3B@smc.vnet.net>
 
Hola:
> I cannot really understand the different results of the following:>
> Solve[ 5 x == 0, x, Modulus-> 5 ]
> result:  {{x-> 0}}
>
> and:
>
> Solve[ 0 x == 0, x, Modulus-> 5 ]
> result: {{}}
>
> The last means that every x is OK. Which I think is true. But I would
> expect the same result for the first case.
The result for the first case is the ring of integers.
Table[{x, Mod[5*x, 5]}, {x, -5, 5}]
{{-5, 0}, {-4, 0}, {-3, 0}, {-2, 0}, {-1, 0}, {0, 0}=
, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}}
Best regards,
MATTHIAS BODE.
- References:
- Strange result of solve
- From: Wiel Aerts <wiel.aerts@xs4all.nl>
 
 
 - Strange result of solve