Discrete Mathematics

Similar documents
Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

Probabilistic models

Some Basic Concepts of Probability and Information Theory: Pt. 1

the time it takes until a radioactive substance undergoes a decay

CSC Discrete Math I, Spring Discrete Probability

P (A B) P ((B C) A) P (B A) = P (B A) + P (C A) P (A) = P (B A) + P (C A) = Q(A) + Q(B).

Randomized Algorithms

Probabilistic Method. Benny Sudakov. Princeton University

Probabilistic models

Senior Math Circles November 19, 2008 Probability II

12 1 = = 1

2. AXIOMATIC PROBABILITY

1 Basic continuous random variable problems

1 Basic Combinatorics

Assignment 4: Solutions

Elementary Discrete Probability

PROBABILITY VITTORIA SILVESTRI

Lecture 3. January 7, () Lecture 3 January 7, / 35

Module 1. Probability

Chapter 2 Class Notes

Notes. Combinatorics. Combinatorics II. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

The first bound is the strongest, the other two bounds are often easier to state and compute. Proof: Applying Markov's inequality, for any >0 we have

Lecture 6: The Pigeonhole Principle and Probability Spaces

2.4 Conditional Probability

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

Indistinguishable objects in indistinguishable boxes

1 The Basic Counting Principles

Final Examination. Adrian Georgi Josh Karen Lee Min Nikos Tina. There are 12 problems totaling 150 points. Total time is 170 minutes.

are the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1).

Discrete Probability

Expectation, inequalities and laws of large numbers

REVIEW QUESTIONS. Chapter 1: Foundations: Sets, Logic, and Algorithms

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 10

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Introduction to Probability Theory, Algebra, and Set Theory

Grades 7 & 8, Math Circles 24/25/26 October, Probability

Theorem 1.7 [Bayes' Law]: Assume that,,, are mutually disjoint events in the sample space s.t.. Then Pr( )

MAT 271E Probability and Statistics

Section 13.3 Probability

1 Basic continuous random variable problems

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ).

TEST CODE: MMA (Objective type) 2015 SYLLABUS

STAT509: Probability

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

1 Proof techniques. CS 224W Linear Algebra, Probability, and Proof Techniques

CS 125 Section #12 (More) Probability and Randomized Algorithms 11/24/14. For random numbers X which only take on nonnegative integer values, E(X) =

Mutually Exclusive Events

