Docsity

set and relation and operations, Schemes and Mind Maps of Mathematics

Toggle sidebar
bg1
Set Theory and Relations - Beginner Notes
1. Set: A set is a well-defined collection of elements.
Example: A = {1,2,3}
2. Set Operations
Union, Intersection, Difference, Complement.
Example: A={1,2}, B={2,3}; A∪B={1,2,3}, A∩B={2}, A−B={1}
Venn Diagram (handwritten-style)
_______A_______
( __ )
( ( ) B )
(____(__)____)
Intersection is the middle region.
3. Properties of Set Operations
Commutative, Associative, Distributive, Identity, Complement laws.
4. Subset
A ⊆ B means every element of A is in B.
Example: {1,2} ⊆ {1,2,3}
5. Venn Diagrams
Used to visualize sets. (See diagrams above).
6. Cartesian Product
A × B = set of ordered pairs.
Example: A={1,2}, B={x,y} → A×B={(1,x),(1,y),(2,x),(2,y)}
7. Relations
A relation R on A is a subset of A×A.
8. Properties of Relations
Reflexive, Symmetric, Transitive, Antisymmetric.
9. Matrices & Digraphs
Matrix uses 1/0 to show relation; Digraph uses arrows.
Example Matrix:
1 2 3
1 [1 0 1]
pf2

Partial preview of the text

Download set and relation and operations and more Schemes and Mind Maps Mathematics in PDF only on Docsity!

Set Theory and Relations - Beginner Notes

1. Set : A set is a well-defined collection of elements.

Example: A = {1,2,3}

2. Set Operations

Union, Intersection, Difference, Complement.

Example: A={1,2}, B={2,3}; A∪B={1,2,3}, A∩B={2}, A−B={1}

Venn Diagram (handwritten-style)

_______A_______ ( __ ) ( ( ) B ) (____(__)____) Intersection is the middle region.

3. Properties of Set Operations

Commutative, Associative, Distributive, Identity, Complement laws.

4. Subset

A ⊆ B means every element of A is in B.

Example: {1,2} ⊆ {1,2,3}

5. Venn Diagrams

Used to visualize sets. (See diagrams above).

6. Cartesian Product

A × B = set of ordered pairs.

Example: A={1,2}, B={x,y} → A×B={(1,x),(1,y),(2,x),(2,y)}

7. Relations

A relation R on A is a subset of A×A.

8. Properties of Relations

Reflexive, Symmetric, Transitive, Antisymmetric.

9. Matrices & Digraphs

Matrix uses 1/0 to show relation; Digraph uses arrows.

Example Matrix: 1 2 3 1 [1 0 1]

2 [0 1 0]

3 [0 0 1]

Digraph (handwritten-style):

(1) → (3) ↑ | (2)

10. Types of Relations

Reflexive, Symmetric, Transitive, Equivalence, Partial order.

11. Equivalence Relation

Must satisfy Reflexive + Symmetric + Transitive.

Example: 'same remainder mod 3'.

12. Equivalence Classes / Partition

Equivalence relation divides set into groups (classes).

13. Closures of Relations

Reflexive, Symmetric, and Transitive closures add minimum pairs to satisfy property.

14. Warshall’s Algorithm

Used to compute transitive closure from adjacency matrix.

Handwritten-style steps: For k = 1 to n: For i = 1 to n: For j = 1 to n: R[i][j] = R[i][j] OR (R[i][k] AND R[k][j])