Combinatorics. CS2100 Ross Whitaker University of Utah

Size: px
Start display at page:

Download "Combinatorics. CS2100 Ross Whitaker University of Utah"

Transcription

1 Combinatorics CS2100 Ross Whitaker University of Utah

2 Brain Teaser Three colleagues arrive at a hotel late, and there is one room left. They decide to share it. The hotel clerk says the room is $30 for the night, and each person puts $10 down on the counter. The travelers retire to their room. Meanwhile the hotel manager tells the clerk that room is only $25/night, and he gives the clerk 5, $1 bills, and tells him to refund the guests their $5. The clerk doesn t know how to split $5 three ways, so when he arrives at the room, he decides to give each guest one dollar, and keeps the remaining $2. Analysis: Each guest has paid $10-$1=$9, and thus the guests have paid $27 total. The clerk has $2 in his pocket $27 + $2 = $29!!!!! Where did the other dollar go?

3 Counting Outcomes of Events How many ways can two winners be chosen from four competitors (Andres, Barbara, Chyou, Dinesh)? How many elements are in the set: {{A,B}, {A,C}, {A,D}, {B,C}, {B,D}, {C,D}} What assumptions does this answer impose on the problem? Same person cannot win both prizes Order does not matter

4 Prizes Cont. What if there is a first prize and a second prize? What if these are two distinct door prizes (different awards)? What if these are two identical door prizes (same awards)? Are the prizes different? Can a person win both prizes? Yes No Yes No 12 6

5 Generally Does order macer? Are allowed? Yes No Yes Ordered list Unordered list No Set

6 Practice Dealing a five-card poker (draw) hand Every card is unique (no repetition) Order does not matter Dealing a two-card black-jack hand Order matters (one is down one is up) Repetition or not Creating game schedule for sports team Order matters Repetition or not Filling jar with various types of candy Order does not matter Repeats allowed

7 Organization in Counting How many permutations are there for the letters MATH? MATH, AMTH, AMHT, THAM, AHMT, HAMT, HMAT, MHAT, THMA, MHTA, HMTA, HATM, AHTM, MAHT, TMAH, MTHA, HTMA, TMHA, ATMH, TAHM, ATHM, TAMH, MTAH, HTAM How do we make sure we have them all?

8 Organizing and Counting Organize by letters: AMHT, MATH, HAMT, TAMH, AMTH, MAHT, HATM, TAHM, ATHM, MHTA, HMAT, THAM, AHTM, MHAT, HMTA, THMA, ATMH, MTAH, HTAM, TMAH, AHMT, MTHA, HTMA, TMHA Can organize within each column by second, third, etc.

9 Two Prizes for A,B,C,D Two different door prizes (order matters, repeats allowed) AA, AB, AC, AD BA, BB, BC, BD CA, CB, CC, CD DA, DB, DC, DD Two of the same door prize (order does not matter, repeats allowed) Idea: impose an order (alphabetical) AA, AB, AC, AD --, BB, BC, BD --, --, CC, CD --, --, --, DD

10 Combinatorial Equivalence One-to-one correspondence between finite sets Recognizing that two sets are the same size Example: How many multiples of 3 are there between 1 and 100 inclusive? 1*3=3, 2*3=6,, 3*33=99, 3*34=100 This is invertible {1,,33} {1, 3, 6, 99} How big is the set {1,,33}?

11 Combinatorial Equivalence Example: How many ways are there to distribute three coins (penny, nickel, dime) to 10 children? How many numbers are in the set {0, 1, 2, 3,, 998, 999}? Example: The number of binary sequences of length 10 The power set of {1, 2, 3,, 9, 10}.

12 Combinatorial Equivalence Example: Number of sets of size two from {1,, 9} Number of sets of size seven from {1,, 9} Example: The number of binary sequences of length 10 The power set of {1, 2, 3,, 9, 10}.

13 Combinatorial Equivalence Example How many positive-integer solutions to (x+y +z) = 21? How many two-element subsets of {1,,20} are there?

14 License plate More on Counting Either one or two letters from {A,L,B,M} followed by four or three numbers (respectively). Cases: One letter: arrange matrix/table with 4 columns and rows. Two letters: columns are {AA, AB, AL, AM, BA,, ML, MM} rows are =56000

15 Rule of Products If entries in list are created by i) selecting one of x objects and then ii) one of y objects, then the list has a total of x y entries. For finite sets A and B: AB = A B

16 More on Products How many numbers between 100 and 1000 have three distinct odd digits? Basic rules: three digits, {1,3,5,7,9}, and no repeats How many leaves are in this tree? 5 4 3=

17 Rule of Sums If a count/set can be split two disjoint pieces of size x and y, then the total size of the original list is x+y For disjoint sets A and B, AB = A + B

18 Rule of Sums Example: How many positive integers less than 1000 consist of distinct digits from the set {1,3,7,9}? Number of choices from Number of choices from =12 Number of choices from =24 Total = = 40

19 Rule of Sums Example: How many ways to win a dice game with three distinguishable dice, where a winning role contains a pair. Forms of winning roles: XXY, XYX, YXX, XXX (X and Y are distinct) Number X-Y choices are: 6 5=30 Three different configurations: =90 Number of solo X choices is 6 Total number of winning roles is 90+6=96

20 Rule of Sums Example: If we roll a die 3 times and record the results as an ordered list, how many ways are there to role exactly one 1. Divide into three sets with 1 in 3 different positions (first, second, third). Count number of choices for the other two rolls 3 (5 5)=75

21 Rule of Sums If a list to count can be split into two pieces of sizes x and y, and those pieces have x objects/cases in common, then the entire list has x+y-z entries Sets: AB = A + B - AB

22 Algorithms for Counting Odd numbers with distinct digits between 100 and 1000 for each U in {1,3,5,7,9} do for each H from 1 to 9 if H U for each T from 0 to 9 if T H and T U print H,T,U

23 Typical Mistake Number of ways to roll a sum of 10 on 3 distinct 6-side dice Choose an element of {1, 6} on first roll Choose an element of {1, 6} on second roll The third roll must be 10 minus the sum of first and second rolls

24 Example Number of ways to roll a sum of 10 on 3 distinct 6-side dice Choose an element of {1, 6} on first roll Choose an element of {1, 6} on second roll so that the sum is 9 or less The third roll must be 10 minus the sum of first and second rolls First two rolls: (number of ways to get >)+(number of ways to get 9) = (total number of cases for two rolls) Possibilities for first two rolls: 6 6 (3+2+1) = 30 Total number of possibilities is 30

25 General Formulas Total number of ordered lists from {1,,n} of length r is n r Number of permutations of length r on {1, n} is denoted P(n,r) P(n,n)=(n)(n-1) (3)(2)(1)=n! n factorial P(n,r)=(n!)/(n-r)!

26 P(n,r)=(n!)/(n-r)! Proof What if we assume P(n,n)=n! How can we prove P(n,n)=n!

27 Example Geography test List of 10 countries and 20 exports. Each country has a unique top export which is in the list (->10 exports in the list are bogus). How many possible guesses are there at the answer to this problem?

28 Counting with Equivalence Classes How many two-element subsets of {1,2,3,4} are there? Permutations vs subsets Two permutations are equivalent if they are different representations of the same subset Some equivalence classes: {{1,3}, {3,1}} {{4,2}, {2,4}}

29 Example How many ways to arrange 6 children in a circle. Consider 6 slots they must walk into: P(6,6) = 6! = 720 What if two arrangements are the same if every child is neighbors with the same two children? (rotate) How many ways are there to get the same arrangement in this new definition? How many distinct arrangements are there by this new definition?

30 Choosing Subsets C(n,r) is the number of subsets of {1,,n} of size r n choose r r-combinations from {1, n} C(n,r)=P(n,r)/r! Proof: Consider a single subset of length r. There are P(r,r)=r! distinct permutations of this set that are counted as part of P(n,r). Because every subset is counted r! times, the total number of r-combinations is P(n,r)/r!

31 r-combination Examples How many ways are there to draw a flush in 5-card poker (draw)?

32 Combinations A club of 10 women and 8 men is forming a committee of 5 people. How many different committees are possible? How many committees contain exactly 3 women How many committees contain at least 3 women Suppose Jack and Jill refuse to work together.

33 Binomials (1+x) n = (1+x) (1+x) [n times] Expand algebraically (1+x) (1+x) = (1 1)+(1 x)+(x 1)+(x x) = 1+2x+x 2 (1+x) 2 (1+x) = (1 1 1)+(1 x 1)+(x 1 1)+ (x x 1)+(1 1 x)+(1 x x)+(x 1 x)+(x x x) = 1+3x+3x 2 +x 3

34 Binomial Theorem The coefficient of the k th term of an expansion of (1+x) n is C(n,k) Examples: (1+x) 6 (1+x 2 ) 6

35 Pascal s Triangle

36 Binomial Expansions (1+x) n What if we substitute x=1? What does this say about the rows of Pascal s triangle? What does this say about the sum of k- combinations?

37 Binary Sequences Basic model for counting other things E.g. How many sequences are there with five 1 s and three 0 s? Idea: place the 1 s and then the 0 s Place the 1 s: C(8,5) Place the 0 s: C(3,3) C(8,5) C(3,3)=C(8,5)

38 Binary Sequences Theorem: the number of binary sequences with r 1 s and n-r 0 s is C(n,r)=C(n,n-r)

39 Example How many 10-letter sequences from the set {m,a,t} contain exactly 3 instances of the letter m? Idea: first place the m s into the ten slots C(10,3) How many ways are there to put {a,t} into the remaining 7 slots? 2 7 Answer: C(10,3) 2 7

40 Example From the previous answer, how many of those 10-letter strings contain exactly 4 a s? Algorithm: Place the m s C(10,3) Place the a s C(7,4) Place the t s C(3,3) Total: C(10,3) C(7,4)

41 Examples How many (distinguishable) arrangements of the letters in MISSISSIPPI? Does it matter what order our algorithm uses?

