Elements On Sets
Elements On Sets
In mathemtatics a set is a way of gathering objects which have similar properties in a meaningful
way.
Exemple1:
So we can label those numbers by a symbol, say A and gather them is a set as follow:
𝐴 = {𝑎𝑙𝑙 𝑛𝑎𝑡𝑢𝑟𝑎𝑙 𝑛𝑢𝑚𝑏𝑟𝑠 𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑒 𝑜𝑓 3}
2. We can consider the set of all the multiple of three that lies between -5 and 8, and we call
this set by B, we have:
𝐵 = {𝑛 ∈ 𝑍: −5 ≤ 𝑛 ≤ 5 𝑎𝑛𝑑 𝑛 ≡ 0[3]}
𝐵 = {−3, 0, 3, 6}
3. The polygons that have only three sides can be considered together as forming the set of all
the triangles
In general If p(x) is predicate, where x lie in a given set E, we can define the set A of all the x element
of E that make p(x) true:
𝐴 = {𝑥 ∈ 𝐸: 𝑝(𝑥)}
Two sets are equal il and only if they contain the same elements :
𝐴 = 𝐵 ⟺ (𝑥 ∈ 𝐴 ⟺ 𝑥 ∈ 𝐵)
Cardinality of a set:
Exemple2:
Exemple3:
𝐴 = {𝑥 ∈ 𝑍: 𝑥 𝑖𝑠 𝑎 𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑒 𝑜𝑓 3}
𝐵 = {𝑥 ∈ 𝑍: 𝑥 𝑖𝑠 𝑎 𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑒 𝑜𝑓 6}
𝑥 ∈ 𝐵 ⟺ 𝑥 𝑖𝑠 𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑒 𝑜𝑓 6
⟹ 𝑥 = 6𝑘, 𝑘 ∈ 𝑍
⟹ 𝑥 = 3 × (2𝑘)
⟹ 𝑥 = 3 × 𝑘 ′ , 𝑘 ′ = 2𝑘
⟹ 𝑥 𝑖𝑠 𝑎 𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑒 𝑜𝑓 3
⟹𝑥∈𝐴
Remark 1:
Remark 2:
𝐴⊂𝐴
Exemple4:
ℕ⊂ℤ⊂ℚ⊂ℝ⊂ℂ
Theorem1 :
Proof:
Briefly, we know that the equivalence of two propositions means by definition that these
propositions have the same truth value, so both implication are true (true implies true, and false
imply false)
Conversely if 𝑝 then 𝑞 we cannot have 𝑝 true and 𝑞 false, so either 𝑝 is false or both 𝑝 and 𝑞 are true
In the case of 𝑝 is false the second implication imposes to us that 𝑞 must be false
So 𝑝 and 𝑞 must have the same truth value, wich means that they are equivalent.
Theorem2:
Proof:
Use the theorem1 and the definition of the equality of two sets.
An empty set is a set that contains no elements. We note it by the symbole ∅ (phi).
Exemple5:
𝐴 = {𝑥 ∈ 𝑅: 𝑥 2 + 𝑥 + 1 = 0}
Theorem:
Proof:
1. If A is any set then must prove that ∅ ⊂ 𝐴
To do it we must prove that the proposition [∀𝑥: 𝑥 ∈ ∅ ⟹ 𝑥 ∈ 𝐴] is true.
For any x : 𝑥 ∉ ∅ because the empty set contains no element.
So : 𝑥 ∈ ∅ 𝑖𝑠 𝑓𝑎𝑙𝑠𝑒
The false implies both the true and the false
Then 𝑥 ∈ ∅ ⟹ 𝑥 ∈ 𝐴 is true
Which is by definition : ∅ ⊂ 𝐴
2. By contradiction, suppose that there are two empty sets, say ∅1 𝑎𝑛𝑑 ∅2 :
𝑥 ∈ ∅1 𝑖𝑠 𝑓𝑎𝑙𝑠𝑒 so 𝑥 ∈ 𝜙1 ⟹ 𝑥 ∈ 𝜙2 is true so 𝜙1 ⊂ 𝜙2
𝑥 ∈ ∅2 𝑖𝑠 𝑓𝑎𝑙𝑠𝑒 so 𝑥 ∈ 𝜙2 ⟹ 𝑥 ∈ 𝜙1 is true so 𝜙2 ⊂ 𝜙1
𝐴 ∪ 𝐵 = {𝑥: 𝑥 ∈ 𝐴 𝑜𝑟 𝑥 ∈ 𝐵}
𝐴 ∩ 𝐵 = {𝑥: 𝑥 ∈ 𝐴 𝑎𝑛𝑑 𝑥 ∈ 𝐵}
𝐴 − 𝐵 = {𝑥: 𝑥 ∈ 𝐴 𝑎𝑛𝑑 𝑥 ∉ 𝐵}
𝐴 △ 𝐵 = (𝐴 − 𝐵) ∪ (𝐵 − 𝐴)
𝐴̅𝐸 = {𝑥 ∈ 𝐸: 𝑥 ∉ 𝐴}
Exemple6 :
𝐸 = {𝑛 ∈ 𝑍: 𝑛 𝑖𝑠 𝑒𝑣𝑒𝑛}
𝑂 = {𝑛 ∈ 𝑍: 𝑛 𝑖𝑠 𝑜𝑑𝑑}
We have :
𝐸∪𝑂 = 𝑍
𝐸∩𝑂 =∅
𝐸−𝑂 = 𝑂−𝐸 = ∅
𝐸̅ 𝑍 = 𝑂
𝑂̅ 𝑍 = 𝐸
Exercice1 :
𝐴 = {𝑛 ∈ 𝑍: 2|𝑛}
𝐵 = {𝑛 ∈ 𝑍: 3|𝑛}
𝐶 = {𝑛 ∈ 𝑍: 6|𝑛}
Theorem3:
Exercice2 :
In a group of students, every student is studying at least logic or sets. 20 are studying at least logic
,15 are studying at least sets, and 7 are studying both logic and sets.
Solution:
𝐼𝑓 𝐿 = { 𝑠𝑡𝑢𝑑𝑒𝑛𝑡𝑠 𝑠𝑡𝑢𝑑𝑦𝑖𝑛𝑔 𝑎𝑡 𝑙𝑒𝑎𝑠𝑡 𝑙𝑜𝑔𝑖𝑐}
𝐴𝑛𝑑 𝑆 = {𝑠𝑢𝑡𝑑𝑒𝑛𝑡𝑠 𝑠𝑡𝑢𝑑𝑦𝑖𝑛𝑔 𝑎𝑡 𝑙𝑒𝑎𝑠𝑡 𝑠𝑒𝑡𝑠}
We have by theorem3:
|𝐿 ∪ 𝑆 | = |𝐿| + |𝑆 | − |𝐿 ∩ 𝑆 |
= 20 + 15 − 7
Therefore the number of the students in the group is 28.
Exercice 4:
There 150 people, and 3 kinds of fruits, orange, peach and grapes
Solution:
Use exercice 2
Theorem 4:
1. 𝐴∩𝐵 = 𝐵∩𝐴
2. (𝐴 ∩ 𝐵) ∩ 𝐶 = 𝐴 ∩ (𝐵 ∩ 𝐶 )
3. 𝐴∩𝐴 = 𝐴
4. 𝐴∩∅ = ∅
5. 𝐴 ∩ (𝐵 ∪ 𝐶 ) = (𝐴 ∩ 𝐵) ∪ (𝐴 ∩ 𝐶 )
Theorem 5:
1. 𝐴∪𝐵 = 𝐵∪𝐴
2. (𝐴 ∪ 𝐵) ∪ 𝐶 = 𝐴 ∪ (𝐵 ∪ 𝐶 )
3. 𝐴∪𝐴 = 𝐴
4. 𝐴∪∅ = 𝐴
5. 𝐴 ∪ (𝐵 ∩ 𝐶 ) = (𝐴 ∪ 𝐵) ∩ (𝐴 ∪ 𝐶 )
Proof: