CONTENTS GRAPH THEORY

Size: px
Start display at page:

Download "CONTENTS GRAPH THEORY"

Transcription

1 CONTENTS i GRAPH THEORY

2 GRAPH THEORY By Udit Agarwal M.Sc. (Maths), M.C.A. Sr. Lecturer, Rakshpal Bahadur Management Institute, Bareilly Umeshpal Singh (MCA) Director, Rotary Institute of Management and Technology, Moradabad UNIVERSITY SCIENCE PRESS (An Imprint of Laxmi Publications Pvt. Ltd.) BANGALORE CHENNAI COCHIN GUWAHATI HYDERABAD JALANDHAR KOLKATA LUCKNOW MUMBAI RANCHI NEW DELHI

3 Published by : UNIVERSITY SCIENCE PRESS (An Imprint of Laxmi Publications Pvt. Ltd.) 113, Golden House, Daryaganj, New Delhi Phone : Fax : info@laxmipublications.com Copyright 2009 by Laxmi Publications Pvt. Ltd. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise without the prior written permission of the publisher. Price : Rs Only. First Edition : 2009 OFFICES India Bangalore Jalandhar Chennai Kolkata Cochin Lucknow Guwahati , Mumbai , Hyderabad Ranchi UGT GRAPH THEORY C Typeset at : Sukuvisa Enterprises, New Delhi. Printed at :

4 CONTENTS Preface (xi) 1. Elementary Combinatorics Introduction Basic Counting Principles The Inclusion Exclusion Principle Permutations (Arrangement of Objects) Combinations Probability 22 Exercises Discrete Numeric Functions and Generating Functions Discrete Numeric Functions Manipulation of Numeric Functions Definitions of S i a and S i a for a Numeric Function Generating Function Operations on Generating Functions Finding a Generating Function of the Fibonacci Sequence Solution of Combinatorial Problems using Generating Functions 52 Exercises Recurrence Relations Introduction Order of Recurrence Relation Degree of the Recurrence Relation Solution of Linear Recurrence Relation with Constant Co-efficients Solution of Recurrence Relation by the Method of Generating Function Backtracking Method Forward Chaining Method Summation Method 88 Exercises 88 v

5 vi CONTENTS 4. Graphs Introduction What is a Graph? Basic Terminologies Regular Graph Complete Graph Null Graph Bipartite Graph Degree Sequence Graphs Isomorphism Complement of a Simple Graph Homeomorphic Graphs Subgraphs Operations of Graphs Connected Graphs and Disconnected Graphs Walk, Paths and Circuits 115 Exercises Euler and Hamiltonian Graphs Euler Graphs Unicursal Graph Constructing Eulerian Paths and Cycles Hamiltonian Graphs Introduction to Travelling Salesman Problem Chinese Postman Problem 137 Exercises Trees Introduction Trivial and Non-trivial Tree Properties of Trees Rooted Trees Pendant Vertex Distance and Centers in a Tree Binary Trees Counting Tree Spanning Tree Shortest Path Problems Fundamental Circuits 162 Exercises 163

6 CONTENTS vii 7. Cut-sets and Network Flows Cut-sets Fundamental Cut-set Connectivity Separable Graph Network-flow Problems (Transport Network) Ford and Fulkerson Algorithm Cut and Its Capacity Max-flow Min-cut Theorem 181 Exercises Planar and Dual Graphs Introduction Kuratowski s Graphs Region Euler s Formula Some Planar Graphs Detection of Planarity of a Graph Geometric Dual Combinatorial Dual Thickness and Crossing 204 Exercises Vector Spaces of a Graph Introduction Sets with One Operation Modular Arithmetic Galois Fields Vectors Vector Space Vector Space Associated with a Graph Basis Vectors of a Graph Circuit and Cut-set Subspaces Orthogonal Vectors and Spaces 218 Exercises Matrix-representation of Graphs Introduction Incidence Matrix Circuit Matrix Cut-set Matrix 226

7 viii CONTENTS 10.5 Relationship between A f, B f and C f Path Matrix Adjacency Matrix 231 Exercises Coloring of Graphs Graph Coloring Chromatic Number Chromatic Partitioning and Independent Sets Chromatic Polynomial Matching Covering Four Color Problem The Five Color Theorem The Six Color Theorem 262 Exercises Directed Graphs Introduction Directed Graph Types of Digraphs Directed Paths and Connectedness Binary Relations and Directed Graphs Euler Directed Graphs Trees with Directed Edges Arborescence Acyclic Digraphs Fundamental Circuit in Directed Graphs Incidence Matrix of a Digraph Circuit Matrix of a Digraph Adjacency Matrix of a Digraph Orientations and Tournaments 281 Exercises Enumeration of Graphs Types of Enumeration Cayley s Theorem Counting Unlabeled Trees Rooted Unlabeled Trees Free Unlabeled Trees Permutation 289

8 CONTENTS ix 13.7 Polya s Counting Theorem Graph Enumeration with Polya s Theorem 293 Exercises Applications of Graph Theory Introduction Graphs in Computer Science Miscellaneous Applications 300 Exercises 300 Index

9 PREFACE The textbook Introduction to Graph Theory has been designed primarily to meet the requirements of B.E./B.Tech students of all technical colleges affiliated to U.P. Technical University. The book will also be fruitful to the candidates appearing in UGC, NET, GATE and other competitive examinations. All the principles and fundamental concepts have been explained very clearly leaving no scope of illusion and confusion. The language used in this book is simple and lucid in style. No previous knowledge of Graph Theory is required to follow this book. The book has been made as much self-contained as could be possible. Many people have contributed directly or indirectly to the completion of this book. We gratefully acknowledge our indebtedness to various authors and publishers whose books have been freely consulted during the preparation of this book. We specially thank to Mrs. Veena Mathur, Er. Navin P. Mathur, Dr. Manish Sharma, Dr. Ravinder Sing and Dr. Neeraj Saxena, who always encouraged us and gave us constructive suggestions. We are thankful to all of them. We wish to thank our colleagues of the departments of Mathematics and Computer Science for their many helpful corrections, comments and suggestions. Any suggestions for improving the contents would be warmly appreciated. AUTHORS xi

