Congruence Modulo 'n' Flashcards

1
Q

What is meant by a ≡ b modulus n?

A

‘a’ is said to be congruent to ‘b’ (a ≡ b) modulus n if:
1. n|(a - b)
2. a and b have the same remainder when divided by n
3. a = b + kn, where k is some multiple of n.

n ∈ N > 1, and a, b ∈ Z ( N = natural numbers, Z = integers)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Prove that congruency is reflexive.

A

For a relation R to be reflexive, (a, a) ∈ R. Thus this must be true a ≡n a.
Recall a ≡n b <=> a = b + kn.
Thus, a ≡n a <=> a = a + kn.
k, being a multiple of n, can be written as:
a = a + 0•n
Thus a ≡n a is reflexive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Prove ≡n is symmetric.

A

For a relation R to be symmetric:
(a, b) ∈ R => (b, a) ∈ R.
Suppose a ≡n b, then
a = b + kn
a - b = kn
-a + b = (-k)n
b - a = (-k)n
Since ‘-k’ is still a multiple of n, it can be written as:
b - a = mn
Thus as n|(b -a), a ≡n b => b ≡n a, it is symmetric.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Prove that congruency is transitive.

A

For a relation R to be transitive,
(a, b) ∈ R, (b, c) ∈ R => (a, c) ∈ R.
Thus a ≡n b, b ≡n c => a ≡n c.
Notice a ≡n b <=> a - b = k1n, b ≡n c <=> b - c = k2n, a ≡n c <=> a - c = k3n.

Notice also that a - c = (a - b) + (b - c);
a - c = k1n + k2n,
=> a - c = (k1 + k2)n
As (k1 + k2) is still considered a multiple of n, their addition can be written as k3:

a - c = k3n.

It is seen that n|a - c. Thus, this is transitive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly