Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Joint Probability and Random Variables

Lesson 2 of 11 in the free Probability and Statistics- BCA-DS-23-204 notes on Siksha Sarovar, written by Rohit Jangra.

1.2 Joint Probability

  • Definition: Probability of two specific events happening together.
  • Example (Balls in a Bag):
  • A bag has 4 Red Balls (R) and 6 Blue Balls (B). Two balls are drawn.
  • Joint Probability of drawing Red first AND Blue second (without replacement):
  • $$ P(R \cap B) = P(R) \times P(B|R) = \frac{4}{10} \times \frac{6}{9} = \frac{24}{90} = 0.266 $$

---

2. Random Variables

A variable whose value depends on the outcome of a random experiment.

2.1 Types of Random Variables

1. Discrete Random Variable:

  • Takes specific, countable values.
  • Example: You flip a coin 3 times. Let $X$ = Number of Heads.
  • Possible values for $X$: ${0, 1, 2, 3}$. (You cannot get 2.5 heads).

2. Continuous Random Variable:

  • Takes any value within a range (infinite possibilities).
  • Example: Let $Y$ = Height of a student in a class.
  • Possible values: Could be 150.1 cm, 150.12 cm, 160.5 cm, etc. It is measured, not counted.