Continued

WARNING

I was absent for this lecture.

Probability & Statistics Lecture 3

Bayes’ Theorem

Bayes’ Theorem allows us to calculate conditional probabilities. It relates the conditional probability (the probability of event occurring given event ) to the reverse conditional probability , and it can be expressed as:

Explanation:

  • is the probability that event occurs given that event has occurred.
  • is the joint probability that both events and occur.
  • is the total probability that event occurs.
  • is the prior probability of event .
  • is the likelihood, or the conditional probability of given .

This formula allows us to update our beliefs about the probability of based on the new evidence .

Extended Form:

If there are multiple events , then Bayes’ Theorem can be generalized as:

In this case, we consider all possible events and compute the sum of their contributions to the evidence .

Link to original

Baye’s Theorem

When we are calculating a conditional probability


Questions

Question 1

A box contains 4 bad and 6 good tubes. Two are drawn out from the box at a time. One of them is tested and found to be good. What is the probability that the other one is also good?

Solution:

Let = one of the tubes drawn is good and
= the other tube is good.

The probability that both tubes drawn are good is:

Knowing that one tube is good, the conditional probability that the other tube is also good is:


Question 2

Q.02 Two fair dice are thrown independently. Three events , , and are defined as follows:

(i) odd face with the first die, (ii) odd face with the second die, (iii) sum of the numbers on the two dice is odd.
Are the events , , and mutually independent?

Solution:

The probabilities are:

The outcomes favorable to the event are:

Thus,

Next, let’s find the intersection probabilities:

Since , we know that:

However, we find:

Since , the events , , and are pairwise independent but not mutually independent.


Question 3

Q.02 Two fair dice are thrown independently. Three events , , and are defined as follows:

  • (i) Odd face with the first die.
  • (ii) Odd face with the second die.
  • (iii) The sum of the numbers on the two dice is odd.

Are the events , , and mutually independent?

Solution:

The probabilities for each event are:

The outcomes favorable to the event (the sum of the numbers on the two dice is odd) are: Thus,

Next, let’s find the intersection probabilities:

Since , we know that:

However, we find:

Since , the events , , and are .


Question

Q.03 From 6 positive and 8 negative numbers, 4 numbers are chosen at random (without replacement) and multiplied. What is the probability that the product is positive?

Solution:

To ensure that the product is positive, we need to consider the following possibilities:

  • All 4 numbers must be positive.
  • All 4 numbers must be negative.
  • Two numbers must be positive, and the other two must be negative (since multiplying an even number of negative numbers results in a positive product).

Step 1: Calculate the Number of Ways for Each Case

  1. All 4 numbers are positive:

    The number of ways to choose 4 positive numbers from the 6 positive numbers is given by the combination formula:

  2. All 4 numbers are negative:

    The number of ways to choose 4 negative numbers from the 8 negative numbers is:

  3. Two numbers are positive, and two numbers are negative:

    The number of ways to choose 2 positive and 2 negative numbers is the product of the combinations:

Step 2: Calculate the Total Number of Ways to Choose 4 Numbers

The total number of ways to choose 4 numbers from the 14 available (6 positive + 8 negative) is:

Step 3: Calculate the Probability

The probability that the product is positive is the ratio of the favorable outcomes (where the product is positive) to the total possible outcomes. Therefore, the probability is:

Thus, the probability that the product is positive is:


Question

Q.04 A lot consists of 10 good articles, 4 with minor defects, and 2 with major defects. Two articles are chosen from the lot at random (without replacement). Find the probability that:

  1. Both are good.
  2. Both have major defects.
  3. At least 1 is good.
  4. Almost 1 is good.
  5. Exactly 1 is good.

Solution:

1. Probability that both are good

We need to find the probability that both articles chosen are good. This is the number of ways to choose 2 good articles divided by the total number of ways to choose 2 articles from 16.

The number of ways to choose 2 good articles from 10 is , and the total number of ways to choose 2 articles from 16 is . Therefore, the probability is:

2. Probability that both have major defects

Now, we want to calculate the probability that both articles have major defects. There are 2 articles with major defects, and we need to choose 2 from these 2. The number of ways to choose 2 articles with major defects is , and the total number of ways to choose 2 articles from 16 is still . Therefore, the probability is:

3. Probability that at least 1 is good

For this case, we need to calculate the probability that at least one article is good. This can happen in two cases:

  • Exactly 1 good article and 1 defective article (either minor or major).
  • Both articles are good.

To calculate this, we need the following:

  1. The number of ways to choose exactly 1 good article from 10 is .
  2. The number of ways to choose 1 defective article (from 6 total defective articles) is .
  3. The number of ways to choose 2 good articles from 10 is .

Thus, the total favorable outcomes for “at least 1 good” is:

Now, the total number of possible ways to choose 2 articles from 16 is . Therefore, the probability that at least one article is good is:

4. Probability that almost 1 is good

“Almost 1 is good” means that either none are good or 1 is good and 1 is defective.

We already know:

  • The number of ways to choose 2 defective articles from 6 is .
  • The number of ways to choose 1 good and 1 defective article is .

Therefore, the total favorable outcomes for “almost 1 is good” is:

5. Probability that exactly 1 is good

To find the probability that exactly 1 article is good and the other is defective, we already know:

  • The number of ways to choose 1 good article from 10 is .
  • The number of ways to choose 1 defective article from 6 is .

Thus, the total favorable outcomes for “exactly 1 good” is:

References

Continued

Information
  • date: 2025.01.10
  • time: 11:41