Discrete Mathematics for Computer Science: Sets and Basic Logic

0.0(0)
studied byStudied by 2 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/31

flashcard set

Earn XP

Description and Tags

Flashcards covering key vocabulary and concepts from Discrete Mathematics lecture notes, focusing on Sets and foundational aspects of Propositional Logic, including definitions, notations, operations, and logical connectives.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

32 Terms

1
New cards

Set Builder Notations

A way to describe a set, typically as A = {a  A | P(a)} or {expression: rule}.

2
New cards

Subset (A ⊆ B)

Set A is a subset of set B if and only if every element of A is also an element of B.

3
New cards

Not a Subset (A ⊗ B)

Set A is not a subset of set B.

4
New cards

Cardinality of a finite set (|A|)

The number of distinct elements of a finite set A.

5
New cards

Power Set (P(A))

The set of all possible subsets of a set A.

6
New cards

Cartesian Product (A â B)

The set of all ordered pairs (a, b) where 'a' is an element of set A and 'b' is an element of set B (also called ordered 2-tuples).

7
New cards

Cartesian Product (n sets)

For n sets A1, A2…An, the set of an ordered n-tuple (a1, a2,…,an) where a1  A1, a2  A2 and an  An.

8
New cards

Union of Sets (A  B)

The set of all elements that are elements of A OR B (A  B = {x | x  A OR x  B}).

9
New cards

Intersection of Sets (A  B)

The set of all elements that are elements of both A AND B (A  B = {x | x  A AND x  B}).

10
New cards

Difference of Sets (A - B)

The set containing the elements of A that are NOT in B (A - B = {x | x  A AND x â B}).

11
New cards

Complement of a Set (A or Ac)

The set difference of the universal set U and set A (A = {x  U | x â A}).

12
New cards

Identity Laws (Sets)

Rules stating A â = A and A â U = A.

13
New cards

Domination Laws (Sets)

Rules stating A â U = U and A â = .

14
New cards

Idempotent Laws (Sets)

Rules stating A â A = A and A â A = A.

15
New cards

Complement Laws (Sets)

Rules stating A â A = U and A â A = .

16
New cards

Absorption Laws (Sets)

Rules stating A â (A â B) = A and A â (A â B) = A.

17
New cards

Double Complement Laws (Sets)

A rule stating (A) = A.

18
New cards

Commutative Laws (Sets)

Rules stating A â B = B â A and A â B = B â A.

19
New cards

Associative Laws (Sets)

Rules stating (A â B) â C = A â (B â C) and (A â B) â C = A â (B â C).

20
New cards

Distributive Laws (Sets)

Rules stating A â (B â C) = (A â B) â (A â C) and A â (B â C) = (A â B) â (A â C).

21
New cards

De Morganâ Laws (Sets)

Rules stating A â B = A â B and A â B = A â B.

22
New cards

Proof

A method for establishing the truth.

23
New cards

Logic

The study of formal reasoning; a systematic way of thinking that allows one to deduce new information from old information.

24
New cards

Proposition (Statement)

A sentence that is either true or false but not both.

25
New cards

Compound Proposition

A proposition created by connecting individual propositions with logical operations (connectives).

26
New cards

Connectives (Logical Operations)

Logical operations used to form compound propositions, including Negation, Conjunction, Disjunction, Exclusive Or, Conditional, and Biconditional.

27
New cards

Truth Table

A representation showing the relationship between the truth values of propositions and all possible combinations of truth values for its component propositional variables.

28
New cards

Negation (p)

The opposite truth value of a proposition p.

29
New cards

Conjunction (p  q)

The logical operation "p AND q," which is true only if both p and q are true.

30
New cards

Disjunction (p  q)

The logical operation "p OR q," which is true if at least one of p or q is true.

31
New cards

Order of Operations (Logic)

The precedence for logical connectives: 1) Negation (), 2) Conjunction (), 3) Disjunction ().

32
New cards

Exclusive Or (p  q)

The logical operation "p XOR q," which is true if exactly one of p or q is true, but not both.