Ask your own question, for FREE!
Mathematics 18 Online
OpenStudy (unklerhaukus):

Teach me Modular arithmetic @ParthKohli

OpenStudy (unklerhaukus):

please

Parth (parthkohli):

Thank you for qualifying me :P

Parth (parthkohli):

mod(x,y) = The remainder you get by dividing x and y.

OpenStudy (unklerhaukus):

so mod(1,x)=1 always?

OpenStudy (unklerhaukus):

x/y or y/x

Parth (parthkohli):

Oops sorry

Parth (parthkohli):

y/x

Parth (parthkohli):

I'm new to modular mathematics too.

OpenStudy (unklerhaukus):

the principle is like a circular ruler ?

Parth (parthkohli):

Aw snap

OpenStudy (anonymous):

\[a\mod b=x\forall x<b,\frac{a-x}b\in\mathbb Z\]

Parth (parthkohli):

\( \color{Black}{\Rightarrow x = y(modz) }\) This means that when you divide x and z, then you get y as the remainder.

OpenStudy (anonymous):

I'm trying to think if a more rigorous definition is required.

OpenStudy (unklerhaukus):

ok new notation for me can you read that out in words?

Parth (parthkohli):

\( \color{Black}{\Rightarrow x = y(modz) \Longleftrightarrow mod(z,x) = y }\)

OpenStudy (unklerhaukus):

so i would say that like this? if x is y mod z then mod of z and x is equal to y

Parth (parthkohli):

Yes. Modulus.

Parth (parthkohli):

mod is short for modulus.

OpenStudy (unklerhaukus):

it is modulus oh good.

Parth (parthkohli):

So did you understand now?

OpenStudy (unklerhaukus):

so if x is y the modulus of z then the modulus of z and x is equal to y

OpenStudy (unklerhaukus):

*if x is y times the modulus of z ....

Parth (parthkohli):

\( \color{Black}{\Rightarrow \mod{(1,\mathbb{Z}) = 0} }\)

Parth (parthkohli):

No not times.

Parth (parthkohli):

http://en.wikipedia.org/wiki/Modular_arithmetic look at this.

Parth (parthkohli):

You should Google for the notation.

OpenStudy (unklerhaukus):

oh, ah i see the modulus of one and an integer is equal to zero, makes sense their would be no remainder

Parth (parthkohli):

Exactly.

OpenStudy (unklerhaukus):

is \[\mod(x,y)=\mod(y,x)\] ?

Parth (parthkohli):

Try it with two numbers.

Parth (parthkohli):

It'd surely work if x and y are 1.

Parth (parthkohli):

It'd certainly work if \(x = y\).

OpenStudy (unklerhaukus):

\[\mod(5,11)=6\] \[\mod(11,5)=5\], or did i write that the wrong way arround

Parth (parthkohli):

You are correct here :)

OpenStudy (unklerhaukus):

mod(5,11)=1 ?

OpenStudy (unklerhaukus):

so the order is important

Parth (parthkohli):

mod(5,11) = 5

Parth (parthkohli):

Yes it is very very very important.

Parth (parthkohli):

Do you want to know a use of modular arithmetic?

OpenStudy (unklerhaukus):

donuts ?

Parth (parthkohli):

lol

OpenStudy (unklerhaukus):

yeah i guess another example wouldn't hurt

Parth (parthkohli):

If you want to add hours according to a clock, for example you want to add x hours to y'o clock, then you'll use the clock 7 notation.

Parth (parthkohli):

\(\mod{(x + y,12)}\)

OpenStudy (unklerhaukus):

yeh i saw you asking a question about that earlier

Parth (parthkohli):

3 hours added to 11'o clock is not 14 'o clock lol

Parth (parthkohli):

Yeah I did xD

OpenStudy (unklerhaukus):

clock 7 notation ? why the seven?

Parth (parthkohli):

12*

OpenStudy (unklerhaukus):

ah , that makes sense, now

Parth (parthkohli):

Hmm, I'm glad it does :D

OpenStudy (unklerhaukus):

then should we say \(\mod(x,y)\) is the modulus of x with respect to y? or to base y or something like that

Parth (parthkohli):

Hmm? I don't get the question. I need examples :P

OpenStudy (unklerhaukus):

well can the time '3 hours after 11' being displayed on a 12-hr clock be said the time modulus of (3) to base twelve is two \[\mod(3+11,12)=2\]

Parth (parthkohli):

Yes exactly

OpenStudy (unklerhaukus):

you would say to base twelve?

Parth (parthkohli):

No

Parth (parthkohli):

14 modulus 12

OpenStudy (unklerhaukus):

and you say somthing about your fourmula @badreferences \[a\mod b=x\forall x<b,\frac{a-x}b\in\mathbb Z\] how do you say it?

OpenStudy (anonymous):

\(\forall\) means "for all", or "these are the conditions for which the statement is true".

OpenStudy (unklerhaukus):

the modulus of b is for all x less that b and withan integer remainder of (a minus x) over b is equal to y .

OpenStudy (unklerhaukus):

is that right?

OpenStudy (unklerhaukus):

?<

OpenStudy (anonymous):

Well, actually, Parth is teaching you I think another notation of modulo arithmetic. I'm more familiar with the modulo as an operator. And right now I have a bit of a headache, so you can ignore me. ;) It's not that important. Parth was pretty dead on.

Parth (parthkohli):

Bwaha I'm new too so I'm not the perfect teacher

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!