Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Number System and Arithmetic
  • Algebra
  • Set Theory
  • Probability
  • Statistics
  • Geometry
  • Calculus
  • Logarithms
  • Mensuration
  • Matrices
  • Trigonometry
  • Mathematics
Open In App
Next Article:
Descriptive Statistic
Next article icon

Probability Distribution - Function, Formula, Table

Last Updated : 22 May, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

A probability distribution is a mathematical function or rule that describes how the probabilities of different outcomes are assigned to the possible values of a random variable. It provides a way of modeling the likelihood of each outcome in a random experiment.

While a frequency distribution shows how often outcomes occur in a sample or dataset, a probability distribution assigns probabilities to outcomes abstractly, theoretically, regardless of any specific dataset. These probabilities represent the likelihood of each outcome occurring.

Probability-Distribution-01
Probability Distribution

In a discrete probability distribution, the random variable takes distinct values (like the outcome of rolling a die). In a continuous probability distribution, the random variable can take any value within a certain range (like the height of a person).

Key properties of a probability distribution include:

  • The probability of each outcome is greater than or equal to zero.
  • The sum of the probabilities of all possible outcomes equals 1.

Also Read: Frequency Distribution

Table of Content

  • Types of Random Variables in Probability Distribution
  • Probability Distribution of a Random Variable
  • Expectation (Mean) and Variance of a Random Variable
  • Different Types of Probability Distributions
  • Cumulative Probability Distribution
  • Probability Distribution Function

Random Variables

Random Variable is a real-valued function whose domain is the sample space of the random experiment. It is represented as X(sample space) = Real number. 

We need to learn the concept of Random Variables because sometimes we are only interested in the probability of the event, but also the number of events associated with the random experiment. The importance of random variables can be better understood by the following example:

Let's take an example of the coin flips. We'll start with flipping a coin and finding out the probability. We'll use H for 'heads' and T for 'tails'. 
So now we flip our coin 3 times, and we want to answer some questions. 

  1. What is the probability of getting exactly 3 heads?
  2. What is the probability of getting less than 3 heads?
  3. What is the probability of getting more than 1 head?

Then our general way of writing would be:

  1. P(Probability of getting exactly 3 heads when we flip a coin 3 times)
  2. P(Probability of getting less than 3 heads when we flip a coin 3 times)
  3. P(Probability of getting more than 1 head when we flip a coin 3 times) 

In a different scenario, suppose we are tossing two dice, and we are interested in knowing the probability of getting two numbers such that their sum is 6. 

So, in both of these cases, we first need to know the number of times the desired event is obtained i.e. Random Variable X in sample space which would be then further used to compute the Probability P(X) of the event. Hence, Random Variables come to our rescue. First, let's define what is random variable mathematically. 

Random Variable

A random variable is a real valued function whose domain is the sample space of a random experiment

To understand this concept in a lucid manner, let us consider the experiment of tossing a coin two times in succession.

The sample space of the experiment is S = {HH, HT, TH, TT}. Let's define a random variable to count events of heads or tails according to our need, Let X be a random variable that denotes the number of heads obtained. For each outcome, its values are as given below:

X(HH) = 2, X (HT) = 1, X (TH) = 1, X (TT) = 0.

More than one random variable can be defined in the same sample space. For example, let Y be a random variable denoting the number of heads minus the number of tails for each outcome of the above sample space S.

Y(HH) = 2 - 0 = 2; Y (HT) = 1 - 1 = 0; Y (TH) = 1 - 1 = 0; Y (TT) = 0 - 2 = – 2

Thus, X and Y are two different random variables defined on the same sample.

Note: More than one event can map to same value of random variable. 

Types of Random Variables in Probability Distribution

There are the following two types of Random Variables:

  • Discrete Random Variables
  • Continuous Random Variables

Discrete Random Variables in Probability Distribution

A Discrete Random Variable can only take a finite number of values. To further understand this, let's see some examples of discrete random variables:

\sum_{i} P(X = x_i) = 1

  1. X = {sum of the outcomes when two dice are rolled}. Here, X can only take values like {2, 3, 4, 5, 6, 10, 11, 12}.
  2. X = {Number of Heads in 100 coin tosses}. Here, X can take only integer values from [0, 100].

Continuous Random Variable in Probability Distribution

A Continuous Random Variable can take infinite values in a continuous domain.

P(a \leq X \leq b) = \int_{a}^{b} f(x) \, dx

Let's see an example of a dart game.