10 1 Chapter ELEMENTARY COMBINATORICS 1.1 INTRODUCTION In our daily life, we often come across the problems of finding the number of ways in which a set of objects may be arranged or selected under certain given condition or conditions. This process is also known as the sophisticated counting or counting without counting. In this process of arranging a set of objects, we are generally concerned with the problems some of which are given below : (i) Seating arrangements (linear or circular). (ii) Arrangements of books on a shelf. (iii) Formation of numbers with given digits. (iv) Arrangements of the letters of a given word, etc. In the process of selection some of the problems are of the following nature : (i) Selection of a team or a committee from a group of persons. (ii) Finding the number of lines passing through a given number of points in the plane, etc. Combinatorics is the study of arrangements of objects and counting of objects with certain properties. Combinatorics is concerned with the study of how to combine, select and partition elements of sets in certain way. Thus, aspects of combinatorics include counting the objects satisfying certain criteria (enumerative combinatorics), deciding when the criteria can be met, and constructing and analyzing objects meeting the criteria, finding largest, smallest, or optimal objects (extremal combinatorics), and finding algebraic structures these objects may have (algebraic combinatorics). 1

11 2 GRAPH THEORY 1.2 BASIC COUNTING PRINCIPLES In this section, we will discuss two basic counting principles and illustrate the use of these counting principles in solving different counting problems Sum Rule (The Principle of Disjunctive Counting) If one action can be performed independently in n 1 different ways and another disjoint action can be performed independently in n 2 different ways, and yet another disjoint action can be performed independently in n 3 different ways, and so on. (the number of actions being finite), then the total number of ways in which either of these actions can be performed is n 1 + n 2 + n In this, it is presumed that only one action can be performed at a time. EXAMPLE 1. How many ways can we get a sum of 8 when two indistinguishable dice are rolled? SOLUTION. We should obtain a sum of 8 by the outcomes (2, 6), (3, 5), (4, 4), (5, 3) and (6, 2) but the dice are similar so the outcomes {(2, 6) and (6, 2)}, and {(3, 5) and (5, 3)} cannot be differentiated. Thus, we obtain the sum of 8 in only 3 ways. EXAMPLE 2. If there are 36 boys and 24 girls in a class, find the number of ways of selecting one student as class representative. SOLUTION. Using sum rule, there are = 60 ways of selecting one student (either a boy or girl) as a class representative. EXAMPLE 3. In how many ways can we draw a heart or a spade from an ordinary deck of cards? SOLUTION. In a deck of cards, there are 13 spades and 13 hearts. So, we may draw a heart in 13 ways and a spade also in 13 ways. Thus, by sum rule, a spade or a heart may be drawn in = 26 ways. EXAMPLE 4. In how many ways can we choose a prime number or an even number between 10 and 20 (excluding both numbers)? SOLUTION. A prime number between 10 and 20 can be chosen in 4 ways i.e., 11, 13, 17 and 19 and an even number between 10 and 20 can be chosen in 4 ways i.e., 12, 14, 16, 18. Thus, by sum rule, a prime or an even number between 10 and 20 can be chosen in = 8 ways. EXAMPLE 5. What is the value of k after the following code has been executed? k 0 for i 1 to n 1 k k + 1 for j 1 to n 2 k k + 1 for m 1 to n 3 k k + 1

12 ELEMENTARY COMBINATORICS 3 SOLUTION. The initial value of k is 0. This block of code is made up of 3 different loops and no. two of these loops can be done at the same time. Each time a loop is traversed, 1 is added to k. The sum rule shows that the final value of k is n 1 + n 2 + n Product rule (The Principle of Sequential Counting) If one action can be performed independently in n 1 different ways, and after it has been done, if a second action can be performed independently in n 2 different ways, and after both have been done, if a third action can be performed independently in n 3 different ways and so on (the number of actions being finite), then the total number of ways in which all the actions can be performed together is : n 1 n 2 n 3... Here we have assumed that each way of performing the first action may be followed by any way of performing the second action, and is then followed by any way of performing the third action and so on. Sum rule is in contrast to the product rule where we consider the sequence of actions occurring together and thereby the number of ways get multiplied. EXAMPLE 6. A coin is tossed four times and the result of each toss is recorded. How many different sequences of heads and tails are possible? SOLUTION. Each tossing of a coin results in either head or tail i.e., there are two possible outcomes for each toss. Thus, by product rule, there are = 2 4 different sequence of heads and tails. EXAMPLE 7. How many different bit strings are there of length 7? SOLUTION. Each of the seven bits can be chosen in two ways since each bit is either 0 or 1. Therefore, the product rule shows there are a total of 2 7 = 128 different bit strings of length seven. EXAMPLE 8. An office building contains 27 floors and has 40 offices on each floor. How many offices are there in the building? SOLUTION. There are 27 ways to choose the floor and 40 ways to choose an office for each of these floor. Thus, by product rule, there are = 1080 offices. EXAMPLE 9. How many 4-digit numbers can be formed using the digits 1, 3, 4, 6, 7 and 8? How many 4-digit numbers can be formed if no digit can be repeated? SOLUTION. The number of digits that can be used to form a 4-digit number is 6. So each of the four digits can be chosen in 6 ways. Therefore, by the product rule, = 6 4 = 1296 four digit numbers can be formed. If the repetition of digits is not allowed, then thousand s place can be filled in 6 ways, hundred s place can be filled in 5 ways, ten s place can be filled in 4 ways and unit s place in 3 ways. Thus, by product rule, = 360 different 4-digit numbers can be formed.

