MATH 3C: MIDTERM 1 REVIEW. 1. Counting

Similar documents
MAT Mathematics in Today's World

Random Variables. Statistics 110. Summer Copyright c 2006 by Mark E. Irwin

Conditional Probability

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

Example 1. The sample space of an experiment where we flip a pair of coins is denoted by:

Lecture 8: Conditional probability I: definition, independence, the tree method, sampling, chain rule for independent events

Statistics 100A Homework 1 Solutions

the time it takes until a radioactive substance undergoes a decay

Math 1313 Experiments, Events and Sample Spaces

P (A B) P ((B C) A) P (B A) = P (B A) + P (C A) P (A) = P (B A) + P (C A) = Q(A) + Q(B).

STA Module 4 Probability Concepts. Rev.F08 1

12 1 = = 1

Class 26: review for final exam 18.05, Spring 2014

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

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

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

Probabilistic models

CHAPTER 3 PROBABILITY TOPICS

1 The Basic Counting Principles

Random Variables Example:

Name: Firas Rassoul-Agha

Formalizing Probability. Choosing the Sample Space. Probability Measures

Probability (Devore Chapter Two)

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

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

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

Steve Smith Tuition: Maths Notes

= 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, For the Enthusiastic Beginner (Exercises, Version 1, September 2016) David Morin,

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ).

Intermediate Math Circles November 8, 2017 Probability II

Discrete Random Variables. Discrete Random Variables

Lecture 1. ABC of Probability

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

MA : Introductory Probability

Name: 180A MIDTERM 2. (x + n)/2

Lecture 2. Binomial and Poisson Probability Distributions

ECE353: Probability and Random Processes. Lecture 3 - Independence and Sequential Experiments

Senior Math Circles November 19, 2008 Probability II

PRACTICE PROBLEMS FOR EXAM 1

Lecture 2 Binomial and Poisson Probability Distributions

CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 7 Probability. Outline. Terminology and background. Arthur G.

Properties of Probability

Probabilistic models

Chapter 7: Section 7-1 Probability Theory and Counting Principles

Chapter 3 : Conditional Probability and Independence

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

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

Grades 7 & 8, Math Circles 24/25/26 October, Probability

CS 361: Probability & Statistics

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

Essential Learning Outcomes for Algebra 2

P (A) = P (B) = P (C) = P (D) =

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad

Business Statistics. Lecture 3: Random Variables and the Normal Distribution

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

Elementary Discrete Probability

Math 416 Lecture 3. The average or mean or expected value of x 1, x 2, x 3,..., x n is

Year 10 Mathematics Probability Practice Test 1

Introduction to discrete probability. The rules Sample space (finite except for one example)

Independence. P(A) = P(B) = 3 6 = 1 2, and P(C) = 4 6 = 2 3.

Chapter 5, 6 and 7: Review Questions: STAT/MATH Consider the experiment of rolling a fair die twice. Find the indicated probabilities.

Intro to Stats Lecture 11

Probability Notes. Definitions: The probability of an event is the likelihood of choosing an outcome from that event.

Fundamentals of Probability CE 311S

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 12. Random Variables: Distribution and Expectation

IE 4521 Midterm #1. Prof. John Gunnar Carlsson. March 2, 2010

Conditional Probability & Independence. Conditional Probabilities

Lecture 6 - Random Variables and Parameterized Sample Spaces

Lecture 6. Statistical Processes. Irreversibility. Counting and Probability. Microstates and Macrostates. The Meaning of Equilibrium Ω(m) 9 spins

Probability Long-Term Memory Review Review 1

Chapter 6: Probability The Study of Randomness

What does independence look like?

University of California, Berkeley, Statistics 134: Concepts of Probability. Michael Lugo, Spring Exam 1

k P (X = k)

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 16. Random Variables: Distribution and Expectation

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

MATH STUDENT BOOK. 12th Grade Unit 9

2. AXIOMATIC PROBABILITY

Probability. VCE Maths Methods - Unit 2 - Probability

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

Probability: Sets, Sample Spaces, Events

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

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

A brief review of basics of probabilities

