Counting Review R 1. R 3 receiver. sender R 4 R 2

Size: px
Start display at page:

Download "Counting Review R 1. R 3 receiver. sender R 4 R 2"

Transcription

1 Counting Review Purpose: It is the foundation for many simple yet interesting examples and applications of probability theory. For good counting we need good crutches (fingers?). Hence good images for the things we wish to count. Good notation for certain types of counts. Want to be able to count large amounts. Example 1 (Defective Relays or Craced Rivets): Suppose we have a sequence of relay stations. A signal can be passed through this sequence as long as not two consecutive stations are defective. Suppose there are m + n stations, m operating and defective. In how many ways can we arrange these m + stations in sequence such that a signal may pass through? Similarly, one could have m good rivet holes and craced rivet holes. How many ways are there of having no two neighboring rivets are craced? Tough! sender R 1 R receiver R 2 R 4 Special case: m 2, 2; symbol for defective and 0 symbol for operating. Represent all possible arrangements 1

2 0 0 y 0 0 y 0 0 n 0 0 y 0 0 n 0 0 n out of 6 will pass the signal. How about general m and? Product Rule(Basic Principle of Counting or Ordered Pairs): n 1 items or choices for the first position n 2 items or choices for the second position how many paired choices for first and second position Counting in n 1, n 2 times, efficient addition. Give rectangular image and tree branch count. Example 2 (Dice): red and green dice: pairs (first choice, second choice)? n 1 n 2 paired (ordered) choices Example (Dice without doubles): We throw a pair of red and green dice until the faces don t match: possible pairs Generalized Product Rule (Ordered tuples): n 1 choices for the first position n 2 choices for the second position n choices for the th position how many ordered tuples can be chosen? (first choice, second choice,..., th choice) Example 4 (Bytes): 2 n binary sequences of length n bytes n 1 n 2... n possible choices 2

3 Example 5 (Birthdays): If a birthday could be any one of 65 possible days in a year how many possible birthday arrangements are there for 2 persons? Example 6 (License Plates): If a licence plate consist of three letters followed by three digits, how many different licence plates are possible? , 576, 000. If the six positions could be any letter or any digit, then there are 6 6 2, 176, 782, 6 possibilities. Example 7 (Anagrams): How many ways are there to arrange the three letters a, b, c in sequence? Answer: 2 1 6, ways to fill the first position, two remaining ways to fill the second position and one way to fill the last position with the remaining letter. Each such arrangement of the three letters is called a permutation of the three letters. Permutations: Suppose we have n distinct objects then there are n(n 1)(n 2) 2 1 n! permutations of these objects, i.e. arrangements of these distinct objects in order. n! is read n factorial. Example 8 (Horse Race): In a horse race with 8 horses there are 8! 40, 20 possible finishes if we disregard the possibility of ties. Permutations With Repetitions: If some of the objects to be permuted are indistinguishable from each other then some of the permutations will also be indistinguishable, namely those where the repeated objects are permuted among each other. For example, of the six letters in the word PEPPER only, namely P,E,R, are distinct. If we distinguish among the P s and E s by labelling them, then there are! 2! distinct ways to write the word PEPPER. For example, P 1 E 1 P 2 P E 2 R is distinct from P 2 E 1 P 1 P E 2 R as far as the labelling is concerned. There are 6! permutations of the symbols P 1 P 2 P E 1 E 2 R but only 6!/(! 2!) 60 are distinguishable once the lables are dropped. In general, if there are n objects of which n 1 are alie, n 2 are alie,..., n r are alie then there are n! n 1! n 2! n r!