13 4 GRAPH THEORY EXAMPLE 10. How many two-digit or three-digit numbers can be formed using digits 1, 2, 3,5, 7, 9, if no repetition is allowed? SOLUTION. The number of digits which can be used to form the numbers are six. Number of ways in which two-digit numbers can be formed = 6 5 = 30 and the number of ways in which three-digit numbers can be formed = = 120. By sum rule, the number of two-digit or three-digit numbers that can be formed = = 150. EXAMPLE 11. Each user on a computer system has a password, which is 6 to 8 characters long, where each character is an upper case letter or a digit. Each password must contain at least one digit. How many possible passwords are there? SOLUTION. Let P be the total number of passwords. P 1 be the passwords of length 6. P 2 be the passwords of length 7. P 3 be the passwords of length 8. By sum rule P = P 1 + P 2 + P 3 To find P 1, it is easier to find the number of strings of upper case letters and digits that are six characters long and subtract from this the number of strings with no digits. By the product rule, the number of strings of six characters is ( ) 6 = 36 6 and the number of strings with no digits is (26) 6. (26 English letters and 10 digits) Hence P 1 = (36) 6 (26) 6 = 1,867,866,560 Similarly, P 2 = (36) 7 (26) 7 = 70,332,353,920 and P 3 = (36) 8 (26) 8 = 2,612,282,842,880 So, P = P 1 + P 2 + P 3 = 2,684,483,063,360. EXAMPLE 12. How many different license plates are available if each contains a sequence of four letters followed by three of the digits 0 9 (not necessarily distinct)? SOLUTION. There are 26 choices for each of the four letters. So by the product rule, the number of ways in which the four letters can be chosen in = (26) 4 ways and the three digits can be chosen in = (10) 3 ways. Hence, by the product rule, there are total (26) 4 (10) 3 = 456,976,000 different license plates. EXAMPLE 13. What is the value of m after the following code has been executed? m 0 for i 1 1 to n 1

14 ELEMENTARY COMBINATORICS 5 for i 2 1 to n 2 for i 3 1 to n for i m 1 to n m m m + 1 SOLUTION. By product rule, it follows that the rested loop is traversed n 1 n 2... n m times. Hence the final value of m is n 1 n 2... n m. EXAMPLE 14. How many numbers in the range to do not have any repeated digits? SOLUTION. There are nine choices for the first digit from 1 to 9. Once this has been chosen, there remains still 9 choices for the second because now 0 be used. There are now 8 choices for the third digit, seven for the fourth digit and six for the fifth. So there are = possible numbers. EXAMPLE 15. How many even numbers in the range have no repeated digits? SOLUTION. This event can be partitioned into two mutually exclusive cases. Case 1 : The number ends in 0. In this case, there are 9 choices for the first digit (1 9) and then 8 choices for the second (since 0 and the first digit must be excluded). So there are 9 8 = 72 numbers of this type. Case 2 : The number does not end in 0. Now, there are four choices for the final digit (2, 4, 6 and 8) and 8 choices for the first digit (0 and last digit are excluded) and 8 choices for the second digit (the first and last digits are excluded). There are = 256 numbers. By addition rule, there are = 328 even numbers. EXAMPLE 16. Three persons enter into a room, where there are 5 chairs. In how many ways can they take up their chairs? SOLUTION. The first person has a choice of 5 chairs and can sit in any one of those 5 seats. So there are 5 ways. Second person has a choice of 4 seats and the third person has a choice of 3 chairs. Hence the required number of ways = = 60. EXAMPLE 17. Suppose that we draw a card from a deck of 52 cards and replace it before the next draw. In how many ways can 10 cards be drawn so that the tenth card is a repetition of a previous draw? SOLUTION. First we count the number of ways, we can draw 10 cards so that the 10 th card is not a repetition. First choose what the 10 th card will be. This can be done in 52 ways. If the first 9 draws are different from this, then each of the 9 draws can be chosen from 51 cards. Thus, there are (51) 9 ways to draw the first 9 cards different from the 10 th card.

15 6 GRAPH THEORY Hence there are (51) 9 52 ways to choose 10 cards with the 10 th card different from any of the previous 9 draws. There are (52) 10 ways to draw 10 cards with replacements. So, there are (52) 10 [(51) 9 52] ways to draw 10 cards where the 10 th is a repetition. EXAMPLE 18. In how many ways can 10 people be seated in a row so that a certain pair of them are not next to each other? SOLUTION. There are i.e., 10! ways of seating all 10 people. The number of ways of seating the 10 people where the certain pair of people (Say x and y) are seated next to each other. If we treat the pair xy as one entity, then there are 9 total entities. These are arrange in 9! ways. But, x and y can be seated next to each other in 2 different orders i.e., xy and yx. Thus, there are (2) (9!) ways of seating all 10 people where x and y are next to each other. So, the number of ways in which 10 people be seated in a row and certain pair of them are not next to each other is 10! (2)(9!). EXAMPLE 19. Find the number of three digit natural numbers having digits in increasing order from left to right. SOLUTION. First place can be filled by numbers 1, 2, 3,... 7, second place by 2, 3, 4,... 8 and third by 3, 4, 5,... 9 i.e., the number of ways of filling each place is seven but total number of ways is not = 343 because number of ways of filling each place is not independent. Reason behind this is that corresponding to 1 at first place, second place can filled up by anyone of seven digits i.e., 2 to 8 but when we put 2 at first place, the number of ways of filling second place is only six. The rule of product is used only when the number of ways of doing each part is independent. So, the right approach for this problem is that first select three distinct non-zero digits which can be done in 9 C 3 ways then arrange them in increasing order which can be done in only one way. Therefore, the required number of natural numbers are 9 C 3 1 = = 84 9! ! = 3!(9-3)! ! For each positive integer we define n! = n.(n 1)(n 2) = the product of all integers from 1 to n. Also define 0! = 1 Note that 1! = 1 Thus 7! = (We read n! as n factorial ) The relation n! = n[(n 1)!] enables us to compute the values of n! for small n fairly quickly.

16

Elementary Combinatorics

Elementary Combinatorics 184 DISCRETE MATHEMATICAL STRUCTURES 7 Elementary Combinatorics 7.1 INTRODUCTION Combinatorics deals with counting and enumeration of specified objects, patterns or designs. Techniques of counting are

