DM Assignment
DM Assignment
ASSIGNMENT
NARAYANGANJ 2023
Question 1:
Prove the following Set identities using Membership Table, Set Builder
Notation and Venn Diagram.
i. De Morgan’s Law
ii. Associative Law
iii. Distributive Law
Answer:-
De Morgan’s Law of union :
The complement of the union of the two sets A and B will be equal to the
intersection of A' (complement of A) and B' (complement of B). This is also known
as De Morgan's Law of Union. It can be represented as (A ∪ B)' = A' ∩ B'.
De Morgan's Law of Intersection:
The complement of the intersection of A and B will be equal to the union of A' and
B'. This condition is called De Morgan's law of Intersection. It can be given by
(A ∩ B)' = A' ∪ B'.
Let ,
X ∈ A' ∩ B'
➢ X ∉ A' and x ∉B'
➢ X ∉ (A ∪ B)
➢ X ∈(A ∪ B)'
Hence , A '∪ B' ⊆(A ∪ B)' ……………………..(2)
From 1 and 2
(A ∪ B)' = A' ∩ B'
(proved)
Set Builder Notation of De Morgan’s Law of intersection (A ∩ B)' = A'
∪ B'
Let ,
X ∈ (A∩ B)'
➢ X ∉ (A∩ B)
➢ X ∉ A or X ∉ B
➢ X ∈ A' or X ∈ B'
➢ X ∈ A'∪ B'
∴ (A ∩ B)' ⊆ A' ∪ B' ……………………(1)
Let,
➢ X ∈ A'∪ B'
➢ X ∈ A' or X ∈ B'
➢ X ∉ A or X ∉ B
➢ X ∉ (A∩ B)
X ∈ (A∩ B)'
∴A' ∪ B' ⊆ (A ∩ B)'……………………(2)
From (1) and (2)
(A ∩ B)' = A' ∪ B'
(proved)
Venn diagram of De Morgan’s Law of union (A ∪ B)' = A' ∩ B'.
Venn diagram of De Morgan’s Law of intersection (A ∩ B)' = A' ∪ B'
Assocative law ;-
Associative law, in mathematics, either of two laws relating to number
operations of addition and multiplication.
Let x ∈ A ∪ (B ∪ C)
➢ x ∈ A ∪ (B ∪ C)
➢ x ∈ A or x ∈ (B or C)
➢ x ∈ A or x ∈ B or x ∈ C
➢ x ∈ (A or B) or x ∈ C
➢ x ∈ (A or B) or C
➢ x ∈ (A ∪ B) ∪ C
A ∪ (B ∪ C) ⊂ (A ∪ B) ∪ C…………………………………(2)
Let x ∈ A ∩ (B ∩ C).
➢ x ∈ A ∩ (B ∩ C)
➢ x ∈ A and x ∈ (B and C)
➢ x ∈ A, x ∈ B and x ∈ C
➢ x ∈ (A and B) and x ∈ C
➢ x ∈ (A and B) and C
➢ x ∈ (A ∩ B) ∩ C
∴A ∩ (B ∩ C) ⊂ (A ∩ B) ∩ C……………………………(2)
(A ∪ B) ∪ C = A ∪ (B ∪ C)
Fig :- (A ∪ B) ∪ C = A ∪ (B ∪ C)
iii. Distributive Law
The Distributive Property is an algebraic property that is used to
multiply a single value and two or more values within a set of
parenthesis. The distributive Property States that when a factor is
multiplied by the sum/addition of two terms, it is essential to multiply
each of the two numbers by the factor, and finally perform the addition
operation. This property can be stated symbolically as:
A ( B+ C) = AB + AC
Where A, B and C are three different values.
(1) A∪(B∩C)=(A∪B)∩(A∪C)
(2) A∩(B∪C)=(A∩B)∪(A∩C)
Membership table of Distributive law of
A∪(B∩C)= (A∪B)∩(A∪C)
Let x ∈ (A ∪ B) ∩ (A ∪ C)
➢ x ∈ (A or B) and x ∈ (A or C)
➢ {x ∈ A or x ∈ B} and {x ∈ A or x ∈ C}
➢ x ∈ A or {x ∈ B and x ∈ C}
➢ x ∈ A or {x ∈ (B and C)}
➢ x ∈ A ∪ {x ∈ (B ∩ C)}
➢ x ∈ A ∪ (B ∩ C)
∴ (A ∪ B) ∩ (A ∪ C) ⊂ A ∪ (B ∩ C)………………….(2)
A∪(B∩C)= (A∪B)∩(A∪C)
(proved)
Set Builder Notation of A∩(B∪C)=(A∩B)∪(A∩C)
The law states that taking the intersection of a set to the union of two
other sets is the same as taking the intersection of the original set and
both the other two sets separately, and then taking the union of the
results.
Let x ∈ A ∩ (B ∪ C)
x ∈ A ∩ (B ∪ C)
x ∈ A and x ∈ (B or C).
x ∈ A and {x ∈ B or x ∈ C}
{x ∈ A and x ∈ B} or {x ∈ A and x ∈ C}
x ∈ (A ∩ B) or x ∈ (A ∩ C)
x ∈ (A ∩ B) ∪ (A ∩ C)
∴ A ∩ (B ∪ C) ⊂ (A ∩ B) ∪ (A ∩ C)…………………(1)
Let x ∈ (A ∩ B) ∪ (A ∩ C)
x ∈ (A ∩ B) ∪ (A ∩ C)
x ∈ (A ∩ B) or x ∈ (A ∩ C).
x ∈ (A and B) or (A and C)
{x ∈ A and x ∈ B} or {x ∈ A and x ∈ C}
x ∈ A and {x ∈ B or x ∈ C}
x ∈ A and x ∈ (B or C)
x ∈ A ∩ (B ∪ C)
∴ (A ∩ B) ∪ (A ∩ C) ⊂ A ∩ (B ∪ C)……………………..(2)
From (1) and (2)
A∩(B∪C)=(A∩B)∪(A∩C) (proved)
Venn diagram of A∪(B∩C)= (A∪B)∩(A∪C)
Translated form is :- (P ∧ Q) → R
3) Prove the following expressions with proper explanation and
example:
i. If R ⊂ X × Y is a relation, then is R a function?
"If R is a subset of X × Y, then R is a function," we need to understand
the definitions of a relation and a function.
Proof:
Proof:
X = {1, 2, 3} (domain)
Y = {a, b, c} (codomain)
F = {(1, a), (2, b), (3, c)} (function)
C7
W6
K3,5