4 permutations (distinguishable arrangements) of these objects. Example 9 (Treatment/Placebo Assignments): Suppose ten patients in an experimental drug treatment program are to be divided into two groups of size five each, the first five to receive the new treatment and the other five to receive the placebo drug. How many possible ways are there to mae the drug assignments? Answer: Line the patients up in order and create an arrangement of five T s and five P s. Thus there are 10!/(5! 5!) 252 possibilities. Suppose there are two drugs (A and B) and a placebo and 15 patients are to be equally divided into three groups each receiving the respective drug then there are 15!/(5! 5! 5!) 756, 756 possible assignments. Generalized Permutation: Suppose we have n distinct objects, however we only select ( n) of them to arrange them in order. How many possible ways are there? Answer: n(n 1) (n ( 1)) n(n 1) (n + 1) (n) If n then (n) n n!, reducing to the full permutation. Example 10 (Baset Ball Finals): At the end of the season the first four teams in a baset ball league of 20 teams advance to the finals. How many possible finishes for the first four positions are possible? Answer: (20) 4 116, 280. Combinations: Suppose we have n objects and we are interested in finding the number of possible groups that can be formed by taing r (r n) objects from these n, the order of objects in the group being immaterial. Any such group is called a combination of n taen r at a time. The number of such combinations is denoted by r n r n! r! (n r)! (n) r r! where the computational formula follows as in example 9. Convention: 0 1 and n n(n 1) (n r + 1) r! 0 if r < 0 or r > n. r Approximation: For large numbers n it becomes tedious (and sometimes not very manageable on calculators) to calculate n! because n! gets too large. The right order of magnitude may often be quite sufficient, especially if ratios of factorials are required. Stirling s formula states: ln(n!) ( n + 1 ) ln n n ln(2π) + θ 12n 4

5 where 0 < θ < 1 and θ/(12n) is usually neglected but indicates the size of the possible error. In direct form this is n n! 2πn with e e Example 11 (Washington Lottery): How many possible choices are there in the Washington Lottery for picing 6 numbers out of 49? Answer: ( ) 49 49! 1, 98, ! 6! Using Stirling s formula we get: 14, 182, with about 1.4% relative error. The error is large because Stirling s formula is not accurate when applied to 6!. If we use Stirling s formula only on 49! and 4! we get 1, 987, with about.024% relative error! Example 1 (Survey Sample): A sample of 1, 000 (without replacement) is taen from a population of size 100, 000. If you are a member of the population what fraction of all possible such samples will contain you? Answer: ( ) 100, 000 possible samples 1, 000 ( ) 99, samples with you in it 999 Fraction with you in it 1, 000! 99, 000! 99, 999! 100, 000! 99, 000! 999! 1, , Example 14 (Rivets and Relays Revisited): m good rivets, craced rivets, how many arrangements without neighboring rivets? Answer: Line up the good rivets in sequence. There are m m + 1 slots between and at the end of these operating relays. If m + 1 then it is possible to put at most one craced rivet into each one of these slots and there are ( ) m+1 ways of doing this. If we have 75 good rivets and 20 craced ones, then there are ( ) sequences without neighboring craced rivets. Compare this to the ( ) sequences of 95 rivets with 20 craced ones, i.e., the fraction of dangerous sequences is r Combinatorial Identity (Pascal s Triangle): ( ) ( ) ( ) n n 1 n 1 + r r 1 r 5 for 1 r n

6 proof: choose r from n in one of two possible ways: 1. Choose r outright: ( ) n r possibilities 2. Designate one of the n items as special. Then we may either choose the special item plus r 1 others in 1 (n 1 ) ( ) ways or we may choose r without the special in n 1 ways. r 1 Since these are mutually exclusive possibilities the claim follows Pascal ( ), Tartaglia ( ), Omar Khayyam ( 112) and earlier in Persia and China, cf. Edwards (1987) Pascal s Arithmetical Triangle Binomial Theorem: (x + y) n n 0 Proof by multiplying out and counting similar terms. Example 15: x y n (x + y) 4 x 4 + 4x y + 6x 2 y 2 + 4xy + y 4 r Example 16 (Possible Subsets): A set of n elements has how many subsets? Thus 2 n (1 + 1) n subsets of size n n n 0 is the total number of subsets counting the empty subset. Otherwise we would have 2 n 1 non empty subsets. Note also: 0 ( 1 + 1) n n 0 ( 1) 1 n ± 2 n