More information

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MH1301 DISCRETE MATHEMATICS. Time Allowed: 2 hours

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MH1301 DISCRETE MATHEMATICS. Time Allowed: 2 hours NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION 206-207 DISCRETE MATHEMATICS May 207 Time Allowed: 2 hours INSTRUCTIONS TO CANDIDATES. This examination paper contains FOUR (4) questions and comprises

More information

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6 CS100: DISCRETE STRUCTURES Lecture 8 Counting - CH6 Lecture Overview 2 6.1 The Basics of Counting: THE PRODUCT RULE THE SUM RULE THE SUBTRACTION RULE THE DIVISION RULE 6.2 The Pigeonhole Principle. 6.3

More information

@CRC Press. Discrete Mathematics. with Ducks. sarah-marie belcastro. let this be your watchword. serious mathematics treated with levity

@CRC Press. Discrete Mathematics. with Ducks. sarah-marie belcastro. let this be your watchword. serious mathematics treated with levity Discrete Mathematics with Ducks sarah-marie belcastro serious mathematics treated with levity let this be your watchword @CRC Press Taylor & Francis Croup Boca Raton London New York CRC Press is an imprint

More information

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1: Block 1 - Sets and Basic Combinatorics Main Topics in Block 1: A short revision of some set theory Sets and subsets. Venn diagrams to represent sets. Describing sets using rules of inclusion. Set operations.

More information

Counting. Chapter 6. With Question/Answer Animations

Counting. Chapter 6. With Question/Answer Animations . All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education. Counting Chapter

More information

Preface for Instructors and Other Teachers 1 About This Book... xvii

Preface for Instructors and Other Teachers 1 About This Book... xvii Preface for Instructors and Other Teachers xvii 1 About This Book.... xvii 2 How tousethis Book...................... xx 2.1 A Start on Discovery-Based Learning..... xxi 2.2 Details of Conducting Group

More information

Topics to be covered

Topics to be covered Basic Counting 1 Topics to be covered Sum rule, product rule, generalized product rule Permutations, combinations Binomial coefficients, combinatorial proof Inclusion-exclusion principle Pigeon Hole Principle

More information

COUNTING TECHNIQUES. Prepared by Engr. JP Timola Reference: Discrete Math by Kenneth H. Rosen

COUNTING TECHNIQUES. Prepared by Engr. JP Timola Reference: Discrete Math by Kenneth H. Rosen COUNTING TECHNIQUES Prepared by Engr. JP Timola Reference: Discrete Math by Kenneth H. Rosen COMBINATORICS the study of arrangements of objects, is an important part of discrete mathematics. Counting Introduction

More information

Chapter 1. Probability

Chapter 1. Probability Chapter 1. Probability 1.1 Basic Concepts Scientific method a. For a given problem, we define measures that explains the problem well. b. Data is collected with observation and the measures are calculated.

More information

HOMEWORK ASSIGNMENT 5

HOMEWORK ASSIGNMENT 5 HOMEWORK ASSIGNMENT 5 MATH 251, WILLIAMS COLLEGE, FALL 2006 Abstract. These are the instructor s solutions. 1. Big Brother The social security number of a person is a sequence of nine digits that are not

More information

Probability and Counting Techniques

Probability and Counting Techniques Probability and Counting Techniques Diana Pell (Multiplication Principle) Suppose that a task consists of t choices performed consecutively. Suppose that choice 1 can be performed in m 1 ways; for each

More information

November 6, Chapter 8: Probability: The Mathematics of Chance

November 6, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 6, 2013 Last Time Crystallographic notation Groups Crystallographic notation The first symbol is always a p, which indicates that the pattern

More information

Chapter 1. Probability

Chapter 1. Probability Chapter 1. Probability 1.1 Basic Concepts Scientific method a. For a given problem, we define measures that explains the problem well. b. Data is collected with observation and the measures are calculated.

More information

Multiple Choice Questions for Review

Multiple Choice Questions for Review Review Questions Multiple Choice Questions for Review 1. Suppose there are 12 students, among whom are three students, M, B, C (a Math Major, a Biology Major, a Computer Science Major. We want to send

More information

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability Preliminary Concepts, Formulas, and Terminology Meanings of Basic Arithmetic Operations in Mathematics Addition: Generally

More information

Honors Precalculus Chapter 9 Summary Basic Combinatorics

Honors Precalculus Chapter 9 Summary Basic Combinatorics Honors Precalculus Chapter 9 Summary Basic Combinatorics A. Factorial: n! means 0! = Why? B. Counting principle: 1. How many different ways can a license plate be formed a) if 7 letters are used and each

More information

Math 365 Wednesday 2/20/19 Section 6.1: Basic counting

Math 365 Wednesday 2/20/19 Section 6.1: Basic counting Math 365 Wednesday 2/20/19 Section 6.1: Basic counting Exercise 19. For each of the following, use some combination of the sum and product rules to find your answer. Give an un-simplified numerical answer

More information

CIS 2033 Lecture 6, Spring 2017

CIS 2033 Lecture 6, Spring 2017 CIS 2033 Lecture 6, Spring 2017 Instructor: David Dobor February 2, 2017 In this lecture, we introduce the basic principle of counting, use it to count subsets, permutations, combinations, and partitions,

More information

1. For which of the following sets does the mean equal the median?

1. For which of the following sets does the mean equal the median? 1. For which of the following sets does the mean equal the median? I. {1, 2, 3, 4, 5} II. {3, 9, 6, 15, 12} III. {13, 7, 1, 11, 9, 19} A. I only B. I and II C. I and III D. I, II, and III E. None of the

More information

Lecture 2: Sum rule, partition method, difference method, bijection method, product rules

Lecture 2: Sum rule, partition method, difference method, bijection method, product rules Lecture 2: Sum rule, partition method, difference method, bijection method, product rules References: Relevant parts of chapter 15 of the Math for CS book. Discrete Structures II (Summer 2018) Rutgers

