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

Size: px
Start display at page:

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

Transcription

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

2 Divisors Definition n and d are integers d 0 d divides n if there exists q satisfying n = dq q the quotient, d the divisor, n the number If d divides n : d n d does not divides n : d n Ex. 21 = , 3 is a divisor (factor) of 21 There exist an integer q such that n = dq, d, n I +, 1 q Therefore, d dq = n.

3 Theorem Let m, n and d be integers (a) if d m and d n then (b) if d m and d n then d (m + n) d (m n) (c) if d m then d mn proof (a) Suppose d m and d n by definition m = dq 1 and n = dq 2 Thus (m + n) = d(q 1 + q 2 ) Therefor There exist q 1 + q 2 is the quotient of it, (a) is proof

4 Prime and Composite number An integer greater than 1 whose only positive divisors are itself and 1 is called prime. An integer greater than 1 that is not prime is called composite Ex. 23 is prime 34 is composite because it is divided by 17 If n > 1 is composite, then d, 1 < d < n To test use 2,3,, n 1 If no integer in this list divides n, then n is prime

5 Composite number theorem (cont.) A positive integer n greater than 1 is composite if and only if n has a divisor d satisfying 2 d n Proof - If n is composite, then n has a divisor d satisfying 2 d n - If n has a divisor d satisfying 2 d n then n is composite

6 Ex1 Determine whether 43 is prime Try 2,3,, 21 = 43 None of these number divides 43 agree with the condition n mod d = 0 43 is prime Ex2. Determine 451 Try 2,3,, 21 = 451 It was founded that 11 is agree with the condition n mod d = 0 451is composite

7 Fundamental Theorem of Arithmetic Any integer greater than 1 can be written as a product of primes. Moreover, if the primes are written in non decreasing order the factorization is unique. The number of primes is infinite Ex. Produce a prime larger than 11 2,3,5,7,11are primes Let m = = is prime

8 The greatest common divisor (GCD) Definition Let m and n be integers with not both m and n zero. The gdc is an integer that divides both m and n. Denote Ex. The positive divisor of 30 are The positive divisor of 105 are The common positive Thus gdc(m, n) 1, 2, 3, 5, 6, 10, 15, 30 1, 3, 5, 7, 15, 21, 35, 105 1, 3, 5, 15 gdc 30,105 = 15 It can be also find by looking carefully at their prime factorization 30 = 2 3 5, 105 = and 5 are the prime factorization of 30 and 105 thus gdc(30,105) = 3 5 = 15

9 Ex. The positive divisors of 30 are 1, 2, 3, 5, 6, 10, 15, 30 The positive divisors of 105 are 1, 3, 5, 7, 15, 21, 35, 105 The common divisors of 30 and 105 are 1,3,5,15 And gcd 30,105 = 15 Ex2. Find the gcd by looking at their prime factorization 30 = = The common prime factorization for 30 and 105 are 3 and 5 Thus gcd(30,105) = 3 5 = 15

10 GDC with prime factorization Theorem Let m and n be integers, m > 1, n > 1 with prime factorization m = p 1 a 1 p 2 a 2 p n a n and n = p 1 b 1 p 2 b 2 p n b n If the prime p i is not a factor of m, we let a i = 0. Similarly, if the prime p i is not a factor of n, we let b i = 0 Then gcd m, n = p 1 min a 1,b 1 p 2 min a 2,b 2 p n min a n,b n Ex. gcd(82320, ) = = gcd 82320, = 2 min 4,2 3 min 1,1 5 min 1,0 7 min 3,4 11 min 0,1 = = 4116

11 The least common multiple Definition Let m and n be positive integer. A common multiple of m and n is an integer that is divisible by both m and n, called the least common multiple. lcm(m, n) Ex. lcm(30,105) = can be divided by both 30 and 105 and it is the least value 30 = 2.3.5, 105 = The lcm must contain 2, 3, 5, 7 thus lcm 30,105 = = 210 Also find lcm() by looking at their prime factorization 30 = 2 3 5, 105 = lcm 30,105 = = 210

12 LCM wit prime factorization Let m and n be integers m > 1, n > 1 with prime factorizations m = p 1 a 1 p 2 a 2 p n a n and n = p 1 b 1 p 2 b 2 p n b n If the prime p i is not a factor of m, we let a i = 0, Similarly, if the prime p i is not a factor of n, we let b i = 0, then lcm m, n = p 1 max a 1,b 1 p 2 max a 2,b 2 p n max a n,b n Ex. lcm(82320, ) = = lcm 82320, = 2 max 4,2 3 max 1,2 5 max 1,0 7 max 3,4 11 = = Note The product of gcd and lcm is equal to the product of the pair of numbers gcd 30,105 lcm 30,105 = = 3150 = max 0,1

