Basic MathematicsUnit 99 min read

Sets, Venn Diagrams & Probability Rules

Unit 9 of Basic Mathematics covers fundamental concepts of set theory (operations, relations, Cartesian products) and probability (classical, empirical, conditional), with applications in decision-making, data analysis, and real-world systems like eSewa transactions and traffic routing.

TAKEAWAYS:

  • Sets are collections of distinct objects; operations like union, intersection, and complement are visualized using Venn diagrams.
  • Probability measures likelihood using classical (), empirical (), and conditional () rules.
  • Cartesian products () and relations (reflexive, symmetric, transitive) model real-world pairings like user-password systems.
  • Probability applications include risk assessment (e.g., loan defaults in banks) and optimization (e.g., Pathao driver routing).
  • Exam focus: Solve problems using Venn diagrams for set operations and probability trees for conditional events.

1. Sets and Set Operations

UABa, bcd, ef
Example of two sets A and B with intersection {c}

1.1 Definitions and Notations

A set is a well-defined collection of distinct objects, called elements. Notation:

  • (roster method)
  • (set-builder notation)

Universal set (U): Contains all elements under consideration. Empty set (): Contains no elements.

1.2 Set Operations

Operation Symbol Venn Diagram Example (if , )
Union Union
Intersection Intersection
Complement or Complement If ,
Difference Difference
UABC1423
Three sets A, B, and C with pairwise intersections

Worked Example 1: If , , , find:

Solution:

  1. , so

2. Cartesian Product and Relations

2.1 Cartesian Product ()

The Cartesian product of sets and is the set of all ordered pairs where and .

Example: If and , then:

2.2 Relations on Sets

A relation from set to set is a subset of . Types of Relations:

  • Reflexive: for all .
  • Symmetric: If , then .
  • Transitive: If and , then .

Worked Example 2: Let and define . Check if is reflexive, symmetric, or transitive.

Solution:

  • Reflexive? Yes, because .
  • Symmetric? No, because but .
  • Transitive? No, because and , but (transitivity fails here).

3. Probability Basics

3.1 Types of Probability

Type Formula Example
Classical Probability of rolling a 4 on a die: .
Empirical Probability of a Daraz order being delayed: .
Conditional Probability a user logs in successfully given they entered the correct password.

3.2 Probability Rules

  1. Addition Rule:
  2. Multiplication Rule (Independent Events):
  3. Complement Rule:
UEvent AEvent B1051520
P(A only) = 10, P(A ∩ B) = 5, P(B only) = 15, P(neither) = 20

Worked Example 3: A bag contains 3 red and 2 blue balls. Two balls are drawn without replacement. Find:

  1. Probability both are red.
  2. Probability the first is red and the second is blue.

Solution:

  1. .
  2. .

## In the Real World

  1. eSewa Transactions:

    • Set Theory: Transactions are processed based on sets of valid users and payment methods. For example, , , . The union represents all users who can complete a payment.
    • Probability: The probability of a transaction failing due to insufficient funds is calculated empirically: .
  2. Pathao Driver Routing:

    • Cartesian Product: Pathao matches drivers () with passengers () using to generate possible routes. A relation (e.g., "driver can pick up passenger ") is defined based on location and time.
    • Probability: The probability a driver accepts a ride is modeled using conditional probability: .
  3. Nepal Rastra Bank Loan Approvals:

    • Set Operations: Loan applicants are categorized into sets like , . The intersection represents applicants most likely to get approved.
    • Probability: The probability of default is calculated using historical data: .

4. Probability Trees and Conditional Probability

Worked Example 4 (Real-World Tie-In): In Kathmandu traffic, suppose:

  • 60% of drivers ignore red lights.
  • 30% of those who ignore red lights cause an accident.
  • 5% of those who obey red lights cause an accident.

Find the probability a randomly selected driver causes an accident.

Solution:

graph TD
    A["Start"] --> B["Ignore Red Light (60%)"]
    A --> C["Obey Red Light (40%)"]
    B --> D["Accident (30%)"]
    B --> E["No Accident (70%)"]
    C --> F["Accident (5%)"]
    C --> G["No Accident (95%)"]
    D --> H["P(Accident|Ignore) = 0.3"]
    F --> I["P(Accident|Obey) = 0.05"]

Using the Law of Total Probability:


5. Comparing Set Theory and Probability

Feature Set Theory Probability
Purpose Classify and organize elements. Measure likelihood of events.
Key Tools Venn diagrams, operations. Probability rules, trees.
Real-World Use Database queries, user categorization. Risk assessment, decision-making.
Example in eSewa payments. in banks.

## Exam Tip

  1. For Set Theory:

    • Always draw Venn diagrams for union, intersection, and complement questions.
    • Memorize the number of elements in operations like .
    • Common Pitfalls: Forgetting to subtract in union questions.
  2. For Probability:

    • Classical vs. Empirical: Use classical for theoretical problems (e.g., dice), empirical for real-world data (e.g., Daraz delays).
    • Conditional Probability: Draw probability trees to visualize dependencies.
    • Key Formula: is often tested with word problems.
  3. Application Questions:

    • Nepal Context: Expect questions on eSewa transactions, bank loan risks, or traffic accidents (as in Worked Example 4).
    • Global Context: WhatsApp message delivery success rates or YouTube video recommendations (using probability of user engagement).

Final Note: Master Venn diagrams and probability trees—they save time and reduce errors in exams. Practice with real-world data (e.g., Ncell call drop rates or NEPSE stock volatility) to build intuition.

Based on the TU BIM syllabus for Basic Mathematics (MTH204), unit 9.

Discussion

Loading…