MathGroup Archive 2014

[Date Index] [Thread Index] [Author Index]

Search the Archive

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.




  • Prev by Date: MathWorld Utility Packages
  • Next by Date: Re: matrix manipulation
  • Previous by thread: Re: Strange result of solve
  • Next by thread: MathWorld Utility Packages