13 Representations of Integers and integer algorithm For base 2 bit : a binary digit, value either 0 or 1 For Decimal number 3854 =

14 Representation of integer let n= integer that need to represent by a serie of binary number n = 1 2 k + b k 1 2 k b then and 2 k n n = 1 2 k + b k 1 2 k b k k = 2 k+1 1 < 2 k+1

15 Counting Methods

16 Basic principle Multiplication principle If an activity can be constructed in 1 successive steps and step 1 can be done in n 1 ways, step 2 can then be done in n 2 ways,, and step t can then be done in n t ways, then the number of different possible activities is n 1 n 2 n t Addition principle Suppose that X 1,, X t are sets and that the ith set X i has n i elements. If {X 1,, X t } is a pairwise disjoint family (i.e., if i j, X i X j = ), the number of possible element that can be selected from X 1 or X 2 or or X t is n 1 + n n t

17 How many menu sets can be select from each categories: main course, appetizers, beverages Solution : 24 possible outcome NHT,NHM,NHC,NHR,NCT,NCM,NCC,NCR, NFT,NFM,NFC,NFR,SHT,SHM,SHC,SHR, SCT,SCM,SCC,SCR,SFT,SFM,SFC,SFR

18 Ex1 (a) How many strings of length 4 can be formed using the letters ABCDE if repetitions are not allowed? = 120 (b) How many strings of part (a) begin with the letter B? = 24 (c) How many strings of part (a) do not begin with the letter B? = 96

19 Ex2 In a digital picture, we wish to encode the amount of light at each point as an eight-bit string. How many values are possible at one point? = 2 8 = 256 How many eight-bit strings begin either 101 or 111? Bit 8,7,6 are tied together to form a bit and has 2 option 101 or 111 The 4 successive bit has the possible outcome 2 4 Thus = 64

20 Permutations and Combinations A permutation of n distinct elements x 1,, x n is an ordering of the n elements x 1 x n Theorem : There are n! permutations of n elements n n = n! Ex. How many permutations of the letters ABCDEF contain substring DEF? 4! Ex. How many ways can 6 person be seated around a circular table? (6 1)! = 5! = 120

21 r-permutation An r-permutation of n (distinct) elements x 1, x 2,, x n is an ordering of an r-element subset of x 1, x 2,, x n. The number of r- permutations of a set of n distinct elements is denoted P n, r P n, r = n n 1 n 2 n r + 1, r n n! = n r! Ex. X = {a, b, c}, How many 2-permutations of X? P 3,2 = 3 2 = 6 ab, ac, ba, bc, ca, cb Ex. How many way can we select a chairperson, vice-chairperson, secretary, and treasurer from a group of 10 person? P 10,4 = = 5040

22 r-combination Given a set X = {x 1, x 2,, x n } containing n distinct elements. (a) an r-combination of X is an unordered selection of r-elements of X(i.e., and r-element subset of X) (b) The number of r-combination of a set of n distinct elements is n denotes C(n, r) or r P n, r n! C n, r = = r! n r! r! Ex. A group of five students, Mary, Boris, Rosa, Ahmad, and Nguyen, has decided to talk with the Mathematics Department chairperson about having the Mathematics Department offer more courses in discrete mathematic. The chairperson has said that she will speak with three of the students. How many way can these five students choose three of their group to talk with chairperson? C 5,3 = 10

23 Ex. How many ways can we select a committee of three from a group of 10 distinct person? C 10,3 = 120 Ex. An ordinary deck of 52 cards consist of four suits: clubs, diamonds, hearts, spades, of 13 denominations each ace, 2-10, jack, queen, king. (a)how many (unordered) five card poker hands, selected from an ordinary 52-card deck, are there? C 52,5 = 2,598,960 (b) How many poker hands contain cards all of the same suit? 4 C 13,5 = 5148 (c)how many poker hands contain three cards of one denomination and two cards of a second denomination? C 4,3 C 4,2 = 3744

24 How many routes are there from the lower-left corner of an n n square grid to the upper-right corner if we are restricted to travelling only to the right or upward? C(2n, n)

25 Introduction to discrete probability The probability P(E) of an event E for the finite sample space S is P E = E S Ex. Two fair dice are rolled. What is the probability that the sum of the numbers on the dice is 10? Possible outcome for the sum is 10 : (4,6),(5,5),(6,4) Outcome of the sample space S = 6 6 Thus P E = 3 36 Ex. 5 microprocessors are randomly selected from a lot of 1000 microprocessors among which 20 are defective. Find the probability of obtaining no defective microprocessors. S = C 1000,5, E = C 980,5 P E =