7 i.e. there are as many subsets of odd size as there are of even size. Multinomial Coefficients: Divide n distinct items into r distinct groups of respective sizes n 1, n 2,..., n r, n n 1 + n n r. How many possible ways? Answer: ( )( ) ( ) n n n1 n n1 n 2 n r 1 n 1 n! (n n 1 )!n 1! n 2 (n n 1 )! (n n 1 n 2 )!n 2! (n n 1 n 2 n r 1 )! 0!n r! ( ) n! n 1!n 2! n r! : n n 1, n 2,..., n r n r Example 17 (Sat): In the German game of Sat a dec of 2 cards is dealt to three players with 10 cards per player and two in the middle (the sat). How many possible deals? Answer: ( ) 2 10, 10, 10, 2 2! !10!10!2! or using Stirling s approximation on 2!, resulting in.26% relative error. Multinomial Theorem: (x 1 + x x r ) n (n 1, n 2,..., n r ) : n 1 + n n r n ( n n 1, n 2,..., n r where the summation is over all non negative integer valued r vectors (n 1, n 2,, n r ) such that n 1 + n n r n. Example 18: (x + y + z) ) x n 1 1 x n 2 2 x nr r ( ) ( ) ( ) x y 0 z 0 + x 0 y z 0 + x 0 y 0 z, 0, 0 0,, 0 0, 0, ( ) ( ) ( ) + x 2 y 1 z 0 + x 2 y 0 z 1 + x 1 y 2 z 0 2, 1, 0 2, 0, 1 1, 2, 0 ( ) ( ) ( ) + x 0 y 2 z 1 + x 0 y 1 z 2 + x 1 y 0 z 2 0, 2, 1 0, 1, 2 1, 0, 2 7

8 ( ) + x 1 y 1 z 1 1, 1, 1 x + y + z + x 2 y + x 2 z + xy 2 + y 2 z + yz 2 + xz 2 + 6xyz More complicated counts: 1 r 1 ways to write x 1 + x x r n, integer x i 1 Proof: choose r 1 gaps of the n 1 gaps between n 1 s. For n 10 and r an example choice is: x 1 + x 2 + x r 1 r 1 ways to write x 1 + x x r n, integer x i 0 Proof: choose r 1 positions for r 1 dividers among the n + (r 1) positions for the n 1 s and r 1 divider places. For n 10 and r 5 an example choice is: x 1 + x 2 + x + x 4 + x

Chapter 8 Sequences, Series, and Probability

Chapter 8 Sequences, Series, and Probability Chapter 8 Sequences, Series, and Probability Overview 8.1 Sequences and Series 8.2 Arithmetic Sequences and Partial Sums 8.3 Geometric Sequences and Partial Sums 8.5 The Binomial Theorem 8.6 Counting Principles

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

