Intermediate Math Circles November 4, 2009 Counting II

Similar documents
CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Permutations, Combinations, and the Binomial Theorem

3.1 Counting Principles

Generating Functions. 1 Operations on generating functions

Section 5.1 The Basics of Counting

Lecture Overview. 2 Permutations and Combinations. n(n 1) (n (k 1)) = n(n 1) (n k + 1) =

Math 155 (Lecture 3)

Bertrand s Postulate

Putnam Training Exercise Counting, Probability, Pigeonhole Principle (Answers)

UNIVERSITY OF NORTHERN COLORADO MATHEMATICS CONTEST. First Round For all Colorado Students Grades 7-12 November 3, 2007

Math F215: Induction April 7, 2013

Infinite Sequences and Series

1. n! = n. tion. For example, (n+1)! working with factorials. = (n+1) n (n 1) 2 1

ARRANGEMENTS IN A CIRCLE

Riemann Sums y = f (x)

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics

CIS Spring 2018 (instructor Val Tannen)

CALCULATION OF FIBONACCI VECTORS

The Binomial Theorem

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is

05 - PERMUTATIONS AND COMBINATIONS Page 1 ( Answers at the end of all questions )

Permutations & Combinations. Dr Patrick Chan. Multiplication / Addition Principle Inclusion-Exclusion Principle Permutation / Combination

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Square-Congruence Modulo n

Chapter 7 COMBINATIONS AND PERMUTATIONS. where we have the specific formula for the binomial coefficients:

Math 4707 Spring 2018 (Darij Grinberg): homework set 4 page 1

Summer High School 2009 Aaron Bertram

6.3 Testing Series With Positive Terms

Lecture 23 Rearrangement Inequality

3sin A 1 2sin B. 3π x is a solution. 1. If A and B are acute positive angles satisfying the equation 3sin A 2sin B 1 and 3sin 2A 2sin 2B 0, then A 2B

(ii) Two-permutations of {a, b, c}. Answer. (B) P (3, 3) = 3! (C) 3! = 6, and there are 6 items in (A). ... Answer.

The Random Walk For Dummies

Axioms of Measure Theory

Complex Numbers Solutions

P1 Chapter 8 :: Binomial Expansion

Essential Question How can you recognize an arithmetic sequence from its graph?

Exercises 1 Sets and functions

Combinatorics and Newton s theorem

Induction: Solutions

Chapter 6 Conditional Probability

Math 475, Problem Set #12: Answers

Math 2112 Solutions Assignment 5

It is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function.

Chapter 1 : Combinatorial Analysis

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

Zeros of Polynomials

Frequentist Inference

PROPERTIES OF AN EULER SQUARE

MAT1026 Calculus II Basic Convergence Tests for Series

PUTNAM TRAINING PROBABILITY

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O

18th Bay Area Mathematical Olympiad. Problems and Solutions. February 23, 2016

SOLUTIONS TO PRISM PROBLEMS Junior Level 2014

Lesson 10: Limits and Continuity

International Contest-Game MATH KANGAROO Canada, Grade 11 and 12

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

Chapter 4. Fourier Series

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Final Review for MATH 3510

Math 61CM - Solutions to homework 3

Lecture 2: April 3, 2013

Combinatorially Thinking

Properties and Tests of Zeros of Polynomial Functions

THE KENNESAW STATE UNIVERSITY HIGH SCHOOL MATHEMATICS COMPETITION PART II Calculators are NOT permitted Time allowed: 2 hours

Sigma notation. 2.1 Introduction

Math 105 TOPICS IN MATHEMATICS REVIEW OF LECTURES VII. 7. Binomial formula. Three lectures ago ( in Review of Lectuires IV ), we have covered

arxiv: v1 [math.co] 23 Mar 2016

Polynomials with Rational Roots that Differ by a Non-zero Constant. Generalities

Injections, Surjections, and the Pigeonhole Principle

4.3 Growth Rates of Solutions to Recurrences

ARITHMETIC PROGRESSION

PERMUTATIONS AND COMBINATIONS

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

Solutions. tan 2 θ(tan 2 θ + 1) = cot6 θ,

Random Models. Tusheng Zhang. February 14, 2013

Sets. Sets. Operations on Sets Laws of Algebra of Sets Cardinal Number of a Finite and Infinite Set. Representation of Sets Power Set Venn Diagram

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

On a Smarandache problem concerning the prime gaps

