Free Online Flashcard Deck

08 — Discrete Mathematics for Computer Science Free Online FlashCards

Study 08 — Discrete Mathematics for Computer Science with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What is a proposition?

Back

A proposition is a declarative statement that is either true or false, but not both.

02
Front

When is an implication P → Q false?

Back

P → Q is false only when P is true and Q is false.

03
Front

Apply De Morgan’s law to ¬(P ∧ Q).

Back

¬(P ∧ Q) ≡ ¬P ∨ ¬Q. Negating a conjunction negates each part and changes “and” to “or.”

04
Front

How is ¬(∀x P(x)) rewritten?

Back

¬(∀x P(x)) ≡ ∃x ¬P(x). Not every object has a property exactly when at least one object lacks it.

05
Front

How many elements does 𝒫(A) have when A has n elements?

Back

If A has n elements, its power set 𝒫(A) has 2ⁿ elements.

06
Front

What is the Cartesian product A × B?

Back

A × B = {(a,b) | a ∈ A and b ∈ B}; it contains every ordered pair with first component from A and second from B.

07
Front

How can you prove two sets A and B are equal?

Back

Prove A ⊆ B and B ⊆ A. Equivalently, show for an arbitrary x that x ∈ A ↔ x ∈ B.

08
Front

What properties define an equivalence relation?

Back

An equivalence relation is reflexive, symmetric, and transitive; it partitions a set into equivalence classes.

09
Front

What properties define a partial order?

Back

A partial order is reflexive, antisymmetric, and transitive.

10
Front

What does it mean for a function to be injective?

Back

A function is injective when distinct inputs have distinct outputs: f(a₁) = f(a₂) implies a₁ = a₂.

11
Front

What does it mean for a function to be surjective?

Back

A function is surjective when every element of its codomain is produced by at least one input.

12
Front

How is the composition (g ∘ f)(a) defined?

Back

For f : A → B and g : B → C, (g ∘ f)(a) = g(f(a)). Apply f first, then g.