26 Discrete Probability Theory A probability function P assigns to each out come x in a sample space S a number P(x) so that and 0 P x 1, for all x S P(x) = 1 x S Ex. Suppose that a die is loaded so that the numbers 2 through 6 are equally likely to appear but that 1 is three times as likely as any other number to appear. To model this situation. P 2 = P 3 = P 4 = P 5 = P 6, P 1 = 3P 2 And P 2 = 1 8, P 1 = = 3 8

27 Probability of event Let E be an event. The probability of E, P(E) is P E = P x Ex. From the former example, find the probability of an odd number x E P 1 + P 3 + P 5 = = 5 8 Note : For a fair die P odd number = 1 2

28 Probability of complement of event Let E be an event. The probability of തE, the complement of E satisfies P E + P തE = 1

29 Union of event Let E 1 and E 2 be events. Then P E 1 E 2 = P E 1 + P E 2 P(E 1 E 2 ) Corollary: union of mutual event If E 1 and E 2 are mutually exclusive events P E 1 E 2 = P E 1 + P E 2

30 Conditional probability Let E and F be events, and assume that P F > 0. The conditional probability of E given F is Ex. E = die getting a sum of 10 F = at least one die show 5 P E F = P E F P F E F: getting sum of 10 and at least one die show 5 P E F = 1 36 P F = P E F = 1/11

31 Independent conditional event Events E and F are independent if P E F = P E P(F)

32 Bay s Theorem Suppose that the possible classes are C 1,, C n. Suppose further that each pair of classes is mutually exclusive and each item to be classified belongs to one of the classes. For a feature set F, we have P C j F = P F C j P C j n P F C i P C i σ i=1

33 Ex. At the telemarketing firm SellPhone, Dale, Rusty and Lee make calls. The following table shows the percentage of calls each caller makes and the percentage of the persons who are annoyed and hang up on each caller: Let D denote the event Dale made the call, let R denote the event Rusty made the call. let L denote the event Lee made the call and let H denote the event the caller hung up. Find P(D), Caller Dale Rusty Lee Percent of calls Percent of hang-ups P(R), P(L), P(H D), P(H R), P(H L), P(D H), P(R H), P(L H) and P(H) P(D) = 0.4, P(R) = 0.25), P(L) = 0.35 P(H D) = 0.2, P(H R) = 0.55, P(H L) = 0.3 P(D H) use Bay s Theorem P H D P D P D H = P H D P D + P H R P R + P H L P L = Similar for P R H = P L H = 1 P R H P D H = Find P H = P H D P D + P H R P R + P H L P L =

34 Generalized Permutations and Combinations Theorem: Suppose that a sequence S of n items has n 1 identical objects of type 1, n 2 identical objects of type 2,, and n t identical objects type t. Then the number of orderings of S is n! Theorem: n 1! n 2! n t! If X is a set containing t elements, the number of unordered k-elements selections from X, repetitions allowed is C k + t 1, t 1 = C(k + t 1, k)

35 Ex. How many strings can be formed using the following letters? M I S S I S S P P I Choose 2 P: C(11,2) Choose 4 S: C(9,4) Choose 4 I: C(5,4) The outcome: C 11,2 C 9,4 C 5,4 = 34,650

36 Binomial Coefficients and Combinatorial Identities a + b n = (a + b)(a + b) (a + b) n factors Ex. a + b 3 = a + b a + b a + b = aaa + aab + aba + abb + baa + bab + bba + bbb = a 3 + a 2 b + a 2 b + ab 2 + a 2 b + ab 2 + ab 2 + b 3 = a 3 + 3a 2 b + 3ab 2 + b 3 a + b n = n 0 an b 0 + n 1 an 1 b n n 1 a1 b n 1 + n n a0 b n

37 Binomial theorem Theorem : Ex. n = 3 n a + b n = k=0 n k an k b k a + b 3 = 3 0 a3 b a2 b a1 b a0 b 3 Ex. 3x 2y 4 = a 3 + 3a 2 b + 3ab 2 + b 3 = 4 0 3x 4 2y x 3 2y x 2 2y x 1 2y x 0 2y 4 = 3 4 x x 3 2y x y 2 4 3x2 3 y y 4 = 81x 4 216x 3 y + 216x 2 y 2 96xy y 4

38 Ex. Find the coefficient of x 2 y 3 z 4 in the expansion of x + y + z 9 We choose x 2 from 9 term, y 3 from 7 terms and z from 4 terms Thus = 9! 7! 2! 7! 3! 4! = 9! 2! 3! 4! = 1260