3.2 Probability Rules

Probability- describes the pattern of chance outcomes

Probabilistic Systems Analysis Spring 2018 Lecture 6. Random Variables: Probability Mass Function and Expectation

MATH 10 INTRODUCTORY STATISTICS

Math 111, Math & Society. Probability

Term Definition Example Random Phenomena

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

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

PRACTICE PROBLEMS FOR EXAM 2

Lecture notes for probability. Math 124

Algebra I Notes Unit Thirteen: Rational Expressions and Equations

Basic Probability. Introduction

Transcription:

MATH 3C: MIDTERM REVIEW JOE HUGHES. Counting. Imagine that a sports betting pool is run in the following way: there are 20 teams, 2 weeks, and each week you pick a team to win. However, you can t pick the same team twice. How many different ways can you make your picks? Solution: Think of your picks as a sequence of length 2. There are 20 choices for the first entry, 9 choices for the second entry, and so on. So the number of ways you can pick the teams is 20! P (20, 2) = = 20 9 8 9 (20 2)! 2. How many words can be formed from the word beginning? Solution: If all the letters are distinct, then the number of permutations of a 9-letter word is simply 9!. But not all the letters are distinct, so we must divide by the number of ways to permute the repeated letters. So the number of words is 9! 2!2!3! 3. You plan to go on a 20-mile walk, which will include 5 northward miles, 5 southward miles, 5 westward miles, and 5 eastward miles. How many such walks are possible? Solution: Think of a walk as a word of length 20, each letter being one of N, S, E, W. There must be 5 of each of the letters, so the number of walks is 20! (5!) 4 2. Probability with equally likely outcomes. Suppose that you roll 3 fair dice. What is the probability that exactly two of the numbers are the same? Solution: View the result of rolling the dice as a three element sequence (r, r 2, r 3 ) with r i 6. So the sample space has 6 3 = 26 elements.

MATH 3C: MIDTERM REVIEW 2 Let E be the event that exactly two of the dice match. In terms of sequences, E is the set of sequences (r, r 2, r 3 ) for which exactly two of the r i are equal. To determine the size of E, we must first choose the two entries which are the same. There are ( 3 2) = 3 ways to do so. Then there are 6 choices for the value of the equal entries, and 5 choices for the remaining entry. So E = 3 6 5 = 90. Thus the probability is E Ω = 90 26 = 5 36 = 5 2 2. There are 00 students in a class. 50 of them are biology majors, 40 are chemistry majors, and 30 are psychology majors. 0 of the students are double majoring in biology and chemistry, 0 are double majoring in biology and psychology, and 0 are double majoring in chemistry and psychology. Finally, 5 students are majoring in all three subjects. What is the probability that a randomly selected student is not majoring in any of biology, chemistry, or psychology? Solution: Let B be the set of biology majors, C the set of chemistry majors, and P the set of psychology majors. We want to determine the size of the set B C P. Simply adding up the sizes of the sets gives B + C + P = 50 + 40 + 30 = 20. But this over-counts all the students majoring in more than one subject. So subtract the sizes of the pairwise intersections: B + C + P B C B P C P = 20 30 = 90 But now we haven t counted the triple majors at all: they ve been counted three times and then subtracted three times. So add in the triple intersection to get B C P = 20 30 + 5 = 95 So the probability that a randomly selected student will not be in B C P is 00 95 00 = 5 00 = 20 3. Conditional Probability and Independence. Imagine that you roll two fair dice. Find the probability that the first die is a 2, given that the maximum of the two dice is a 4. Solution: Let A be the event that the first die is a 2, and B the event that the maximum of the two dice is a 4. We want to compute P (A B). By definition, P (A B) = P (A B) P (B). A B consists of the single event (2, 4), so P (A B) = And B is the event so P (B) = 7 36. Therefore P (A B) = 7. {(, 4), (2, 4), (3, 4), (4, 4), (4, 3), (4, 2), (4, )} 36.

