Combinations and Probabilities

Size: px
Start display at page:

Download "Combinations and Probabilities"

Transcription

1 Combinations and Probabilities Tutor: Zhang Qi Systems Engineering and Engineering Management November 2014 Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

2 Combination Review Theorem Let x 1, x 2,...x m be distinct elements, where x i occurs k i times. The number of different ( sequences that ) can be obtained by permuting these k1 + k k m elements is k 1 k 2... k m Theorem (Multinomial Theorem) For any x 1, x 2,...x m and some integer n 1 ( ) (x 1 + x x m ) n n = x k 1 k 1 k 2... k m k k m=n 1 x k 2 2 and particularly, it turns into Binomial Theorem when m = 2....x km m Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

3 Combination Application Examples: Coefficients of expansion 1. What is the( coefficient ) of x 12 y 13 in the expansion of (2x 3y) 25? 25 Solution: 2 12 ( 3) Hint: take j = 13 for (2x + ( 3y)) 25 = ( ) j=0 (2x) 25 j ( 3y) j j 2. What is the coefficient of x1 3x 2x3 2 in the expansion of (2x 1 3x 2 ( + 5x 3 ) 6? ) 6 Solution: 2 3 ( 3) Hint: take k 1 = 3, k 2 = 1, k 3 = 2 for (2x 1 3x 2 + 5x 3 ) 6 = ( ) 6 k 1 +k 2 +k 3 =6 x k 1 1 k 1 k 2 k x k 2 2 x k Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

4 Combination Application Examples: Simplify Sums Method 1. By induction. Method 2. Construct combinatorial models. Method 3. Apply multinomial theorem. Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

5 Constructing combinatorial models. Example Prove ( ) n n k=0 k2 = n(n + 1)2 n 2 k Hint: Count in two ways of selection from a set of n elements. Then pick two not necessarily distinct elements from this subset. Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

6 Example Cont Prove ( ) n n k=0 k2 = n(n + 1)2 n 2 k Solution: The left-hand side ( ) corresponds to for all k, choosing k elements n from the n elements thus possible subsets. And at the same time, k from each subset with k elements, we pick at random 2 elements and these 2 elements needn t to be distinct, followed by k 2 ways. For the right-hand side, we consider picking the 2 elements first. We split the problem into two cases. If the 2 elements are distinct, there are n(n-1) ways. Then the k subset needs k-2 other elements from the whole set, that is 2 n 2. On the other hand, if the 2 elements are identical, that is n ways. Then the k subset needs k-1 other elements from the whole set, which has 2 n 1 ways. Summing up the two cases we get n(n 1)2 n 2 + n2 n 1 = n(n + 1)2 n 2. Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

7 Applying multinomial theorem. 1. ( ) n n k=0 = 2 n Hint: (1 + 1) n k 2. ( ) n n k=0 ( 1)k = 0 Hint: ( 1 + 1) n k Be careful with the index! Example 17 k=1 ( ) ( 1) k 13 k = k k=1 17 = k=0 ( ) 17 ( 13) k 1 17 k k ( ) 17 ( 13) k 1 17 k k = ( ) 17 1 = ( 12) 17 1 ( ) 17 ( 13) 0 (1) 17 0 Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

8 Example Prove n ( n 2 0 ( 1) k) k ( ) if n is odd = 2m ( 1) m if n=2m k=0 m Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

