← BACK TO NOTES↑ BACK TO TOP

Let's talk

contact@adriamics.com

Discrete Math Practice

GitHub Changelog -

  • 1

0 of 27 completed

Create worksheet

Selected problems

No problems selected.

    Direct

    1.1Negate a Universal Implication

    Exam I | Problem 1.1 |

    Write the negation of the statement:

    1.2Write the Contrapositive

    Exam I | Problem 1.2 |

    Write the contrapositive of the statement:

    1.3Use De Morgan's Law

    Exam I | Problem 1.3 |

    Simplify the negation:

    1.4Compute a Set Union and Intersection

    Exam I | Problem 1.4 |

    Let

    Find and .

    1.5Count the Subsets of a Set

    Exam I | Problem 1.5 |

    If a set has elements, how many subsets does have?

    1.6Classify a Function

    Exam I | Problem 1.6 |

    Let be defined by

    Is injective, surjective, both, or neither?

    1.7Find the Size of a Cartesian Product

    Exam I | Problem 1.7 |

    If and , how many ordered pairs are in ?

    1.8Check a Partial Order

    Exam I | Problem 1.8 |

    Let

    be a relation on . Is a partial order?

    1.9Solve a Congruence Modulo 5

    Exam I | Problem 1.9 |

    Solve for :

    1.10Count the Edges in a Tree

    Exam I | Problem 1.10 |

    A tree has vertices. How many edges does it have?

    Integrated

    2.1Negate a Quantified Statement

    Exam II | Problem 2.1 |

    Write the negation of:

    2.2Use Congruence Modulo 4

    Consider the relation on integers defined by

    Explain why this is an equivalence relation, and describe the equivalence class of .

    2.3Prove a Divisibility Claim by Contrapositive

    Exam II | Problem 2.3 |

    Prove that if is even, then is even.

    2.4Prove a Summation Formula by Induction

    Exam II | Problem 2.4 |

    Use mathematical induction to prove that

    for all .

    2.5Count Committees with a Required Member

    Exam II | Problem 2.5 |

    From a group of students, how many -person committees can be formed if one specific student must be included?

    2.6Compute a Conditional Probability

    Exam II | Problem 2.6 |

    In a club of students, are in math club and are in both math club and robotics club.

    If a student is known to be in math club, what is the probability that the student is also in robotics club?

    2.7Apply the Euclidean Algorithm

    Find .

    2.8Compare Two Growth Rates

    Exam II | Problem 2.8 |

    Which grows faster as becomes large: or ?

    Applied

    3.1Count Committees with a Restriction

    Final | Problem 3.1 |

    A school needs a -person committee from students. Two students are the team captains, and the committee must include at least one captain.

    How many committees are possible?

    3.2Apply the Pigeonhole Principle

    Final | Problem 3.2 |

    What is the smallest number of students needed to guarantee that at least students were born in the same month?

    3.3Find the Expected Value of a Simple Game

    Final | Problem 3.3 |

    A fair die is rolled. You win \$5 if the result is even and lose \$2 if the result is odd. What is the expected value of the game?

    3.4Use Modular Arithmetic on a Calendar

    Final | Problem 3.4 |

    Today is Wednesday. What day of the week will it be days from now?

    3.5Solve a Geometric Recurrence

    Final | Problem 3.5 |

    A bacteria culture starts with bacteria and triples each hour.

    If is the number of bacteria after hours, find a formula for and compute .

    Challenge

    4.1Prove Prime Factorization by Strong Induction

    Prove that every integer can be written as a product of primes.

    4.2Count Multiples with Inclusion-Exclusion

    Final | Problem 4.2 |

    How many integers from to are divisible by , , or ?

    4.3Use Degrees to Test a Tree

    Final | Problem 4.3 |

    A connected graph has vertices with degree sequence

    Use the handshaking lemma to find the number of edges, then decide whether the graph can be a tree.

    4.4Verify a Loop Invariant

    Consider the algorithm:

    total = 0
    for k from 1 to n:
        total = total + k

    State a loop invariant and use it to explain why the algorithm returns