42 Unordered Lists (w/repitition) How many ways can we fill a bag with 10 pieces of 3 different kinds of fruit? How many solutions are there for nonnegative numbers in? x+y+z=10 Show these are the same question.

43 Unordered Lists 1. Bag containing r items chosen from n types 2. Binary sequence of length r+n-1 containing exactly r 0 s How are they the same? What is the solution to #2?

44 Bags (Unordered Lists) Correspondence. To each sequence A,B,C, associate the binary sequence consisting of A 0 s, 1, B 0 s, 1, C 0 s. Examples. A=3,B=3,C= A=0,B=9,C= A=0,B=0,C= A=4,B=3,C= et cetera

45 Theorem For natural numbers n and r 1. The number of solutions to the equation x1+ +xn=r using nonnegative integers is C(r+n-1,r). 2. The number of unordered lists of length r taken from a set of size n (w/repetition) is C(r+n-1,r) 3. The number of ways r items can be choosen from among n types is C(r+n-1,r)

46 Example How many different outcomes are possible from 4 tosses of a 6-sided die? How many of those outcomes sum to 14?

47 Summary on Data Types

48 Recursive Counting Reduce the counting problem to an easier problem and some modification to that problem. E.g. Find a recursive model for the number of games that will occur in the first round of a football tournament with n teams. Consider the tourney with n-1 teams. What changes in the schedule when the new team signs up?

49 Recursive Counting What is the recursive model for P(n,r), the number of r-permutations of {1,,n}? Choose an element of {1,,n} for the first position. Remove this element from the set to get {1,,n-1}. Fill in the rest of the r-1 positions from the n-1 set, which is P(n-1,r-1)

50 Permutations Continued Thus, P(n,r)=n P(n-1,r-1) What is the base case? P(n,0)=1 for all n

51 Example Let b n be the number of subsets of {1,,n} that do not contain consecutive numbers. E.g. for 4 we have {1,3}, {2,4}, {1,4}, {1}, {2}, {3}, {4}, {} Find a recursive model for b n Clearly all the elements in b n-1 can be in b n Additional elements would include the new element n, but we must exclude any subsets that contain n-1 This would be all of the elements in b n-2 b n = b n-1 + b n-2

52 Towers of Hanoi How to get discs from left peg to right Rules: One disc moves at a time to any peg No disc can reside above a smaller disc on the same peg

53 Towers of Hanoi Recursive solution For an n tower, the n-1 solution to the center peg would allow the largest disc to move all the way right. Then apply the n-1 solution to go from the center to right

54 Towers of Hanoi What is the recursive description of the number of moves needed to solve the the n sized TofH problem H n Move n-1 stack from left to middle is H n-1 Move n disc from left to right is 1 Move n-1 stack from middle to right is H n-1 Total is H n = 2H n-1 + 1

55 Towers of Hanoi Use induction to show that the number of moves for a n-sized Hanoi problem is H n = 2 n -1

56 Examples Find a recursive model for a n the number of n-digit numbers that do not contain the digit 0 Find a recursive model for a n, the number of ways to cover 2n grid of squares with 12 pieces

Combinatorial Proofs

Combinatorial Proofs Combinatorial Proofs Two Counting Principles Some proofs concerning finite sets involve counting the number of elements of the sets, so we will look at the basics of counting. Addition Principle: If A

More information

6.3 Conditional Probability and Independence

6.3 Conditional Probability and Independence 222 CHAPTER 6. PROBABILITY 6.3 Conditional Probability and Independence Conditional Probability Two cubical dice each have a triangle painted on one side, a circle painted on two sides and a square painted

More information

Basics of Counting. The product rule. Product rule example. 22C:19, Chapter 6 Hantao Zhang. Sample question. Total is 18 * 325 = 5850

Basics of Counting. The product rule. Product rule example. 22C:19, Chapter 6 Hantao Zhang. Sample question. Total is 18 * 325 = 5850 Basics of Counting 22C:19, Chapter 6 Hantao Zhang 1 The product rule Also called the multiplication rule If there are n 1 ways to do task 1, and n 2 ways to do task 2 Then there are n 1 n 2 ways to do

More information

4. Binomial Expansions

4. Binomial Expansions 4. Binomial Expansions 4.. Pascal's Triangle The expansion of (a + x) 2 is (a + x) 2 = a 2 + 2ax + x 2 Hence, (a + x) 3 = (a + x)(a + x) 2 = (a + x)(a 2 + 2ax + x 2 ) = a 3 + ( + 2)a 2 x + (2 + )ax 2 +

More information

Chapter 3. Distribution Problems. 3.1 The idea of a distribution. 3.1.1 The twenty-fold way

Chapter 3. Distribution Problems. 3.1 The idea of a distribution. 3.1.1 The twenty-fold way Chapter 3 Distribution Problems 3.1 The idea of a distribution Many of the problems we solved in Chapter 1 may be thought of as problems of distributing objects (such as pieces of fruit or ping-pong balls)

More information

Hoover High School Math League. Counting and Probability

