SnapCards

Discrete Mathematics: Foundations

20 cards|
6 easy10 medium4 hard
mathdiscrete mathlogicproofs

Logic, sets, functions, and proof techniques — the mathematical foundations of computer science.

Study these flashcards with spaced repetition

Track your progress, master difficult cards, and export to Anki. Free to start.

Start Studying — Free

Flashcards in This Deck

1
easy

What is a tautology in propositional logic?

A compound proposition that is always true, regardless of the truth values of the individual propositions it contains.

2
easy

Define the power set of a set S.

The set of all possible subsets of S, including the empty set and S itself.

3
easy

What does it mean for a function to be injective (one-to-one)?

A function f: A -> B is injective if for every a1, a2 in A, f(a1) = f(a2) implies a1 = a2.

4
medium

State De Morgan's Laws for propositional logic.

¬(p ∧ q) ≡ ¬p ∨ ¬q and ¬(p ∨ q) ≡ ¬p ∧ ¬q.

5
medium

How do you form the contrapositive of the conditional statement p → q?

The contrapositive is ¬q → ¬p, which is logically equivalent to the original statement.

6
medium

Describe the two steps required in a proof by weak mathematical induction.

1. Base Case: Prove the statement for the smallest value (e.g., n=1). 2. Inductive Step: Assume the statement holds for n=k and prove it holds for n=k+1.

7
medium

What three properties must a relation satisfy to be considered an equivalence relation?

Reflexivity (aRa), Symmetry (aRb implies bRa), and Transitivity (aRb and bRc implies aRc).

8
easy

What is the cardinality of the power set P(S) if the set S has n elements?

The cardinality is 2^n.

9
medium

Define a surjective (onto) function.

A function f: A -> B is surjective if for every element b in the codomain B, there exists at least one element a in the domain A such that f(a) = b.

10
medium

What is the logical negation of the statement 'For all x, P(x)'?

The negation is 'There exists an x such that NOT P(x)' (∃x ¬P(x)).

+10 more cards — sign up to see all

Frequently Asked Questions

How many flashcards are in this Discrete Mathematics: Foundations deck?

This deck contains 20 flashcards with a mix of difficulty levels: 6 easy, 10 medium, and 4 hard cards.

Is this flashcard deck free to use?

Yes! You can study these flashcards for free with our spaced repetition system. Create a free account to track your progress and save your study history.

Can I export these flashcards to Anki?

Pro users can export any deck to Anki (.apkg format) with one click. Free users can export to CSV. Start studying for free and upgrade when you need Anki export.

What is spaced repetition?

Spaced repetition is a study technique that shows you cards at increasing intervals based on how well you know them. Cards you struggle with appear more often, while mastered cards are shown less frequently. This is proven to be one of the most effective ways to memorize information.

Related Flashcard Decks

Ready to study?

Create a free account and start studying these flashcards with spaced repetition.

Get Started — Free