MATH 3C: MIDTERM REVIEW 3 2. (Simpson s paradox) Consider two baseball players. Player A has a higher batting average than player B in each of years and 2. If the two years are combined, does it follow that player A has a higher batting average overall? Solution: No. Suppose that player A has 00 at bats in year, and gets a hit in 20 of them. And player B has 0 at bats in year, and gets a hit in of them. In year 2, suppose that player A has 0 at bats, and gets a hit in 5 of them. Player B has 00 at bats, and gets a hit in 34 of them. Then player A has a better batting average than player B in both years. However, when the years are combined, player A has 25 hits in 0 at bats, and player B has 35 hits in 0 at bats. As an aside, this happened to Derek Jeter and David Justice in 995 and 996. The thing to remember is that this paradox shows that P (A B C) P (A B) + P (A C). 3. i. Find an example of a sample space Ω and two events A and B which are disjoint but not independent. Solution: Let Ω = {H, T } be the sample space corresponding to flipping a fair coin once. Let A = {H} and B = {T }. Then A B =, so A and B are disjoint. But P (A B) = 0 4 = P (A)P (B), so A and B are not independent. ii. Find an example of a sample space Ω and two events A, B which are independent but not disjoint. Solution: Let Ω be the sample space corresponding to flipping a fair coin twice. Let A be the event that the first flip is heads, and B the event that the second flip is heads. Then A and B are not disjoint since they both contain (H, H). But A and B are independent: P (A) = 2 = P (B), and P (A B) = 4. So the conclusion to draw from this problem is that independence and disjointness are very different notions. 4. Suppose that you flip two fair coins. Let A be the event that the coins match, and B the event that the first coin is heads. Are A and B independent? Solution: P (A) = 2, P (B) = 2, and P (A B) = 4, so yes. 5. Suppose that you have two weighted coins, which are heads with probability p. You play the following game with a friend: before your friend flips the coins, you guess whether they will match (i.e. both be heads or tails) or not. Is it better to guess that the coins will match or that they won t? Solution: Using a tree diagram, we see that the two coins are both heads with probability p 2, and are both tails with probability ( p) 2, so they match with probability p 2 + ( p) 2.

MATH 3C: MIDTERM REVIEW 4 Let P be the probability that you win by guessing that the coins match, viewed as a function of p for 0 p. Thus and P (p) = p 2 + ( p) 2 = p 2 + 2p + p 2 = 2p 2 2p + P (p) = 4p 2 which has a critical point at p = 2. And P = 4 is positive, so p = 2 is a minimum. Since ( P = 2) 2 4 + = 2 it follows that P (p) 2 match. for all p. So you are better off guessing that the coins will 4. Random Variables. Consider the functions F (x), F 2 (X), F 3 (X) defined on the real numbers as follows: F (x) = 0 x < 0 2 0 x < 4 x < 2 x 2 2 x < 0 3 F 2 (x) = 4 0 x < 0 x 0 F 3 (x) = { 0 x < 2 x 2 Which (if any) of these functions is the cumulative distribution function of a discrete random variable? Solution: The cumulative distribution function of a discrete random variable X is the function F (x) = P (X x). Such a function must be non-decreasing, which rules out F (x). We must also have lim F (x) = 0 x lim F (x) = x which rules out F 2 (x). And F 3 (x) is the cumulative distribution function of a random variable X with probability mass function P (X = x) = 0 for x 2 and P (X = 2) =. 2. Consider the cumulative distribution function defined as follows: 0 x < 0 F (x) = 2 0 x < 3 4 x < 2 x 2 Find the corresponding probability mass function. Solution: To determine the probability mass function, locate the points of discontinuity of the distribution function F and subtract the left-hand limit from the right-hand limit.

MATH 3C: MIDTERM REVIEW 5 Writing F (x+) for the right-hand limit at x and F (x ) for the left-hand limit, we obtain P (X = 0) = F (0+) F (0 ) = 2, P (X = ) = F (+) F ( ) = 3 4 2 = 4, and F (2+) F (2 ) = 3 4 = 4. Note that P (X = x) = P (X = 0) + P (X = ) + P (X = 2) = 2 + 4 + 4 = x Intuitively, this means that the sum of the jumps of F is.