9 Solution: Let S n = n k=0 ( 1)k ( n k) 2. When n is odd, S n = Thus S n = 0 when n is odd. = = k=0 k=0 ) 2 n ( n ( 1) k+1 k n ( n ( 1) n k n k n ( ) n 2 ( 1) i i i=0 = S n ) 2 Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

10 Solution: When n is even, say n = 2m, we observe that S n is actually the coefficient of x n in (1 + x) n (1 x) n, as S n = = k=0 k=0 ) 2 n ( n ( 1) k k n ( )( ) n n ( 1) k 1 n k k n k On the other hand, (1 + x) n (1 x) n = (1 x 2 ) n and the coefficient of x n in (1 x 2 ) n is ( ) 2m ( 1) m m Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

11 Calculation Probability step1. List all possible outcomes to get the sample space S. step2. Calculate the probability of each element in S and make sure they sum up to 1. step3. Define the event set T, which should be a subset of S. step4. Calculate the probability of T according to Pr(T ) = x T Pr(x). Especially, when we have finite n possible outcomes and they are equally likely with probability 1 n, then Pr(T ) = T S Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

12 Example Suppose we choose a sequence i 1, i 2,..., i n of integers between 1 and n at random. (1)What is the probability that the chosen sequence is a permutation of 1,2,...,n? Solution: The sample space S is the set of all possible sequences of length n and each of whose terms is one of the integers 1,2,...n. Hence S = n n and each is assigned with equal probability. The event T is the set of permutation, thus T = n!. So Prob(T ) = T S = n! n n Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

13 Example Cont Suppose we choose a sequence i 1, i 2,..., i n of integers between 1 and n at random. (2)What is the probability that the sequence contains exactly n-1 different integers? Solution: The event T is the set of sequences containing exactly n-1 different integers. So for each element in T, among 1,2,...,n, exactly one integer repeats twice and exactly one is missing. ( ) n There are n choices for the repeated integer, and possible positions 2 to put it twice. Then n-1 choices for the missing integer. After that the remaining n-2 integers can be put in the remaining n-2 positions and will lead to (n 2)! ways. Thus ( ) n n! 2 T = n (n 1)(n 2)! = 2 2!(n 2)!. Pr(T ) = T S = n! 2 2!(n 2)!n n Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

14 Example Suppose in chess, a rook can move horizontally or vertically in any direction any distance on the board. Two rooks are said to be attacking each other if they are both in the same row or column; so one can get, in a single move, to the position occupied by the other. Now we put 5 identical rooks at random in nonattacking positions on an 8-by-8 board. What is the probability that the 5 rooks are both in rows 1,2,3,4,5 and in columns 4,5,6,7,8? Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

15 Example Cont What is the probability that the 5 rooks are both in rows 1,2,3,4,5 and in columns 4,5,6,7,8? Solution The sample space S consists all placement of 5 rooks on the 8-by-8 board. As all rooks are identical, we ( just ) need to firstly pick 5 8 different rows to put them and there are ways. Then we pick 5 5 different columns and match ( ) them with columns one by one to fix 5 8 positions and there are 5! ways. So S = 8!2 5 3! 2 5!. T is the event that the 5 rooks are in the positions prescribed above. Actually, it is equivalent to the situation that we put 5 rooks in nonattacking positions on 5-by-5 board. Similarly, there are 5! ways and thus T = 5! So Pr(T ) = T S = 5!2 3! 2 8! 2 Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

16 Thank you for your time! Tutor: Zhang Qi (SEEM) Tutorial 7 November / 16

Inclusion and Exclusion Principle

Inclusion and Exclusion Principle Inclusion and Exclusion Principle Tutor: Zhang Qi Systems Engineering and Engineering Management qzhang@se.cuhk.edu.hk November 2014 Tutor: Zhang Qi (SEEM) Tutorial 7 November 2014 1 / 14 Review Theorem

More information

Counting. Math 301. November 24, Dr. Nahid Sultana

Counting. Math 301. November 24, Dr. Nahid Sultana Basic Principles Dr. Nahid Sultana November 24, 2012 Basic Principles Basic Principles The Sum Rule The Product Rule Distinguishable Pascal s Triangle Binomial Theorem Basic Principles Combinatorics: The

More information

COMBINATORIAL COUNTING

COMBINATORIAL COUNTING COMBINATORIAL COUNTING Our main reference is [1, Section 3] 1 Basic counting: functions and subsets Theorem 11 (Arbitrary mapping Let N be an n-element set (it may also be empty and let M be an m-element

More information

Contents. Counting Methods and Induction

Contents. Counting Methods and Induction Contents Counting Methods and Induction Lesson 1 Counting Strategies Investigations 1 Careful Counting... 555 Order and Repetition I... 56 3 Order and Repetition II... 569 On Your Own... 573 Lesson Counting

More information

Combinatorial Analysis

Combinatorial Analysis Chapter 1 Combinatorial Analysis STAT 302, Department of Statistics, UBC 1 A starting example: coin tossing Consider the following random experiment: tossing a fair coin twice There are four possible outcomes,

More information

ENGG 2440B Discrete Mathematics for Engineers Tutorial 8

ENGG 2440B Discrete Mathematics for Engineers Tutorial 8 ENGG 440B Discrete Mathematics for Engineers Tutorial 8 Jiajin Li Department of Systems Engineering and Engineering Management, The Chinese University of Hong Kong jjli@se.cuhk.edu.hk November, 018 Jiajin

More information

Some Review Problems for Exam 3: Solutions

Some Review Problems for Exam 3: Solutions Math 3355 Fall 018 Some Review Problems for Exam 3: Solutions I thought I d start by reviewing some counting formulas. Counting the Complement: Given a set U (the universe for the problem), if you want

More information

Week 15-16: Combinatorial Design

Week 15-16: Combinatorial Design Week 15-16: Combinatorial Design May 8, 2017 A combinatorial design, or simply a design, is an arrangement of the objects of a set into subsets satisfying certain prescribed properties. The area of combinatorial

More information

Radical Expressions and Graphs 8.1 Find roots of numbers. squaring square Objectives root cube roots fourth roots

Radical Expressions and Graphs 8.1 Find roots of numbers. squaring square Objectives root cube roots fourth roots 8. Radical Expressions and Graphs Objectives Find roots of numbers. Find roots of numbers. The opposite (or inverse) of squaring a number is taking its square root. Find principal roots. Graph functions

More information

Math 378 Spring 2011 Assignment 4 Solutions

Math 378 Spring 2011 Assignment 4 Solutions Math 3 Spring 2011 Assignment 4 Solutions Brualdi 6.2. The properties are P 1 : is divisible by 4. P 2 : is divisible by 6. P 3 : is divisible by. P 4 : is divisible by 10. Preparing to use inclusion-exclusion,

More information

Probability & Combinatorics Test and Solutions February 18, 2012

Probability & Combinatorics Test and Solutions February 18, 2012 1. A standard 12-hour clock has hour, minute, and second hands. How many times do two hands cross between 1:00 and 2:00 (not including 1:00 and 2:00 themselves)? Answer: 119 Solution: We know that the

More information

Permutations and Combinations

Permutations and Combinations Permutations and Combinations Permutations Definition: Let S be a set with n elements A permutation of S is an ordered list (arrangement) of its elements For r = 1,..., n an r-permutation of S is an ordered

More information

The candidates are advised that they must always show their working, otherwise they will not be awarded full marks for their answers.

The candidates are advised that they must always show their working, otherwise they will not be awarded full marks for their answers. MID SWEDEN UNIVERSITY TFM Examinations 2006 MAAB16 Discrete Mathematics B Duration: 5 hours Date: 7 June 2006 There are EIGHT questions on this paper and you should answer as many as you can in the time

More information

Apprentice Program: Linear Algebra

Apprentice Program: Linear Algebra Apprentice Program: Linear Algebra Instructor: Miklós Abért Notes taken by Matt Holden and Kate Ponto June 26,2006 1 Matrices An n k matrix A over a ring R is a collection of nk elements of R, arranged

More information

COMP232 - Mathematics for Computer Science

COMP232 - Mathematics for Computer Science COMP232 - Mathematics for Computer Science Tutorial 9 Ali Moallemi moa ali@encs.concordia.ca Iraj Hedayati h iraj@encs.concordia.ca Concordia University, Winter 2017 Ali Moallemi, Iraj Hedayati COMP232

More information

Introduction to Combinatorial Mathematics

Introduction to Combinatorial Mathematics Introduction to Combinatorial Mathematics George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 300 George Voutsadakis (LSSU) Combinatorics April 2016 1 / 57

More information

What you learned in Math 28. Rosa C. Orellana

What you learned in Math 28. Rosa C. Orellana What you learned in Math 28 Rosa C. Orellana Chapter 1 - Basic Counting Techniques Sum Principle If we have a partition of a finite set S, then the size of S is the sum of the sizes of the blocks of the

More information

Some Review Problems for Exam 3: Solutions

Some Review Problems for Exam 3: Solutions Math 3355 Spring 017 Some Review Problems for Exam 3: Solutions I thought I d start by reviewing some counting formulas. Counting the Complement: Given a set U (the universe for the problem), if you want

More information

Rook theory and simplicial complexes

Rook theory and simplicial complexes Rook theory and simplicial complexes Ira M. Gessel Department of Mathematics Brandeis University A Conference to Celebrate The Mathematics of Michelle Wachs University of Miami, Coral Gables, Florida January

More information

Discrete Probability

Discrete Probability Discrete Probability Counting Permutations Combinations r- Combinations r- Combinations with repetition Allowed Pascal s Formula Binomial Theorem Conditional Probability Baye s Formula Independent Events

More information

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

{ 0! = 1 n! = n(n 1)!, n 1. n! = Summations Question? What is the sum of the first 100 positive integers? Counting Question? In how many ways may the first three horses in a 10 horse race finish? Multiplication Principle: If an event

More information

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

CMSC Discrete Mathematics SOLUTIONS TO FIRST MIDTERM EXAM October 18, 2005 posted Nov 2, 2005 CMSC-37110 Discrete Mathematics SOLUTIONS TO FIRST MIDTERM EXAM October 18, 2005 posted Nov 2, 2005 Instructor: László Babai Ryerson 164 e-mail: laci@cs This exam contributes 20% to your course grade.

More information

2.6 Tools for Counting sample points

2.6 Tools for Counting sample points 2.6 Tools for Counting sample points When the number of simple events in S is too large, manual enumeration of every sample point in S is tedious or even impossible. (Example) If S contains N equiprobable

More information

Fall 2017 Test II review problems

Fall 2017 Test II review problems Fall 2017 Test II review problems Dr. Holmes October 18, 2017 This is a quite miscellaneous grab bag of relevant problems from old tests. Some are certainly repeated. 1. Give the complete addition and

More information

Combinations. April 12, 2006

Combinations. April 12, 2006 Combinations April 12, 2006 Combinations, April 12, 2006 Binomial Coecients Denition. The number of distinct subsets with j elements that can be chosen from a set with n elements is denoted by ( n j).

More information

The solutions to the two examples above are the same.

The solutions to the two examples above are the same. One-to-one correspondences A function f : A B is one-to-one if f(x) = f(y) implies that x = y. A function f : A B is onto if for any element b in B there is an element a in A such that f(a) = b. A function

More information

Warm-up Quantifiers and the harmonic series Sets Second warmup Induction Bijections. Writing more proofs. Misha Lavrov

Warm-up Quantifiers and the harmonic series Sets Second warmup Induction Bijections. Writing more proofs. Misha Lavrov Writing more proofs Misha Lavrov ARML Practice 3/16/2014 and 3/23/2014 Warm-up Using the quantifier notation on the reference sheet, and making any further definitions you need to, write the following:

More information

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

Name (please print) Mathematics Final Examination December 14, 2005 I. (4) Mathematics 513-00 Final Examination December 14, 005 I Use a direct argument to prove the following implication: The product of two odd integers is odd Let m and n be two odd integers Since they are odd,

More information

Probability. Part 1 - Basic Counting Principles. 1. References. (1) R. Durrett, The Essentials of Probability, Duxbury.

Probability. Part 1 - Basic Counting Principles. 1. References. (1) R. Durrett, The Essentials of Probability, Duxbury. Probability Part 1 - Basic Counting Principles 1. References (1) R. Durrett, The Essentials of Probability, Duxbury. (2) L.L. Helms, Probability Theory with Contemporary Applications, Freeman. (3) J.J.

More information

Mathathon Round 1 (2 points each)

Mathathon Round 1 (2 points each) Mathathon Round ( points each). A circle is inscribed inside a square such that the cube of the radius of the circle is numerically equal to the perimeter of the square. What is the area of the circle?

More information

Section 3 Discrete-Time Signals EO 2402 Summer /05/2013 EO2402.SuFY13/MPF Section 3 1

Section 3 Discrete-Time Signals EO 2402 Summer /05/2013 EO2402.SuFY13/MPF Section 3 1 Section 3 Discrete-Time Signals EO 2402 Summer 2013 07/05/2013 EO2402.SuFY13/MPF Section 3 1 [p. 3] Discrete-Time Signal Description Sampling, sampling theorem Discrete sinusoidal signal Discrete exponential

More information

Equivalence of Propositions

Equivalence of Propositions Equivalence of Propositions 1. Truth tables: two same columns 2. Sequence of logical equivalences: from one to the other using equivalence laws 1 Equivalence laws Table 6 & 7 in 1.2, some often used: Associative:

More information

(b) What is the variance of the time until the second customer arrives, starting empty, assuming that we measure time in minutes?

(b) What is the variance of the time until the second customer arrives, starting empty, assuming that we measure time in minutes? IEOR 3106: Introduction to Operations Research: Stochastic Models Fall 2006, Professor Whitt SOLUTIONS to Final Exam Chapters 4-7 and 10 in Ross, Tuesday, December 19, 4:10pm-7:00pm Open Book: but only

More information

Lecture 6: The Pigeonhole Principle and Probability Spaces

Lecture 6: The Pigeonhole Principle and Probability Spaces Lecture 6: The Pigeonhole Principle and Probability Spaces Anup Rao January 17, 2018 We discuss the pigeonhole principle and probability spaces. Pigeonhole Principle The pigeonhole principle is an extremely

More information

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School Basic counting techniques Periklis A. Papakonstantinou Rutgers Business School i LECTURE NOTES IN Elementary counting methods Periklis A. Papakonstantinou MSIS, Rutgers Business School ALL RIGHTS RESERVED

More information

PUTNAM TRAINING PROBLEMS

PUTNAM TRAINING PROBLEMS PUTNAM TRAINING PROBLEMS (Last updated: December 3, 2003) Remark This is a list of Math problems for the NU Putnam team to be discussed during the training sessions Miguel A Lerma 1 Bag of candies In a

More information

Discrete Math, Spring Solutions to Problems V

Discrete Math, Spring Solutions to Problems V Discrete Math, Spring 202 - Solutions to Problems V Suppose we have statements P, P 2, P 3,, one for each natural number In other words, we have the collection or set of statements {P n n N} a Suppose

More information

Combinatorics. But there are some standard techniques. That s what we ll be studying.

Combinatorics. But there are some standard techniques. That s what we ll be studying. Combinatorics Problem: How to count without counting. How do you figure out how many things there are with a certain property without actually enumerating all of them. Sometimes this requires a lot of

More information

10x + y = xy. y = 10x x 1 > 10,

10x + y = xy. y = 10x x 1 > 10, All Problems on Prize Exam Spring 2011 Version Date: Sat Mar 5 15:12:06 EST 2011 The source for each problem is listed below when available; but even when the source is given, the formulation of the problem

More information

Binomial Coefficient Identities/Complements

Binomial Coefficient Identities/Complements Binomial Coefficient Identities/Complements CSE21 Fall 2017, Day 4 Oct 6, 2017 https://sites.google.com/a/eng.ucsd.edu/cse21-fall-2017-miles-jones/ permutation P(n,r) = n(n-1) (n-2) (n-r+1) = Terminology

More information

McGill University Faculty of Science. Solutions to Practice Final Examination Math 240 Discrete Structures 1. Time: 3 hours Marked out of 60

McGill University Faculty of Science. Solutions to Practice Final Examination Math 240 Discrete Structures 1. Time: 3 hours Marked out of 60 McGill University Faculty of Science Solutions to Practice Final Examination Math 40 Discrete Structures Time: hours Marked out of 60 Question. [6] Prove that the statement (p q) (q r) (p r) is a contradiction

More information

Example. If 4 tickets are drawn with replacement from ,

Example. If 4 tickets are drawn with replacement from , Example. If 4 tickets are drawn with replacement from 1 2 2 4 6, what are the chances that we observe exactly two 2 s? Exactly two 2 s in a sequence of four draws can occur in many ways. For example, (

More information

Latin squares: Equivalents and equivalence

Latin squares: Equivalents and equivalence Latin squares: Equivalents and equivalence 1 Introduction This essay describes some mathematical structures equivalent to Latin squares and some notions of equivalence of such structures. According to

More information

Linear algebra I Homework #1 due Thursday, Oct Show that the diagonals of a square are orthogonal to one another.

Linear algebra I Homework #1 due Thursday, Oct Show that the diagonals of a square are orthogonal to one another. Homework # due Thursday, Oct. 0. Show that the diagonals of a square are orthogonal to one another. Hint: Place the vertices of the square along the axes and then introduce coordinates. 2. Find the equation

More information

Compatible probability measures

Compatible probability measures Coin tossing space Think of a coin toss as a random choice from the two element set {0,1}. Thus the set {0,1} n represents the set of possible outcomes of n coin tosses, and Ω := {0,1} N, consisting of

More information

Ma/CS 6b Class 12: Graphs and Matrices

Ma/CS 6b Class 12: Graphs and Matrices Ma/CS 6b Class 2: Graphs and Matrices 3 3 v 5 v 4 v By Adam Sheffer Non-simple Graphs In this class we allow graphs to be nonsimple. We allow parallel edges, but not loops. Incidence Matrix Consider a

More information

arxiv: v1 [math.co] 20 Feb 2014

arxiv: v1 [math.co] 20 Feb 2014 A q-queens PROBLEM III. PARTIAL QUEENS March 5, 2014 SETH CHAIKEN, CHRISTOPHER R. H. HANUSA, AND THOMAS ZASLAVSKY arxiv:1402.488v1 [math.co] 20 Feb 2014 Abstract. Parts I and II showed that the number

More information

By J H McCabe. to provide the convergents of the simple continued fraction expansions of 5.

By J H McCabe. to provide the convergents of the simple continued fraction expansions of 5. An Observation on the Padé Table for + x and the simple continued fraction expansions for, and 5. By J H McCabe. Abstract. The main staircase sequence Padé approximants for + x are shown to yield the convergents

More information

6 CARDINALITY OF SETS

6 CARDINALITY OF SETS 6 CARDINALITY OF SETS MATH10111 - Foundations of Pure Mathematics We all have an idea of what it means to count a finite collection of objects, but we must be careful to define rigorously what it means

More information

The Not-Formula Book for C2 Everything you need to know for Core 2 that won t be in the formula book Examination Board: AQA

The Not-Formula Book for C2 Everything you need to know for Core 2 that won t be in the formula book Examination Board: AQA Not The Not-Formula Book for C Everything you need to know for Core that won t be in the formula book Examination Board: AQA Brief This document is intended as an aid for revision. Although it includes

More information

INEQUALITIES OF SYMMETRIC FUNCTIONS. 1. Introduction to Symmetric Functions [?] Definition 1.1. A symmetric function in n variables is a function, f,

INEQUALITIES OF SYMMETRIC FUNCTIONS. 1. Introduction to Symmetric Functions [?] Definition 1.1. A symmetric function in n variables is a function, f, INEQUALITIES OF SMMETRIC FUNCTIONS JONATHAN D. LIMA Abstract. We prove several symmetric function inequalities and conjecture a partially proved comprehensive theorem. We also introduce the condition of

More information

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime. PUTNAM TRAINING NUMBER THEORY (Last updated: December 11, 2017) Remark. This is a list of exercises on Number Theory. Miguel A. Lerma Exercises 1. Show that the sum of two consecutive primes is never twice

More information

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya BBM 205 Discrete Mathematics Hacettepe University http://web.cs.hacettepe.edu.tr/ bbm205 Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya Resources: Kenneth

More information

ON MULTI-AVOIDANCE OF RIGHT ANGLED NUMBERED POLYOMINO PATTERNS

ON MULTI-AVOIDANCE OF RIGHT ANGLED NUMBERED POLYOMINO PATTERNS INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 4 (2004), #A21 ON MULTI-AVOIDANCE OF RIGHT ANGLED NUMBERED POLYOMINO PATTERNS Sergey Kitaev Department of Mathematics, University of Kentucky,

More information

Invariants II. LA Math Circle (Advanced) November 15, 2015

Invariants II. LA Math Circle (Advanced) November 15, 2015 Invariants II LA Math Circle (Advanced) November 15, 2015 Recall that an invariant is some quantity associated with a system that is left unchanged by a specified process. We typically use them to show

More information

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 275

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 275 Carleton University Final Examination Fall 2017 DURATION: 2 HOURS No. of students: 275 Department Name & Course Number: Computer Science COMP 2804A Course Instructor: Michiel Smid Authorized memoranda:

More information

Lectures on Elementary Probability. William G. Faris

Lectures on Elementary Probability. William G. Faris Lectures on Elementary Probability William G. Faris February 22, 2002 2 Contents 1 Combinatorics 5 1.1 Factorials and binomial coefficients................. 5 1.2 Sampling with replacement.....................

More information

Probability: Terminology and Examples Class 2, Jeremy Orloff and Jonathan Bloom

Probability: Terminology and Examples Class 2, Jeremy Orloff and Jonathan Bloom 1 Learning Goals Probability: Terminology and Examples Class 2, 18.05 Jeremy Orloff and Jonathan Bloom 1. Know the definitions of sample space, event and probability function. 2. Be able to organize a

More information

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

besides your solutions of these problems. 1 1 We note, however, that there will be many factors in the admission decision The PRIMES 2015 Math Problem Set Dear PRIMES applicant! This is the PRIMES 2015 Math Problem Set. Please send us your solutions as part of your PRIMES application by December 1, 2015. For complete rules,

More information

Honeycomb arrays. Simon R. Blackburn Anastasia Panoui Maura B. Paterson and Douglas R. Stinson. November 2, 2018

Honeycomb arrays. Simon R. Blackburn Anastasia Panoui Maura B. Paterson and Douglas R. Stinson. November 2, 2018 Honeycomb arrays arxiv:0911.2384v1 [math.co] 12 Nov 2009 Simon R. Blackburn Anastasia Panoui Maura B. Paterson and Douglas R. Stinson November 2, 2018 Abstract A honeycomb array is an analogue of a Costas

More information

Situation: Summing the Natural Numbers

Situation: Summing the Natural Numbers Situation: Summing the Natural Numbers Prepared at Penn State University Mid-Atlantic Center for Mathematics Teaching and Learning 14 July 005 Shari and Anna Edited at University of Georgia Center for

More information

Review problems solutions

Review problems solutions Review problems solutions Math 3152 December 15, 2017 1. Use the binomial theorem to prove that, for all n 1 and k satisfying 0 k n, ( )( ) { n i ( 1) i k 1 if k n; i k 0 otherwise. ik Solution: Using

More information

Statistical Inference

Statistical Inference Statistical Inference Lecture 1: Probability Theory MING GAO DASE @ ECNU (for course related communications) mgao@dase.ecnu.edu.cn Sep. 11, 2018 Outline Introduction Set Theory Basics of Probability Theory

More information

1 of 8 7/15/2009 3:43 PM Virtual Laboratories > 1. Foundations > 1 2 3 4 5 6 7 8 9 6. Cardinality Definitions and Preliminary Examples Suppose that S is a non-empty collection of sets. We define a relation

More information

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy UT Putnam Prep Problems, Oct 19 2016 I was very pleased that, between the whole gang of you, you solved almost every problem this week! Let me add a few comments here. 1. Determine (with proof) the number

More information

Pre-calculus 12 Curriculum Outcomes Framework (110 hours)

Pre-calculus 12 Curriculum Outcomes Framework (110 hours) Curriculum Outcomes Framework (110 hours) Trigonometry (T) (35 40 hours) General Curriculum Outcome: Students will be expected to develop trigonometric reasoning. T01 Students will be expected to T01.01

More information

Set theory background for probability

Set theory background for probability Set theory background for probability Defining sets (a very naïve approach) A set is a collection of distinct objects. The objects within a set may be arbitrary, with the order of objects within them having

More information

Journal of Integer Sequences, Vol. 3 (2000), Article Magic Carpets

Journal of Integer Sequences, Vol. 3 (2000), Article Magic Carpets Journal of Integer Sequences, Vol. 3 (2000), Article 00.2.5 Magic Carpets Erich Friedman Stetson University Deland, FL 32720 Mike Keith 4100 Vitae Springs Road Salem, OR 97306 Email addresses: efriedma@stetson.edu

More information

Example 1. The sample space of an experiment where we flip a pair of coins is denoted by:

Example 1. The sample space of an experiment where we flip a pair of coins is denoted by: Chapter 8 Probability 8. Preliminaries Definition (Sample Space). A Sample Space, Ω, is the set of all possible outcomes of an experiment. Such a sample space is considered discrete if Ω has finite cardinality.

More information

Introduction to Decision Sciences Lecture 11

Introduction to Decision Sciences Lecture 11 Introduction to Decision Sciences Lecture 11 Andrew Nobel October 24, 2017 Basics of Counting Product Rule Product Rule: Suppose that the elements of a collection S can be specified by a sequence of k

More information

and Other Combinatorial Reciprocity Instances

and Other Combinatorial Reciprocity Instances and Other Combinatorial Reciprocity Instances Matthias Beck San Francisco State University math.sfsu.edu/beck [Courtney Gibbons] Act 1: Binomial Coefficients Not everything that can be counted counts,

More information

Exercises. Template for Proofs by Mathematical Induction

Exercises. Template for Proofs by Mathematical Induction 5. Mathematical Induction 329 Template for Proofs by Mathematical Induction. Express the statement that is to be proved in the form for all n b, P (n) forafixed integer b. 2. Write out the words Basis

More information

Get started [Hawkes Learning] with this system. Common final exam, independently administered, group graded, grades reported.

Get started [Hawkes Learning] with this system. Common final exam, independently administered, group graded, grades reported. Course Information Math 095 Elementary Algebra Placement No placement necessary Course Description Learning Outcomes Elementary algebraic topics for students whose mathematical background or placement

More information

Math 110 Linear Algebra Midterm 2 Review October 28, 2017

Math 110 Linear Algebra Midterm 2 Review October 28, 2017 Math 11 Linear Algebra Midterm Review October 8, 17 Material Material covered on the midterm includes: All lectures from Thursday, Sept. 1st to Tuesday, Oct. 4th Homeworks 9 to 17 Quizzes 5 to 9 Sections

More information

Notes on counting. James Aspnes. December 13, 2010

Notes on counting. James Aspnes. December 13, 2010 Notes on counting James Aspnes December 13, 2010 1 What counting is Recall that in set theory we formally defined each natural number as the set of all smaller natural numbers, so that n = {0, 1, 2,...,

More information

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality Math 336-Modern Algebra Lecture 08 9/26/4. Cardinality I started talking about cardinality last time, and you did some stuff with it in the Homework, so let s continue. I said that two sets have the same

More information

Section 4.1 Switching Algebra Symmetric Functions

Section 4.1 Switching Algebra Symmetric Functions Section 4.1 Switching Algebra Symmetric Functions Alfredo Benso Politecnico di Torino, Italy Alfredo.benso@polito.it Symmetric Functions A function in which each input variable plays the same role in determining

More information

Pure Mathematics Paper II

Pure Mathematics Paper II MATHEMATICS TUTORIALS H AL TARXIEN A Level 3 hours Pure Mathematics Question Paper This paper consists of five pages and ten questions. Check to see if any pages are missing. Answer any SEVEN questions.

More information

2 - Strings and Binomial Coefficients

2 - Strings and Binomial Coefficients November 14, 2017 2 - Strings and Binomial Coefficients William T. Trotter trotter@math.gatech.edu Basic Definition Let n be a positive integer and let [n] = {1, 2,, n}. A sequence of length n such as

More information

Generating Functions

Generating Functions Generating Functions Karen Ge May, 07 Abstract Generating functions gives us a global perspective when we need to study a local property. We define generating functions and present its applications in

More information

CDM Combinatorial Principles

CDM Combinatorial Principles CDM Combinatorial Principles 1 Counting Klaus Sutner Carnegie Mellon University Pigeon Hole 22-in-exclusion 2017/12/15 23:16 Inclusion/Exclusion Counting 3 Aside: Ranking and Unranking 4 Counting is arguably

More information

What can you prove by induction?

What can you prove by induction? MEI CONFERENCE 013 What can you prove by induction? Martyn Parker M.J.Parker@keele.ac.uk Contents Contents iii 1 Splitting Coins.................................................. 1 Convex Polygons................................................

More information

Carleton University. Final Examination Winter DURATION: 2 HOURS No. of students: 275

Carleton University. Final Examination Winter DURATION: 2 HOURS No. of students: 275 Carleton University Final Examination Winter 2017 DURATION: 2 HOURS No. of students: 275 Department Name & Course Number: Computer Science COMP 2804B Course Instructor: Michiel Smid Authorized memoranda:

More information

CSE 321 Solutions to Practice Problems

CSE 321 Solutions to Practice Problems CSE 321 Solutions to Practice Problems Instructions: Feel free NOT to multiply out binomial coefficients, factorials, etc, and feel free to leave answers in the form of a sum. No calculators, books or

More information

Lesson 8: Why Stay with Whole Numbers?

Lesson 8: Why Stay with Whole Numbers? Student Outcomes Students use function notation, evaluate functions for inputs in their domains, and interpret statements that use function notation in terms of a context. Students create functions that

More information

Homework 4 Solution, due July 23

Homework 4 Solution, due July 23 Homework 4 Solution, due July 23 Random Variables Problem 1. Let X be the random number on a die: from 1 to. (i) What is the distribution of X? (ii) Calculate EX. (iii) Calculate EX 2. (iv) Calculate Var

More information

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

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability Lecture Notes 1 Basic Probability Set Theory Elements of Probability Conditional probability Sequential Calculation of Probability Total Probability and Bayes Rule Independence Counting EE 178/278A: Basic

More information

Honeycomb Arrays. Anastasia Panoui Maura B. Paterson Douglas R. Stinson

Honeycomb Arrays. Anastasia Panoui Maura B. Paterson Douglas R. Stinson Honeycomb Arrays Simon R. Blackburn Anastasia Panoui Maura B. Paterson Douglas R. Stinson Submitted: Nov 12, 2009; Accepted: Nov 17, 2010; Published: Dec 10, 2010 Mathematics Subject Classification: 05B30

More information

STEP Support Programme. Hints and Partial Solutions for Assignment 17

STEP Support Programme. Hints and Partial Solutions for Assignment 17 STEP Support Programme Hints and Partial Solutions for Assignment 7 Warm-up You need to be quite careful with these proofs to ensure that you are not assuming something that should not be assumed. For

More information

Fibonacci numbers. Chapter The Fibonacci sequence. The Fibonacci numbers F n are defined recursively by

Fibonacci numbers. Chapter The Fibonacci sequence. The Fibonacci numbers F n are defined recursively by Chapter Fibonacci numbers The Fibonacci sequence The Fibonacci numbers F n are defined recursively by F n+ = F n + F n, F 0 = 0, F = The first few Fibonacci numbers are n 0 5 6 7 8 9 0 F n 0 5 8 55 89

More information

40th Canadian Mathematical Olympiad

40th Canadian Mathematical Olympiad 40th Canadian Mathematical Olympiad Wednesday, March 26, 2008 Solutions - CMO 2008 1. ABCD is a convex quadrilateral in which AB is the longest side. Points M and N are located on sides AB and BC respectively,

More information

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Kousha Etessami U. of Edinburgh, UK Kousha Etessami (U. of Edinburgh, UK) Discrete Mathematics (Chapter 6) 1 / 39 Chapter Summary The Basics

More information

, p 1 < p 2 < < p l primes.

, p 1 < p 2 < < p l primes. Solutions Math 347 Homework 1 9/6/17 Exercise 1. When we take a composite number n and factor it into primes, that means we write it as a product of prime numbers, usually in increasing order, using exponents

More information

Algebra II Polynomials: Operations and Functions

Algebra II Polynomials: Operations and Functions Slide 1 / 276 Slide 2 / 276 Algebra II Polynomials: Operations and Functions 2014-10-22 www.njctl.org Slide 3 / 276 Table of Contents click on the topic to go to that section Properties of Exponents Review

More information

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 195

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 195 Carleton University Final Examination Fall 15 DURATION: 2 HOURS No. of students: 195 Department Name & Course Number: Computer Science COMP 2804A Course Instructor: Michiel Smid Authorized memoranda: Calculator

More information

Summer HSSP Week 1 Homework. Lane Gunderman, Victor Lopez, James Rowan

Summer HSSP Week 1 Homework. Lane Gunderman, Victor Lopez, James Rowan Summer HSSP Week 1 Homework Lane Gunderman, Victor Lopez, James Rowan July 9, 2014 Questions 1 Chapter 1 Homework Questions These are the questions that should be turned in as homework. As mentioned in

More information

Basic Combinatorics. Math 40210, Section 01 Fall Homework 8 Solutions

Basic Combinatorics. Math 40210, Section 01 Fall Homework 8 Solutions Basic Combinatorics Math 4010, Section 01 Fall 01 Homework 8 Solutions 1.8.1 1: K n has ( n edges, each one of which can be given one of two colors; so Kn has (n -edge-colorings. 1.8.1 3: Let χ : E(K k

More information

2. Polynomials. 19 points. 3/3/3/3/3/4 Clearly indicate your correctly formatted answer: this is what is to be graded. No need to justify!

2. Polynomials. 19 points. 3/3/3/3/3/4 Clearly indicate your correctly formatted answer: this is what is to be graded. No need to justify! 1. Short Modular Arithmetic/RSA. 16 points: 3/3/3/3/4 For each question, please answer in the correct format. When an expression is asked for, it may simply be a number, or an expression involving variables

More information

Part IA Numbers and Sets

Part IA Numbers and Sets Part IA Numbers and Sets Theorems Based on lectures by A. G. Thomason Notes taken by Dexter Chua Michaelmas 2014 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

MATH10040: Numbers and Functions Homework 1: Solutions

MATH10040: Numbers and Functions Homework 1: Solutions MATH10040: Numbers and Functions Homework 1: Solutions 1. Prove that a Z and if 3 divides into a then 3 divides a. Solution: The statement to be proved is equivalent to the statement: For any a N, if 3

More information