MATH 381 Practice Midterm II

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which property must a relation satisfy to be considered an equivalence relation?

  • Reflexivity and Symmetry only
  • Reflexivity, Symmetry, and Transitivity (correct)
  • Reflexivity and Transitivity only
  • Symmetry and Transitivity only

If a divides b and b divides c, then a divides c. This statement illustrates the reflexive property of divisibility.

False (B)

In the context of modular arithmetic Z/14, what is the additive identity?

[0]

According to the pigeonhole principle, if you have more pigeons than ______, then at least one hole must contain more than one pigeon.

<p>pigeonholes</p>
Signup and view all the answers

Match the set operation with its corresponding definition.

<p>Union (A ∪ B) = Elements in A or B or both Intersection (A ∩ B) = Elements common to both A and B Set Difference (A - B) = Elements in A but not in B Complement (A') = Elements not in A</p>
Signup and view all the answers

Which of the following is the correct formula for permutations?

<p>$nPr = n! / (n - r)!$ (A)</p>
Signup and view all the answers

The greatest common divisor (gcd) of two positive integers a and b is always greater than or equal to both a and b.

<p>False (B)</p>
Signup and view all the answers

What is the remainder when -10 is divided by 7, as per the division algorithm, where the remainder must be non-negative?

<p>4</p>
Signup and view all the answers

A function f from set A to set B is onto (or surjective) if every element in ______ has a corresponding element in A.

<p>B</p>
Signup and view all the answers

What does the inclusion-exclusion principle calculate for two sets A and B?

<p>The number of elements in either set A or set B or both (C)</p>
Signup and view all the answers

A relation R on a set A is symmetric if and only if for every a and b in A, if (a, b) is in R, then (b, a) is also in R.

<p>True (A)</p>
Signup and view all the answers

Explain the difference between a permutation and a combination.

<p>Permutation considers order, combination does not.</p>
Signup and view all the answers

The ______ theorem states that every integer greater than 1 can be written uniquely as a product of prime numbers, up to the order of the factors.

<p>prime factorization</p>
Signup and view all the answers

Given a set A = {1, 2, 3, 4}, how many subsets of size 2 can be formed?

<p>6 (C)</p>
Signup and view all the answers

The function $f(x) = x^2$ from the set of real numbers to the set of non-negative real numbers is injective (one-to-one).

<p>False (B)</p>
Signup and view all the answers

What is Z/n?

<p>The set of integers modulo n.</p>
Signup and view all the answers

If a relation is both symmetric and antisymmetric, then the elements are related to ______

<p>themselves</p>
Signup and view all the answers

Which of the following is a valid interpretation of mathematical induction?

<p>Proving a base case and then showing that if it's true for n, it's also true for n+1 (D)</p>
Signup and view all the answers

Every function has an inverse

<p>False (B)</p>
Signup and view all the answers

What is Cantor's diagonalization argument used to prove?

<p>The uncountability of the real numbers.</p>
Signup and view all the answers

Flashcards

Directed Graph (Relations)

A directed graph visually represents a relation by using nodes for elements of a set and directed edges to indicate the relationships between them.

Equivalence Relation Criteria

For a relation to be an equivalence relation, it must be reflexive, symmetric, and transitive.

Equivalence Class

An equivalence class is a set of all elements related to each other within a set following an equivalence relation.

b divides ac, prove b divides cd

If b divides ac, it means that ac is a multiple of b. The goal is to prove cd is also a multiple of b.

Signup and view all the flashcards

Modular Arithmetic

Modular arithmetic involves performing arithmetic operations within a specific modulus, where numbers 'wrap around' upon reaching the modulus value.

Signup and view all the flashcards

Multiplicative Inverse in Z/n

A multiplicative inverse of [a] in Z/n exists if there's a [x] such that [a][x] ≡ [1] mod n.

Signup and view all the flashcards

Well-Defined Map

For a map (function) to be well-defined, it must give a unique output for each input, regardless of how the input is represented.

Signup and view all the flashcards

Combinations

Representing the number of ways to select items from a set without regard to the order of arrangement.

Signup and view all the flashcards

Permutations

Finding possible arrangements of items or elements, where the order is significant.

Signup and view all the flashcards

Division Algorithm Theorem

Division algorithm theorem states that for any integers a and b (with b > 0), there exist unique integers q and r such that a = bq + r, and 0 ≤ r < b.

Signup and view all the flashcards

Prime Factorization Theorem

Any integer greater than 1 can be written as a unique product of prime numbers, up to the order of the factors.

Signup and view all the flashcards

Pigeonhole Principle

If n items are put into m containers, with n > m, then at least one container must contain more than one item.

Signup and view all the flashcards

Inclusion-Exclusion Principle (Sets)

The size of the union of sets A and B equals the sum of the sizes of A and B, minus the size of their intersection.

Signup and view all the flashcards

Divisibility Transitivity

If a divides b, and b divides c, then a divides c.

Signup and view all the flashcards

Study Notes

  • The exam is for MATH 381, Practice Midterm Exam II, Discrete Mathematics
  • It is instructed by Daping Weng, and is scheduled for April 11th, 2025
  • The exam is 50 minutes long and has 5 questions across 7 pages; the total points possible are 100
  • Textbooks, lecture notes, phones, calculators, and computers are prohibited
  • Showing work is required to receive partial credit

Question 1

  • Consider the relation R = {(1, 1), (1, 3), (2, 2), (3, 1)} on the set {1, 2, 3}
  • Part (a) asks about drawing a directed graph that represents the relation R
  • Part (b) asks to explain why R is not an equivalence relation
  • Part (c) asks what element can be added to R to make it an equivalence relation
  • Part (d) asks for a list of all equivalence classes resulting from the equivalence relation in part (c)

Question 2

  • Given positive integers a and b, let d = gcd(a, b)
  • Given c, another positive integer such that b divides ac, prove b divides cd
  • Write d as a linear combination of a and b

Question 3

  • Consider Z/14 which refers to integers modulo 14
  • Part (a) asks to compute [5]([6] – [10]) in Z/14. Write the answer as [a] with 0 ≤ a < 14
  • Part (b) asks if [8] has a multiplicative inverse in Z/14, such that [8][a] = [1]
  • Part (c) involves a map f: Z/14 → Z/3 defined as f([a]) = [a] and asks whether this map is well-defined and why or why not

Question 4

  • Compute the size of each of the following sets using permutation and combination numbers, without evaluating
  • Part (a) is regarding the set of 5-element subsets in an 8-element set
  • Part (b) is regarding the ways to put 100 identical blank exam papers into 3 bins where some bins may be empty
  • Part (c) is regarding the permutations of the letters ABCDEFG that contain substrings BC and EF
  • Part (d) is regarding the subset of permutations in part (c) where the substring EF appears before the letter D

Question 5

  • True or False questions, no justification is needed
  • Part (a): "-10 divided by 7 has a quotient -1 and a remainder -3" under the division algorithm theorem
  • Part (b): "Any integer can be factored into a product of positive prime numbers" under the prime factorization theorem
  • Part (c): If 10 students walked into 3 classrooms, then there must be at least one classroom with 4 or more students, according to the pigeonhole principle
  • Part (d): |A ∪ B| = |A| + |B| + |A ∩ B| by the inclusion-exclusion principle
  • Part (e): The divisibility relation is transitive (i.e., if a|b and b|c, then a|c)

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Equivalence Relations Quiz
10 questions
Equivalence Relations Quiz
10 questions

Equivalence Relations Quiz

RespectfulAntigorite5344 avatar
RespectfulAntigorite5344
Equivalence Relations Quiz
10 questions
Use Quizgecko on...
Browser
Browser