More information

Mathematics. Programming

Mathematics. Programming Mathematics for the Digital Age and Programming in Python >>> Second Edition: with Python 3 Maria Litvin Phillips Academy, Andover, Massachusetts Gary Litvin Skylight Software, Inc. Skylight Publishing

More information

CPCS 222 Discrete Structures I Counting

CPCS 222 Discrete Structures I Counting King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222 Discrete Structures I Counting Dr. Eng. Farag Elnagahy farahelnagahy@hotmail.com Office Phone: 67967 The Basics of counting

More information

6.1 Basics of counting

6.1 Basics of counting 6.1 Basics of counting CSE2023 Discrete Computational Structures Lecture 17 1 Combinatorics: they study of arrangements of objects Enumeration: the counting of objects with certain properties (an important

More information

On uniquely k-determined permutations

On uniquely k-determined permutations On uniquely k-determined permutations Sergey Avgustinovich and Sergey Kitaev 16th March 2007 Abstract Motivated by a new point of view to study occurrences of consecutive patterns in permutations, we introduce

More information

PERMUTATIONS AND COMBINATIONS

PERMUTATIONS AND COMBINATIONS 8 PERMUTATIONS AND COMBINATIONS FUNDAMENTAL PRINCIPLE OF COUNTING Multiplication Principle : If an operation can be performed in 'm' different ways; following which a second operation can be performed

More information

LEVEL I. 3. In how many ways 4 identical white balls and 6 identical black balls be arranged in a row so that no two white balls are together?

LEVEL I. 3. In how many ways 4 identical white balls and 6 identical black balls be arranged in a row so that no two white balls are together? LEVEL I 1. Three numbers are chosen from 1,, 3..., n. In how many ways can the numbers be chosen such that either maximum of these numbers is s or minimum of these numbers is r (r < s)?. Six candidates

More information

Contents 2.1 Basic Concepts of Probability Methods of Assigning Probabilities Principle of Counting - Permutation and Combination 39

Contents 2.1 Basic Concepts of Probability Methods of Assigning Probabilities Principle of Counting - Permutation and Combination 39 CHAPTER 2 PROBABILITY Contents 2.1 Basic Concepts of Probability 38 2.2 Probability of an Event 39 2.3 Methods of Assigning Probabilities 39 2.4 Principle of Counting - Permutation and Combination 39 2.5

More information

Math 1111 Math Exam Study Guide

Math 1111 Math Exam Study Guide Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the

More information

CS 237: Probability in Computing

CS 237: Probability in Computing CS 237: Probability in Computing Wayne Snyder Computer Science Department Boston University Lecture 5: o Independence reviewed; Bayes' Rule o Counting principles and combinatorics; o Counting considered

More information

2. Combinatorics: the systematic study of counting. The Basic Principle of Counting (BPC)

2. Combinatorics: the systematic study of counting. The Basic Principle of Counting (BPC) 2. Combinatorics: the systematic study of counting The Basic Principle of Counting (BPC) Suppose r experiments will be performed. The 1st has n 1 possible outcomes, for each of these outcomes there are

More information

Reading 14 : Counting

Reading 14 : Counting CS/Math 240: Introduction to Discrete Mathematics Fall 2015 Instructors: Beck Hasti, Gautam Prakriya Reading 14 : Counting In this reading we discuss counting. Often, we are interested in the cardinality

More information

Math 3012 Applied Combinatorics Lecture 2

Math 3012 Applied Combinatorics Lecture 2 August 20, 2015 Math 3012 Applied Combinatorics Lecture 2 William T. Trotter trotter@math.gatech.edu The Road Ahead Alert The next two to three lectures will be an integrated approach to material from

More information

EECS 203 Spring 2016 Lecture 15 Page 1 of 6

EECS 203 Spring 2016 Lecture 15 Page 1 of 6 EECS 203 Spring 2016 Lecture 15 Page 1 of 6 Counting We ve been working on counting for the last two lectures. We re going to continue on counting and probability for about 1.5 more lectures (including

More information

November 8, Chapter 8: Probability: The Mathematics of Chance

November 8, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 8, 2013 Last Time Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Crystallographic notation The first symbol

More information

Finite Math - Fall 2016

Finite Math - Fall 2016 Finite Math - Fall 206 Lecture Notes - /28/206 Section 7.4 - Permutations and Combinations There are often situations in which we have to multiply many consecutive numbers together, for example, in examples

More information

Bibliography. S. Gill Williamson

Bibliography. S. Gill Williamson Bibliography S. Gill Williamson 1. S. G. Williamson, A Combinatorial Property of Finite Sequences with Applications to Tensor Algebra, J. Combinatorial Theory, 1 (1966), pp. 401-410. 2. S. G. Williamson,

More information

7.1 Experiments, Sample Spaces, and Events

7.1 Experiments, Sample Spaces, and Events 7.1 Experiments, Sample Spaces, and Events An experiment is an activity that has observable results. Examples: Tossing a coin, rolling dice, picking marbles out of a jar, etc. The result of an experiment

More information

Mathematical Foundations of Computer Science Lecture Outline August 30, 2018

Mathematical Foundations of Computer Science Lecture Outline August 30, 2018 Mathematical Foundations of omputer Science Lecture Outline ugust 30, 2018 ounting ounting is a part of combinatorics, an area of mathematics which is concerned with the arrangement of objects of a set

More information

Math 1111 Math Exam Study Guide

Math 1111 Math Exam Study Guide Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the

More information

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions) CSE 31: Foundations of Computing II Quiz Section #: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions) Review: Main Theorems and Concepts Binomial Theorem: x, y R, n N: (x + y) n

More information

CISC 1400 Discrete Structures

CISC 1400 Discrete Structures CISC 1400 Discrete Structures Chapter 6 Counting CISC1400 Yanjun Li 1 1 New York Lottery New York Mega-million Jackpot Pick 5 numbers from 1 56, plus a mega ball number from 1 46, you could win biggest

More information

Algebra 2 Notes Section 10.1: Apply the Counting Principle and Permutations

Algebra 2 Notes Section 10.1: Apply the Counting Principle and Permutations Algebra 2 Notes Section 10.1: Apply the Counting Principle and Permutations Objective(s): Vocabulary: I. Fundamental Counting Principle: Two Events: Three or more Events: II. Permutation: (top of p. 684)

More information

Georgia Tech HSMC 2010

Georgia Tech HSMC 2010 Georgia Tech HSMC 2010 Junior Varsity Multiple Choice February 27 th, 2010 1. A box contains nine balls, labeled 1, 2,,..., 9. Suppose four balls are drawn simultaneously. What is the probability that

More information

Chapter 2. Permutations and Combinations

Chapter 2. Permutations and Combinations 2. Permutations and Combinations Chapter 2. Permutations and Combinations In this chapter, we define sets and count the objects in them. Example Let S be the set of students in this classroom today. Find

More information

Staircase Rook Polynomials and Cayley s Game of Mousetrap

Staircase Rook Polynomials and Cayley s Game of Mousetrap Staircase Rook Polynomials and Cayley s Game of Mousetrap Michael Z. Spivey Department of Mathematics and Computer Science University of Puget Sound Tacoma, Washington 98416-1043 USA mspivey@ups.edu Phone:

More information

European Journal of Combinatorics. Staircase rook polynomials and Cayley s game of Mousetrap

European Journal of Combinatorics. Staircase rook polynomials and Cayley s game of Mousetrap European Journal of Combinatorics 30 (2009) 532 539 Contents lists available at ScienceDirect European Journal of Combinatorics journal homepage: www.elsevier.com/locate/ejc Staircase rook polynomials

More information

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 15: Counting

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 15: Counting Discrete Mathematics: Logic Discrete Mathematics: Lecture 15: Counting counting combinatorics: the study of the number of ways to put things together into various combinations basic counting principles

More information

CSCI 2200 Foundations of Computer Science (FoCS) Solutions for Homework 7

CSCI 2200 Foundations of Computer Science (FoCS) Solutions for Homework 7 CSCI 00 Foundations of Computer Science (FoCS) Solutions for Homework 7 Homework Problems. [0 POINTS] Problem.4(e)-(f) [or F7 Problem.7(e)-(f)]: In each case, count. (e) The number of orders in which a

More information

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37 Probability MAT230 Discrete Mathematics Fall 2018 MAT230 (Discrete Math) Probability Fall 2018 1 / 37 Outline 1 Discrete Probability 2 Sum and Product Rules for Probability 3 Expected Value MAT230 (Discrete

More information

Counting and Probability Math 2320

Counting and Probability Math 2320 Counting and Probability Math 2320 For a finite set A, the number of elements of A is denoted by A. We have two important rules for counting. 1. Union rule: Let A and B be two finite sets. Then A B = A

More information

Combinatorics: The Fine Art of Counting

Combinatorics: The Fine Art of Counting Combinatorics: The Fine Art of Counting Week 6 Lecture Notes Discrete Probability Note Binomial coefficients are written horizontally. The symbol ~ is used to mean approximately equal. Introduction and

More information

Week 1. 1 What Is Combinatorics?

Week 1. 1 What Is Combinatorics? 1 What Is Combinatorics? Week 1 The question that what is combinatorics is similar to the question that what is mathematics. If we say that mathematics is about the study of numbers and figures, then combinatorics

More information

Probability Rules. 2) The probability, P, of any event ranges from which of the following?

Probability Rules. 2) The probability, P, of any event ranges from which of the following? Name: WORKSHEET : Date: Answer the following questions. 1) Probability of event E occurring is... P(E) = Number of ways to get E/Total number of outcomes possible in S, the sample space....if. 2) The probability,