Hoover High School Math League. Counting and Probability Hoover High School Math League Counting and Probability Problems. At a sandwich shop there are 2 kinds of bread, 5 kinds of cold cuts, 3 kinds of cheese, and 2 kinds of dressing. How many different sandwiches

More information

Lesson Plans for (9 th Grade Main Lesson) Possibility & Probability (including Permutations and Combinations)

Lesson Plans for (9 th Grade Main Lesson) Possibility & Probability (including Permutations and Combinations) Lesson Plans for (9 th Grade Main Lesson) Possibility & Probability (including Permutations and Combinations) Note: At my school, there is only room for one math main lesson block in ninth grade. Therefore,

More information

Just the Factors, Ma am

Just the Factors, Ma am 1 Introduction Just the Factors, Ma am The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive

More information

How To Solve The Social Studies Test

How To Solve The Social Studies Test Math 00 Homework #0 Solutions. Section.: ab. For each map below, determine the number of southerly paths from point to point. Solution: We just have to use the same process as we did in building Pascal

More information

SECTION 10-5 Multiplication Principle, Permutations, and Combinations

SECTION 10-5 Multiplication Principle, Permutations, and Combinations 10-5 Multiplication Principle, Permutations, and Combinations 761 54. Can you guess what the next two rows in Pascal s triangle, shown at right, are? Compare the numbers in the triangle with the binomial

More information

. 0 1 10 2 100 11 1000 3 20 1 2 3 4 5 6 7 8 9

. 0 1 10 2 100 11 1000 3 20 1 2 3 4 5 6 7 8 9 Introduction The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive integer We say d is a

More information

INCIDENCE-BETWEENNESS GEOMETRY

INCIDENCE-BETWEENNESS GEOMETRY INCIDENCE-BETWEENNESS GEOMETRY MATH 410, CSUSM. SPRING 2008. PROFESSOR AITKEN This document covers the geometry that can be developed with just the axioms related to incidence and betweenness. The full

More information

Math 55: Discrete Mathematics

Math 55: Discrete Mathematics Math 55: Discrete Mathematics UC Berkeley, Spring 2012 Homework # 9, due Wednesday, April 11 8.1.5 How many ways are there to pay a bill of 17 pesos using a currency with coins of values of 1 peso, 2 pesos,

More information

Methods Used for Counting

Methods Used for Counting COUNTING METHODS From our preliminary work in probability, we often found ourselves wondering how many different scenarios there were in a given situation. In the beginning of that chapter, we merely tried

More information

Discrete mathematics

Discrete mathematics Discrete mathematics Petr Kovář petr.kovar@vsb.cz VŠB Technical University of Ostrava DiM 470-2301/01, Winter term 2015/2016 About this file This file is meant to be a guideline for the lecturer. Many

More information

4. How many integers between 2004 and 4002 are perfect squares?

4. How many integers between 2004 and 4002 are perfect squares? 5 is 0% of what number? What is the value of + 3 4 + 99 00? (alternating signs) 3 A frog is at the bottom of a well 0 feet deep It climbs up 3 feet every day, but slides back feet each night If it started

More information

Section 6.4: Counting Subsets of a Set: Combinations

