Guozhen AIGlobal AI field notes and model intelligence

English translation

Define counts

Published:

Category: Probability for Beginners

Read time: 4 min

Reads: 0

Lesson #1Views are counted together with the original Chinese articleImages are preserved from the source page

Concept Map: Definition of Probability

Probability first addresses a fundamental question: Among all possible outcomes, how likely is a particular event to occur? To make sense of probability formulas, we must first clearly define the sample space and the event—only then does the mathematics have solid grounding.

Checklist Diagram: Defining Probability

I begin by explicitly listing the sample space, then clearly identifying (or “circling”) the event of interest. Without a well-defined denominator—the total number of equally likely outcomes—probability calculations are unreliable.

Before diving into probability theory, we must first clarify what “probability” means. Probability quantifies the likelihood that a given event will occur; it is mathematics’ formal language for describing uncertainty. Next, we’ll explore its foundational definition and real-world relevance.

The Basic Definition of Probability

The definition of probability rests on several key components:

Decision Card: Learning Probability

Probability isn’t just for exam problems. Linking samples, events, distributions, and evidence updating makes many modeling tasks—such as prediction, confidence estimation, and performance evaluation—far more interpretable.

  1. Sample Space (S)

    • The sample space is the set of all possible outcomes of a random experiment. It is conventionally denoted by SS.
    • Example: When rolling a fair six-sided die, the sample space is S={1,2,3,4,5,6}S = \{1, 2, 3, 4, 5, 6\}.
  2. Event (E)

    • An event is any subset of the sample space—i.e., a collection of one or more outcomes from SS.
    • Example: The event “rolling an even number” corresponds to E={2,4,6}E = \{2, 4, 6\}.
  3. Mathematical Definition of Probability

    • For a simple (equally likely) event EE, its probability P(E)P(E) is the ratio of the number of favorable outcomes to the total number of possible outcomes:
    P(E)=Number of outcomes in ETotal number of outcomes in S=ESP(E) = \frac{\text{Number of outcomes in } E}{\text{Total number of outcomes in } S} = \frac{|E|}{|S|}
    • Here, E|E| denotes the cardinality (size) of event EE, and S|S| denotes the size of the sample space.

Range of Probability Values

Probability values always lie in the closed interval [0,1][0, 1]:

  • P(E)=0P(E) = 0 means event EE is impossible.
  • P(E)=1P(E) = 1 means event EE is certain.

Key Concept Card: Learning Probability

You don’t need to absorb every detail of “The Definition of Probability” all at once. Start with a small, hands-on problem you can verify yourself—then use the diagrams and text to fill in conceptual gaps.

Example:

  • What is the probability P(E)P(E) of drawing a red card from a standard 52-card deck?
    • Event EE: drawing a red card → E=26|E| = 26 (13 hearts + 13 diamonds).
    • Sample space SS: all 52 cards → S=52|S| = 52.
    • So P(E)=2652=0.5P(E) = \frac{26}{52} = 0.5, i.e., a 50% chance.

Key Properties of Probability

After grasping the basic definition, it’s essential to understand these core properties:

  1. Complementary Events

    • The complement of event EE, denoted EcE^c, consists of all outcomes not in EE.
    • Their probabilities satisfy: P(E)+P(Ec)=1P(E) + P(E^c) = 1.
  2. Independent Events

    • Events AA and BB are independent if the occurrence of AA does not affect the probability of BB (and vice versa). Then:
    P(AB)=P(A)P(B)P(A \cap B) = P(A) \cdot P(B)
  3. Mutually Exclusive Events

    • Events AA and BB are mutually exclusive if they cannot both occur: P(AB)=0P(A \cap B) = 0.
    • Their union satisfies:
    P(AB)=P(A)+P(B)P(A \cup B) = P(A) + P(B)

Practical Example

Let’s reinforce the definition with a concrete scenario:

Suppose a bag contains 3 red balls and 2 blue balls. One ball is drawn uniformly at random. Define:

  • Sample space: S={Red1,Red2,Red3,Blue1,Blue2}S = \{\text{Red}_1,\, \text{Red}_2,\, \text{Red}_3,\, \text{Blue}_1,\, \text{Blue}_2\}S=5|S| = 5.
  • Event EE: drawing a red ball → E={Red1,Red2,Red3}E = \{\text{Red}_1,\, \text{Red}_2,\, \text{Red}_3\}E=3|E| = 3.

Applying the definition:

P(E)=ES=35=0.6P(E) = \frac{|E|}{|S|} = \frac{3}{5} = 0.6

So the probability of drawing a red ball is 60%.

Computing Probability with Python

Here’s a simple Python snippet to compute the probability of drawing a red ball:

# Define counts
red_balls = 3
blue_balls = 2

# Compute total balls and red-ball probability
total_balls = red_balls + blue_balls
red_probability = red_balls / total_balls

print(f"Probability of drawing a red ball: {red_probability:.2f}")

Running this yields:

Probability of drawing a red ball: 0.60

Application Review Card: Definition of Probability

When reviewing “The Definition of Probability,” place key concepts, procedural steps, and observable results side-by-side on a single page for efficient recall.

Application Checklist Card: Definition of Probability

When practicing “The Definition of Probability,” write the input conditions, the computational action, and the resulting output together—this makes future review faster and more effective.

Summary

In this article, we introduced the foundational definition of probability, its core properties, and practical applications. A firm grasp of these basics—especially the notions of sample space and event—is indispensable. They form the bedrock upon which all further probability theory is built.

In the next article, we’ll delve deeper into the relationship between events and sample spaces, strengthening your understanding of probability’s structural framework. We hope this material helps you apply probabilistic thinking to real problems—and lays a robust foundation for what lies ahead.

Continue

Keep reading from here

Browse English site

Reader Messages

Reader messages

Questions, corrections, extra sources, or hands-on results can be left here. No login is required.

Max 800 characters

To reduce spam, each message is checked for length, link count, and posting frequency.

0/800

Messages

0 messages
Loading messages...