More information

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = =

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = = Math 115 Discrete Math Final Exam December 13, 2000 Your name It is important that you show your work. 1. Use the Euclidean algorithm to solve the decanting problem for decanters of sizes 199 and 98. In

More information

Probability Models. Section 6.2

Probability Models. Section 6.2 Probability Models Section 6.2 The Language of Probability What is random? Empirical means that it is based on observation rather than theorizing. Probability describes what happens in MANY trials. Example

More information

CHAPTER 7 Probability

CHAPTER 7 Probability CHAPTER 7 Probability 7.1. Sets A set is a well-defined collection of distinct objects. Welldefined means that we can determine whether an object is an element of a set or not. Distinct means that we can

More information

OBJECT-ORIENTED ANALYSIS AND DESIGN THROUGH UNIFIED MODELING LANGUAGE

OBJECT-ORIENTED ANALYSIS AND DESIGN THROUGH UNIFIED MODELING LANGUAGE OBJECT-ORIENTED ANALYSIS AND DESIGN THROUGH UNIFIED MODELING LANGUAGE OBJECT-ORIENTED ANALYSIS AND DESIGN THROUGH UNIFIED MODELING LANGUAGE By Gandharba Swain M.C.A (UCE, Burla), M. Tech. (CSE) (NIT,

More information

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College Probability The MEnTe Program Math Enrichment through Technology Title V East Los Angeles College 2003 East Los Angeles College. All rights reserved. Topics Introduction Empirical Probability Theoretical

More information

Combinatorics: The Fine Art of Counting

Combinatorics: The Fine Art of Counting Combinatorics: The Fine Art of Counting Lecture Notes Counting 101 Note to improve the readability of these lecture notes, we will assume that multiplication takes precedence over division, i.e. A / B*C

More information

With Question/Answer Animations. Chapter 6

With Question/Answer Animations. Chapter 6 With Question/Answer Animations Chapter 6 Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients and Identities Generalized Permutations and

More information

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG MATH DISCRETE MATHEMATICS INSTRUCTOR: P. WENG Counting and Probability Suggested Problems Basic Counting Skills, Inclusion-Exclusion, and Complement. (a An office building contains 7 floors and has 7 offices

More information

4.1 Sample Spaces and Events

4.1 Sample Spaces and Events 4.1 Sample Spaces and Events An experiment is an activity that has observable results. Examples: Tossing a coin, rolling dice, picking marbles out of a jar, etc. The result of an experiment is called an

More information

2. Nine points are distributed around a circle in such a way that when all ( )

2. Nine points are distributed around a circle in such a way that when all ( ) 1. How many circles in the plane contain at least three of the points (0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 1), (2, 2)? Solution: There are ( ) 9 3 = 8 three element subsets, all

More information

MATH 1324 (Finite Mathematics or Business Math I) Lecture Notes Author / Copyright: Kevin Pinegar

MATH 1324 (Finite Mathematics or Business Math I) Lecture Notes Author / Copyright: Kevin Pinegar MATH 1324 Module 4 Notes: Sets, Counting and Probability 4.2 Basic Counting Techniques: Addition and Multiplication Principles What is probability? In layman s terms it is the act of assigning numerical

More information

Latin Squares for Elementary and Middle Grades

Latin Squares for Elementary and Middle Grades Latin Squares for Elementary and Middle Grades Yul Inn Fun Math Club email: Yul.Inn@FunMathClub.com web: www.funmathclub.com Abstract: A Latin square is a simple combinatorial object that arises in many

More information

PD-SETS FOR CODES RELATED TO FLAG-TRANSITIVE SYMMETRIC DESIGNS. Communicated by Behruz Tayfeh Rezaie. 1. Introduction

PD-SETS FOR CODES RELATED TO FLAG-TRANSITIVE SYMMETRIC DESIGNS. Communicated by Behruz Tayfeh Rezaie. 1. Introduction Transactions on Combinatorics ISSN (print): 2251-8657, ISSN (on-line): 2251-8665 Vol. 7 No. 1 (2018), pp. 37-50. c 2018 University of Isfahan www.combinatorics.ir www.ui.ac.ir PD-SETS FOR CODES RELATED

More information

Compound Probability. Set Theory. Basic Definitions

Compound Probability. Set Theory. Basic Definitions Compound Probability Set Theory A probability measure P is a function that maps subsets of the state space Ω to numbers in the interval [0, 1]. In order to study these functions, we need to know some basic

More information

2009 Philippine Elementary Mathematics International Contest Page 1

2009 Philippine Elementary Mathematics International Contest Page 1 2009 Philippine Elementary Mathematics International Contest Page 1 Individual Contest 1. Find the smallest positive integer whose product after multiplication by 543 ends in 2009. It is obvious that the

More information

Permutation and Combination

Permutation and Combination BANKERSWAY.COM Permutation and Combination Permutation implies arrangement where order of things is important. It includes various patterns like word formation, number formation, circular permutation etc.

More information

Intermediate Math Circles November 1, 2017 Probability I

Intermediate Math Circles November 1, 2017 Probability I Intermediate Math Circles November 1, 2017 Probability I 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.

More information

Arithmetic Sequences Read 8.2 Examples 1-4

Arithmetic Sequences Read 8.2 Examples 1-4 CC Algebra II HW #8 Name Period Row Date Arithmetic Sequences Read 8.2 Examples -4 Section 8.2 In Exercises 3 0, tell whether the sequence is arithmetic. Explain your reasoning. (See Example.) 4. 2, 6,

More information

Chapter 5 - Elementary Probability Theory

Chapter 5 - Elementary Probability Theory Chapter 5 - Elementary Probability Theory Historical Background Much of the early work in probability concerned games and gambling. One of the first to apply probability to matters other than gambling

More information

MAT3707. Tutorial letter 202/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/202/1/2017

MAT3707. Tutorial letter 202/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/202/1/2017 MAT3707/0//07 Tutorial letter 0//07 DISCRETE MATHEMATICS: COMBINATORICS MAT3707 Semester Department of Mathematical Sciences SOLUTIONS TO ASSIGNMENT 0 BARCODE Define tomorrow university of south africa

More information

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability)

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability) MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability) Last modified: November 10, 2004 This follows very closely Apostol, Chapter 13, the course pack. Attachments

