Is A a subset of B for these modular arithmetic sets?

  • Thread starter Thread starter Dustinsfl
  • Start date Start date
  • Tags Tags
    Sets
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 3K views
Dustinsfl
Messages
2,217
Reaction score
5
A={x ∈ ℤ | x ≡ 7 (mod 8)}
B={x ∈ ℤ | x ≡ 3 (mod 4)}

Is A ⊆ B? Yes

Since x ∈ A, then xa = 7 + 8a = 8a + 7 = 2(4a + 3) +1. And since the ∈ B are of the form xb = 3 + 4b = 4b + 3 = 2(2b + 1) + 1, both ∈ A,B are odd. A ⊆ B since the ∈ of both sets are of 2p + 1. Q.E.D.

Is this correct?
 
Physics news on Phys.org
No. You want to show that every element of A is an element of B. All you showed is that neither contains an even integer.

Try writing 7 + 8a in a form that shows it is in B.
 
I don't know how to go about doing that.
 
So do you see how the conclusion follows? It is pretty straight forward now.
 
Since x ∈ A, then x = 7 + 8a = 8a + 7 = 4(2a) + 4 + 3 = 4(2a + 1) + 3. And since the ∈ B are of the form x = 3 + 4b = 4b + 3, all x = 4p + 3 and A ⊆ B. Q.E.D.

Correct?