Introduction to Probability

Basic probability concepts and calculations

Introduction to Probability

What is Probability?

Probability measures how likely an event is to occur.

P(event)=number of favorable outcomestotal number of possible outcomesP(\text{event}) = \frac{\text{number of favorable outcomes}}{\text{total number of possible outcomes}}

Probability Range

Probability is always between 0 and 1 (or 0% and 100%):

  • P=0P = 0: Impossible event
  • P=0.5P = 0.5: Equally likely to happen or not
  • P=1P = 1: Certain event

Complementary Events

The complement of event AA is "not AA": P(not A)=1P(A)P(\text{not } A) = 1 - P(A)

Example: If P(rain)=0.3P(\text{rain}) = 0.3, then P(no rain)=10.3=0.7P(\text{no rain}) = 1 - 0.3 = 0.7

Independent Events

Events are independent if one doesn't affect the other.

Multiplication Rule: P(A and B)=P(A)×P(B)P(A \text{ and } B) = P(A) \times P(B)

Example: Flipping a coin twice: P(heads, heads)=12×12=14P(\text{heads, heads}) = \frac{1}{2} \times \frac{1}{2} = \frac{1}{4}

Mutually Exclusive Events

Events that cannot both happen at the same time.

Addition Rule: P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B)

📚 Practice Problems

1Problem 1easy

Question:

What is the probability of rolling a 4 on a standard die?

💡 Show Solution

A standard die has 6 sides: 1, 2, 3, 4, 5, 6

Favorable outcomes: 1 (rolling a 4) Total outcomes: 6

P(4)=16P(4) = \frac{1}{6}

Answer: 16\frac{1}{6} or about 16.7%

2Problem 2medium

Question:

A bag contains 5 red marbles and 3 blue marbles. What is the probability of drawing a red marble?

💡 Show Solution

Total marbles: 5+3=85 + 3 = 8 Red marbles: 55

P(red)=number of redtotal=58P(\text{red}) = \frac{\text{number of red}}{\text{total}} = \frac{5}{8}

Answer: 58\frac{5}{8} or 62.5%

3Problem 3hard

Question:

You flip a coin and roll a die. What is the probability of getting heads AND rolling a number greater than 4?

💡 Show Solution

These are independent events.

Step 1: Find P(heads)P(\text{heads}) P(heads)=12P(\text{heads}) = \frac{1}{2}

Step 2: Find P(greater than 4)P(\text{greater than 4}) Numbers greater than 4: {5, 6} → 2 outcomes out of 6 P(>4)=26=13P(>4) = \frac{2}{6} = \frac{1}{3}

Step 3: Multiply (independent events) P(heads and >4)=12×13=16P(\text{heads and } >4) = \frac{1}{2} \times \frac{1}{3} = \frac{1}{6}

Answer: 16\frac{1}{6} or about 16.7%