More information

Solutions to Problem Set 7

Solutions to Problem Set 7 Massachusetts Institute of Technology 6.4J/8.6J, Fall 5: Mathematics for Computer Science November 9 Prof. Albert R. Meyer and Prof. Ronitt Rubinfeld revised November 3, 5, 3 minutes Solutions to Problem

More information

Math 1313 Section 6.2 Definition of Probability

Math 1313 Section 6.2 Definition of Probability Math 1313 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

More information

CS1802 Week 3: Counting Next Week : QUIZ 1 (30 min)

CS1802 Week 3: Counting Next Week : QUIZ 1 (30 min) CS1802 Discrete Structures Recitation Fall 2018 September 25-26, 2018 CS1802 Week 3: Counting Next Week : QUIZ 1 (30 min) Permutations and Combinations i. Evaluate the following expressions. 1. P(10, 4)

More information

RANDOM EXPERIMENTS AND EVENTS

RANDOM EXPERIMENTS AND EVENTS Random Experiments and Events 18 RANDOM EXPERIMENTS AND EVENTS In day-to-day life we see that before commencement of a cricket match two captains go for a toss. Tossing of a coin is an activity and getting

More information

Chapter 7. Intro to Counting

Chapter 7. Intro to Counting Chapter 7. Intro to Counting 7.7 Counting by complement 7.8 Permutations with repetitions 7.9 Counting multisets 7.10 Assignment problems: Balls in bins 7.11 Inclusion-exclusion principle 7.12 Counting

More information

Permutations and Combinations

Permutations and Combinations Motivating question Permutations and Combinations A) Rosen, Chapter 5.3 B) C) D) Permutations A permutation of a set of distinct objects is an ordered arrangement of these objects. : (1, 3, 2, 4) is a

More information

The Product Rule can be viewed as counting the number of elements in the Cartesian product of the finite sets

