discrete math Flashcards
unordered collectrion of OBJECTS
SET
OBJECTS THAT BELONG TO A SET IS CALLED?
ELEMENTS
THE IDENTIFIER OF A GROUP OF OBJECT TO BE CALLED A SET
{} CURLY BRACKETS
3 WAYS TO RESPRESENT THE ELEMENTS IN A SET
DESCRIBE THE ELEMENTS
LIST THE ELEMENTS
IDENTIFIER TO REPRESENT THE ELEMENTS
2 SPECIAL SETS
UNIVERSAL SET- SET OF ALL THE OBJECTS UNDER DISCUSSION.
EX– U=(1,2,3,4,5}
NULL SET- SET CONTAINING NO ELEMENTS THAT IS PART OF THE UNIVERSAL SET
Φ={}
4 RELATIONSHIPS OF SETS
EQUALITY= 2 SETS ARE SAID TO BE EQUAL IF AND ONLY IF THEY HAVE THE SAME DISTINCT ELEMENTS
(NO. OF ELEMENTS DOES NOT FACTOR TO EQUALITY)
A=C
SUBSET= ALL ELEMENTS OF A SET ARE ALSO ELEMENTS OF ANOTHER SET.
D⊆A
PROPER SUBSET=F SET 2 CONTAINS AT LEAST 1 ELEMENT THAT IS NOT PRESENT IN SET 1
⊂⊂⊂⊂⊂⊂⊂
DISJOINT- IF 2 SETS HAVE NO COMMON ELEMENTS
5 OPERATIONS ON SET
INTERSECTION ∩
UNION U [similar elements does not repeat]
DIFFERENCE (-) or () elements that are is set 1 but
nott in set 2 (remove similar sets)
SYMMEETRIC DIFFERENCE- DIFFERENCE OF THE UNION AND INTERSECTION OF TWO SETS
A∆B= (AUB)-(A∩B)
COMPLEMENT- DIFFERENCE OF THE UNIVERSAL SET AND A SPECIFIC SET.
(A^C OR A’ )
you can illustrate these in a venn diagram
A SET OF RELATION BETWEEN TWO SETS WHERE IT MAPS THE ELEMENTS OF SET A WITH ONE AND ONLY ONE ELEMENTS OF SET B
FUNCTION-
A function is a relation in which each possible input value leads to exactly one output value. We say “the output is a function of the input.” The input values make up the domain, and the output values make up the range.
in a function, what do you call the SET of actual inputs where the codomain is paired with a domain.
RANGE
3 TYPES OF FUNCTION
INJECTIVE - (1TO1 FUNCTION) EACH ELEMENT OF THE SET B ARE PAIRED WITH A DISTINCT ELEMENT IN SET A
SURJECTIVE- (ONTO) ALL ELEMENTS OF THE CODOMAIN ARE PAIRED WITH AN ELEMENTS IN THE SET A
BIJECTIVE (ONE TO ONE & ONTO) ALL ELEMENTS OF THE SET B ARE PAIRED WITH A DISTINCT ELEMENT IN SET A
2 OPERATIONS OF FUNCTIONS ONLY APPLICABLE FOR FUNCTIONS
INVERSE FUNCTION
Y=F(X) —> X=G(Y)
COMPOSITION FUNCTION- APPLYING ONE FUNCTION TO THE RESULT OF ANOTHER FUNCTION
F(G(X)) — EX
SHAPE THAT REPRESENT THE UNIVERSAL SET
RECTANGLE
SHAPE THAT REPRESENT THE SUBSET OF A UNIVERSALSET
CIRCLE
product of two sets in pairs that contains all ordered pairs
CARTESIAN PRODUCT “product”
A X B =
A SUBSET OF THE CARTESIAN PRODUCT
RELATION