CMSC Discrete Mathematics FINAL EXAM Tuesday, December 5, 2017, 10:30-12:30

Similar documents
CMSC Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005

CMSC Discrete Mathematics SOLUTIONS TO FIRST MIDTERM EXAM October 18, 2005 posted Nov 2, 2005

7.4 DO (uniqueness of minimum-cost spanning tree) Prove: if all edge weights are distinct then the minimum-cost spanning tree is unique.

Department of Mathematics, University of California, Berkeley. GRADUATE PRELIMINARY EXAMINATION, Part A Spring Semester 2019

Algorithms CMSC Homework set #1 due January 14, 2015

Test 3, Linear Algebra

MATH 2200 Final Review

Name: Final Exam MATH 3320

MATH 1553, C. JANKOWSKI MIDTERM 3

Reduction to the associated homogeneous system via a particular solution

Final. for Math 308, Winter This exam contains 7 questions for a total of 100 points in 15 pages.

PROBLEMS ON CONGRUENCES AND DIVISIBILITY

2 hours THE UNIVERSITY OF MANCHESTER. 6 June :45 11:45

Fall 2016 MATH*1160 Final Exam

Module 1: Analyzing the Efficiency of Algorithms

GRE Subject test preparation Spring 2016 Topic: Abstract Algebra, Linear Algebra, Number Theory.

Write your Registration Number, Test Centre, Test Code and the Number of this booklet in the appropriate places on the answersheet.

CSI 4105 MIDTERM SOLUTION

MA 265 FINAL EXAM Fall 2012

The value of a problem is not so much coming up with the answer as in the ideas and attempted ideas it forces on the would be solver I.N.

Winter 2014 Practice Final 3/21/14 Student ID

Choose three of: Choose three of: Choose three of:

235 Final exam review questions

9.1 HW (3+3+8 points) (Knapsack decision problem NP-complete)

Linear Algebra Final Exam Solutions, December 13, 2008

Math 110 (Fall 2018) Midterm II (Monday October 29, 12:10-1:00)

MAT Linear Algebra Collection of sample exams

NATIONAL BOARD FOR HIGHER MATHEMATICS. M. A. and M.Sc. Scholarship Test. September 25, Time Allowed: 150 Minutes Maximum Marks: 30

EK102 Linear Algebra PRACTICE PROBLEMS for Final Exam Spring 2016

MATH 4400 SOLUTIONS TO SOME EXERCISES. 1. Chapter 1

Name: Mathematics 1C03

LINEAR ALGEBRA QUESTION BANK

Math Exam 1 Solutions October 12, 2010

NAME (1 pt): SID (1 pt): TA (1 pt): Name of Neighbor to your left (1 pt): Name of Neighbor to your right (1 pt):

Lecture 2. Fundamentals of the Analysis of Algorithm Efficiency

University of New Mexico Department of Computer Science. Final Examination. CS 561 Data Structures and Algorithms Fall, 2013

Practice Final Exam Solutions for Calculus II, Math 1502, December 5, 2013

Math 118, Fall 2014 Final Exam

FINAL EXAM Ma (Eakin) Fall 2015 December 16, 2015

Algebra Exam Topics. Updated August 2017

University of Connecticut Department of Mathematics

MATH 2200 Final LC Review

Final A. Problem Points Score Total 100. Math115A Nadja Hempel 03/23/2017

Exam in Discrete Mathematics

Final Exam. Linear Algebra Summer 2011 Math S2010X (3) Corrin Clarkson. August 10th, Solutions

CMSC : Discrete Mathematics Autumn 2010 Homework assignments

Objective Type Questions

MAS114: Exercises. October 26, 2018

10 Problem 1. The following assertions may be true or false, depending on the choice of the integers a, b 0. a "