The Product Rule can be viewed as counting the number of elements in the Cartesian product of the finite sets Chapter 6 - Counting 6.1 - The Basics of Counting Theorem 1 (The Product Rule). If every task in a set of k tasks must be done, where the first task can be done in n 1 ways, the second in n 2 ways, and

More information

Introduction to Counting and Probability

Introduction to Counting and Probability Randolph High School Math League 2013-2014 Page 1 If chance will have me king, why, chance may crown me. Shakespeare, Macbeth, Act I, Scene 3 1 Introduction Introduction to Counting and Probability Counting

More information

Name: 1. Match the word with the definition (1 point each - no partial credit!)

Name: 1. Match the word with the definition (1 point each - no partial credit!) Chapter 12 Exam Name: Answer the questions in the spaces provided. If you run out of room, show your work on a separate paper clearly numbered and attached to this exam. SHOW ALL YOUR WORK!!! Remember

More information

If a regular six-sided die is rolled, the possible outcomes can be listed as {1, 2, 3, 4, 5, 6} there are 6 outcomes.

If a regular six-sided die is rolled, the possible outcomes can be listed as {1, 2, 3, 4, 5, 6} there are 6 outcomes. Section 11.1: The Counting Principle 1. Combinatorics is the study of counting the different outcomes of some task. For example If a coin is flipped, the side facing upward will be a head or a tail the

More information

PROBABILITY. 1. Introduction. Candidates should able to:

PROBABILITY. 1. Introduction. Candidates should able to: PROBABILITY Candidates should able to: evaluate probabilities in simple cases by means of enumeration of equiprobable elementary events (e.g for the total score when two fair dice are thrown), or by calculation

More information

Solutions for the Practice Final

Solutions for the Practice Final Solutions for the Practice Final 1. Ian and Nai play the game of todo, where at each stage one of them flips a coin and then rolls a die. The person who played gets as many points as the number rolled

More information

Unit 9: Probability Assignments

Unit 9: Probability Assignments Unit 9: Probability Assignments #1: Basic Probability In each of exercises 1 & 2, find the probability that the spinner shown would land on (a) red, (b) yellow, (c) blue. 1. 2. Y B B Y B R Y Y B R 3. Suppose

More information

Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions

Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions CS 70 Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions PRINT Your Name: Oski Bear SIGN Your Name: OS K I PRINT Your Student ID: CIRCLE your exam room: Pimentel

More information

COUNTING AND PROBABILITY

COUNTING AND PROBABILITY CHAPTER 9 COUNTING AND PROBABILITY Copyright Cengage Learning. All rights reserved. SECTION 9.2 Possibility Trees and the Multiplication Rule Copyright Cengage Learning. All rights reserved. Possibility

More information

Developed by Rashmi Kathuria. She can be reached at

Developed by Rashmi Kathuria. She can be reached at Developed by Rashmi Kathuria. She can be reached at . Photocopiable Activity 1: Step by step Topic Nature of task Content coverage Learning objectives Task Duration Arithmetic

More information

Algebra. Recap: Elements of Set Theory.

Algebra. Recap: Elements of Set Theory. January 14, 2018 Arrangements and Derangements. Algebra. Recap: Elements of Set Theory. Arrangements of a subset of distinct objects chosen from a set of distinct objects are permutations [order matters]

More information

Topic : ADDITION OF PROBABILITIES (MUTUALLY EXCLUSIVE EVENTS) TIME : 4 X 45 minutes

Topic : ADDITION OF PROBABILITIES (MUTUALLY EXCLUSIVE EVENTS) TIME : 4 X 45 minutes Worksheet 6 th Topic : ADDITION OF PROBABILITIES (MUTUALLY EXCLUSIVE EVENTS) TIME : 4 X 45 minutes STANDARD COMPETENCY : 1. To use the statistics rules, the rules of counting, and the characteristic of

More information

Published in India by. MRP: Rs Copyright: Takshzila Education Services

Published in India by.   MRP: Rs Copyright: Takshzila Education Services NUMBER SYSTEMS Published in India by www.takshzila.com MRP: Rs. 350 Copyright: Takshzila Education Services All rights reserved. No part of this publication may be reproduced, stored in a retrieval system,

More information

Combinatorics. PIE and Binomial Coefficients. Misha Lavrov. ARML Practice 10/20/2013

Combinatorics. PIE and Binomial Coefficients. Misha Lavrov. ARML Practice 10/20/2013 Combinatorics PIE and Binomial Coefficients Misha Lavrov ARML Practice 10/20/2013 Warm-up Po-Shen Loh, 2013. If the letters of the word DOCUMENT are randomly rearranged, what is the probability that all

More information

MA 524 Midterm Solutions October 16, 2018

MA 524 Midterm Solutions October 16, 2018 MA 524 Midterm Solutions October 16, 2018 1. (a) Let a n be the number of ordered tuples (a, b, c, d) of integers satisfying 0 a < b c < d n. Find a closed formula for a n, as well as its ordinary generating

More information

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events CHAPTER 2 PROBABILITY 2.1 Sample Space A probability model consists of the sample space and the way to assign probabilities. Sample space & sample point The sample space S, is the set of all possible outcomes

More information

Outline. Content The basics of counting The pigeonhole principle Reading Chapter 5 IRIS H.-R. JIANG

Outline. Content The basics of counting The pigeonhole principle Reading Chapter 5 IRIS H.-R. JIANG CHAPTER 5 COUNTING Outline 2 Content The basics of counting The pigeonhole principle Reading Chapter 5 Most of the following slides are by courtesy of Prof. J.-D. Huang and Prof. M.P. Frank Combinatorics

More information

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability Review: Main Theorems and Concepts Binomial Theorem: Principle of Inclusion-Exclusion

More information

Mathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170

Mathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170 2015-2016 Mathematics Competition Practice Session 6 Hagerstown Community College: STEM Club November 20, 2015 12:00 pm - 1:00 pm STC-170 1 Warm-Up (2006 AMC 10B No. 17): Bob and Alice each have a bag

More information