39 Theorem n + 1 k = n k 1 + n k, for 1 k n Proof X = n, choose a X. Then C(n + 1, k) is the number of k-element of Y = X {a}. The k-element of Y can be divided into 2 classes 1. Subset of Y not containing a 2. Subset of Y containing a For class 1 are just k-element subset of X = n k For n class 2 consist of (k-1) element subset of X together with a, there are k 1. Therefore n + 1 k = n k 1 + n k

40 Ex. Show that n C(i, k) = C n + 1, k + 1 i=k Use Theorem in the form C i, k = C i + 1, k + 1 C i, k + 1 To obtain C k, k + C k + 1, k + C k + 2, k + + C n, k = 1 + C k + 2, k + 1 C k + 1, k C k + 3, k + 1 C k + 2, k C n + 1, k + 1 C n, k + 1 = C(n + 1, k + 1)

41 Ex. Find the sum n = C 1,1 + C 2,1 + + C(n, 1) = C n + 1,2 n + 1 n = 2

42 The Pigeonhole principle soon

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

Jong C. Park Computer Science Division, KAIST

Jong C. Park Computer Science Division, KAIST Jong C. Park Computer Science Division, KAIST Today s Topics The Euclidean Algorithm The RSA Public-Key Cryptosystem Discrete Mathematics, 2008 2 Computer Science Division, KAIST Note If r = a mod b, then

More information

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then 1.1 Probabilities Def n: A random experiment is a process that, when performed, results in one and only one of many observations (or outcomes). The sample space S is the set of all elementary outcomes

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

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

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

Combinatorics & Discrete Probability Theory

Combinatorics & Discrete Probability Theory & Discrete Probability Theory CIS008-2 Logic and Foundations of Mathematics David Goodwin david.goodwin@perisic.com 11:00, Tuesday 28 th February 2012 Outline 1 Combinatorics Enumeration Permutations Combinations

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

STP 226 ELEMENTARY STATISTICS

STP 226 ELEMENTARY STATISTICS STP 226 ELEMENTARY STATISTICS CHAPTER 5 Probability Theory - science of uncertainty 5.1 Probability Basics Equal-Likelihood Model Suppose an experiment has N possible outcomes, all equally likely. Then

More information

MATH MW Elementary Probability Course Notes Part I: Models and Counting

MATH MW Elementary Probability Course Notes Part I: Models and Counting MATH 2030 3.00MW Elementary Probability Course Notes Part I: Models and Counting Tom Salisbury salt@yorku.ca York University Winter 2010 Introduction [Jan 5] Probability: the mathematics used for Statistics

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

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability Department of Electrical Engineering University of Arkansas ELEG 3143 Probability & Stochastic Process Ch. 1 Probability Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Applications Elementary Set Theory Random

More information

Probability and Statistics Notes

Probability and Statistics Notes Probability and Statistics Notes Chapter One Jesse Crawford Department of Mathematics Tarleton State University (Tarleton State University) Chapter One Notes 1 / 71 Outline 1 A Sketch of Probability and

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

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1 Topic -2 Probability Larson & Farber, Elementary Statistics: Picturing the World, 3e 1 Probability Experiments Experiment : An experiment is an act that can be repeated under given condition. Rolling a

More information

HW MATH425/525 Lecture Notes 1

HW MATH425/525 Lecture Notes 1 HW MATH425/525 Lecture Notes 1 Definition 4.1 If an experiment can be repeated under the same condition, its outcome cannot be predicted with certainty, and the collection of its every possible outcome

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

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth Sets We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth century. Most students have seen sets before. This is intended

More information

3 The fundamentals: Algorithms, the integers, and matrices

3 The fundamentals: Algorithms, the integers, and matrices 3 The fundamentals: Algorithms, the integers, and matrices 3.4 The integers and division This section introduces the basics of number theory number theory is the part of mathematics involving integers

More information

STA 2023 EXAM-2 Practice Problems. Ven Mudunuru. From Chapters 4, 5, & Partly 6. With SOLUTIONS

STA 2023 EXAM-2 Practice Problems. Ven Mudunuru. From Chapters 4, 5, & Partly 6. With SOLUTIONS STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6 With SOLUTIONS Mudunuru, Venkateswara Rao STA 2023 Spring 2016 1 1. A committee of 5 persons is to be formed from 6 men and 4 women. What

More information

4 Number Theory and Cryptography

4 Number Theory and Cryptography 4 Number Theory and Cryptography 4.1 Divisibility and Modular Arithmetic This section introduces the basics of number theory number theory is the part of mathematics involving integers and their properties.

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

STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6. With SOLUTIONS

STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6. With SOLUTIONS STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6 With SOLUTIONS Mudunuru Venkateswara Rao, Ph.D. STA 2023 Fall 2016 Venkat Mu ALL THE CONTENT IN THESE SOLUTIONS PRESENTED IN BLUE AND BLACK

More information

Probability the chance that an uncertain event will occur (always between 0 and 1)

Probability the chance that an uncertain event will occur (always between 0 and 1) Quantitative Methods 2013 1 Probability as a Numerical Measure of the Likelihood of Occurrence Probability the chance that an uncertain event will occur (always between 0 and 1) Increasing Likelihood of

More information

4. Probability of an event A for equally likely outcomes:

4. Probability of an event A for equally likely outcomes: University of California, Los Angeles Department of Statistics Statistics 110A Instructor: Nicolas Christou Probability Probability: A measure of the chance that something will occur. 1. Random experiment:

More information

3.2 Probability Rules

3.2 Probability Rules 3.2 Probability Rules The idea of probability rests on the fact that chance behavior is predictable in the long run. In the last section, we used simulation to imitate chance behavior. Do we always need

More information

1. Discrete Distributions

1. Discrete Distributions Virtual Laboratories > 2. Distributions > 1 2 3 4 5 6 7 8 1. Discrete Distributions Basic Theory As usual, we start with a random experiment with probability measure P on an underlying sample space Ω.

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

Chapter 3 : Conditional Probability and Independence

Chapter 3 : Conditional Probability and Independence STAT/MATH 394 A - PROBABILITY I UW Autumn Quarter 2016 Néhémy Lim Chapter 3 : Conditional Probability and Independence 1 Conditional Probabilities How should we modify the probability of an event when

More information

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results Euclid s Division Lemma : Given two positive integers a and b, there exist unique integers q and r satisfying a = bq + r, 0 r < b. Euclid s Division

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

= 2 5 Note how we need to be somewhat careful with how we define the total number of outcomes in b) and d). We will return to this later.