Different kinds of Mathematical Induction

Math 105: Review for Final Exam, Part II - SOLUTIONS

Measures of Spread: Standard Deviation

subcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016

f(x) dx as we do. 2x dx x also diverges. Solution: We compute 2x dx lim

CS 70 Second Midterm 7 April 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):

Math778P Homework 2 Solution

sin(n) + 2 cos(2n) n 3/2 3 sin(n) 2cos(2n) n 3/2 a n =

Find a formula for the exponential function whose graph is given , 1 2,16 1, 6

WHAT COOL MATH! JULY CURRICULUM INSPIRATIONS: Math for America DC:

4.1 Sigma Notation and Riemann Sums

Some examples of vector spaces

Cardinality Homework Solutions

SNAP Centre Workshop. Basic Algebraic Manipulation

Tennessee Department of Education

U8L1: Sec Equations of Lines in R 2

Linearly Independent Sets, Bases. Review. Remarks. A set of vectors,,, in a vector space is said to be linearly independent if the vector equation

Lecture 10: Mathematical Preliminaries

The Quark Puzzle A 3D printable model and/or paper printable puzzle that allows students to learn the laws of colour charge through inquiry.

September 2012 C1 Note. C1 Notes (Edexcel) Copyright - For AS, A2 notes and IGCSE / GCSE worksheets 1

Let us consider the following problem to warm up towards a more general statement.

The Binomial Theorem

Transcription:

Uiversity of Waterloo Faculty of Mathematics Cetre for Educatio i Mathematics ad Computig Itermediate Math Circles November 4, 009 Coutig II Last time, after lookig at the product rule ad sum rule, we looked at coutig permutatios. I particular, at how may ways i which we could choose k object from distict objects where the order we picked them mattered. Today, we will look at combiatios: the umber of ways i which we ca choose k objects from distict objects, whe order does ot matter. Example : A math studet is give a list of 5 math problems ad is asked to do ay of the problems. How may differet choices ca the studet make? Solutio: Let us ame the problems,,, 4, ad 5. The, the possible choices are: {,, } {,, 4} {, 4, 5} {,, 5} {,, 4} {,, 5} {,, 4} {,, 5} {, 4, 5} {, 4, 5} Observe that sice it does ot matter which order the studet does the problems, the choice {,, } would be the same as the choice {,, } of {,, }, etc. We wat to figure out how to cout these mathematically. Oe way we ca thik about this is we wat to cout all the permutatios of the objects take k at a time, ad the remove all the permutatios which are the same. I the example above, what are the total umber of permutatios? 5 4 = 60. For ay particular permutatio, how may permutatios are equal to it? If we cosider the permutatio {(,, }, the ay permutatio cotaiig just these umbers are the same... how may of these are there? This is just all the permutatios o objects so! = 6 Hece, we have 60 total permutatios, but we ca orgaize these ito groups of 6, which are all equivalet if we are sayig order does ot matter. Hece, the total umber of possible choices is 60 objects divided by 6 groups = 0, which matches what we did above. Thus, the umber of ways i which we ca choose k objects from distict objects whe order does ot matter is ( ( (k k!

The formula does look very ice i this form, so we will try to make it look prettier. Observe that 5 4 = 5 4, i particular = 5!! ( ( (k =! ( k! Thus, we ca write the umber of permutatios o objects take k at a time as! ( k!. So, the umber of ways i which we ca choose k objects from distict objects is! ( k!k!. We deote this with the symbol ( k ad say choose k. (! = k ( k!k! Example : At a cafeteria, a studet is allowed to pick 4 items from the followig list: { pop, juice, milk, water, burger, hotdog, vegetable soup, baaa, orage, apple pie }. a. How may differet choices does the studet have? Solutio: ( 0 = 0! 4 6!4! = 0 9 8 7 4 = 0 7 = 0. b How may differet choices does the studet have, if they do t like apple pie? Solutio: ( 9 = 9! 4 6!4! = 9 8 7 6 4 = 7 6 = 6. c How may differet choice does the studet have, if they must pick oe, ad oly oe drik? Solutio: The studet has 4 choices to which drik they could pick. The, the studet ca pick ay of the remaiig 6 items so they have ( 6 ways of pickig those. Hece, by the product rule, the studet has 4 ( 6 = 4 6 5 4 = 4 0 = 80, choices

Exercises. Evaluate the followig: a. ( 7 b. ( 0 c. ( 6 4 ( 6. For a quest, the kight, Sir Cumferece, eeds to pick 4 out of his 0 fellow kights. a. I how may ways ca he do this? b. I how may ways ca he do this, if he must pick oe particular kight, Sir Kull. c. I how may ways ca he do this, if he ca t pick Sir Kull?. A studet takig a math test ad is told to aswer ay 7 of the 0 questios. I how may ways ca the studet do this? 4. A high school of 50 boys ad 480 girls must select 5 studets to represet them at a competitio. Aswers: a. I how may ways ca they do this? b. I how may ways ca they do this if boys are ot allowed to be selected? c. I how may ways ca they do this if the group must have boys ad girls? d. I how may ways ca they do this if the group must have more boys tha girls?. a 5, b 45, c. a ( ( 0 4 = 0, b 9 ( = 84, c 9 4 = 6. ( 0 7 4. a ( 000 5, b 5, c ( 50, d ( 50 5 + ( 50 4 + ( 580 Pascal s Triagle If oe looks at values of ( k as we chage ad k, oe quickly otices a patter. Let us do this ad fid the patter. We have ( 0 0... hmmm, this is the umber of ways we ca pick 0 objects from 0 objects... we are ot really doig much the, so we will say there is just way of doig this. So ( 0 0 =. What is ( 0? How may ways ca we pick 0 objects from object? way... we do t pick ay objects. So ( 0 =. Notice the that we have! =... so we defie 0! =. 0!! What is (? How may ways ca we pick object from object? way... we pick the object. So =. (

4 We the calculate that ( 0 =! =, (!0! =! =, (!! =! =. 0!! Lets start makig these ito a table i the form of a triagle ( 0 ( 0 ( ( 0 ( ( 0 Substitutig i the values gives Exercise: Fill i the ext rows. Try to fid the patter i the triagle ad use it to fill i more rows. Aswer: Observe that the eds of each row are always ad the middle umbers are just the sum of the two umbers above it. This gives the triagle which is ow called Pascal s triagle. 4 6 4 Pascal s triagle has may iterestig properties ad uses. Oe immediate use is that it suggests some properties of ( ( k. I particular, otice that ( k = k. But, Pascal s triagle is ot a proof of this fact... so let us prove it. Propositio: For ay o-egative itegers ad k with k we have ( ( k = k. Proof: We have ( k =! =! = ( ( ( k!( k! ( k!k! k. The triagle also suggests aother property (which is much harder to prove, amely that ( ( ( + = +. k + k k +

5 Compare this ow with Exercise above. Observe that we i fact had ( ( ( 0 9 9 = +. 4 4 Which follows from the sum rule... the umber of ways of choosig the kights is the umber of ways of choosig a group with Sir Kull plus the umber of ways of choosig a group without Sir Kull. Exercises. a. Mr E. Lipps has i frot of him a circle, a square, ad a rectagle. I how may ways ca he select some of the shapes? (he may pick ay umber of shapes b. If he has 4 shapes istead of three, i how may ways ca he select some of the shapes? What if he had shapes?. How may games are held i a roud-robi sigles teis touramet ivolvig players?. Determie ( k ( k. Aswers:. a 7 =, b 5 = 4,.. ( = (.. k+. k

6 Problem Set. If 50 differet studets try out for a team of 0 players, i how may differet ways ca the coach choose the team?. How may groups ca be formed from 8 me ad 5 wome if a. the group must have wome ad me? b. the group ca be ay size, but must have a equal umber of me ad wome?. How may subsets of size 7 of the set {,,..., 0} have a. 9 as the largest elemet? b. 9 as the middle elemet? c. the differece betwee the largest ad smallest elemets equal to 4? 4. With a stadard deck of 5 cards, a subset of 5 cards is called a had. a. How may hads are there? b. How may hads cotai oe pair? ( of a kid ad differet cards c. How may hads have 4 of a kid? 5. How may permutatios of the umbers,,..., 0 take 7 at a time a. cotai odd ad 4 eve umbers? b. cotai sigle-digit umbers ad 5 two-digit umbers? c. have the 7 umbers arraged i icreasig order? 6. Evaluate the followig without the use of a calculator. ( 7 ( ( 8 a ( 7 4 b ( 9 4 c (,. Aswers to last week s Problem Set. a 8, b 5;. 500. 6 4 0 4. 9 5. 70 6. a 5!, b 9 4!, c 6 4! 7. 4 6 5 4, b 6 5 4