Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16644

Re: Strange result of solve

From Matthias Bode <lvsaba@hotmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Strange result of solve
Date 2014-03-11 07:35 +0000
Message-ID <lfmecd$nav$1@smc.vnet.net> (permalink)
References <20140310084113.E8ECC6A3B@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


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.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar


Thread

Re: Strange result of solve Matthias Bode <lvsaba@hotmail.com> - 2014-03-11 07:35 +0000

csiph-web