Section 6.4: Counting Subsets of a Set: Combinations Section 6.4: Counting Subsets of a Set: Combinations In section 6.2, we learnt how to count the number of r-permutations from an n-element set (recall that an r-permutation is an ordered selection of r

More information

k, then n = p2α 1 1 pα k

k, then n = p2α 1 1 pα k Powers of Integers An integer n is a perfect square if n = m for some integer m. Taking into account the prime factorization, if m = p α 1 1 pα k k, then n = pα 1 1 p α k k. That is, n is a perfect square

More information

Answer: (a) Since we cannot repeat men on the committee, and the order we select them in does not matter, ( )

Answer: (a) Since we cannot repeat men on the committee, and the order we select them in does not matter, ( ) 1. (Chapter 1 supplementary, problem 7): There are 12 men at a dance. (a) In how many ways can eight of them be selected to form a cleanup crew? (b) How many ways are there to pair off eight women at the

More information

COUNTING SUBSETS OF A SET: COMBINATIONS

COUNTING SUBSETS OF A SET: COMBINATIONS COUNTING SUBSETS OF A SET: COMBINATIONS DEFINITION 1: Let n, r be nonnegative integers with r n. An r-combination of a set of n elements is a subset of r of the n elements. EXAMPLE 1: Let S {a, b, c, d}.

More information

8.3 Probability Applications of Counting Principles

8.3 Probability Applications of Counting Principles 8. Probability Applications of Counting Principles In this section, we will see how we can apply the counting principles from the previous two sections in solving probability problems. Many of the probability

More information

C H A P T E R Regular Expressions regular expression

C H A P T E R Regular Expressions regular expression 7 CHAPTER Regular Expressions Most programmers and other power-users of computer systems have used tools that match text patterns. You may have used a Web search engine with a pattern like travel cancun

More information

E3: PROBABILITY AND STATISTICS lecture notes

E3: PROBABILITY AND STATISTICS lecture notes E3: PROBABILITY AND STATISTICS lecture notes 2 Contents 1 PROBABILITY THEORY 7 1.1 Experiments and random events............................ 7 1.2 Certain event. Impossible event............................

More information

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

Probabilistic Strategies: Solutions

Probabilistic Strategies: Solutions Probability Victor Xu Probabilistic Strategies: Solutions Western PA ARML Practice April 3, 2016 1 Problems 1. You roll two 6-sided dice. What s the probability of rolling at least one 6? There is a 1

More information

6.042/18.062J Mathematics for Computer Science. Expected Value I

6.042/18.062J Mathematics for Computer Science. Expected Value I 6.42/8.62J Mathematics for Computer Science Srini Devadas and Eric Lehman May 3, 25 Lecture otes Expected Value I The expectation or expected value of a random variable is a single number that tells you

More information

Math 202-0 Quizzes Winter 2009

Math 202-0 Quizzes Winter 2009 Quiz : Basic Probability Ten Scrabble tiles are placed in a bag Four of the tiles have the letter printed on them, and there are two tiles each with the letters B, C and D on them (a) Suppose one tile

More information

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation

More information

Ready, Set, Go! Math Games for Serious Minds

Ready, Set, Go! Math Games for Serious Minds Math Games with Cards and Dice presented at NAGC November, 2013 Ready, Set, Go! Math Games for Serious Minds Rande McCreight Lincoln Public Schools Lincoln, Nebraska Math Games with Cards Close to 20 -

More information

SAT Math Facts & Formulas Review Quiz

SAT Math Facts & Formulas Review Quiz Test your knowledge of SAT math facts, formulas, and vocabulary with the following quiz. Some questions are more challenging, just like a few of the questions that you ll encounter on the SAT; these questions

More information

Everyday Math Online Games (Grades 1 to 3)

Everyday Math Online Games (Grades 1 to 3) Everyday Math Online Games (Grades 1 to 3) FOR ALL GAMES At any time, click the Hint button to find out what to do next. Click the Skip Directions button to skip the directions and begin playing the game.

More information

Homework 3 (due Tuesday, October 13)

Homework 3 (due Tuesday, October 13) Homework (due Tuesday, October 1 Problem 1. Consider an experiment that consists of determining the type of job either blue-collar or white-collar and the political affiliation Republican, Democratic,

More information

Baltic Way 1995. Västerås (Sweden), November 12, 1995. Problems and solutions

Baltic Way 1995. Västerås (Sweden), November 12, 1995. Problems and solutions Baltic Way 995 Västerås (Sweden), November, 995 Problems and solutions. Find all triples (x, y, z) of positive integers satisfying the system of equations { x = (y + z) x 6 = y 6 + z 6 + 3(y + z ). Solution.

More information

How To Solve Factoring Problems

How To Solve Factoring Problems 05-W4801-AM1.qxd 8/19/08 8:45 PM Page 241 Factoring, Solving Equations, and Problem Solving 5 5.1 Factoring by Using the Distributive Property 5.2 Factoring the Difference of Two Squares 5.3 Factoring

More information

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd.

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd. Math 0 Practice Test 3 Fall 2009 Covers 7.5, 8.-8.3 MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find the indicated probability. ) If a single

More information

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit? ECS20 Discrete Mathematics Quarter: Spring 2007 Instructor: John Steinberger Assistant: Sophie Engle (prepared by Sophie Engle) Homework 8 Hints Due Wednesday June 6 th 2007 Section 6.1 #16 What is the

More information

Basic Probability Concepts

Basic Probability Concepts page 1 Chapter 1 Basic Probability Concepts 1.1 Sample and Event Spaces 1.1.1 Sample Space A probabilistic (or statistical) experiment has the following characteristics: (a) the set of all possible outcomes

More information

Third Grade Math Games

Third Grade Math Games Third Grade Math Games Unit 1 Lesson Less than You! 1.3 Addition Top-It 1.4 Name That Number 1.6 Beat the Calculator (Addition) 1.8 Buyer & Vendor Game 1.9 Tic-Tac-Toe Addition 1.11 Unit 2 What s My Rule?

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called

More information

2 : two cube. 5 : five cube. 10 : ten cube.

2 : two cube. 5 : five cube. 10 : ten cube. Math 105 TOPICS IN MATHEMATICS REVIEW OF LECTURES VI Instructor: Line #: 52920 Yasuyuki Kachi 6 Cubes February 2 Mon, 2015 We can similarly define the notion of cubes/cubing Like we did last time, 3 2

More information

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers)

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers) Probability and Statistics Vocabulary List (Definitions for Middle School Teachers) B Bar graph a diagram representing the frequency distribution for nominal or discrete data. It consists of a sequence

More information

Pigeonhole Principle Solutions