{ 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

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

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

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

MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS

MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS Lior Pachter and Lawrence C. Evans Department of Mathematics University of California Berkeley, CA 94720 January 21, 2013 Lior Pachter

More information

Announcements. CSE 321 Discrete Structures. Counting. Counting Rules. Important cases of the Product Rule. Counting examples.

Announcements. CSE 321 Discrete Structures. Counting. Counting Rules. Important cases of the Product Rule. Counting examples. Announcements CSE 321 Discrete Structures Winter 2008 Lecture 16 Counting Readings Friday, Wednesday: Counting 6 th edition: 5.1, 5.2, 5.3, 5 th edition: 4.1, 4.2. 4.3 Lecture 16 video will be posted on

More information

Recursive Definitions

Recursive Definitions Recursive Definitions Example: Give a recursive definition of a n. a R and n N. Basis: n = 0, a 0 = 1. Recursion: a n+1 = a a n. Example: Give a recursive definition of n i=0 a i. Let S n = n i=0 a i,

More information

1 The Basic Counting Principles

1 The Basic Counting Principles 1 The Basic Counting Principles The Multiplication Rule If an operation consists of k steps and the first step can be performed in n 1 ways, the second step can be performed in n ways [regardless of how

More information

Solution: There are 30 choices for the first person to leave, 29 for the second, etc. Thus this exodus can occur in. = P (30, 8) ways.

Solution: There are 30 choices for the first person to leave, 29 for the second, etc. Thus this exodus can occur in. = P (30, 8) ways. Math-2320 Assignment 7 Solutions Problem 1: (Section 7.1 Exercise 4) There are 30 people in a class learning about permutations. One after another, eight people gradually slip out the back door. In how

More information

True/False. Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao

True/False. Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao True/False 1. True False Among the problems we considered in class, a multi-stage process can be encoded (and

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

Sets. A set is a collection of objects without repeats. The size or cardinality of a set S is denoted S and is the number of elements in the set.

Sets. A set is a collection of objects without repeats. The size or cardinality of a set S is denoted S and is the number of elements in the set. Sets A set is a collection of objects without repeats. The size or cardinality of a set S is denoted S and is the number of elements in the set. If A and B are sets, then the set of ordered pairs each

More information

CIS 2033 Lecture 5, Fall

CIS 2033 Lecture 5, Fall CIS 2033 Lecture 5, Fall 2016 1 Instructor: David Dobor September 13, 2016 1 Supplemental reading from Dekking s textbook: Chapter2, 3. We mentioned at the beginning of this class that calculus was a prerequisite

More information

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

Counting Methods. CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo Counting Methods CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo c Xin He (University at Buffalo) CSE 191 Discrete Structures 1 / 48 Need for Counting The problem of counting

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

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

Posted Thursday February 14. STUDY IN-DEPTH...the posted solutions to homeworks 1-3. Compare with your own solutions.

Posted Thursday February 14. STUDY IN-DEPTH...the posted solutions to homeworks 1-3. Compare with your own solutions. CIS 160 - Spring 2019 (Instructors Val Tannen, Clayton Greenberg Midterm 1 Review Posted Thursday February 14 1 Readings STUDY IN-DEPTH......the posted notes for lectures 1-8. STUDY IN-DEPTH......the posted

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

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

Probabilistic models

Probabilistic models Kolmogorov (Andrei Nikolaevich, 1903 1987) put forward an axiomatic system for probability theory. Foundations of the Calculus of Probabilities, published in 1933, immediately became the definitive formulation

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

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

Math 461 B/C, Spring 2009 Midterm Exam 1 Solutions and Comments

Math 461 B/C, Spring 2009 Midterm Exam 1 Solutions and Comments Math 461 B/C, Spring 2009 Midterm Exam 1 Solutions and Comments 1. Suppose A, B and C are events with P (A) = P (B) = P (C) = 1/3, P (AB) = P (AC) = P (BC) = 1/4 and P (ABC) = 1/5. For each of the following

More information

Module 8 Probability

Module 8 Probability Module 8 Probability Probability is an important part of modern mathematics and modern life, since so many things involve randomness. The ClassWiz is helpful for calculating probabilities, especially those

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

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

1 True/False. Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao 1 True/False 1. True False When we solve a problem one way, it is not useful to try to solve it in a second

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

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

First Midterm Examination

First Midterm Examination 2015-2016 Spring Semester First Midterm Examination 1) How many numbers in the set {1000, 1001, 1002,..., 9999} have sum of digits equal to 17? 2) Let n Z +. Find the negation, converse and contrapositive

More information

CS 2336 Discrete Mathematics

CS 2336 Discrete Mathematics CS 2336 Discrete Mathematics Lecture 8 Counting: Permutations and Combinations 1 Outline Definitions Permutation Combination Interesting Identities 2 Definitions Selection and arrangement of objects appear

More information

Probabilistic models

Probabilistic models Probabilistic models Kolmogorov (Andrei Nikolaevich, 1903 1987) put forward an axiomatic system for probability theory. Foundations of the Calculus of Probabilities, published in 1933, immediately became

More information

Given a experiment with outcomes in sample space: Ω Probability measure applied to subsets of Ω: P[A] 0 P[A B] = P[A] + P[B] P[AB] = P(AB)

Given a experiment with outcomes in sample space: Ω Probability measure applied to subsets of Ω: P[A] 0 P[A B] = P[A] + P[B] P[AB] = P(AB) 1 16.584: Lecture 2 : REVIEW Given a experiment with outcomes in sample space: Ω Probability measure applied to subsets of Ω: P[A] 0 P[A B] = P[A] + P[B] if AB = P[A B] = P[A] + P[B] P[AB] P[A] = 1 P[A

More information

Probability. Chapter 1 Probability. A Simple Example. Sample Space and Probability. Sample Space and Event. Sample Space (Two Dice) Probability

Probability. Chapter 1 Probability. A Simple Example. Sample Space and Probability. Sample Space and Event. Sample Space (Two Dice) Probability Probability Chapter 1 Probability 1.1 asic Concepts researcher claims that 10% of a large population have disease H. random sample of 100 people is taken from this population and examined. If 20 people

More information

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

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 8 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 8 Notes Goals for Today Counting Partitions

More information

Examples of Finite Sequences (finite terms) Examples of Infinite Sequences (infinite terms)

Examples of Finite Sequences (finite terms) Examples of Infinite Sequences (infinite terms) Math 120 Intermediate Algebra Sec 10.1: Sequences Defn A sequence is a function whose domain is the set of positive integers. The formula for the nth term of a sequence is called the general term. Examples

More information

Algorithms: Background

Algorithms: Background Algorithms: Background Amotz Bar-Noy CUNY Amotz Bar-Noy (CUNY) Algorithms: Background 1 / 66 What is a Proof? Definition I: The cogency of evidence that compels acceptance by the mind of a truth or a fact.

More information

STT When trying to evaluate the likelihood of random events we are using following wording.

STT When trying to evaluate the likelihood of random events we are using following wording. Introduction to Chapter 2. Probability. When trying to evaluate the likelihood of random events we are using following wording. Provide your own corresponding examples. Subjective probability. An individual

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

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

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2 Probability Probability is the study of uncertain events or outcomes. Games of chance that involve rolling dice or dealing cards are one obvious area of application. However, probability models underlie

More information

2 Generating Functions

2 Generating Functions 2 Generating Functions In this part of the course, we re going to introduce algebraic methods for counting and proving combinatorial identities. This is often greatly advantageous over the method of finding

More information

Probability and the Second Law of Thermodynamics

Probability and the Second Law of Thermodynamics Probability and the Second Law of Thermodynamics Stephen R. Addison January 24, 200 Introduction Over the next several class periods we will be reviewing the basic results of probability and relating probability

More information

SERIES

SERIES SERIES.... This chapter revisits sequences arithmetic then geometric to see how these ideas can be extended, and how they occur in other contexts. A sequence is a list of ordered numbers, whereas a series

More information

1 Combinatorial Analysis

1 Combinatorial Analysis ECE316 Notes-Winter 217: A. K. Khandani 1 1 Combinatorial Analysis 1.1 Introduction This chapter deals with finding effective methods for counting the number of ways that things can occur. In fact, many

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

Mathematical Background

Mathematical Background Chapter 1 Mathematical Background When we analyze various algorithms in terms of the time and the space it takes them to run, we often need to work with math. That is why we ask you to take MA 2250 Math

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

3. Elementary Counting Problems 4.1,4.2. Binomial and Multinomial Theorems 2. Mathematical Induction

3. Elementary Counting Problems 4.1,4.2. Binomial and Multinomial Theorems 2. Mathematical Induction 3. Elementary Counting Problems 4.1,4.2. Binomial and Multinomial Theorems 2. Mathematical Induction Prof. Tesler Math 184A Fall 2017 Prof. Tesler Elementary Counting Problems Math 184A / Fall 2017 1 /

More information

Name: Harry Potter (pothar31) Discrete Math HW#6 Solutions March 9, Added: Chapter 6 Summary/Review: 17(a), 8, 15, 29, 42 and Q1 and Q2 below

Name: Harry Potter (pothar31) Discrete Math HW#6 Solutions March 9, Added: Chapter 6 Summary/Review: 17(a), 8, 15, 29, 42 and Q1 and Q2 below Name: Harry Potter (pothar31 Discrete Math HW#6 Solutions March 9, 2018 Instructions: Do the following problems. Type up those in bold in LaTeX. csf submit them. 6.2: 33, 34, 38, 44 6.3: 18, 20 (explain

More information

A Probability Course for the Actuaries A Preparation for Exam P/1. Marcel B. Finan Arkansas Tech University c All Rights Reserved Preliminary Draft

A Probability Course for the Actuaries A Preparation for Exam P/1. Marcel B. Finan Arkansas Tech University c All Rights Reserved Preliminary Draft A Probability Course for the Actuaries A Preparation for Exam P/1 Marcel B. Finan Arkansas Tech University c All Rights Reserved Preliminary Draft 2 In memory of my mother August 1, 2008 Contents Preface

More information

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space I. Vocabulary: A. Outcomes: the things that can happen in a probability experiment B. Sample Space (S): all possible outcomes C. Event (E): one outcome D. Probability of an Event (P(E)): the likelihood

More information

Ciphering MU ALPHA THETA STATE 2008 ROUND

Ciphering MU ALPHA THETA STATE 2008 ROUND Ciphering MU ALPHA THETA STATE 2008 ROUND SCHOOL NAME ID CODE Circle one of the following Mu Alpha Theta Euclidean Round 1 What is the distance between the points (1, -6) and (5, -3)? Simplify: 5 + 5 5

More information

Probability 1 (MATH 11300) lecture slides

Probability 1 (MATH 11300) lecture slides Probability 1 (MATH 11300) lecture slides Márton Balázs School of Mathematics University of Bristol Autumn, 2015 December 16, 2015 To know... http://www.maths.bris.ac.uk/ mb13434/prob1/ m.balazs@bristol.ac.uk

More information

10.1. Randomness and Probability. Investigation: Flip a Coin EXAMPLE A CONDENSED LESSON

10.1. Randomness and Probability. Investigation: Flip a Coin EXAMPLE A CONDENSED LESSON CONDENSED LESSON 10.1 Randomness and Probability In this lesson you will simulate random processes find experimental probabilities based on the results of a large number of trials calculate theoretical

More information

Lecture 2 Binomial and Poisson Probability Distributions

Lecture 2 Binomial and Poisson Probability Distributions Binomial Probability Distribution Lecture 2 Binomial and Poisson Probability Distributions Consider a situation where there are only two possible outcomes (a Bernoulli trial) Example: flipping a coin James

More information

An Introduction to Combinatorics

An Introduction to Combinatorics Chapter 1 An Introduction to Combinatorics What Is Combinatorics? Combinatorics is the study of how to count things Have you ever counted the number of games teams would play if each team played every

More information

1 Systems of Linear Equations

1 Systems of Linear Equations 1 Systems of Linear Equations Many problems that occur naturally involve finding solutions that satisfy systems of linear equations of the form a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x

More information

Fibonacci s Numbers. Michele Pavon, Dipartimento di Matematica, Università di Padova, via Trieste Padova, Italy.

Fibonacci s Numbers. Michele Pavon, Dipartimento di Matematica, Università di Padova, via Trieste Padova, Italy. Fibonacci s Numbers Michele Pavon, Dipartimento di Matematica, Università di Padova, via Trieste 63 311 Padova, Italy May 1, 013 1 Elements of combinatorics Consider the tas of placing balls in n cells,

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

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

Notes. Combinatorics. Combinatorics II. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006 Combinatorics Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 4.1-4.6 & 6.5-6.6 of Rosen cse235@cse.unl.edu

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

1 Basic Combinatorics

1 Basic Combinatorics 1 Basic Combinatorics 1.1 Sets and sequences Sets. A set is an unordered collection of distinct objects. The objects are called elements of the set. We use braces to denote a set, for example, the set

More information

Number Theory and Counting Method. Divisors -Least common divisor -Greatest common multiple

Number Theory and Counting Method. Divisors -Least common divisor -Greatest common multiple Number Theory and Counting Method Divisors -Least common divisor -Greatest common multiple Divisors Definition n and d are integers d 0 d divides n if there exists q satisfying n = dq q the quotient, d

More information

Axiomatic Foundations of Probability. Definition: Probability Function

Axiomatic Foundations of Probability. Definition: Probability Function Chapter 1 sections We will SKIP a number of sections Set theory SKIP Real number uncountability Definition of probability Finite sample spaces Counting methods Combinatorial methods SKIP tennis tournament

More information

Algorithmic Approach to Counting of Certain Types m-ary Partitions

Algorithmic Approach to Counting of Certain Types m-ary Partitions Algorithmic Approach to Counting of Certain Types m-ary Partitions Valentin P. Bakoev Abstract Partitions of integers of the type m n as a sum of powers of m (the so called m-ary partitions) and their

More information

CSE 21 Practice Exam for Midterm 2 Fall 2017

CSE 21 Practice Exam for Midterm 2 Fall 2017 CSE 1 Practice Exam for Midterm Fall 017 These practice problems should help prepare you for the second midterm, which is on monday, November 11 This is longer than the actual exam will be, but good practice

More information

Multiple Choice Practice Set 1

Multiple Choice Practice Set 1 Multiple Choice Practice Set 1 This set of questions covers material from Chapter 1. Multiple choice is the same format as for the midterm. Q1. Two events each have probability 0.2 of occurring and are

More information

) = nlog b ( m) ( m) log b ( ) ( ) = log a b ( ) Algebra 2 (1) Semester 2. Exponents and Logarithmic Functions

) = nlog b ( m) ( m) log b ( ) ( ) = log a b ( ) Algebra 2 (1) Semester 2. Exponents and Logarithmic Functions Exponents and Logarithmic Functions Algebra 2 (1) Semester 2! a. Graph exponential growth functions!!!!!! [7.1]!! - y = ab x for b > 0!! - y = ab x h + k for b > 0!! - exponential growth models:! y = a(

More information

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

are the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1). Lecture A jacques@ucsd.edu Notation: N, R, Z, F, C naturals, reals, integers, a field, complex numbers. p(n), S n,, b(n), s n, partition numbers, Stirling of the second ind, Bell numbers, Stirling of the

More information

Notes Week 2 Chapter 3 Probability WEEK 2 page 1

Notes Week 2 Chapter 3 Probability WEEK 2 page 1 Notes Week 2 Chapter 3 Probability WEEK 2 page 1 The sample space of an experiment, sometimes denoted S or in probability theory, is the set that consists of all possible elementary outcomes of that experiment

More information

Discrete Probability. Chemistry & Physics. Medicine

Discrete Probability. Chemistry & Physics. Medicine Discrete Probability The existence of gambling for many centuries is evidence of long-running interest in probability. But a good understanding of probability transcends mere gambling. The mathematics

More information

MATH 118 FINAL EXAM STUDY GUIDE

MATH 118 FINAL EXAM STUDY GUIDE MATH 118 FINAL EXAM STUDY GUIDE Recommendations: 1. Take the Final Practice Exam and take note of questions 2. Use this study guide as you take the tests and cross off what you know well 3. Take the Practice

More information

12.1. Randomness and Probability

12.1. Randomness and Probability CONDENSED LESSON. Randomness and Probability In this lesson, you Simulate random processes with your calculator Find experimental probabilities based on the results of a large number of trials Calculate

More information

CS 210 Foundations of Computer Science

CS 210 Foundations of Computer Science IIT Madras Dept. of Computer Science & Engineering CS 210 Foundations of Computer Science Debdeep Mukhopadhyay Counting-II Pigeonhole Principle If n+1 or more objects (pigeons) are placed into n boxes,

More information

Senior Math Circles November 19, 2008 Probability II

Senior Math Circles November 19, 2008 Probability II University of Waterloo Faculty of Mathematics Centre for Education in Mathematics and Computing Senior Math Circles November 9, 2008 Probability II Probability Counting There are many situations where

More information

Lecture 2: Probability

Lecture 2: Probability Lecture 2: Probability MSU-STT-351-Sum-17B (P. Vellaisamy: MSU-STT-351-Sum-17B) Probability & Statistics for Engineers 1 / 39 Chance Experiment We discuss in this lecture 1 Random Experiments 2 Sample

More information

Counting. Mukulika Ghosh. Fall Based on slides by Dr. Hyunyoung Lee

Counting. Mukulika Ghosh. Fall Based on slides by Dr. Hyunyoung Lee Counting Mukulika Ghosh Fall 2018 Based on slides by Dr. Hyunyoung Lee Counting Counting The art of counting is known as enumerative combinatorics. One tries to count the number of elements in a set (or,

More information

Section 1.1 Notes. Real Numbers

Section 1.1 Notes. Real Numbers Section 1.1 Notes Real Numbers 1 Types of Real Numbers The Natural Numbers 1,,, 4, 5, 6,... These are also sometimes called counting numbers. Denoted by the symbol N Integers..., 6, 5, 4,,, 1, 0, 1,,,

More information

STAT 201 Chapter 5. Probability

STAT 201 Chapter 5. Probability STAT 201 Chapter 5 Probability 1 2 Introduction to Probability Probability The way we quantify uncertainty. Subjective Probability A probability derived from an individual's personal judgment about whether

More information

Undergraduate Probability I. Class Notes for Engineering Students

Undergraduate Probability I. Class Notes for Engineering Students Undergraduate Probability I Class Notes for Engineering Students Fall 2014 Contents I Probability Laws 1 1 Mathematical Review 2 1.1 Elementary Set Operations.................... 4 1.2 Additional Rules

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

Base Number Systems. Honors Precalculus Mr. Velazquez

Base Number Systems. Honors Precalculus Mr. Velazquez Base Number Systems Honors Precalculus Mr. Velazquez 1 Our System: Base 10 When we express numbers, we do so using ten numerical characters which cycle every multiple of 10. The reason for this is simple:

More information

MATH STUDENT BOOK. 12th Grade Unit 9

MATH STUDENT BOOK. 12th Grade Unit 9 MATH STUDENT BOOK 12th Grade Unit 9 Unit 9 COUNTING PRINCIPLES MATH 1209 COUNTING PRINCIPLES INTRODUCTION 1. PROBABILITY DEFINITIONS, SAMPLE SPACES, AND PROBABILITY ADDITION OF PROBABILITIES 11 MULTIPLICATION

More information

Math 493 Final Exam December 01

Math 493 Final Exam December 01 Math 493 Final Exam December 01 NAME: ID NUMBER: Return your blue book to my office or the Math Department office by Noon on Tuesday 11 th. On all parts after the first show enough work in your exam booklet

More information

1 Preliminaries Sample Space and Events Interpretation of Probability... 13

1 Preliminaries Sample Space and Events Interpretation of Probability... 13 Summer 2017 UAkron Dept. of Stats [3470 : 461/561] Applied Statistics Ch 2: Probability Contents 1 Preliminaries 3 1.1 Sample Space and Events...........................................................

More information

Chapter 2 PROBABILITY SAMPLE SPACE

Chapter 2 PROBABILITY SAMPLE SPACE Chapter 2 PROBABILITY Key words: Sample space, sample point, tree diagram, events, complement, union and intersection of an event, mutually exclusive events; Counting techniques: multiplication rule, permutation,

More information

Chapter 2: Probability Part 1

Chapter 2: Probability Part 1 Engineering Probability & Statistics (AGE 1150) Chapter 2: Probability Part 1 Dr. O. Phillips Agboola Sample Space (S) Experiment: is some procedure (or process) that we do and it results in an outcome.

More information

3/15/2010 ENGR 200. Counting

3/15/2010 ENGR 200. Counting ENGR 200 Counting 1 Are these events conditionally independent? Blue coin: P(H = 0.99 Red coin: P(H = 0.01 Pick a random coin, toss it twice. H1 = { 1 st toss is heads } H2 = { 2 nd toss is heads } given

More information

Principles of Counting. Debdeep Mukhopadhyay IIT Madras

Principles of Counting. Debdeep Mukhopadhyay IIT Madras Principles of Counting Debdeep Mukhopadhyay IIT Madras Part-I The Sum Rule Two tasks T 1 and T 2 are to be performed. If the task T 1 can be performed in m different ways and if the task T 2 can be performed

More information

Chapter 2 Class Notes

Chapter 2 Class Notes Chapter 2 Class Notes Probability can be thought of in many ways, for example as a relative frequency of a long series of trials (e.g. flips of a coin or die) Another approach is to let an expert (such

More information

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions 4.2 #77. Let s n,k denote the number of ways to seat n persons at k round tables, with at least one person at each table. (The numbers s n,k

More information

CHAPTER 1 POLYNOMIALS

CHAPTER 1 POLYNOMIALS 1 CHAPTER 1 POLYNOMIALS 1.1 Removing Nested Symbols of Grouping Simplify. 1. 4x + 3( x ) + 4( x + 1). ( ) 3x + 4 5 x 3 + x 3. 3 5( y 4) + 6 y ( y + 3) 4. 3 n ( n + 5) 4 ( n + 8) 5. ( x + 5) x + 3( x 6)

More information

Discrete Mathematics & Mathematical Reasoning Induction

Discrete Mathematics & Mathematical Reasoning Induction Discrete Mathematics & Mathematical Reasoning Induction Colin Stirling Informatics Colin Stirling (Informatics) Discrete Mathematics (Sections 5.1 & 5.2) Today 1 / 11 Another proof method: Mathematical

More information

Review Counting Principles Theorems Examples. John Venn. Arthur Berg Counting Rules 2/ 21

Review Counting Principles Theorems Examples. John Venn. Arthur Berg Counting Rules 2/ 21 Counting Rules John Venn Arthur Berg Counting Rules 2/ 21 Augustus De Morgan Arthur Berg Counting Rules 3/ 21 Algebraic Laws Let S be a sample space and A, B, C be three events in S. Commutative Laws:

More information

Named numbres. Ngày 25 tháng 11 năm () Named numbres Ngày 25 tháng 11 năm / 7

Named numbres. Ngày 25 tháng 11 năm () Named numbres Ngày 25 tháng 11 năm / 7 Named numbres Ngày 25 tháng 11 năm 2011 () Named numbres Ngày 25 tháng 11 năm 2011 1 / 7 Fibonacci, Catalan, Stirling, Euler, Bernoulli Many sequences are famous. 1 1, 2, 3, 4,... the integers. () Named

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

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

Executive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics: Executive Assessment Math Review Although the following provides a review of some of the mathematical concepts of arithmetic and algebra, it is not intended to be a textbook. You should use this chapter

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

Introduction to Decision Sciences Lecture 10

Introduction to Decision Sciences Lecture 10 Introduction to Decision Sciences Lecture 10 Andrew Nobel October 17, 2017 Mathematical Induction Given: Propositional function P (n) with domain N + Basis step: Show that P (1) is true Inductive step:

More information