DTG-1 Flashcards
Fagords betydning (38 cards)
What does Ø (the empty set) represent in discrete mathematics?
It represents a set with no elements, used when no values satisfy the given condition.
What is the union of two sets A and B in discrete mathematics?
The union of A and B, written as
A∪B
A∪B, is a set containing all elements that are in A, in B, or in both.
What is the intersection of two sets
A and B in discrete mathematics?
The intersection of A and B, written as
A∩B
A∩B, is the set of all elements that are in both A and B.
What is the difference between two sets A and B in discrete mathematics?
The difference of A and B, written as A \ B or A - B, is the set of all elements that are in A but not in B.
What is the negation of a statement in discrete mathematics, and how is it represented?
The negation of a statement reverses its truth value. If the statement is true, its negation is false, and if the statement is false, its negation is true. It is represented as ¬P or ∼P.
What does De Morgan’s law say about the negation of a conjunction (P AND Q)?
The negation of a conjunction (P AND Q) is the same as the disjunction of the negations of P and Q. In other words,
¬(P∧Q)≡(¬P)∨(¬Q).
What does De Morgan’s law say about the negation of a disjunction (P OR Q)?
The negation of a disjunction (P OR Q) is the same as the conjunction of the negations of P and Q. In other words,
¬(P∨Q)≡(¬P)∧(¬Q).
What is the result of a conjunction (P AND Q) when one of the parts is false?
The conjunction P and Q is false if either P or Q is false, since both must be true for the conjunction to be true.
What is the result of a disjunction (P OR Q) when both parts are false?
The disjunction P or Q is false only when both P and Q are false.
When is a conjunction (P AND Q) true?
A conjunction P and Q is true only when both P and Q are true.
When is a disjunction (P OR Q) true?
A disjunction P or Q is true if at least one of P or Q is true.
What does the cardinality of a set represent?
The cardinality of a set represents the number of elements in the set, indicating its “size.”
What is the Cartesian product of two sets?
The Cartesian product of two sets, A and B, is the set of all ordered pairs (a, b), where a is an element of A and b is an element of B, written as A × B.
What is an n-tuple in the Cartesian product of sets?
An n-tuple in the Cartesian product is an ordered collection of n elements, where each element comes from a corresponding set in the product. For example, in A₁ × A₂ × … × Aₙ, an n-tuple is (a₁, a₂, …, aₙ) with aᵢ ∈ Aᵢ.
what is a subset?
A subset is a set where every element is also contained in another set.
Is the empty set a subset of every set? Why?
Yes, the empty set is a subset of every set because it has no elements, so it automatically satisfies the subset condition.
How many subsets does a set with 4 elements have?
A set with 4 elements has
2^4=16 subsets.
What is a powerset?
A powerset is the set of all subsets of a given set, including the empty set and the set itself.
If a set A has 3 elements, how many elements does its powerset have?
The powerset of a set with 3 elements has
2^3=8 subsets.
What is the relationship between a set and its powerset in terms of cardinality?
If a set has n elements, the cardinality of its powerset is
2^n, because each element of the set can either be included in or excluded from a subset.
What is a relation?
A relation is a set of ordered pairs, where each element from one set is associated with an element from another set (or the same set).
What is a reflexive relation?
A relation is reflexive if every element in the set is related to itself, meaning for all a in the set, the pair (a, a) is in the relation.
What is a transitive relation?
A relation is transitive if whenever (a, b) and (b, c) are in the relation, the pair (a, c) must also be in the relation.
What is a symmetric relation?
A symmetric relation is a relation where if one element is related to another, the second element is also related to the first. For example, if a is related to b, then b is related to a.