= 2 5 Note how we need to be somewhat careful with how we define the total number of outcomes in b) and d). We will return to this later. PROBABILITY MATH CIRCLE (ADVANCED /27/203 The likelyhood of something (usually called an event happening is called the probability. Probability (informal: We can calculate probability using a ratio: want

More information

STAT 516 Answers Homework 2 January 23, 2008 Solutions by Mark Daniel Ward PROBLEMS. = {(a 1, a 2,...) : a i < 6 for all i}

STAT 516 Answers Homework 2 January 23, 2008 Solutions by Mark Daniel Ward PROBLEMS. = {(a 1, a 2,...) : a i < 6 for all i} STAT 56 Answers Homework 2 January 23, 2008 Solutions by Mark Daniel Ward PROBLEMS 2. We note that E n consists of rolls that end in 6, namely, experiments of the form (a, a 2,...,a n, 6 for n and a i

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

MATH 556: PROBABILITY PRIMER

MATH 556: PROBABILITY PRIMER MATH 6: PROBABILITY PRIMER 1 DEFINITIONS, TERMINOLOGY, NOTATION 1.1 EVENTS AND THE SAMPLE SPACE Definition 1.1 An experiment is a one-off or repeatable process or procedure for which (a there is a well-defined

More information

Lecture 2: Probability. Readings: Sections Statistical Inference: drawing conclusions about the population based on a sample

Lecture 2: Probability. Readings: Sections Statistical Inference: drawing conclusions about the population based on a sample Lecture 2: Probability Readings: Sections 5.1-5.3 1 Introduction Statistical Inference: drawing conclusions about the population based on a sample Parameter: a number that describes the population a fixed

More information

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad MAT2377 Ali Karimnezhad Version September 9, 2015 Ali Karimnezhad Comments These slides cover material from Chapter 1. In class, I may use a blackboard. I recommend reading these slides before you come

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

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

The Theory behind PageRank

The Theory behind PageRank The Theory behind PageRank Mauro Sozio Telecom ParisTech May 21, 2014 Mauro Sozio (LTCI TPT) The Theory behind PageRank May 21, 2014 1 / 19 A Crash Course on Discrete Probability Events and Probability

More information

Chapter 1 : The language of mathematics.

Chapter 1 : The language of mathematics. MAT 200, Logic, Language and Proof, Fall 2015 Summary Chapter 1 : The language of mathematics. Definition. A proposition is a sentence which is either true or false. Truth table for the connective or :

More information

COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences. Revision: 1.3

COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences. Revision: 1.3 1 COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences Revision: 1.3 2 Notation for Numbers Definition Integers Z = {... 2, 1, 0, 1, 2,...} Reals R. : R Z floor of x, the greatest integer

More information

1 What is the area model for multiplication?

1 What is the area model for multiplication? for multiplication represents a lovely way to view the distribution property the real number exhibit. This property is the link between addition and multiplication. 1 1 What is the area model for multiplication?

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

CS 441 Discrete Mathematics for CS Lecture 19. Probabilities. CS 441 Discrete mathematics for CS. Probabilities

CS 441 Discrete Mathematics for CS Lecture 19. Probabilities. CS 441 Discrete mathematics for CS. Probabilities CS 441 Discrete Mathematics for CS Lecture 19 Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Experiment: a procedure that yields one of the possible outcomes Sample space: a set of possible outcomes

More information

Math 3201 Unit 1 Set Theory

Math 3201 Unit 1 Set Theory Math 3201 Unit 1 Set Theory Overview In this unit, we will organize information into. We will use diagrams to illustrate between sets and subsets and use to describe sets. We will determine the in each

More information

1 Alphabets and Languages

1 Alphabets and Languages 1 Alphabets and Languages Look at handout 1 (inference rules for sets) and use the rules on some examples like {a} {{a}} {a} {a, b}, {a} {{a}}, {a} {{a}}, {a} {a, b}, a {{a}}, a {a, b}, a {{a}}, a {a,

More information

Lecture 6: The Pigeonhole Principle and Probability Spaces

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

More information

Intro to Probability Day 4 (Compound events & their probabilities)

Intro to Probability Day 4 (Compound events & their probabilities) Intro to Probability Day 4 (Compound events & their probabilities) Compound Events Let A, and B be two event. Then we can define 3 new events as follows: 1) A or B (also A B ) is the list of all outcomes

More information

CSC Discrete Math I, Spring Discrete Probability

CSC Discrete Math I, Spring Discrete Probability CSC 125 - Discrete Math I, Spring 2017 Discrete Probability Probability of an Event Pierre-Simon Laplace s classical theory of probability: Definition of terms: An experiment is a procedure that yields

More information

PROBABILITY.

PROBABILITY. PROBABILITY PROBABILITY(Basic Terminology) Random Experiment: If in each trial of an experiment conducted under identical conditions, the outcome is not unique, but may be any one of the possible outcomes,

More information

God doesn t play dice. - Albert Einstein

God doesn t play dice. - Albert Einstein ECE 450 Lecture 1 God doesn t play dice. - Albert Einstein As far as the laws of mathematics refer to reality, they are not certain; as far as they are certain, they do not refer to reality. Lecture Overview

More information

Week 2: Probability: Counting, Sets, and Bayes

Week 2: Probability: Counting, Sets, and Bayes Statistical Methods APPM 4570/5570, STAT 4000/5000 21 Probability Introduction to EDA Week 2: Probability: Counting, Sets, and Bayes Random variable Random variable is a measurable quantity whose outcome

More information

PROBABILITY VITTORIA SILVESTRI

PROBABILITY VITTORIA SILVESTRI PROBABILITY VITTORIA SILVESTRI Contents Preface. Introduction 2 2. Combinatorial analysis 5 3. Stirling s formula 8 4. Properties of Probability measures Preface These lecture notes are for the course

More information

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability What is Probability? the chance of an event occuring eg 1classical probability 2empirical probability 3subjective probability Section 2 - Probability (1) Probability - Terminology random (probability)

More information

Properties of Probability

Properties of Probability Econ 325 Notes on Probability 1 By Hiro Kasahara Properties of Probability In statistics, we consider random experiments, experiments for which the outcome is random, i.e., cannot be predicted with certainty.

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

STAT 430/510 Probability

STAT 430/510 Probability STAT 430/510 Probability Hui Nie Lecture 3 May 28th, 2009 Review We have discussed counting techniques in Chapter 1. Introduce the concept of the probability of an event. Compute probabilities in certain

More information

Probability and distributions. Francesco Corona

Probability and distributions. Francesco Corona Probability Probability and distributions Francesco Corona Department of Computer Science Federal University of Ceará, Fortaleza Probability Many kinds of studies can be characterised as (repeated) experiments

More information

Mathematical Probability

Mathematical Probability Mathematical Probability STA 281 Fall 2011 1 Introduction Engineers and scientists are always exposed to data, both in their professional capacities and in everyday activities. The discipline of statistics

More information

Axioms of Probability

Axioms of Probability Sample Space (denoted by S) The set of all possible outcomes of a random experiment is called the Sample Space of the experiment, and is denoted by S. Example 1.10 If the experiment consists of tossing

More information

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3)

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3) 1 Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3) On this exam, questions may come from any of the following topic areas: - Union and intersection of sets - Complement of

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

Chapter 2 - Relations

Chapter 2 - Relations Chapter 2 - Relations Chapter 2: Relations We could use up two Eternities in learning all that is to be learned about our own world and the thousands of nations that have arisen and flourished and vanished

More information

Topics in Combinatorics

Topics in Combinatorics Chapter 4 Topics in Combinatorics Combinatorics deals with discrete structures that are governed by certain patterns with regard to the way these structures are arranged. Terms like permutation, ordering,

More information

Statistics 1L03 - Midterm #2 Review

Statistics 1L03 - Midterm #2 Review Statistics 1L03 - Midterm # Review Atinder Bharaj Made with L A TEX October, 01 Introduction As many of you will soon find out, I will not be holding the next midterm review. To make it a bit easier on

More information

Introduction and basic definitions

Introduction and basic definitions Chapter 1 Introduction and basic definitions 1.1 Sample space, events, elementary probability Exercise 1.1 Prove that P( ) = 0. Solution of Exercise 1.1 : Events S (where S is the sample space) and are

More information

STAT 516: Basic Probability and its Applications

STAT 516: Basic Probability and its Applications Lecture 3: Conditional Probability and Independence Prof. Michael September 29, 2015 Motivating Example Experiment ξ consists of rolling a fair die twice; A = { the first roll is 6 } amd B = { the sum

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

Do in calculator, too.

Do in calculator, too. You do Do in calculator, too. Sequence formulas that give you the exact definition of a term are explicit formulas. Formula: a n = 5n Explicit, every term is defined by this formula. Recursive formulas

More information

Intermediate Math Circles November 8, 2017 Probability II

Intermediate Math Circles November 8, 2017 Probability II Intersection of Events and Independence Consider two groups of pairs of events Intermediate Math Circles November 8, 017 Probability II Group 1 (Dependent Events) A = {a sales associate has training} B

More information

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2000 2013 Contents 9 Introduction to Number Theory 63 9.1 Subgroups

More information

LECTURE NOTES by DR. J.S.V.R. KRISHNA PRASAD

LECTURE NOTES by DR. J.S.V.R. KRISHNA PRASAD .0 Introduction: The theory of probability has its origin in the games of chance related to gambling such as tossing of a coin, throwing of a die, drawing cards from a pack of cards etc. Jerame Cardon,

More information

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6)

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6) Section 7.3: Compound Events Because we are using the framework of set theory to analyze probability, we can use unions, intersections and complements to break complex events into compositions of events

More information

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E. Compound Events Because we are using the framework of set theory to analyze probability, we can use unions, intersections and complements to break complex events into compositions of events for which it

More information

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head}

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head} Chapter 7 Notes 1 (c) Epstein, 2013 CHAPTER 7: PROBABILITY 7.1: Experiments, Sample Spaces and Events Chapter 7 Notes 2 (c) Epstein, 2013 What is the sample space for flipping a fair coin three times?