Pigeonhole Principle Solutions Pigeonhole Principle Solutions 1. Show that if we take n + 1 numbers from the set {1, 2,..., 2n}, then some pair of numbers will have no factors in common. Solution: Note that consecutive numbers (such

More information

COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS

COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS Alexander Burstein Department of Mathematics Howard University Washington, DC 259, USA aburstein@howard.edu Sergey Kitaev Mathematics

More information

Factoring Polynomials

Factoring Polynomials UNIT 11 Factoring Polynomials You can use polynomials to describe framing for art. 396 Unit 11 factoring polynomials A polynomial is an expression that has variables that represent numbers. A number can

More information

Hooray for the Hundreds Chart!!

Hooray for the Hundreds Chart!! Hooray for the Hundreds Chart!! The hundreds chart consists of a grid of numbers from 1 to 100, with each row containing a group of 10 numbers. As a result, children using this chart can count across rows

More information

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b In this session, we ll learn how to solve problems related to place value. This is one of the fundamental concepts in arithmetic, something every elementary and middle school mathematics teacher should

More information

Contemporary Mathematics- MAT 130. Probability. a) What is the probability of obtaining a number less than 4?

Contemporary Mathematics- MAT 130. Probability. a) What is the probability of obtaining a number less than 4? Contemporary Mathematics- MAT 30 Solve the following problems:. A fair die is tossed. What is the probability of obtaining a number less than 4? What is the probability of obtaining a number less than

More information

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that Instructions. Answer each of the questions on your own paper, and be sure to show your work so that partial credit can be adequately assessed. Credit will not be given for answers (even correct ones) without

More information

CM2202: Scientific Computing and Multimedia Applications General Maths: 2. Algebra - Factorisation

CM2202: Scientific Computing and Multimedia Applications General Maths: 2. Algebra - Factorisation CM2202: Scientific Computing and Multimedia Applications General Maths: 2. Algebra - Factorisation Prof. David Marshall School of Computer Science & Informatics Factorisation Factorisation is a way of

More information

Basic Proof Techniques

Basic Proof Techniques Basic Proof Techniques David Ferry dsf43@truman.edu September 13, 010 1 Four Fundamental Proof Techniques When one wishes to prove the statement P Q there are four fundamental approaches. This document

More information

CS103B Handout 17 Winter 2007 February 26, 2007 Languages and Regular Expressions

CS103B Handout 17 Winter 2007 February 26, 2007 Languages and Regular Expressions CS103B Handout 17 Winter 2007 February 26, 2007 Languages and Regular Expressions Theory of Formal Languages In the English language, we distinguish between three different identities: letter, word, sentence.

More information

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL STATIsTICs 4 IV. RANDOm VECTORs 1. JOINTLY DIsTRIBUTED RANDOm VARIABLEs If are two rom variables defined on the same sample space we define the joint

More information

DigitalCommons@University of Nebraska - Lincoln

DigitalCommons@University of Nebraska - Lincoln University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln MAT Exam Expository Papers Math in the Middle Institute Partnership 7-1-007 Pythagorean Triples Diane Swartzlander University

More information

A. The answer as per this document is No, it cannot exist keeping all distances rational.

A. The answer as per this document is No, it cannot exist keeping all distances rational. Rational Distance Conor.williams@gmail.com www.unsolvedproblems.org: Q. Given a unit square, can you find any point in the same plane, either inside or outside the square, that is a rational distance from

More information

Catalan Numbers. Thomas A. Dowling, Department of Mathematics, Ohio State Uni- versity.

Catalan Numbers. Thomas A. Dowling, Department of Mathematics, Ohio State Uni- versity. 7 Catalan Numbers Thomas A. Dowling, Department of Mathematics, Ohio State Uni- Author: versity. Prerequisites: The prerequisites for this chapter are recursive definitions, basic counting principles,

More information

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University 1 Chapter 1 Probability 1.1 Basic Concepts In the study of statistics, we consider experiments

More information

AP Stats - Probability Review

AP Stats - Probability Review AP Stats - Probability Review Multiple Choice Identify the choice that best completes the statement or answers the question. 1. I toss a penny and observe whether it lands heads up or tails up. Suppose

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10 Introduction to Discrete Probability Probability theory has its origins in gambling analyzing card games, dice,

More information

Section 6-5 Sample Spaces and Probability

Section 6-5 Sample Spaces and Probability 492 6 SEQUENCES, SERIES, AND PROBABILITY 52. How many committees of 4 people are possible from a group of 9 people if (A) There are no restrictions? (B) Both Juan and Mary must be on the committee? (C)

More information

Probability definitions

Probability definitions Probability definitions 1. Probability of an event = chance that the event will occur. 2. Experiment = any action or process that generates observations. In some contexts, we speak of a data-generating

More information

Automata and Formal Languages