{ 0! = 1 n! = n(n 1)!, n 1. n! =

Conditional Probability. CS231 Dianna Xu

CS 246 Review of Proof Techniques and Probability 01/14/19

CSE 312 Foundations, II Final Exam

Acyclic subgraphs with high chromatic number

Statistical Theory 1

RVs and their probability distributions

Class 26: review for final exam 18.05, Spring 2014

First Digit Tally Marks Final Count

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

Course: ESO-209 Home Work: 1 Instructor: Debasis Kundu

Introduction to Probability. Ariel Yadin. Lecture 1. We begin with an example [this is known as Bertrand s paradox]. *** Nov.

Discrete Random Variables

Final Examination. Your name: Circle the name of your Tutorial Instructor: David Hanson Jelani Sayan

MAT 271E Probability and Statistics

Probability Theory: Homework problems

F 99 Final Quiz Solutions

ACO Comprehensive Exam October 14 and 15, 2013

ORF 245 Fundamentals of Statistics Chapter 5 Probability

Lecture 3: Miscellaneous Techniques

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Problems for Putnam Training

Stochastic Models in Computer Science A Tutorial

Discrete Structures for Computer Science: Counting, Recursion, and Probability

1 True/False. Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2

MAT 271E Probability and Statistics

Stat 225 Week 2, 8/27/12-8/31/12, Notes: Independence and Bayes Rule

Handout 1: Mathematical Background

Glossary Common Core Curriculum Maps Math/Grade 9 Grade 12

Discrete Mathematics and Probability Theory Fall 2017 Ramchandran and Rao Final Solutions

Random Lifts of Graphs

Statistical Inference

Part IA Probability. Definitions. Based on lectures by R. Weber Notes taken by Dexter Chua. Lent 2015

Introduction to discrete probability. The rules Sample space (finite except for one example)

Mathathon Round 1 (2 points each)

Department of Mathematics Comprehensive Examination Option I 2016 Spring. Algebra

Executive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics:

@&%% Discrete Mathematics There are two problems in the discrete mathematics

Notes on probability : Exercise problems, sections (1-7)

HMMT February 2018 February 10, 2018

Intermediate Math Circles November 15, 2017 Probability III

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

besides your solutions of these problems. 1 1 We note, however, that there will be many factors in the admission decision

Lecture 4: Probability and Discrete Random Variables

CS 361: Probability & Statistics

RAMSEY THEORY. 1 Ramsey Numbers

With Question/Answer Animations. Chapter 7

Transcription:

Discrete Mathematics Workshop Organized by: ACM Unit, ISI Tutorial-1 Date: 05.07.2017 (Q1) Given seven points in a triangle of unit area, prove that three of them form a triangle of area not exceeding 1/4. Hint: Pigeonhole Principle (Q2) How many onto functions exist between {1, 2,..., n} to {a, b}? Generalize this to find the number of onto functions between {1, 2,..., n} to {1, 2,..., m}? Hint: Inclusion Exclusion (Q3) A derangement is a permutation of the elements of a set, such that no element appears in its original position. Find and solve a recurrence relation to find the number of derangements of {1, 2,..., n}. What is the asymptotic behaviour of the probability that a randomly chosen permutation is a derangement? (Q4) Let n < m. How many functions f are there from {1, 2,..., n} to {1, 2,..., m} such that (a) f(i) < f(j) (b) f(i) f(j) for i, j {1, 2, 3}? (Q5) Give combinatorial arguments for the following: (a) ( ) 2n n = n ( n ) 2 i=0 i (b) n i=1 i(n i) = n ( i ) ( i=2 2 = n+1 ) 3 (Q6) In the parliament of some country there are 151 seats filled by 3 parties. How many possible distributions (i, j, k) are there that give no party (a) a majority (number of votes strictly greater than any other party) and (b) an absolute majority (number of votes is greater than sum of others)? (Q7) Decide whether the following are always true, never true, or sometimes true for asymptotically nonnegative functions f and g. (a) f(n) = O(f(n) 2 ) (b) f(n) + g(n) = Θ(max{f(n), g(n)}) (c) f(n) + O(f(n)) = Θ(f(n)) (Q8) (a) Prove that there are at least χ(g)(χ(g) 1)/2 edges in a graph G, where χ(g) is its chromatic number. 1

(b) What is the maximum number of edges in a χ(g)-chromatic graph on n vertices? Hint: (a) By definition and (b) See Turan s theorem (Q9) Find the chromatic number of a hypercube Q n. Hint: Prove Q n is bipartite. (Q10) Prove that a graph is bipartite if and only if it has no odd cycles. (Q11) A tournament is a complete graph where every edge has a direction. A king is a vertex such that it can reach any other vertex in two steps. (a) Prove that every tournament has a king. (b) Find a tournament on 5 vertices that has exactly (i) 1 king, (ii) 5 kings. Hint: Consider the vertex with the maximum out degree (Q12) There are n chords in a circle. Find and solve a recurrence relation for the maximum number of regions the circle is divided into. Extend this to find maximum number of regions n planes divide a sphere. (Q13) Consider n straight lines in general position in R 2 i.e. no three lines are concurrent and no two are parallel. These lines partition R 2 into faces. Consider the intersection points of the lines as vertices, line segments induced by vertices as edges. Note that an edge is either a finite line segment with both end points as vertices or an infinite line segment with only one end point as a vertex. Compute the number of vertices, edges and faces in the partition. (Q14) Construct a triangle free graph with a given chromatic number χ(g). Hint: See Mycielski s construction (Q15) Ramsey number is the minimum number of vertices v = R(m, n) such that all undirected simple graphs of order v contain a clique of order m or an independent set of order n. Prove that R(k, l) R(k 1, l) + R(k, l 1). Using this, prove that R(k, l) < ( ) k+l 2 k 1. Hint: Use induction for second part. (Q16) If G is an n vertex triangle-free graph, then prove that it has at most n 2 /4 edges. 2

Probability Workshop Organized by: ACM Unit, ISI Tutorial-1 Date: 05.07.2017 (Q1) [Markov s inequality] Let X be a nonnegative random variable. Then for any real number a > 0, prove that P(X a) E[X] a. Also give an example to show that Markov s inequality is tight. Ans. See Probability and Computing by Mitzemacher and Upfal. (Q2) [Chebyshev s inequality] Let X be a random variable having finite expectation and finite nonzero variance σ 2. Then for any real number a > 0, prove that P( X E[X] a) σ2 k 2. Also give an example to show that Chebyshev s inequality is tight. Ans. See Probability and Computing by Mitzemacher and Upfal. (Q3) [Chernoff bound] Suppose X 1,..., X n be independent random variables such that each X i {0, 1}. Let X = n X i and µ = E[X]. Then, prove that i=1 ( ) e µ. (a) For any δ > 0, P(X (1 + δ)µ) δ (1+δ) 1+δ (b) For 0 < δ < 1, P(X (1 + δ)µ) e µδ2 (c) For 0 < δ < 1, P(X (1 δ)µ) 3. ( e δ (d) For 0 < δ < 1, P( X µ δµ) 2e µδ2 3 (1 δ) 1 δ ) µ e µδ 2 2. Ans. See Probability and Computing by Mitzemacher and Upfal. (Q4) If you throw a fair die n times, then compute the probability that the sum of all the outcomes is divisible by i, where i {2, 3, 5, 6}. Ans. Think of the situation when you have thrown the die n 1 times. Let E i be the event such that the sum is divisible by i. P(E 2 ) = 1 2, P(E 3) = 1 3, P(E 5) = 1 6 and P(E 6) = 1 6. (Q5) [Monty hall problem] In a game show, the contestant is asked to select one of three doors. Behind two of the doors are goats and one of the doors hides a car. Success is selecting the door with the car behind it. After the contestant selects a door, the host opens one of the other two doors revealing a goat and asks if the contestant wishes to change his answer. Should the contestant change his answer? Justify your answer. Ans. Use the definition of conditional probability properly. (Q6) In a city with one hundred taxis, 1 is blue and 99 are green. A witness observes a hit-and-run by a taxi at night and recalls that the taxi was blue. So the police arrests the blue taxi driver 3

who was on duty that night. The driver proclaims his innocence. A scientist tests the ability of the witness to distinguish blue and green taxis under conditions similar to the night of accident. The data suggests that the witness sees blue cars as blue 99% of the time and green cars as blue 2% of the time. Find out if there is a case for reasonable doubt. Ans. Use Baye s rule carefully. The probability the the car was blue given the witness saw a blue car, is 1 3. Hence, there is a case of reasonable doubt. (Q7) [Polya urn model] In an urn, there are r red balls and b blue balls. You pick a ball randomly and let it be x. Put c 1 balls of the color, same as that of x, into the urn. Do the same experment n times. Now if we pick a ball randomly from the urn, what is the probability that the picked one is red? Ans. r r+b. (Q8) Give an example where a set of events is pairwise independent but not mutually independent. Ans. You toss a fair coin twice. The possible events are: (1) Both tosses give the same outcome (HH or TT). (2) The first toss is a heads (HT HH). (3) The second toss is heads (TH HH). (Q9) Compute the expected number of times you have to toss a fair coin to get n consecutive heads. First try to solve for n = 2 and then generalize. Ans. Try to form a recurrence relation. Let X n be the random variable that denotes number of trials to get n consecutive heads. Observe that E[X 1 ] = 2, E[X 2 ] = 6 and E[X n ] = 1 2 (E[X n 1] + 1) + 1 2 (E[X n 1] + E[X n ] + 1). After solving the above equation, you will get E[X n ] = 2 n+1 2. (Q10) [Coupon collector problem] Suppose you are buying items randomly from a store and each item comes with a coupon. If there are n types of coupons in total, find the number of items you have to buy in expectation to get all types of coupons. Ans. Think of the situation when you have i 1 different types of coupons with you and you are waiting to get i th different coupon, where i 1. The required expectation is 1 + n n 1 + n n 2 +... + n 1 = nh n = θ(n log n), where H n = n 1 i. (Q11) Let there be 10 objective type questions each having four options. Only one option can be chosen. If a student answers all questions randomly, then the outcome that is the most probable? Justify your answer. Ans. Expected outcome is the most probable event. Let X be the random variable that denotes the number of correct answers. E[X] = 2.5, but it is not feasible to have X as 2.5. This implies either X = 2 or X = 3 is the most probable event. Verify that X = 2 is the most probable event. (Q12) [Birthday paradox] Let there are n persons in a room. If each person has his/her birthday randomly on any one of the 365 days in a year, compute the probability that at least two of them have the same birthday. Also verify that if n = 23, then there are two persons having the same birthday with probability more than 1/2. i=1 4

Ans. Let E n be the event such that there are two persons having same birthday. Observe that P(En) c = 365 ( ) 365 1 1 365 (1 2 n 1 365 )... (1 365 ). Then using the inequality 1 x < e x for x > 0, we can write P(En) c e n(n 1) 365. Now if we put n = 23, we get P(En) c < 1 2. 5

Linear Algebra Workshop Organized by: ACM Unit, ISI Tutorial-1 Date: 05.07.2017 (Q1) In the world of 3D modelling where we have to describe orientation of 3D objects in space. This is done using a linear transformation that we describe below. Consider a point x = (x, y, z). It is rotated around the origin by an angle θ along the x-axis. Then it is rotated by an angle φ along the y-axis, and finally by an angle ζ along the z-axis. [Here a positive angle means rotating in the counterclockwise direction when looking at the origin from the positive direction of the rotation axis.] Find a matrix A 3 3 (in terms of θ, φ and ζ, and not involving x, y or z) such that the new position is A x. (Q2) Consider the system of linear equation [ 1 2 3 1 3 4 ] x 1 x 2 x 3 = Call the columns of the coefficient matrix c 1, c 2 and c 3. (a) Find all possible subsets of { c 1, c 2, c 3 } that form a basis for the column space. (b) Find the set of all possible solutions of this system. Visualize this as a subspace of R 3. Is it a plane or a line or a point or empty set? (c) For every basis of the form { c i, c j } you found in the first part, obtain all solutions (x 1, x 2, x 3 ) where x k = 0 if k {i, j}. For example, if { c 1, c 3 } is a basis, then find all solutions of the form (x 1, 0, x 3 ). Visualize these solutions in R 3. (Q3) A polynomial of the form p(x) = a + bx + cx 2 may be identified with a vector (a, b, c). Check that 1 0 p(x)q(x)dx is an inner product. For example, (1, 2, 0), (0, 3, 0) = 1 Apply GSO on the set {1, x, x 2 } w.r.t. this inner product. (Q4) For any matrix show that r(a A) = r(a). 0 [ 5 6 (1 + 2x) 3xdx = = 7 2. (Q5) Consider the 5 points (2,4), (3,5), (4, 6) (10,12) and (9,11). Find their covariance matrix. Find the eigen values and eigen vectors. Interpret them geometrically in terms of the original points. (Q6) Can three vectors u, v, w in the XY plane have u.v < 0, v.w < 0 and w.u < 0. ]. 6

(Q7) Prove that if Q T = Q 1, (a) the columns q 1, q 2,..., q n are unit vectors. (b) every two columns of Q are perpendicular. (Q8) Find the eigenvalues and eigenvectors of a diagonal matrix with entries a 1, a 2,..., a n. (Q9) Suppose λ is an eigenvalue of A with corresponding eigenvector x. Find an eigenvalue and its corresponding eigenvector in A ki. (Q10) Let F n denote the 1, 1, 1 tridiagonal matrix of order n n. Show that F 2, F 3,... form the Fibonacci sequence. (Q11) Are the following subsets of R 4 subspaces? Prove or disprove. (a) {(a, a 2, a 3, a 4 ) : a R 4 } (b) {(a, b, 2b, a + b) : a, b R 4 } 7