More information

Algebra, Functions, and Data Analysis Vocabulary Cards

Algebra, Functions, and Data Analysis Vocabulary Cards Algebra, Functions, and Data Analysis Vocabulary Cards Table of Contents Expressions and Operations Natural Numbers Whole Numbers Integers Rational Numbers Irrational Numbers Real Numbers Complex Numbers

More information

Set/deck of playing cards. Spades Hearts Diamonds Clubs

Set/deck of playing cards. Spades Hearts Diamonds Clubs TC Mathematics S2 Coins Die dice Tale Head Set/deck of playing cards Spades Hearts Diamonds Clubs TC Mathematics S2 PROBABILITIES : intuitive? Experiment tossing a coin Event it s a head Probability 1/2

More information

Discrete Mathematics and Probability Theory Fall 2011 Rao Midterm 2 Solutions

Discrete Mathematics and Probability Theory Fall 2011 Rao Midterm 2 Solutions CS 70 Discrete Mathematics and Probability Theory Fall 20 Rao Midterm 2 Solutions True/False. [24 pts] Circle one of the provided answers please! No negative points will be assigned for incorrect answers.

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

Discrete Mathematics with Applications MATH236

Discrete Mathematics with Applications MATH236 Discrete Mathematics with Applications MATH236 Dr. Hung P. Tong-Viet School of Mathematics, Statistics and Computer Science University of KwaZulu-Natal Pietermaritzburg Campus Semester 1, 2013 Tong-Viet

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