Suppose, we have a dart game in which we throw a dart where the dart can fall anywhere between [-1, 1] on the x-axis. So if we define our random variable as the x-coordinate of the position of the dart, X can take any value from [-1, 1]. There are infinitely many possible values that X can take. (X = {0.1, 0.001, 0.01, 1, 2, 2.112121 .... and so on}.   

Probability Distribution of a Random Variable

Now the question comes, how to describe the behavior of a random variable? 

Suppose that our Random Variable only takes finite values, like x1, x2, x3,..., and xn. i.e., the range of X is the set of n values is {x1, x2, x3,..., and xn}.
Thus, the behavior of X is completely described by giving probabilities for all the values of the random variable X

EventProbability
x1P(X = x1)
x2P(X = x2)
x3P(X = x3)

The Probability Function of a discrete random variable X is the function p(x) satisfying.

P(x) = P(X = x)

Probability Function

Example: We draw two cards successively with replacement from a well-shuffled deck of 52 cards. Find the probability distribution of finding aces.

Answer: 

Let's define a random variable "X", which means number of aces. So since we are only drawing two cards from the deck, X can only take three values: 0, 1 and 2.  We also know that, we are drawing cards with replacement which means that the two draws can be considered an independent experiments. 

P(X = 0) = P(both cards are non-aces)
= P(non-ace) x P(non-ace) 
= \dfrac{48}{52} \times \dfrac{48}{52} = \dfrac {144}{169}

P(X = 1) = P(one of the cards in ace) 
= P(non-ace and then ace) + P(ace and then non-ace)
= P(non-ace) x P(ace) + P(ace) x P(non-ace)
= \dfrac{48}{52} \times \dfrac{4}{52}  + \dfrac{4}{52} \times \dfrac{48}{52} = \dfrac{24}{169}

P(X = 2) = P(Both the cards are aces) 
= P(ace) x P(ace)
= \dfrac{4}{52} \times \dfrac{4}{52} = \dfrac{1}{169}

Now we have probabilities for each value of random variable. Since it is discrete, we can make a table to represent this distribution. The table is given below. 

X 012
P(X = x)144/16924/1691/169

It should be noted here that each value of P(X = x) is greater than zero and the sum of all P(X = x) is equal to 1.

Probability Distribution Formulas

The various formulas under Probability Distribution are tabulated below:

Types of Distribution

Formula

Binomial Distribution

P(X) = nCxaxbn-x

Where a = probability of success

  • b = probability of failure
  • n = number of trials
  • x = random variable denoting success

Cumulative Distribution Function

Fx(x) = \int_{-∞}^{x}f(x)(t)dt

Discrete Probability Distribution

P(x) = n!/ r!(n-r)! . pr(1-p)n-r
P(x) = C(n,r) . pr(1-p)n-r

Expectation (Mean) and Variance of a Random Variable

Suppose we have a probability experiment we are performing, and we have defined some random variable(R.V.) according to our needs( like we did in some previous examples). Now, each time an experiment is performed, our R.V. takes on a different value. But we want to know that if we keep on experimenting a thousand times or an infinite number of times, what will be the average value of the random variable?

Expectation

The mean, expected value, or expectation of a random variable X is written as E(X) or\mu_{\textbf{X}}. If we observe N random values of X, then the mean of the N values will be approximately equal to E(X) for large N. 

For a random variable X which takes on values x1, x2, x3 ... xn with probabilities  p1, p2, p3 ... pn. Expectation of X is defined as, 

\sum_{i=1}^{N} x_{i}p_{i}

i.e it is weighted average of all values which X can take, weighted by the probability of each value. 

To see it more intuitively, let's take a look at this graph below, 

Now, in the above figure, we can see both the Random Variables have almost the same 'mean', but does that mean that they are equal? No. To fully describe the properties/behavior of a random variable, we need something more, right? 

We need to look at the dispersion of the probability distribution, one of them is concentrated, but the other is very spread out near a single value. So we need a metric to measure the dispersion in the graph. 

Variance

In Statistics, we have studied that the variance is a measure of the spread or scatter in the data. Likewise, the variability or spread in the values of a random variable may be measured by variance.

For a random variable X which takes on values x1, x2, x3 ... xn with probabilities  p1, p2, p3 ... pn and the expectation is  E[X] 

The variance of X or Var(X) is denoted by, E[X - u]^{2} = \sum (x_{i}-\mu)^{2}p_{x_{i}} = E[X^{2}] - (E[X])^{2}

Example: Find the variance and mean of the numbers obtained on a throw of an unbiased die.

Answer: 

We know that the sample space of this experiment is {1, 2, 3, 4, 5, 6} 

Let's define our random variable X, which represents the number obtained on a throw. 
So, the probabilities of the values which our random variable can take are, 
P(1) = P(2) = P(3) = P(4) = P(5) = P(6) = 1/6

Therefore, the probability distribution of the random variable is, 

X123456
Probabilities1/61/61/61/61/61/6

E[X] = \sum p_{x_{i}}x_{i} \\ \hspace{0.9cm} = 1 \times \dfrac{1}{6} + 2 \times \dfrac{1}{6} + 3 \times \dfrac{1}{6} + 4 \times \dfrac{1}{6} + 5 \times \dfrac{1}{6} + 6 \times \dfrac{1}{6} \\ \hspace{0.9cm} = \dfrac{21}{6}

Also, E[X2] = 1^{2} \times \dfrac{1}{6} + 2^{2}\times\dfrac{1}{6} + 3^{2}\times\dfrac{1}{6} + 4^{2}\times\dfrac{1}{6} + 5^{2}\times\dfrac{1}{6} + 6^{2}\times\dfrac{1}{6} \\ \hspace{0.9cm} = \dfrac{91}{6} \\

Thus, Var(X) = E[X2] - (E[X])2

                      = (\dfrac{91}{6}) - (\dfrac{21}{6})^{2} = \dfrac{91}{6} - \dfrac{441}{36} = \dfrac{35}{12}

So, therefore mean is \dfrac{21}{6}and variance is \dfrac{35}{12}

Different Types of Probability Distributions

We have seen what Probability Distributions are, now we will see different types of Probability Distributions. The Probability Distribution's type is determined by the type of random variable. There are two types of Probability Distributions: 

  • Binomial or Discrete Probability Distributions for Discrete Variables
  • Normal or Cumulative Probability Distribution for continuous variables

We will study in detail two types of discrete probability distributions, others are out of scope in class 12. 

Discrete Probability Distributions

Discrete Probability Functions also called Binomial Distribution assume a discrete number of values. For example, coin tosses and counts of events are discrete functions. These are discrete distributions because there are no in-between values. We can either have heads or tails in a coin toss.

For discrete probability distribution functions, each possible value has a non-zero probability. Moreover, the sum of all the values of probabilities must be one. For example, the probability of rolling a specific number on a die is 1/6. The total probability for all six values equals one. When we roll a die, we only get either one of these values.

Bernoulli Trials and Binomial Distributions

When we perform a random experiment, either we get the desired event or we don't. If we get the desired event, then we call it a success, and if we don't it is a failure. Let's say in the coin-tossing experiment, if the occurrence of the head is considered a success, then the occurrence of a tail is a failure.

Each time we toss a coin or roll a die or perform any other experiment, we call it a trial. Now we know that in our experiments coin-tossing trial, the outcome of any trial is independent of the outcome of any other trial. In each of such trials, the probability of success or failure remains constant. Such independent trials that have only two outcomes, usually referred to as ‘success’ or ‘failure’, are called Bernoulli Trials.

Definition:

Trials of the random experiment are known as Bernoulli Trials, if they are satisfying below given conditions :

  • Finite number of trials are required.
  • All trials must be independent.
  • Every trial has two outcomes : success or failure.
  • Probability of success remains  same in every trial.

Example 1: Can throwing a fair die 50 times be considered an example of 50 Bernoulli trials if we define:

  • Success is getting an even number (2, 4, or 6), and
  • Failure as getting an odd number (1, 3, or 5)?

If yes, what are the probabilities of success (p) and failure (q) for each trial?

Answer:

Probability of Success (p): There are 3 even numbers out of 6 possible outcomes, so p = 3/6 = 1 /2
Probability of Failure (q): There are 3 odd numbers out of 6, so q = 3/6 = 1 /2

So, throwing a fair die 50 times with this definition is a classic example of 50 Bernoulli trials, with p=1/2 and q = 1/2

Example 2: An urn contains 8 red balls and 10 black balls. We draw six balls from the urn successively. You have to tell whether or not the trials of drawing balls are Bernoulli trials when, after each draw, the ball drawn is:

  1. Replaced
  2. Not replaced in the urn.

Answer:

  1. We know that the number of trials are finite. When drawing is done with replacement, probability of success (say, red ball) is p =8/18 which will be same for all of the six trials. So, drawing of balls with replacements are Bernoulli trials.
  2. If  drawing is done without replacement,  probability of success (i.e., red ball) in the first trial is 8/18 , in 2nd trial is 7/17 if  first ball drawn is red or, 10/18 if  first ball drawn is black, and so on. Clearly, probabilities of success are not same for all the trials, Therefore, the trials are not Bernoulli trials.

Binomial Distribution

It is a random variable that represents the number of successes in "N" successive independent trials of Bernoulli's experiment. It is used in a plethora of instances including the number of heads in "N" coin flips, and so on. 

Let P and Q denote the success and failure of the Bernoulli Trial respectively. Let's assume we are interested in finding different ways in which we have 1 success in all six trials.
Six cases are available as listed below:

PQQQQQ, QPQQQQ, QQPQQQ, QQQPQQ, QQQQPQ, QQQQQP

Likewise, 2 successes and 4 failures will show \dfrac{6!}{4! 2!}combinations thus making it difficult to list so many combinations. Henceforth, calculating probabilities of 0, 1, 2,..., n number of successes can be long and time-consuming. To avoid such lengthy calculations along with a listing of all possible cases, for probabilities of the number of successes in n-Bernoulli trials, a formula is made which is given as:

If Y is a Binomial Random Variable, we denote this Y∼ Bin(n, p), where p is the probability of success in a given trial, q is the probability of failure, Let 'n' be the total number of trials, and 'x' be the number of successes, the Probability Function P(Y) for Binomial Distribution is given as:

P(Y) = nCx qn–xpx 

where x = 0,1,2...n

Example: When a fair coin is tossed 10 times, find the probability of getting:

  1. Exactly Six Heads
  2. At least Six Heads

Answer: 

Every coin tossed can be considered as the Bernoulli trial. Suppose X is the number of heads in this experiment: 
We already know, n = 10

                            p = 1/2

So, P(X = x) = nCx pn-x (1-p)x , x= 0,1,2,3,....n

P(X = x) = 10Cxp10-x(1-p)x  
When x = 6, 

(i) P(x = 6) = 10C6 p4 (1-p)6

= \dfrac{10!}{6!4!}(\dfrac{1}{2})^{6}(\dfrac{1}{2})^{4}\\ \hspace{0.4cm} = \dfrac{7\times8\times9\times10}{2\times3\times4}\times\dfrac{1}{64}\times\dfrac{1}{16} \\ \hspace{0.4cm} = \dfrac{105}{512}

(ii) P(at least 6 heads) = P(X >= 6) = P(X = 6) + P(X=7) + P(X=8)+ P(X=9) + P(X=10) 

= 10C6 p4 (1 - p)6 + 10C7 p3 (1 - p)7 + 10C8 p2 (1 - p)8 + 10C9 p1(1 - p)9 + 10C10 (1 - p)10  

=\dfrac{10!}{6!4!}(\dfrac{1}{2})^{10} + \dfrac{10!}{7!3!}(\dfrac{1}{2})^{10} + \dfrac{10!}{8!2!}(\dfrac{1}{2})^{10} + \dfrac{10!}{9!1!}(\dfrac{1}{2})^{10} + \dfrac{10!}{10!}(\dfrac{1}{2})^{10}\\ \hspace{0.5cm} = (\dfrac{10!}{6!4!} + \dfrac{10!}{7!3!}+ \dfrac{10!}{8!2!} + \dfrac{10!}{9!1!}+ \dfrac{10!}{10!})(\dfrac{1}{2})^{10} \\ \hspace{0.5cm} = \dfrac{193}{512}

Negative Binomial Distribution

In a random experiment of a discrete range, we don't need to get success in every trial. If we perform the 'n' number of trials and get success 'r' times where n > r, then our failure will be (n - r) times. The probability distribution of failure in this case will be called the negative binomial distribution.
For example, if we consider getting 6 in the die is a success and we want 6 one time, but 6 is not obtained in the first trial then we keep throwing the die until we get 6. Suppose we get 6 in the sixth trial then the first 5 trials will be failures and if we plot the probability distribution of these failures, then the plot so obtained will be called a negative binomial distribution.

Poisson Probability Distribution

The Probability Distribution of the frequency of occurrence of an event over a specific period is called the Poisson Distribution. It tells how many times the event occurred over a specific period. It counts the number of successes and takes a value of the whole number i.e., (0,1,2...). It is expressed as

f(x; λ) = P(X = x) = (λxe-λ)/x!

where, 

  • x is the number of times the event occurred
  • e = 2.718...
  • λ is the mean value

Binomial Distribution Examples

Binomial Distribution is used for the outcomes that are discrete in nature. Some of the examples where the Binomial Distribution can be used are mentioned below:

  • To find the number of good and defective items produced by a factory.
  • To find the number of girls and boys studying in a school.
  • To find out the negative or positive feedback on something

Cumulative Probability Distribution

The Cumulative Probability Distribution for continuous variables is a function that gives the probability that a random variable takes on a value less than or equal to a specified point. It's denoted as F(x), where x represents a specific value of the random variable. For continuous variables, F(x) is found by integrating the probability density function (pdf) from negative infinity to x. The function ranges from 0 to 1, is non-decreasing, and right-continuous. It's essential for computing probabilities, determining percentiles, and understanding the behavior of continuous random variables in various fields.

Cumulative Probability Distribution takes values in a continuous range; for example, the range may consist of a set of real numbers. In this case, the Cumulative Probability Distribution will take any value from the continuum of real numbers unlike the discrete or some finite value taken in the case of Discrete Probability distribution. Cumulative Probability Distribution is of two types, Continuous Uniform Distributionthe and Normal Distribution.

Continuous Uniform Distribution

Continuous Uniform Distribution is described by a density function that is flat and assumes values in a closed interval let's say [P, Q], such that the probability is uniform in this closed interval. It is represented as f(x; P, Q)

f(x; P, Q) = 1/(Q - P) for P ≤ x ≤ Q

f(x; P, Q) = 0; elsewhere

Normal Distribution

Normal Distribution of continuous random variables results in a bell-shaped curve. It is often referred to as the Gaussian Distribution by the name of Karl Friedrich Gauss who derived its equation. This curve is frequently used by the meteorological department for rainfall studies. The Normal Distribution of random variable X is given by

n(x; μ, σ) = {1/(√2π)σ}e(-1/2σ^2)(x-μ)^2 for -∞<x<∞ 

where 

  • μ is the mean
  • σ is variance

Normal Distribution Examples

The Normal Distribution Curve can be used to show the distribution of natural events very well. Over the period, it has become a favorite choice of statisticians to study natural events. Some of the examples where the Normal Distribution Curve can be used are mentioned below.

  • Salary of the Working Class
  • Life Expectancy of humans in a Country
  • Heights of Male or Female
  • The IQ Level of Children
  • Expenditure of households

Probability Distribution Function

Probability Distribution Function is defined as the function that is used to express the distribution of a probability. Different types of probability, are expressed differently. These functions are also used for Probability Density Functions for different variables.

For Normal Distribution, the Probability Distribution Function for Random Variable X is given by Fx(x) = P(X ≤ x) where X is the Random variable and P is the Probability.

The Cumulative Probability Distribution for closed interval a⇢b is given as P(a < X ≤ b) = Fx(b) - Fx(a). 

In terms of integrals, the cumulative probability function is given as F_{x}(x) = \int_{-\infty }^{x}f_{x}(t)dt

For Random Variable X = p, the Cumulative Probability function is given as P(X = p) = F_{x}(p) - \lim_{x\rightarrow p}f_{x}(t)

Binomial Probability Distribution gives some exact values. It is often called a Probability Mass Function. For a Random Variable X and Space S where X: S⇢A where A belongs to Random Discrete Variable R, X can be defined as fx(x) = Pr(X = x) = P({s ∈ S: X(s) = x}).

Probability Distribution Table

The random variables and their corresponding probability is tabulated, then it is called a Probability Distribution Table. The following table represents a Probability Distribution Table:

XX1X2X3X4....Xn
P(X)P1P2P3P4....Pn

It should be noted that the sum of all probabilities is equal to 1.

Prior Probability

Prior Probability as the name suggests refers to assigning the probability of an event before the happening of a dependent event which makes us make changes in the Prior Probability. Let's say we assign Probability P(A) to event A before taking into account that event B has also happened. After B has happened we need to revise P(A) using Bayes' Theorem. Hence, here P(A) is the Prior Probability. If we predict that a particular observation will fall into a particular category before collecting all the observations, then this is also called Prior Probability.

Posterior Probability

After the Prior Probability has been assigned and new information is obtained then the Prior Probability is modified by taking into account the newly obtained information using Baye's Formula. This revised probability is called Posterior Probability. Hence, we can say that Posterior Probability is a conditional probability obtained by revising the Prior Probability.

Chi-Square Distribution

The chi-square distribution is a probability distribution that arises in statistics, particularly in hypothesis testing and confidence interval estimation. It is characterized by its degrees of freedom, which determine its shape. The distribution is positively skewed and only takes non-negative values. The Chi-square distribution is widely used in inferential statistics for testing the independence of variables in contingency tables, assessing goodness of fit, and estimating population variances.

Chi-Square Table

Below is a Chi-square table showing critical values for selected degrees of freedom and levels of significance:

Degrees of Freedom (df)0.010.050.10
16.633.842.71
29.215.994.61
311.347.816.25
413.289.497.78
515.0911.079.24
616.8112.5910.64
718.4814.0712.02
820.0915.5113.36
921.6716.9214.68
1023.2118.3115.99

This table provides critical values for the Chi-square distribution at various levels of significance (0.01, 0.05, and 0.10) and degrees of freedom (from 1 to 10). Critical values from the Chi-square table are commonly used in hypothesis testing to determine whether observed frequencies in a contingency table differ significantly from expected frequencies.

t-Distribution

The t distribution, also known as the Student's t-distribution, is a probability distribution that is similar to the standard normal distribution but has heavier tails. It is commonly used in hypothesis testing and constructing confidence intervals when the sample size is small or the population standard deviation is unknown. The shape of the t distribution depends on the sample size, and as the sample size increases, the t-distribution approaches the standard normal distribution.

t-Table

Below is a t-table showing critical values for selected degrees of freedom (df) and levels of significance:

Degrees of Freedom (df)0.010.050.10
112.7066.3143.078
24.3032.9201.886
33.1822.3531.638
42.7762.1321.533
52.5712.0151.476
62.4471.9431.440
72.3651.8951.415
82.3061.8601.397
92.2621.8331.383
102.2281.8121.372

This table provides critical values for the t-distribution at various levels of significance (0.01, 0.05, and 0.10) and degrees of freedom (from 1 to 10). Critical values from the t-table are commonly used in hypothesis testing to determine whether sample means significantly differ from population means when the population standard deviation is unknown and sample sizes are small.

Solved Questions on Probability Distribution

Question 1: A box contains 4 blue balls and 3 green balls. Find the probability distribution of the number of green balls in a random draw of 3 balls.

Solution:

Given that the total number of balls is 7 out of which 3 have to be drawn at random. On drawing 3 balls the possibilities are all 3 are green, only 2 is green, only 1 is green, and no green. Hence X = 0, 1, 2, 3.

  • P(No ball is green) = P(X = 0) = 4C3/7C3 = 4/35
  • P(1 ball is green) = P(X = 1) = 3C1 × 4C2 / 7C3 = 18/35
  • P(2 balls are green) = P(X = 2) = 3C2 × 4C1 / 7C3 = 12/35
  • P(All 3 balls are green) = P(X = 3) = 3C3 / 7C3 = 1/35

Hence, the probability distribution for this problem is given as follows

X0123
P(X)4/3518/3512/351/35

Question 2: From a lot of 10 bulbs containing 3 defective ones, 4 bulbs are drawn at random. If X is a random variable that denotes the number of defective bulbs. Find the probability distribution of X.

Solution:

Since, X denotes the number of defective bulbs and there is a maximum of 3 defective bulbs, hence X can take values 0, 1, 2, and 3. Since 4 bulbs are drawn at random, the possible combination of drawing 4 bulbs is given by 10C4.

  • P(Getting No defective bulb) = P(X = 0) = 7C4 / 10C4 = 1/6
  • P(Getting 1 Defective Bulb) = P(X = 1) = 3C1 × 7C3/10C4 = 1/2
  • P(Getting 2 defective Bulb) = P(X = 2) = 3C2 × 7C2/10C4 = 3/10
  • P(Getting 3 Defective Bulb) = P(X = 3) = 3C3 × 7C1/10C4 = 1/30

Hence Probability Distribution Table is given as follows

X0123
P(X)1/61/23/101/30

Articles related to Probability Distribution

Probability Theory

Probability Density Function

Types of Events in Probability

Events in Probability


Next Article
Descriptive Statistic

A

anjalishukla1859
Improve
Article Tags :
  • Mathematics
  • School Learning
  • Class 12
  • Probability
  • Maths-Class-12

Similar Reads

    Maths
    Mathematics, often referred to as "math" for short. It is the study of numbers, quantities, shapes, structures, patterns, and relationships. It is a fundamental subject that explores the logical reasoning and systematic approach to solving problems. Mathematics is used extensively in various fields
    5 min read

    Basic Arithmetic

    What are Numbers?
    Numbers are symbols we use to count, measure, and describe things. They are everywhere in our daily lives and help us understand and organize the world.Numbers are like tools that help us:Count how many things there are (e.g., 1 apple, 3 pencils).Measure things (e.g., 5 meters, 10 kilograms).Show or
    15+ min read
    Arithmetic Operations
    Arithmetic Operations are the basic mathematical operations—Addition, Subtraction, Multiplication, and Division—used for calculations. These operations form the foundation of mathematics and are essential in daily life, such as sharing items, calculating bills, solving time and work problems, and in
    9 min read
    Fractions - Definition, Types and Examples
    Fractions are numerical expressions used to represent parts of a whole or ratios between quantities. They consist of a numerator (the top number), indicating how many parts are considered, and a denominator (the bottom number), showing the total number of equal parts the whole is divided into. For E
    7 min read
    What are Decimals?
    Decimals are numbers that use a decimal point to separate the whole number part from the fractional part. This system helps represent values between whole numbers, making it easier to express and measure smaller quantities. Each digit after the decimal point represents a specific place value, like t
    10 min read
    Exponents
    Exponents are a way to show that a number is multiplied by itself many times. They are everywhere in math and science, helping us write big and easily.Think of exponents like a shortcut for repeated multiplication:23 means 2 x 2 x 2 = 8 52 means 5 x 5 = 25So instead of writing the same number many t
    8 min read
    Percentage
    In mathematics, a percentage is a figure or ratio that signifies a fraction out of 100, i.e., A fraction whose denominator is 100 is called a Percent. In all the fractions where the denominator is 100, we can remove the denominator and put the % sign.For example, the fraction 23/100 can be written a
    5 min read

    Algebra

    Variable in Maths
    A variable is like a placeholder or a box that can hold different values. In math, it's often represented by a letter, like x or y. The value of a variable can change depending on the situation. For example, if you have the equation y = 2x + 3, the value of y depends on the value of x. So, if you ch
    5 min read
    Polynomials| Degree | Types | Properties and Examples
    Polynomials are mathematical expressions made up of variables (often represented by letters like x, y, etc.), constants (like numbers), and exponents (which are non-negative integers). These expressions are combined using addition, subtraction, and multiplication operations.A polynomial can have one
    9 min read
    Coefficient
    A coefficient is a number that multiplies a variable in a mathematical expression. It tells you how much of that variable you have. For example, in the term 5x, the coefficient is 5 — it means 5 times the variable x.Coefficients can be positive, negative, or zero. Algebraic EquationA coefficient is
    8 min read
    Algebraic Identities
    Algebraic Identities are fundamental equations in algebra where the left-hand side of the equation is always equal to the right-hand side, regardless of the values of the variables involved. These identities play a crucial role in simplifying algebraic computations and are essential for solving vari
    14 min read
    Properties of Algebraic Operations
    Algebraic operations are mathematical processes that involve the manipulation of numbers, variables, and symbols to produce new results or expressions. The basic algebraic operations are:Addition ( + ): The process of combining two or more numbers to get a sum. For example, 3 + 5 = 8.Subtraction (−)
    3 min read

    Geometry

    Lines and Angles
    Lines and Angles are the basic terms used in geometry. They provide a base for understanding all the concepts of geometry. We define a line as a 1-D figure that can be extended to infinity in opposite directions, whereas an angle is defined as the opening created by joining two or more lines. An ang
    9 min read
    Geometric Shapes in Maths
    Geometric shapes are mathematical figures that represent the forms of objects in the real world. These shapes have defined boundaries, angles, and surfaces, and are fundamental to understanding geometry. Geometric shapes can be categorized into two main types based on their dimensions:2D Shapes (Two
    2 min read
    Area and Perimeter of Shapes | Formula and Examples
    Area and Perimeter are the two fundamental properties related to 2-dimensional shapes. Defining the size of the shape and the length of its boundary. By learning about the areas of 2D shapes, we can easily determine the surface areas of 3D bodies and the perimeter helps us to calculate the length of
    10 min read
    Surface Areas and Volumes
    Surface Area and Volume are two fundamental properties of a three-dimensional (3D) shape that help us understand and measure the space they occupy and their outer surfaces.Knowing how to determine surface area and volumes can be incredibly practical and handy in cases where you want to calculate the
    10 min read
    Points, Lines and Planes
    Points, Lines, and Planes are basic terms used in Geometry that have a specific meaning and are used to define the basis of geometry. We define a point as a location in 3-D or 2-D space that is represented using coordinates. We define a line as a geometrical figure that is extended in both direction
    14 min read
    Coordinate Axes and Coordinate Planes in 3D space
    In a plane, we know that we need two mutually perpendicular lines to locate the position of a point. These lines are called coordinate axes of the plane and the plane is usually called the Cartesian plane. But in real life, we do not have such a plane. In real life, we need some extra information su
    6 min read

    Trigonometry & Vector Algebra

    Trigonometric Ratios
    There are three sides of a triangle Hypotenuse, Adjacent, and Opposite. The ratios between these sides based on the angle between them is called Trigonometric Ratio. The six trigonometric ratios are: sine (sin), cosine (cos), tangent (tan), cotangent (cot), cosecant (cosec), and secant (sec).As give
    4 min read
    Trigonometric Equations | Definition, Examples & How to Solve
    Trigonometric equations are mathematical expressions that involve trigonometric functions (such as sine, cosine, tangent, etc.) and are set equal to a value. The goal is to find the values of the variable (usually an angle) that satisfy the equation.For example, a simple trigonometric equation might
    9 min read
    Trigonometric Identities
    Trigonometric identities play an important role in simplifying expressions and solving equations involving trigonometric functions. These identities, which include relationships between angles and sides of triangles, are widely used in fields like geometry, engineering, and physics. Some important t
    10 min read
    Trigonometric Functions
    Trigonometric Functions, often simply called trig functions, are mathematical functions that relate the angles of a right triangle to the ratios of the lengths of its sides.Trigonometric functions are the basic functions used in trigonometry and they are used for solving various types of problems in
    6 min read
    Inverse Trigonometric Functions | Definition, Formula, Types and Examples
    Inverse trigonometric functions are the inverse functions of basic trigonometric functions. In mathematics, inverse trigonometric functions are also known as arcus functions or anti-trigonometric functions. The inverse trigonometric functions are the inverse functions of basic trigonometric function
    11 min read
    Inverse Trigonometric Identities
    Inverse trigonometric functions are also known as arcus functions or anti-trigonometric functions. These functions are the inverse functions of basic trigonometric functions, i.e., sine, cosine, tangent, cosecant, secant, and cotangent. It is used to find the angles with any trigonometric ratio. Inv
    9 min read

    Calculus

    Introduction to Differential Calculus
    Differential calculus is a branch of calculus that deals with the study of rates of change of functions and the behaviour of these functions in response to infinitesimal changes in their independent variables.Some of the prerequisites for Differential Calculus include:Independent and Dependent Varia
    6 min read
    Limits in Calculus
    In mathematics, a limit is a fundamental concept that describes the behaviour of a function or sequence as its input approaches a particular value. Limits are used in calculus to define derivatives, continuity, and integrals, and they are defined as the approaching value of the function with the inp
    12 min read
    Continuity of Functions
    Continuity of functions is an important unit of Calculus as it forms the base and it helps us further to prove whether a function is differentiable or not. A continuous function is a function which when drawn on a paper does not have a break. The continuity can also be proved using the concept of li
    13 min read
    Differentiation
    Differentiation in mathematics refers to the process of finding the derivative of a function, which involves determining the rate of change of a function with respect to its variables.In simple terms, it is a way of finding how things change. Imagine you're driving a car and looking at how your spee
    2 min read
    Differentiability of a Function | Class 12 Maths
    Continuity or continuous which means, "a function is continuous at its domain if its graph is a curve without breaks or jumps". A function is continuous at a point in its domain if its graph does not have breaks or jumps in the immediate neighborhood of the point. Continuity at a Point: A function f
    11 min read
    Integration
    Integration, in simple terms, is a way to add up small pieces to find the total of something, especially when those pieces are changing or not uniform.Imagine you have a car driving along a road, and its speed changes over time. At some moments, it's going faster; at other moments, it's slower. If y
    3 min read

    Probability and Statistics

    Basic Concepts of Probability
    Probability is defined as the likelihood of the occurrence of any event. Probability is expressed as a number between 0 and 1, where, 0 is the probability of an impossible event and 1 is the probability of a sure event.Concepts of Probability are used in various real life scenarios : Stock Market :
    6 min read
    Bayes' Theorem
    Bayes' Theorem is a mathematical formula that helps determine the conditional probability of an event based on prior knowledge and new evidence.It adjusts probabilities when new information comes in and helps make better decisions in uncertain situations.Bayes' Theorem helps us update probabilities
    12 min read
    Probability Distribution - Function, Formula, Table
    A probability distribution is a mathematical function or rule that describes how the probabilities of different outcomes are assigned to the possible values of a random variable. It provides a way of modeling the likelihood of each outcome in a random experiment.While a frequency distribution shows
    15+ min read
    Descriptive Statistic
    Statistics is the foundation of data science. Descriptive statistics are simple tools that help us understand and summarize data. They show the basic features of a dataset, like the average, highest and lowest values and how spread out the numbers are. It's the first step in making sense of informat
    5 min read
    What is Inferential Statistics?
    After learning basic statistics like how data points relate (covariance and correlation) and probability distributions, the next important step is Inferential Statistics. Unlike descriptive statistics, which just summarizes data, inferential statistics helps us make predictions and conclusions about
    6 min read
    Measures of Central Tendency in Statistics
    Central tendencies in statistics are numerical values that represent the middle or typical value of a dataset. Also known as averages, they provide a summary of the entire data, making it easier to understand the overall pattern or behavior. These values are useful because they capture the essence o
    11 min read
    Set Theory
    Set theory is a branch of mathematics that deals with collections of objects, called sets. A set is simply a collection of distinct elements, such as numbers, letters, or even everyday objects, that share a common property or rule.Example of SetsSome examples of sets include:A set of fruits: {apple,
    3 min read

    Practice

    NCERT Solutions for Class 8 to 12
    The NCERT Solutions are designed to help the students build a strong foundation and gain a better understanding of each and every question they attempt. This article provides updated NCERT Solutions for Classes 8 to 12 in all subjects for the new academic session 2023-24. The solutions are carefully
    7 min read
    RD Sharma Class 8 Solutions for Maths: Chapter Wise PDF
    RD Sharma Class 8 Math is one of the best Mathematics book. It has thousands of questions on each topics organized for students to practice. RD Sharma Class 8 Solutions covers different types of questions with varying difficulty levels. The solutions provided by GeeksforGeeks help to practice the qu
    5 min read
    RD Sharma Class 9 Solutions
    RD Sharma Solutions for class 9 provides vast knowledge about the concepts through the chapter-wise solutions. These solutions help to solve problems of higher difficulty and to ensure students have a good practice of all types of questions that can be framed in the examination. Referring to the sol
    10 min read
    RD Sharma Class 10 Solutions
    RD Sharma Class 10 Solutions offer excellent reference material for students, enabling them to develop a firm understanding of the concepts covered. in each chapter of the textbook. As Class 10 mathematics is categorized into various crucial topics such as Algebra, Geometry, and Trigonometry, which
    9 min read
    RD Sharma Class 11 Solutions for Maths
    RD Sharma Solutions for Class 11 covers different types of questions with varying difficulty levels. Practising these questions with solutions may ensure that students can do a good practice of all types of questions that can be framed in the examination. This ensures that they excel in their final
    13 min read
    RD Sharma Class 12 Solutions for Maths
    RD Sharma Solutions for class 12 provide solutions to a wide range of questions with a varying difficulty level. With the help of numerous sums and examples, it helps the student to understand and clear the chapter thoroughly. Solving the given questions inside each chapter of RD Sharma will allow t
    13 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences