Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2012-10-25 22:29:20

Leroy
Guest

Modulo

How do i solve these
5 mod 2+2i
4+5i mod 3
3+i mod 1+i
i mod 3
56 mod 5i

#2 2012-10-25 22:46:56

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 86,771

Re: Modulo

Hi Leroy;

For 5 mod 2+2i;

So the answer is 1.


For 4+5i mod 3;

So the answer is 1 - i.


In mathematics, you don't understand things. You just get used to them.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Online

#3 2012-10-25 23:36:06

Leroy
Guest

Re: Modulo

I didn't really understood the first method and it seems to me the second one could be (4+5i)-3(1+i)=1+2i

#4 2012-10-25 23:40:30

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 86,771

Re: Modulo

Hi;

That is not the correct expression. Mathematica confirms what I did in post #3.


In mathematics, you don't understand things. You just get used to them.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Online

#5 2012-10-25 23:45:01

Ronald
Guest

Re: Modulo

Ok,but could you explain the method to me?

#6 2012-10-25 23:59:32

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 86,771

Re: Modulo

Hi;

I am just plugging into a formula:

For a mod n

I have been interpreting the int as the greatest integer.

I would say to be careful with the work done above. I can find no standardization for that formula for complex numbers. As a matter of fact some say floor or int are not defined for complex numbers. Others define them differently than Mathematica does.


In mathematics, you don't understand things. You just get used to them.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Online

#7 2012-10-26 03:59:18

zetafunc.
Guest

Re: Modulo

Interesting, I never thought about modular arithmetic with complex numbers.

#8 2012-10-26 04:25:31

Leroy
Guest

Re: Modulo

I think,as complex number is also a number,so it should have all properties of normal number-mod,factorial,floor,ceil,ratio,integer part,...

#9 2012-10-26 04:39:50

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 86,771

Re: Modulo

Not necessarily, there are differences. For one thing the mod function is different.


In mathematics, you don't understand things. You just get used to them.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Online

Board footer

Powered by FluxBB