4.4-Multiplication Rule: Basics

4.4-Multiplication Rule: Basics .-Multiplication Rule: Basics The basic multiplication rule is used for finding P (A and, that is, the probability that event A occurs in a first trial and event B occurs in a second trial. If the outcome

More information

PROBABILITY. Contents Preface 1 1. Introduction 2 2. Combinatorial analysis 5 3. Stirling s formula 8. Preface

PROBABILITY. Contents Preface 1 1. Introduction 2 2. Combinatorial analysis 5 3. Stirling s formula 8. Preface PROBABILITY VITTORIA SILVESTRI Contents Preface. Introduction. Combinatorial analysis 5 3. Stirling s formula 8 Preface These lecture notes are for the course Probability IA, given in Lent 09 at the University

More information

STOR Lecture 4. Axioms of Probability - II

STOR Lecture 4. Axioms of Probability - II STOR 435.001 Lecture 4 Axioms of Probability - II Jan Hannig UNC Chapel Hill 1 / 23 How can we introduce and think of probabilities of events? Natural to think: repeat the experiment n times under same

More information

2030 LECTURES. R. Craigen. Inclusion/Exclusion and Relations

2030 LECTURES. R. Craigen. Inclusion/Exclusion and Relations 2030 LECTURES R. Craigen Inclusion/Exclusion and Relations The Principle of Inclusion-Exclusion 7 ROS enumerates the union of disjoint sets. What if sets overlap? Some 17 out of 30 students in a class

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

Probability Theory. Introduction to Probability Theory. Principles of Counting Examples. Principles of Counting. Probability spaces.

Probability Theory. Introduction to Probability Theory. Principles of Counting Examples. Principles of Counting. Probability spaces. Probability Theory To start out the course, we need to know something about statistics and probability Introduction to Probability Theory L645 Advanced NLP Autumn 2009 This is only an introduction; for

More information

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM Topic Concepts Degree of Importance References NCERT Book Vol. II Probability (i) Conditional Probability *** Article 1.2 and 1.2.1 Solved Examples 1 to 6 Q. Nos

More information

Week Some Warm-up Questions

Week Some Warm-up Questions 1 Some Warm-up Questions Week 1-2 Abstraction: The process going from specific cases to general problem. Proof: A sequence of arguments to show certain conclusion to be true. If... then... : The part after

More information

UNIT 5 ~ Probability: What Are the Chances? 1

UNIT 5 ~ Probability: What Are the Chances? 1 UNIT 5 ~ Probability: What Are the Chances? 1 6.1: Simulation Simulation: The of chance behavior, based on a that accurately reflects the phenomenon under consideration. (ex 1) Suppose we are interested

More information

Intro to Probability Day 3 (Compound events & their probabilities)

Intro to Probability Day 3 (Compound events & their probabilities) Intro to Probability Day 3 (Compound events & their probabilities) Compound Events Let A, and B be two event. Then we can define 3 new events as follows: 1) A or B (also A B ) is the list of all outcomes

More information

Probability Year 10. Terminology

Probability Year 10. Terminology Probability Year 10 Terminology Probability measures the chance something happens. Formally, we say it measures how likely is the outcome of an event. We write P(result) as a shorthand. An event is some

More information

March 5, Solution: D. The event happens precisely when the number 2 is one of the primes selected. This occurs with probability ( (

March 5, Solution: D. The event happens precisely when the number 2 is one of the primes selected. This occurs with probability ( ( March 5, 2007 1. We randomly select 4 prime numbers without replacement from the first 10 prime numbers. What is the probability that the sum of the four selected numbers is odd? (A) 0.21 (B) 0.30 (C)

More information

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch Monty Hall Puzzle Example: You are asked to select one of the three doors to open. There is a large prize behind one of the doors and if you select that door, you win the prize. After you select a door,

More information

Solution Set for Homework #1

Solution Set for Homework #1 CS 683 Spring 07 Learning, Games, and Electronic Markets Solution Set for Homework #1 1. Suppose x and y are real numbers and x > y. Prove that e x > ex e y x y > e y. Solution: Let f(s = e s. By the mean

More information

an event with one outcome is called a simple event.

an event with one outcome is called a simple event. Ch5Probability Probability is a measure of the likelihood of a random phenomenon or chance behavior. Probability describes the long-term proportion with which a certain outcome will occur in situations

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

Probability Theory Review

Probability Theory Review Cogsci 118A: Natural Computation I Lecture 2 (01/07/10) Lecturer: Angela Yu Probability Theory Review Scribe: Joseph Schilz Lecture Summary 1. Set theory: terms and operators In this section, we provide

More information

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