Automata and Formal Languages Automata and Formal Languages Winter 2009-2010 Yacov Hel-Or 1 What this course is all about This course is about mathematical models of computation We ll study different machine models (finite automata,

More information

2004 Solutions Ga lois Contest (Grade 10)

2004 Solutions Ga lois Contest (Grade 10) Canadian Mathematics Competition An activity of The Centre for Education in Ma thematics and Computing, University of W aterloo, Wa terloo, Ontario 2004 Solutions Ga lois Contest (Grade 10) 2004 Waterloo

More information

SOLVING QUADRATIC EQUATIONS - COMPARE THE FACTORING ac METHOD AND THE NEW DIAGONAL SUM METHOD By Nghi H. Nguyen

SOLVING QUADRATIC EQUATIONS - COMPARE THE FACTORING ac METHOD AND THE NEW DIAGONAL SUM METHOD By Nghi H. Nguyen SOLVING QUADRATIC EQUATIONS - COMPARE THE FACTORING ac METHOD AND THE NEW DIAGONAL SUM METHOD By Nghi H. Nguyen A. GENERALITIES. When a given quadratic equation can be factored, there are 2 best methods

More information

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010. Class 4 Nancy Lynch

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010. Class 4 Nancy Lynch 6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010 Class 4 Nancy Lynch Today Two more models of computation: Nondeterministic Finite Automata (NFAs)

More information

Mathematics (Project Maths Phase 3)

Mathematics (Project Maths Phase 3) 2014. M328 Coimisiún na Scrúduithe Stáit State Examinations Commission Leaving Certificate Examination 2014 Mathematics (Project Maths Phase 3) Paper 2 Ordinary Level Monday 9 June Morning 9:30 12:00 300

More information

PYTHAGOREAN TRIPLES KEITH CONRAD

PYTHAGOREAN TRIPLES KEITH CONRAD PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient

More information

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C?

If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C? Problem 3 If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C? Suggested Questions to ask students about Problem 3 The key to this question

More information

Combinatorics. Chapter 1. 1.1 Factorials

Combinatorics. Chapter 1. 1.1 Factorials Chapter 1 Combinatorics Copyright 2009 by David Morin, morin@physics.harvard.edu (Version 4, August 30, 2009) This file contains the first three chapters (plus some appendices) of a potential book on Probability

More information

1 Combinations, Permutations, and Elementary Probability

1 Combinations, Permutations, and Elementary Probability 1 Combinations, Permutations, and Elementary Probability Roughly speaking, Permutations are ways of grouping things where the order is important. Combinations are ways of grouping things where the order

More information

Math BINGO MOST POPULAR. Do you have the lucky card? B I N G O

Math BINGO MOST POPULAR. Do you have the lucky card? B I N G O MOST POPULAR Math BINGO Do you have the lucky card? Your club members will love this MATHCOUNTS reboot of a classic game. With the perfect mix of luck and skill, this is a game that can be enjoyed by students

More information

Reading 13 : Finite State Automata and Regular Expressions

Reading 13 : Finite State Automata and Regular Expressions CS/Math 24: Introduction to Discrete Mathematics Fall 25 Reading 3 : Finite State Automata and Regular Expressions Instructors: Beck Hasti, Gautam Prakriya In this reading we study a mathematical model

More information

LEARNING OBJECTIVES FOR THIS CHAPTER

LEARNING OBJECTIVES FOR THIS CHAPTER CHAPTER 2 American mathematician Paul Halmos (1916 2006), who in 1942 published the first modern linear algebra book. The title of Halmos s book was the same as the title of this chapter. Finite-Dimensional

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

More information

Ch. 13.2: Mathematical Expectation

Ch. 13.2: Mathematical Expectation Ch. 13.2: Mathematical Expectation Random Variables Very often, we are interested in sample spaces in which the outcomes are distinct real numbers. For example, in the experiment of rolling two dice, we

More information

Solving Rational Equations

Solving Rational Equations Lesson M Lesson : Student Outcomes Students solve rational equations, monitoring for the creation of extraneous solutions. Lesson Notes In the preceding lessons, students learned to add, subtract, multiply,

More information

MATH 10034 Fundamental Mathematics IV

MATH 10034 Fundamental Mathematics IV MATH 0034 Fundamental Mathematics IV http://www.math.kent.edu/ebooks/0034/funmath4.pdf Department of Mathematical Sciences Kent State University January 2, 2009 ii Contents To the Instructor v Polynomials.

More information

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook. Elementary Number Theory and Methods of Proof CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215 1 Number theory Properties: 2 Properties of integers (whole

More information

Factoring (pp. 1 of 4)

Factoring (pp. 1 of 4) Factoring (pp. 1 of 4) Algebra Review Try these items from middle school math. A) What numbers are the factors of 4? B) Write down the prime factorization of 7. C) 6 Simplify 48 using the greatest common

More information

Assessment For The California Mathematics Standards Grade 6

Assessment For The California Mathematics Standards Grade 6 Introduction: Summary of Goals GRADE SIX By the end of grade six, students have mastered the four arithmetic operations with whole numbers, positive fractions, positive decimals, and positive and negative

More information

Chapter 4 Lecture Notes

Chapter 4 Lecture Notes Chapter 4 Lecture Notes Random Variables October 27, 2015 1 Section 4.1 Random Variables A random variable is typically a real-valued function defined on the sample space of some experiment. For instance,

More information

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5.

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5. PUTNAM TRAINING POLYNOMIALS (Last updated: November 17, 2015) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include

More information

Definition and Calculus of Probability