Pre-Calculus: Functions and Their Properties (Solving equations algebraically and graphically, matching graphs, tables, and equations, and

DEPARTMENT OF MATHEMATICS

Part V. Chapter 19. Congruence of integers

MATH 420 FINAL EXAM J. Beachy, 5/7/97

Growth of Functions (CLRS 2.3,3)

CS 70 Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Final

Name: There are 8 questions on 13 pages, including this cover.

Linear algebra and applications to graphs Part 1

Homework #2 solutions Due: June 15, 2012

Section 4.1: Polynomial Functions and Models

Q1 Q2 Q3 Q4 Tot Letr Xtra

University of Toronto Faculty of Arts and Science Solutions to Final Examination, April 2017 MAT246H1S - Concepts in Abstract Mathematics

Modern Computer Algebra

HINT: Some of the solution methods involve highschool math as well as new methods from this class.

Linear Algebra Practice Problems

Problem Point Value Points

Input Decidable Language -- Program Halts on all Input Encoding of Input -- Natural Numbers Encoded in Binary or Decimal, Not Unary

I. Multiple Choice Questions (Answer any eight)

Check that your exam contains 30 multiple-choice questions, numbered sequentially.

Exam 2 MAS 3105 Applied Linear Algebra, Spring 2018

CSC Design and Analysis of Algorithms. Lecture 1

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

DEPARTMENT OF MATHEMATICS

DEPARTMENT OF MATHEMATICS

Math 315: Linear Algebra Solutions to Assignment 7

Last name: First name: Signature: Student number:

DIAGONALIZATION. In order to see the implications of this definition, let us consider the following example Example 1. Consider the matrix

Lecture 5: January 30

This is a closed book exam. No notes or calculators are permitted. We will drop your lowest scoring question for you.

DEPARTMENT OF MATHEMATICS

Examples True or false: 3. Let A be a 3 3 matrix. Then there is a pattern in A with precisely 4 inversions.

1. Is the set {f a,b (x) = ax + b a Q and b Q} of all linear functions with rational coefficients countable or uncountable?

Lecture Notes. Advanced Discrete Structures COT S

CHAPTER 0: Preliminary Topics

MATH 361: NUMBER THEORY FOURTH LECTURE

Family Feud Review. Linear Algebra. October 22, 2013

Math 102, Winter Final Exam Review. Chapter 1. Matrices and Gaussian Elimination

Semidefinite and Second Order Cone Programming Seminar Fall 2001 Lecture 5

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

Discrete Math Class 19 ( )

Mathematics 228(Q1), Assignment 3 Solutions

Rambo s Math GRE Practice Test. Charles Rambo

Math 2602 Finite and Linear Math Fall 14. Homework 8: Core solutions

< k 2n. 2 1 (n 2). + (1 p) s) N (n < 1

The eigenvalues are the roots of the characteristic polynomial, det(a λi). We can compute

CS 70 Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1 Solutions

Chapter 8. P-adic numbers. 8.1 Absolute values

Contribution of Problems

Review problems for MA 54, Fall 2004.

Homework sheet 4: EIGENVALUES AND EIGENVECTORS. DIAGONALIZATION (with solutions) Year ? Why or why not? 6 9

Math Abstract Linear Algebra Fall 2011, section E1 Practice Final. This is a (long) practice exam. The real exam will consist of 6 problems.

Transcription:

CMSC-37110 Discrete Mathematics FINAL EXAM Tuesday, December 5, 2017, 10:30-12:30 Name (print): Email: This exam contributes 40% to your course grade. Do not use book, notes, scrap paper. NO ELECTRONIC DEVICES. Use the space provided on the exam sheets; you may continue on the back of each sheet. Show all your work. If you are not sure of the meaning of a problem, ask the instructor. The XC ( extra credit ) problems are underrated, work on them after having done your best on the non-xc problems. READ THIS! You may use results stated in class or in exercises except if the question is essentially the same as the a result proved in class; in the latter case you are asked to reproduce the proof. Here are some definitions and results from linear algebra for your convenience. DEF. Two matrices A, B M n (R) are similar if there exists a nonsingular matrix S M n (R) such that B = S 1 AS. DEF. A square matrix is diagonalizable if it is similar to a diagonal matrix. DEF. An eigenbasis of a matrix A M n (R) is a basis of R n such that every element of that basis is an eigenvector of A. THM. A matrix A M n (R) is diagonalizable if and only if it has an eigenbasis. A useful fact about planar graphs: if n 3 then a planar graph with n vertices has at most 3n 6 edges. 1

1. (8+8+15 points) (a) Does the equation 15x + 6y + 10 = 0 have a solution in integers x, y? Prove your answer. (b) Does the equation 15x + 7y + 10 = 0 have a solution in integers x, y? Prove your answer. (c) Determine all integer values of the number k such that the equation 15x + ky + 10 = 0 has a solution in integers x, y. Your answer should be of the following form: such a solution exists if and only if k a (mod m) for some small integers a and m. Determine a and m. Prove your answer. Hint. Convert each of these questions into the solvability of a linear congruence. Or use the connection between gcd and linear combinations. 2

2. (12 points) Prove: n k=0 ( ) 2 n = k ( ) 2n n 3. (7 points) Find a sequence a 1, a 2,... of real numbers such that lim n a n = but infinitely often a n > a n+1. 4. (10 points) Construct a probability space (Ω, P ) and two random variables, X and Y, that are uncorrelated but not independent. Make your sample space as small as possible. Prove that your variables work as required. 3

5. (8+6 points) (a) Define the concept of a relation on a set. Your answer should be a mathematically accurate English sentence that gives a complete definition. Begin your sentence with these words: A relation on a set A is.... As primitives you may use the concepts of sets, functions, and Cartesian products of sets. (b) If A = n, what is the number of relations on A? State, do not prove. 6. (8+7+15 points) (a) Let us perform n independent Bernoulli trials, each with probability p of success. Let b(n, k, p) denote the probability that there will be exactly k successes among the n trials (0 k n). Give a simple closed-form expression for b(n, k, p). (Your closed-form expression can use binomial coefficients.) (b) What is the expected number of successes? Show your work. (c) Prove that if 1 k np then b(n, k 1, p) < b(n, k, p). 4

7. (14 points) Let A M n (R) be an n n real matrix. Prove: the columns of A are linearly independent if and only if the columns of the matrix A 100 are linearly independent. 8. (7+8+15 points) Let us fix a set V of n vertices. (a) Let g(n) denote the number of graphs with V as their set of vertices. Find a simple closed-form expression for g(n). (b) Prove: log 2 g(n) an b for some constants a, b. Determine a, b. (c) Let t(n) denote the number of triangle-free graphs with V as their set of vertices. Prove: log 2 t(n) = Ω(n 2 ). Recall: what this means is that there exists a constant c > 0 such that log 2 T (n) cn 2 for all sufficiently large n. State the largest c for which you can prove this. ( log 2 denotes the base-2 logarithm.) 5

9. (8 points) Prove: every planar graph has a vertex of degree 5. 10. (14 points) Let f(n) denote the number of binary digits of n and g(n) the number of decimal digits of n. (So for instance f(13) = 4 because 13 in binary is 1101, and g(13) = 2.) True or false: f(n) = Θ(g(n)). Prove your answer. 11. (15 points) For a non-negative integer n, let s(n) denote the sum of the decimal digits of n. For instance, s(0) = 0 and s(2017) = 10. Pick a random number X uniformly from the set {0, 1,..., 10 6 1}. Determine E(s(X)). Show your work. 6

12. (8+12 points) (a) Find a real symmetric matrix A of which the characteristic polynomial is f A (t) = (t 1)(t + 2)(t + 5) 3. (b) Prove: if B is a real symmetric matrix then its characteristic polynomial f B (t) cannot be divisible by the polynomial g(t) = t 2 + t + 1. 13. (15 points) Find all pairs (x, y) of real numbers such that the following 3 3 matrix has rank 2. Your answer should be of the following form: a pair (x, y) makes the rank of this matrix equal to 2 if and only if x and y satisfy the linear equation ax + by + c = 0 for certain integers a, b, c where gcd(a, b, c) = 1. Find a, b, c. Prove your answer. Hint. Cofactor expansion. A = x y 5 1 1 7 2 0 3 7

14. (16 points) Consider the following four polynomials: f 1 (t) = t 2 + 27t + 2, f 2 (t) = t 2 123, f 3 (t) = 5t 2 87t + 166, f 4 (t) = 94t 10 6. Decide whether these polynomials are linearly independent in the space R[t] of polynomials with real coefficients. Prove your answer. Give the name and the exact statement of the result from class you are using. This should be a central result. Hint. No calculation is needed. 15. (8 + 20 points) Let G be a k-regular graph with n vertices. (k is the degree of each vertex.) Let us color the vertices red and blue using n independent Bernoulli trials, each with probability p of success; if the i-th trial succeeds, the i-th vertex gets colored red. Next we delete all edges that have one or two blue endpoints. Let X denote the number of remaining edges, so these are the red-red edges. (a) Determine E(X). (b) Determine Var(X). Your answers should be simple closed-form expressions. 8

16. (7 + 18 points) (a) Find a 2 2 matrix A M 2 (R) such that the characteristic polynomial of A is f A (t) = t 2 but A 0. (b) Prove for every n: if a symmetric real matrix A M n (R) has characteristic polynomial f A (t) = t n then A = 0. 17. (7 + 7 + 7 points) Let n 2. Consider the following three statements. Each statement begins with the same phrase (next line). If A M n (R) is a symmetric real matrix, then (a) A is nonsingular TRUE FALSE (b) A has n distinct eigenvalues TRUE FALSE (c) A is diagonalizable TRUE FALSE For each statement, circle your anser (true or false). If true, prove for every n; if false, give a counterexample for n = 3. You may use the Spectral Theorem. 9

18. (18 + 8 points) (a) Decide whether the following system of simultaneous congruences has a solution. Circle your answer: YES NO x 7 (mod 24) x 43 (mod 90) x 63 (mod 100) Prove your answer. In case your answer is YES, you are not required to calculate a solution, just to prove that a solution exists. (b) If a system of simultaneous congruences of the form x a (mod 24) x b (mod 90) x c (mod 100) does have a solution, the solution is necessarily unique modulo some number m. Find m and say how you got it. 10

19. (6 + 12 + 20 points) Let θ be a real number. Prove that the matrix A θ below is diagonalizable for all but one value of θ. (a) Find this exceptional value, call it α. (b) For all θ α prove that A θ is diagonalizable and find the diagonal matrix similar to A θ. (c) Prove that the matrix A α is not diagonalizable. Prove your answers. No calculation is needed for the proofs. A θ = 5 17 3 0 cos θ 9 0 0 e θ Note: on the test, this matrix had a typo (5 instead of 5). With that typo, there are three exceptional values of θ. 11

20. (4+7+15 points) (a) Let us consider a random function f : [k] [n] (chosen uniformly form among all such functions). What is the size of the sample space for this experiment? (b) Let p(n, k) denote the probability that f is injective, i. e., that there are no collisions: f(x) = f(y) = x = y. Give a simple closed-form expression for p(n, k) (using factorials and possibly binomial coefficients). (c) Prove: if k = k n = ω( n) then lim n p(n, k n ) = 0. (Recall that f = ω(g) means g = o(f).) 12

21. (XC 10 points) Pick a random graph uniformly from all graphs on a given set of n vertices. Let p n denote the probability that the graph is planar. Prove: for all sufficiently large n we have p n < 2 0.49n2 22. (XC 12 points) Let T (n) denote the number of transitive relations on a given set of n elements. Prove: log 2 T (n) = Θ(n 2 ). In other words, you have to show that there exist positive constants c 1, c 2 such that c 1 n 2 log 2 T (n) c 2 n 2 for all sufficiently large n. Specify your constants. The closer they are to each other, the better. 23. (XC 8 points) Prove: the chromatic number of a triangle-free graph on n vertices is O( n). 13

24. (XC 12 points) Prove: almost all graphs have diameter 2. Explanation. The distance between two vertices is the length of a shortest path between them. The diameter of a graph is the maximum distance between pairs of vertices. Let p n be the probability that a random graph on vertex set [n] (picked uniformly) has diameter 2. You need to show that lim n p n = 1. 25. (XC 7 points) Let A, B M n (R). Prove: AB BA I. 26. (XC 10 points) Let G be a self-complementary graph with n vertices (i. e., G is isomorphic to its complement). Prove: χ(g) n. 27. (XC 9 points) The girth of a graph is the length of its shortest cycle. For instance, the girth of the grid is 4, and the girth of the Petersen graph is 5. Prove: there exists a non-planar graph of girth 100. 14