Definition and Calculus of Probability In experiments with multivariate outcome variable, knowledge of the value of one variable may help predict another. For now, the word prediction will mean update the probabilities of events regarding the

More information

Boolean Algebra Part 1

Boolean Algebra Part 1 Boolean Algebra Part 1 Page 1 Boolean Algebra Objectives Understand Basic Boolean Algebra Relate Boolean Algebra to Logic Networks Prove Laws using Truth Tables Understand and Use First Basic Theorems

More information

36 Odds, Expected Value, and Conditional Probability

36 Odds, Expected Value, and Conditional Probability 36 Odds, Expected Value, and Conditional Probability What s the difference between probabilities and odds? To answer this question, let s consider a game that involves rolling a die. If one gets the face

More information

Full and Complete Binary Trees

Full and Complete Binary Trees Full and Complete Binary Trees Binary Tree Theorems 1 Here are two important types of binary trees. Note that the definitions, while similar, are logically independent. Definition: a binary tree T is full

More information

DEFINITIONS. Perpendicular Two lines are called perpendicular if they form a right angle.

DEFINITIONS. Perpendicular Two lines are called perpendicular if they form a right angle. DEFINITIONS Degree A degree is the 1 th part of a straight angle. 180 Right Angle A 90 angle is called a right angle. Perpendicular Two lines are called perpendicular if they form a right angle. Congruent

More information

Section 6.2 Definition of Probability

Section 6.2 Definition of Probability Section 6.2 Definition of Probability Probability is a measure of the likelihood that an event occurs. For example, if there is a 20% chance of rain tomorrow, that means that the probability that it will

More information

MATHS ACTIVITIES FOR REGISTRATION TIME

MATHS ACTIVITIES FOR REGISTRATION TIME MATHS ACTIVITIES FOR REGISTRATION TIME At the beginning of the year, pair children as partners. You could match different ability children for support. Target Number Write a target number on the board.

More information

Tasks to Move Students On

Tasks to Move Students On Maths for Learning Inclusion Tasks to Move Students On Part 1 Maths for Learning Inclusion (M4LI) Tasks to Move Students On Numbers 1 10 Structuring Number Maths for Learning Inclusion (M4LI) Tasks to

More information

The theory of the six stages of learning with integers (Published in Mathematics in Schools, Volume 29, Number 2, March 2000) Stage 1

The theory of the six stages of learning with integers (Published in Mathematics in Schools, Volume 29, Number 2, March 2000) Stage 1 The theory of the six stages of learning with integers (Published in Mathematics in Schools, Volume 29, Number 2, March 2000) Stage 1 Free interaction In the case of the study of integers, this first stage

More information

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me SYSTEMS OF PYTHAGOREAN TRIPLES CHRISTOPHER TOBIN-CAMPBELL Abstract. This paper explores systems of Pythagorean triples. It describes the generating formulas for primitive Pythagorean triples, determines

More information

PROBABILITY. SIMPLE PROBABILITY is the likelihood that a specific event will occur, represented by a number between 0 and 1.

PROBABILITY. SIMPLE PROBABILITY is the likelihood that a specific event will occur, represented by a number between 0 and 1. PROBABILITY SIMPLE PROBABILITY SIMPLE PROBABILITY is the likelihood that a specific event will occur, represented by a number between 0 and. There are two categories of simple probabilities. THEORETICAL

More information

Math 408, Actuarial Statistics I, Spring 2008. Solutions to combinatorial problems

Math 408, Actuarial Statistics I, Spring 2008. Solutions to combinatorial problems , Spring 2008 Word counting problems 1. Find the number of possible character passwords under the following restrictions: Note there are 26 letters in the alphabet. a All characters must be lower case

More information

1) A 2) B 3) C 4) D 5) A & B 6) C & D

1) A 2) B 3) C 4) D 5) A & B 6) C & D LEVEL 1, PROBLEM 1 How many rectangles are there in the figure below? 9 A B C D If we divide the rectangle, into 4 regions A, B, C, D, the 9 rectangles are as follows: 1) A 2) B 3) C 4) D 5) A & B 6) C

More information

INTERSECTION MATH And more! James Tanton

INTERSECTION MATH And more! James Tanton INTERSECTION MATH And more! James Tanton www.jamestanton.com The following represents a sample activity based on the December 2006 newsletter of the St. Mark s Institute of Mathematics (www.stmarksschool.org/math).

More information

Permutations & Combinations

Permutations & Combinations Permutations & Combinations Extension 1 Mathematics HSC Revision Multiplication Rule If one event can occur in m ways, a second event in n ways and a third event in r, then the three events can occur in

More information

10-4-10 Year 9 mathematics: holiday revision. 2 How many nines are there in fifty-four?

10-4-10 Year 9 mathematics: holiday revision. 2 How many nines are there in fifty-four? DAY 1 Mental questions 1 Multiply seven by seven. 49 2 How many nines are there in fifty-four? 54 9 = 6 6 3 What number should you add to negative three to get the answer five? 8 4 Add two point five to

More information

3. Mathematical Induction

3. Mathematical Induction 3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)

More information