Binomial Random Variable: 3 Interesting Facts To Know

1 3

Binomial & Poisson random variable and its properties

    The random variable which deals with the success and failure outcome of the random experiment for n repetitions were known to be Binomial random variable the definition of its probability mass function deals with the probability of success p and probability of failure q only, the definition with examples already we has seen, now with the understanding we see some of the properties of such discrete random variable,

Expectation and Variance of the binomial random variable

Expectation and Variance of binomial random variable with n repetition and p as probability of success are

E[X]= np

and Var(X) = np(1-p)

now consider for showing these two the expectation of random variable of power k by following  the definition of probability mass function for binomial random variable as,

1 3
Binomial Random Variable

where Y is another binomial random variable with n-1 trials and p as the probability of success, If we take the value of k=1 then we will get

E[X]= np

and if we substitute k=2 we will get

E[X2] =npE[Y + 1]

=np[(n-1)p + 1]

so we will get easily

Var(X)=E[X2] – (E[X])2

=np[(n-1)p + 1] -(np)2

=np(1-p)

Example: For an unbiased coin do the experiment of tossing 100 times and for the number of tails that appearing in this case find the mean, variance and standard deviation of such experiment.

The tail for one toss has the probability of success p=1/2=0.5

so the mean of such experiment is

E[X]= np

since the experiment is binomial as only success or failure we will get for n number of repetitions

so as μ=np

μ=100x(0.5)=50

Similarly the variance and the standard deviation will be

Var(X)= np(1-p)

σ2= np(1-p)

2 3

The value would be

σ2 =(100)(0.5)(0.5)=25

Example:     Find the mean and standard deviation for the probability of 0.1 defectiveness in bolt manufacturing company from the lot of 400 bolt.

here n=400, p=0.1, mean= np =400×0.1=40

since

σ2= np(1-p)

3

so standard deviation will be

4

Example: Find the probability of exactly, less than and at least 2 successes if the mean and standard deviation for the binomial random variable is 4 and 2 respectively.

Since mean = np= 4

and variance = np(1-p) = 2,

so 4(1-p)=2

(1-p)=1/2

p=1-(1/2)

putting this value in mean we get

np = 4

n(1/2)=4

n=8

probability of exactly 2 successes will be

5

probability of less than 2 successes will be

p(X < 2)

=P(0) +P(1) = 8C0 p0q8 + 8C1 p1q7

=(1/256)+8 x (1/2) x (1/2)7 = 9/256

Probability of at least 2 successes

p(X>2)= 1- p(X<2)

=1-P(0) – P(1)= 1-[P(0) + P(1)] =1- (9/256)=247/256

Poisson Random Variable

    The discrete random variable X that takes the values 0,1,2…….. is known to be Poisson Random variable provided for any λ>0 its probability mass function must be

6

or

7

as

8

When n is very large and the probability of success p is very small in such case Poisson random variable with its probability mass function became the approximation of binomial random variate with respective p.m.f. because the expectation in this case which is np will be moderate and that would be λ= np .

Example: Find the probability that there is at least one typing error on each page of the book which has Poisson distribution with mean 1/2 for a single page.

Let the discrete random variable X denote the errors on the page. so the Poisson random variable has the probability mass function as

8 1

λ = 1/2

9 1
10

Example: Find the probability that the sample of 10 items produced by a machine with 0.1 chances of defective production has at the most one defective item.

10 1

This we can solve both by binomial probability mass function as well as Poisson probability mass function, so we solve this by Poisson

Expectation and variance of the Poisson random variable

Expectation and Variance of Poisson random variable with n repetition and p as probability of success are

E[X]= np= λ

and          

Var(X) = np= λ

Before showing the result the we must keep in mind that the Poisson random variable is nothing but the approximation of Binomial random variable so np= λ now expectation by using the probability mass function will be

13
14
15
16

This means the mathematical expected value of Poisson random variable is equal to its parameter, similarly for calculating the variance and standard deviation of Poisson random variable we require expectation of square of X so,

17
AnyConv.com 18
AnyConv.com 19
AnyConv.com 21

The above summation is obvious as two of the sums are expectation and sum of the probabilities.

Thus the value of variance we will get is

Var(X) = E[X2] – (E[X])2

so in the case of Poisson random variable the mean and variance have the same value i.e np as a parameter.

The Poisson random variable is the approximation good for the finding of diverse processes e.g. finding the occurrence of number of earthquakes within some specific time duration, finding the number of electron during a fixed time from the heated cathode, finding the possible number of deaths during specified time, or number of wars within specific year e.t.c.

Example : Calculate the probability that the total number of passengers in two days is less than 2. If the number of arrival of passengers with mean 5 follows Poisson random variable. mean=np=5

AnyConv.com 22 1

If we consider the number of passengers in two days less than 2 it would be

First daySecond dayIn total
000
011
101

so the probability will be the combination of these two days as

AnyConv.com 23 1
AnyConv.com 24
AnyConv.com 25

=e-10[1+5+5]

=11e-10

=114.5410-5

=4.994*10-4

Example: Calculate the probability of 4 or more faulty condensers from a pack of 100 condensers provided the manufacturing defect for the condensers is 1%.

Here p=1% =0.01 and n= 100 * 0.01 =1

so we can use the Poisson random variables probability mass function P.M.F

mean= np = 100*0.01=1

AnyConv.com 26

so the probability for 4 or more faulty condensers will be

AnyConv.com 27

=1-[P(0)+P(1)+P(2)+P(3)]

AnyConv.com 28

Example: If 0.002 chances are there for a product to be defective from the manufacturing, for a pack containing 10 of such products what would be the probability that such a packet has no defective, one defective, and two defective products from the consignment of 50000 packets of same product.

Here for a single pack probability of defect i.e p=0.002, n=10

then the mean np=0.002*10= 0.020

AnyConv.com 29

we will find for each case as

AnyConv.com 30
Binomial Random Variable: Example

So from the table it is clear that the number of defective blades in packets zero, one and two will be 4900,980,10 respectively.

Conclusion:

   In this article we discussed some properties of one of Binomial random variable, Poisson random variable and Random Experiment.  Also one more discrete random variable i.e Poisson random variable, discussed with properties. The distribution for the probability mass function, expectation , variance and standard deviation example also taken for better understanding , In the next articles we try to cover some more discrete random variables if you want further reading then go through Mathematics Page.

Schaum’s Outlines of Probability and Statistics

https://en.wikipedia.org/wiki/Probability

Probability Mass Function: 5 Examples

Discrete Random Variable and Mathematical Expectation-II

As already we now familiar with the discrete random variable, it is the random variable which takes countable number of possible values in a sequence. The two important concept related to the discrete random variables are the probability of discrete random variable and distribution function we restrict the name to such probability and distribution function as,

Probability Mass function (p.m.f)

                The Probability Mass function is the probability of the discrete random variable, so for any discrete random variables  x1, x2, x3, x4,……, xk  the corresponding probabilities P(x1), P(x2), P(x3), P(x4)……, P(xk) are the corresponding probability mass functions.

Specifically, for X=a, P(a)=P(X=a) is its p.m.f

We here onwards use probability mass function for discrete random variables probability.  All the probability characteristics for the probability will obviously applicable to probability mass function like positivity and summation of all p.m.f will be one e.t.c.

Cumulative Distribution Function (c.d.f)/Distribution Function

  The distribution function defined as

F(x)=P(X<=x)

for discrete random variable with probability mass function is the cumulative distribution function (c.d.f.) of the random variable.

and mathematical expectation for such random variable we defined was

gif

we now see some of the results of mathematical expectations

  1. If x1, x2, x3, x4,….. are the discrete random variables with respective probabilities P(x1), P(x2), P(x3), P(x4) … the expectation for the real valued function g will be
gif

Example: for the following probability mass functions find the E(X3)

probability mass function

Here the g(X)=X3

So,

gif
gif

E (X3) = (-1)3 <em>0.2 + (0)3</em> 0.5 + (1)3 * 0.3

E (X3) = 0.1

In the similar way for any nth order we can write

CodeCogsEqn 13

Which is known as nth moment.

2. If a and b are constants then

E[aX + b]=aE[X] + b

This we can understand easily as

gif
gif

=aE[X] + b

Variance in terms of Expectation.

                For the mean denoted by μ the variance of the discrete random variable X denoted by var(X) or σ in terms of expectation will be

Var(X) =E[(X- μ)2]

and this we can further simplify as

Var(X) =E[(X- μ)2]

gif
gif
gif
gif
gif

= E [X2] – 2μ2 + μ2

= E [X2] – μ2

this means we can write the variance as the difference of the expectation of random variable square and square of expectation of random variable.

i.e. Var (X)= E[X2] – (E[X])2

Example:  when a die is thrown calculate the variance.

Solution:  here we know when die thrown the probabilities for each face will be

p(1)=p(2)=p(3)=p(4)=p(5)=p(6)=1/6

hence for calculating variance we will find expectation of random variable and its square as

E[X]=1.(1/6)+2.(1/6)+3.(1/6)+4.(1/6)+5.(1/6)+6.(1/6)=(7/2)

E[X2] =12.(1/6)+22.(1/6)+32.(1/6)+42.(1/6)+52.(1/6)+62.(1/6) =(1/6)(91)

and we just obtained the variance as

Var (X) =E[X2] – (E[X])2

so

Var (X)=(91/6) -(7/2)2 =35/12

One of the important identity for variance is

  1. For the arbitrary constants a and b we have

Var(aX + b) =a2 Var(X)

This we can show easily as

Var(aX + b) =E[(aX+ b -aμ-b)2 ]

=E[a2(X – μ)2]

=a2 E[(X-μ)2]

=a2 Var(X)

Bernoulli Random variable

      A Swiss mathematician James Bernoulli define the Bernoulli random variable as a random variable having either success or failure as only two outcomes for the random experiment.

i.e When the outcome is success X=1

When the outcome is failure X=0

So the probability mass function for the Bernoulli random variable is

p(0) = P{X=0}=1-p

p(1) =P{X=1}=p

where p is the probability of success and 1-p will be the probability of failure.

Here we can take 1-p=q also where q is the probability of failure.

As this type of random variable is obviously discrete so this is one of discrete random variable.

Example: Tossing a coin.

Binomial Random Variable

If for a random experiment which is having only outcome as success or failure we take n trials so each time we will get either success or failure then the random variable X representing outcome for such n trial random experiment is known as Binomial random variable.

                In other words if p is the probability mass function for the success in  the single Bernoulli trial and q=1-p is the probability for the failure then the probability for happening of event ‘x or i’ times in n trials will be

gif

or

gif.latex?p%28i%29%3D%5Cbinom%7Bn%7D%7Bi%7Dp%5E%7Bi%7D%281 p%29%5E%7Bn i%7D%20where%20i%20%3D0%2C1%2C2%2C%u2026

Example: If we toss two coins six times and getting head is success and remaining occurrences are failures then its probability will be

gif
gif

in the similar way we can calculate for any such experiment.

The Binomial random variable is having the name Binomial because it represent the expansion of

Test
If we put in place of n=1 then this would turn into the Bernoulli’s random variable.

Example: If five coins were tossed and the outcome is taken independently then what would be the probability for number of heads occurred.

Here if we take random variable X as the number of heads then it would turns to the binomial random variable with n=5 and probability of  success as ½

So by following the probability mass function for the binomial random variable we will get

gif
gif
gif
gif
gif

Example:

In a certain company the probability of defective is 0.01 from the production. The company manufacture and sells the product in a pack of 10 and to its customers offer money back guarantee that at most 1 of the 10 product is defective, so what proportion of sold products pack the company must replace.

Here If X is the random variable representing the defective products then it is of the binomial type with n=10 and p=0.01 then the probability that the pack will return is

CodeCogsEqn 14

Example: (chuck-a-luck/ wheel of fortune) In a specific game of fortune in hotel a player bet on any of the numbers from 1 to 6, three dice then rolled and if the number appears bet by the player once, twice or thrice the player that much units means if appear once then 1 unit if on two dice then 2 units and if on three dice then 3 units, check with the help of probability the game is fair for the player or not.

If we assume there will be no unfair means with the dice and con techniques then by assuming the outcome of the dice independently the probability of success for each dice is 1/6 and failure will be

 1-1/6 so this turns to be the example of binomial random variable with n=3

so first we will calculate the winning probabilities by assigning x as players win

gif
gif
gif
gif

Now to calculate the game is fair for the player or not we will calculate the expectation of the random variable

E[X] = -125+75+30+3/216

= -17/216

This means the probability of losing the game for the player when he plays 216 times is 17.

Conclusion:

   In this article we discussed some of the basic properties of a discrete random variable, probability mass function and variance.  In addition we has seen some types of a discrete random variable, Before we start the continuous random variable we try to cover all the types and properties of discrete random variable, if you want further reading then go through:

Schaum’s Outlines of Probability and Statistics

https://en.wikipedia.org/wiki/Probability

For more Topics on Mathematics, please follow this link

The Conditional Probability: 7 Interesting Facts To Know

CodeCogsEqn 1 2

Conditional probability

Conditional probability theory come out from the concept of taking huge risk. there are many issue now a days that stalk from the game of chance, such as throwing coins, throwing a dice, and playing cards. 

Conditional probability theory is applied in many different domains and the flexibility of Conditional probability provides tools for almost so many different needs. probability theory and samples related to the study of the probability of the happening of events.

Consider X and Y both are two events of a incidental experiment. Afterwards, the probability of the happenings of X under the circumstance that Y has already happened with P (Y) ≠ 0, is known as conditional probability and is denoted by P (X / Y).

Therefore, P (X / Y) = The probability of the happening of X, if provided that Y has already happened.

P(X ⋂ Y)/P( Y ) = n(X ⋂ Y)/n (Y )

Similarly, P (Y / X) = The probability of the occurrence of Y, as X has already happened.

P(X ⋂ Y)/P( X ) = n(X ⋂ Y)/n (Y )

In brief for some cases, P (X / Y) is used to specify the probability of the occurrence of X when Y occurs. Similarly, P (Y / X) is used to specify the probability of Y happening while X happens.

What is Multiplication theorem on Probability?

If X and Y both are self-supporting (independent) events of  a arbitrary experiment, then

P( X Y) = P( X ). P( X/Y ), if P ( X ) ≠ 0

P( X Y) = P( Y ). P( Y/X ), if P ( Y ) ≠ 0

What is Multiplication theorems for independent events? 

If X and Y both are self-supporting (independent) events connected to  a arbitrary experiment, then   P(X ∩ Y) =P(X).P(Y)

i.e., the probability of simultaneous happening of two independent events is equal to the multiplication of their probabilities. By using multiplication theorem, we have  P(X ∩ Y) =P(Y).P(Y/X)

 As X and Y are independent events, therefore P(Y/X)=P(Y)

Implies, P(X ∩ Y) =P(X).P(Y)

While events are mutually exclusive : 

If X and Y are mutually exclusive events, then ⇒ n(X ∩ Y)= 0 , P(X ∩ Y) = 0

P(X U Y)=P(X) +P(Y)

For any three events X, Y, Z which are mutually exclusive, 

P(X ∩ Y)= P(Y ∩ Z) =P(Z ∩ X) =P(X ∩ Y ∩ Z) =0

P (X ⋃ Y ⋃ Z) = P(X) + P(Y) + P(Z)

While events are independent : 

If X and Y are unconstrained (or independent) events, then

P(X ∩ Y) = P(X).P(Y)

P(X U Y) = P(X) + P(Y) – P(X). P(Y)

Let X and Y be two events connected with a arbitrary (or random) experiment, then

CodeCogsEqn 1 2
CodeCogsEqn 2 1

If Y⊂ X, then

CodeCogsEqn 4

(b) P(Y) ≤ P(X)

Similarly if X⊂ Y, then

CodeCogsEqn 6

(b) P(X) ≤ P(Y)

Probability of occurrence of neither X nor Y is 

CodeCogsEqn 8

Example: If from a pack of cards a single card is picked. What is the possible chance that it is either a spade or a king?

solution:

P (A) = P (a spade card) =13/52

P (B) = P (a king card) =4/52

P (either a spade or a king card) = P (A or B)

=P(A∪B)=P(A)+P(B)-P(A∩B)

=P(A)+P(B)-P(A)P(B)

=13/52+4/52-{(13/52)*(4/52)}

=4/13

Example: Someone is known to hit the target with 3 out of 4 chances, while another person is known to hit the target with 2 out of 3 chances. Find out if the probability that target are likely to be hit at all when both people are trying.

solution:

 probability of  target hit by first person = P (A) =3/4

probability of  target hit by second person = P (B) =2/3

The two events are not mutually exclusive, since both persons hit the same target   =P (A or B)

=P(A∪B)=P(A)+P(B)-P(A∩B)

=P(A)+P(B)-P(A)P(B)

=3/4+2/3-{(3/4)*(2/3)}

=11/12

Example: If  A  and B are two events such that P(A)=0.4 , P(A+B)=0.7 and P(AB)=0.2 then P(B) ?

solution: Since we have P(A+B)=P(A) +P(B) -P(AB)

=> 0.7=0.4+ P(B)-0.2

=> P(B) =0.5

Example: A card is selected at arbitrary from a pack of cards. What is the possibility of the card being a red color card or a queen.

Solution: Required probability  is

P(Red + Queen)-P(Red ⋂ Queen)

=P(Red) +P(Queen)-P(Red ⋂ Queen)

=26/52+4/52-2/52=28/52=7/13

Example: If the probability of X failing in the test is 0.3 and that the probability of Y is 0.2, then find the probability that X or Y failed in the test?

Solution: Here P(X)=0.3 , P(Y)=0.2

Now P(X ∪ Y)= P(X) +P(Y) -P(X ⋂ Y)

Since these are independent events, so

P(X ⋂ Y) =P(X) . P(Y)

Thus required probability is 0.3+0.2 -0.06=0.44

Example: The chances to fail in Physics are 20% and the possibility to fail in Mathematics are 10%. What are the possibilities to fail in at least one subject ?

Solution: Let P(A) =20/100=1/5, P(B) =10/100=1/10

Since events are independent and we have to find 

P(A ∪ B)=P(A) +P(B) -P(A). P(B)

=(1/5)+(1/10)-(1/5). (1/10)= (3/10)-(1/50)=14/50

So the chance of fail in one subject is (14/50)X 100=28%

Example: The probability of solving a question by three students are 1/2,1/4, and 1/6 respectively. What  will be the possible chance of answering the question?

Solution:

(i) This question can also be solved by one student

(ii) This question can be answered by two students concurrently.

(iii) This question can be answered by three students all together.

P(A)=1/2, P(B)=1/4, P(C)=1/6

P(A ∪ B ∪ C)= P(A) + P(B) +P(C)- [P(A).P(B)+P(B).P(C)+P(C).P(A)] + [P(A).P(B).P(C)]

=(1/2)+(1/4)+(1/6)-[(1/2).(1/4)+(1/4).(1/6)+(1/6).(1/2)] +[(1/2).(1/4).(1/6)] =33/48

Example: A random variable X has the probability distribution

X12345678
P(X)0.150.230.120.100.200.080.070.05
Conditional probability: Example

For the events E ={X is prime number} and F={X<4},  find the probability of P(E ∪ F) .

Solution:

E ={ X is a prime number}

P(E) = P(2) +P(3)+ P(5) +P(7) =0.62

F ={X < 4}, P(F) =P(1)+P(2)+P(3)=0.50

and P(E ⋂ F) = P(2)+ P(3) =0.35

P(E ∪ F) =P(E)+P(F) – P(E ⋂ F)

      = 0.62+0.50 – 0.35 = 0.77

Example: Three coins are tossed. If one of them appears tail, then what would be the possible chance that all the three coins appear tail ?

Solution: Consider E is the event where all the three coins appears tail and F is the event where a coin appears tail. 

F= {HHT, HTH, THH, HTT, THT, TTH, TTT}

and E = {TTT}

Required probability = P(E/F)=P(E ⋂F )/P(E)=1/7

Total probability and Baye’s rule

The law of total probability :

For the sample space S and n mutually exclusive and exhaustive events E1 E2 ….En related with a random experiment. If X is a specific event which happens with the events E1 or E2 or …or En, then 

Baye’s rule : 

Consider S be a sample space and E1, E2, …..En be n incongruous (or mutually exclusive) events such that

gif

and P(Ei) > 0 for i = 1,2,…,n

We can think of Ei’s as the factors leading to the outcome of the an experiment. The probabilities P(Ei), i = 1, 2, ….., n are called known as prior (or earlier) probabilities. If the assessment outcomes in an result of event X, where P(X) > 0. Then we have to perceive the possibility that the perceived the event X was due to cause Ei, that is, we look for the conditional probability P(Ei/X) . These probabilities are known as posterior probabilities, given by Baye’s rule as

CodeCogsEqn 11

Example: There are 3 Boxes which are known to contain 2 blue and 3 green marbles ; 4 blue and 1 green marbles and 3 blue and 7 green marbles respectively. A marble is drawn at random from one of the boxes and found to be a green ball. Then what is the probability that it was drawn from the Box containing the most green marbles.

Solution: Consider the following events :

A ->marble drawn is green;

E1 -> Box 1 is chosen;

E2 Box 2 is chosen

E3 Box 3 is chosen.

P(E1)=P(E2)=P(E3)=1/3 , p(A/E1)=3/5

Then

P(A/E2)=1/5, P(A/E3)=7/10

Required probability =P(E3/A)

P(E3)P(A/E3)/P(E1)P(A/E1)+P(E2)P(A/E2)+P(E3)P(A/E3)=7/15

Example: In an entrance test there are multiple choice questions. There are four probable correct answers to each question of which one is right. The possible chance that a pupil perceives the right answer to a particular question is 90%. If he gets the right answer to a particular question, then what is the probable chance that he was predicting.

Solution: We define the following events :

A1 : He knows the answer.

A2 : He might not know the answer.

E: He is aware of the right answer.

P(A1) =9/10, P(A2) =1-9/10=1/10, P(E/A1)=1,

P(E/A2) = 1/4

uLx44GwAKqC5FgaL3pOZbwf6PytzEThkEgj1wp1QOhW7NHbiboSvyGjKjfVSpcNTxeR nEuIiYOwQhKhUHvnIXZ7i58YjsAvAKyB7DJAQLePSkZLYRoLLbIIZd3JaC Ewhor dc So the expected probability

Conditional Probability
Conditional Probability

Example: Bucket A contains 4 Yellow and 3 Black Marbles and Bucket B contains 4 Black and 3 Yellow Marbles. One Bucket is taken at random and a Marble is drawn and noted it is Yellow. What is the probability that it comes Bucket B.

Solution: It is based on Baye’s theorem. 

Probability of picked Bucket A , P(A)=1/2

Probability of picked Bucket B , P(B)=1/2

Probability of Yellow Marble picked from Bucket A  =P(A). P(G/A)=(1/2)x (4/7)=2/7 

Probability of Yellow Marble picked from Bucket B = P(B).P(G/B)=(1/2)x(3/7)=3/14

Total probability of Yellow Marbles= (2/7)+(3/14)=1/2

Probability of fact that Yellow Marbles is drawn from Bucket B  

P(G/B)={P(B).P(G/B)}/{P(A).P(G/A)+P(B).P(G/B)}={(1/2)x(3/7)}/{[(1/2)x(4/7)]+[(1/2)+(3/7)]} =3/7

Conclusion:

 In this article we mainly discuss on the Conditional Probability and Bayes theorem with the examples of these the direct and dependent consequence of the trial we discuss so far now in the consecutive articles we relate probability to random variable and some familiar terms related to probability theory we will discuss, if you want further reading then go through:

Schaum’s Outlines of Probability and Statistics and Wikipedia page.

For further study, please refer our mathematics page.

Permutations And Combinations: 3 Important Facts To Remember

  After discussing the definitions and basic concepts we will enlist all the results and relations of permutation and combination, depending on all those we will get more familiar with the concept of permutation and combination by solving miscellaneous examples.

Points to remember (Permutation)

  1. The number of ways of ordering = nPr={n(n-1)(n-2)…..(n-r+1)((n-r)!)}/(n-r)!= n!/{(n-r)!}
  2. The number of arranging of n different objects taken all together at a time is = nPn =n!
  3. nP0 =n!/n!=1
  4. P=n. n-1Pr-1
  5. 0!=1
  6. 1/(-r)!=0 , (-r)!=∞ (r N)
  7. The number of ways of filling r places where every place can be filled by any one of n objects, The count of permutations = The number of ways of stuffing r places =(n)r   

Example: How many numbers between 999 and 10000 can be generated with the help of numbers 0, 2, 3,6,7,8 where the digits must not be duplicated?

Solution: The numbers in between 999 and 10000 all are of four digit numbers.

                   The four-digit numbers constructed by digits 0, 2, 3,6,7,8 are

Permutation
Permutation: Example

  But here those numbers are also involved which begin from 0. So we can take the numbers which are formed with three digits.

Taking initial digit 0, the number of ways to arrange pending 3 places from five digits 2, 3,6,7,8 are 5P3 =5!/(5-3)!=2!*3*4*5/2!= 60

So the required numbers = 360-60 = 300.

Example: How many books can be set out in a row so that the two books mentioned are not together?

Solution: Total number of orders of n different books =n!.                                                                                                                

           If two mentioned books always together then number of ways =(n-1)!x2

Example: How many ways are there divided by 10 balls between two boys, one getting two and the other eight.

Solution: A gets 2, B  gets 8;  10!/2!8!=45

                  A gets 8, B gets 2; 10!/(8!2!)=45

that means 45+45=90 ways the ball will be divided.

Example: Search the number of arranging of the alphabets of the word “CALCUTTA”.

Solution: Required number of ways =8!/(2!2!2!)=5040

Example: Twenty people have been invited to the party. How many different ways in which they and the host can sit at a round table, if the two people have to sit on either side of the keeper.

Solution: There will be total 20 + 1 = 21 persons in all.

The two specified persons and the host be considered as one unit so that these remain 21 –  3 + 1 = 19 persons to be arranged in 18 ! ways.

 But the two particular person on either side of the host can themselves be arranged in 2! ways.

  Hence there are 2 ! *18 ! ways.

Example : In how many ways a garland can be made from exactly 10 flowers.

Solution:  n flowers’ garland can be made in (n-1)! ways.

Using 10 flowers garland can be prepared in 9!/2 different ways.

Example: Find the specific four-digit number which should be formed by 0, 1, 2, 3, 4, 5, 6, 7 so that each and every number has the number 1.

Solution: After securing 1 at first position out of 4 places 3 places can be filled by7P3 =7!/(7-3)!=5*6*7=210 ways.

But some numbers whose fourth digit is zero, so such type of ways =6P2=6!/(6-2)!=20.

                   Total ways = 7P36P2 =210-20=180

Keep these Points in mind for Combination

  • The number of combinations of n objects, of which p are identical, taken r at a time is

n-pCr+n-pCr-1+n-pCr-2+……..+n-pC0 , if r<=p and  n-pCr+n-pCr-1+n-pCr-2+…..+n-pCr-p  , if r>p

  1. n choose 0 or n choose n is 1, nC0 = nCn =1, nC1 =n.
  2. nCr + nCr-1 = n+1Cr
  3. Cx = nCy <=> x=y or x+y=n
  4. n. n-1Cr-1 =(n-r+1) nCr-1
  5. nC0+nC2+nC4+….=nC1+nC3+nC5…..=2n-1
  6. 2n+1C0+2n+1C1+2n+1C2+……+2n+1Cn=22n
  7. nCn+n+1Cn+n+2Cn+n+3Cn+………..+2n-1Cn=2nCn+1
  8. Number of combinations of n dissimilar things taken all at a time. nCn=n!/{n!(n-n)!}=1/(0)!=1

In continuation we will solve some examples  

Example: If 15Cr=15Cr+5 , then what is the value of r?

Solution: Here we will use the above

 nCr=nCn-r on the left side of the equation

15Cr=15Cr+5 => 15C15-r =15Cr+5

=> 15-r=r+5 => 2r=10 => r=10/2=5

so the value of r is 5 implies the problem of 15 CHOOSE 5.

Example: If 2nC3 : nC2 =44:3   find the value of r, So that the value of nCr  will be 15.

 Solution: Here the given term is the ratio of 2n choose 3 and n choose 2 as

by the definition of combination

(2n)!/{(2n-3)!x3!} X {2!x(n-2)!}/n!=44/3

=> (2n)(2n-1)(2n-2)/{3n(n-1)}=44/3

=> 4(2n-1)=44 =>2n=12 => n=6

                   Now 6Cr=15 => 6Cr=6C2   or 6C4 => r=2, 4

so the problem is turned out to be 6 choose 2 or 6 choose 4

Example:  If  nCr-1= 36 nCr=84 and nCr+1=126 , then what would be the value of r ?

 Solution : Here nCr-1 / nCr =36/84 and nCr /nCr+1 =84/126 .

(n)!/{(n-r+1)!x(r-1)!} X {(r)!x(n-r)!}/(n)!=36/84

r/(n-r+1)=3/7 => 7r=3n-3r+3

=> 3n-10r=-3, and similarly from second ration we get

4n-10r=6

On solving, we get n=9, r=3

so the problem turned out to be 9 choose 3 , 9 choose 2 and 9 choose 4.

Example: Everyone in the room shakes hands with everyone. The total count of handshaking are 66. Find the number of person in the room.

nC2 =66 => n!/{2!(n-2)!}=66 => n(n-1)=132 => n=12

Solution: so the value of n is 12 implies the total number of people in the room is 12 and the problem is 12 choose 2.

Example: In a football tournament, 153 games were played. All teams played one game. find the number of groups involved in tournament.

Solution:

here nC2 =153 => n!/{2!(n-2)} = 153 => n(n-1)/2=153 => n=18

so the total number of teams participated in the tournament were 18 and the combination is 18 choose 2 .

Example During the Deepawali ceremony each club member sends greeting cards to others. If there are 20 members in the club, what would be the total number of ways greeting cards exchanged by the members.

Solution: Since two members can exchange cards each other in two ways so there is 20 choose 2 two times

2 x 20C2 =2 x (20!)/{2!(20-2)!}=2*190=380, there would be 380 ways to exchange greeting cards.

Example: Six plus ‘+’ and four minus ‘-’ symbols should be arranged in such a straight line so that no two ‘-’ symbols meet, find  the total number of ways .

 Solution: The ordering can be make as -+-+-+-+-+-+- the (-) signs can be put in 7 vacant (pointed) place.

Hence required number of ways = 7C4 =35 .

Example: If nC21 =nC6 , then  find nC15 =?

Solution: Given nC21 =nC6

21+6=n => n=27

Hence 27C15 =27!/{15!(27-15)!} =17383860

which is the 27 choose 15.

Conclusion

Some examples are taken depending on the relations and results, as number of examples we can take on each of the result but the important thing here I want to show was how we can use any result depending on the situation if you require further reading you can go through the content or if any personal help then you can free to contact us some of the related content you can find from:

For more topics on Mathematics, please check this link.

SCHAUM’S OUTLINE OF Theory and Problems of DISCRETE MATHEMATICS

https://en.wikipedia.org/wiki/Permutation

https://en.wikipedia.org/wiki/Combination

Discrete Random Variable & Mathematical Expectation: 5 Facts

Image1

Discrete Random Variable and Mathematical Expectation

Usually we are not interested in all the possible outcome of any random or non-random experiment instead we are interested in some probability or numerical value for the favorable events, for example suppose we are throwing two dice for the sum as 8 then we are not interested in the outcome as first dice having 2 second dice as 6 or (3,5), (5,3), (4,4), (6,2),etc. likewise for the random of experiment of reservoir in daily life we are not interested in the daily increase or decrease of water level but only interested in the rainy season water level after completion.

So such numerical quantities in which we are interested are considered as random variable of the respective random experiment.  For this purpose we assign the possible real values to the outcomes of the random experiment numerically. For illustration of assigning numerical value to the outcome consider the experiment of tossing a coin, we assign numerical value 0 and 1 for head and trail respectively in sample space of the random experiment. 

Discrete Random Variable

Discrete random variable can be define as the random variable which are finite or countably infinite in number and those who are not finite or countably infinite are Non-discrete random variables.  For every element of sample space we are assigning a real number, this can be interpreted in terms of real valued function denoted by X i.e. X:S→R. We call this function as a random variable or stochastic function, which has some physical, geometric or any other importance.

Example: Consider an experiment of throwing two dice then suppose random variable or stochastic function represent sum of the points appeared on the dice then the possible values for the sample space

S={(1,1), (1, 2), (1,3), (1,4), (1,5) , (1,6) ,

          (2,1), (2,2), (2,3), (2,4), (2,5), (2,6),

          (3,1), (3,2), (3,3), (3,4), (3,5), (3,6),

        (4,1), (4,2), (4,3), (4,4), (4,5), (4,6),

        (5,1), (5,2), (5,3), (5,4), (5,5), (5,6),

        (6,1), (6,2), (6,3), (6,4), (6,5), (6,6)}

will be X=2, for (1,1)

X=3 for (1,2), (2,1) etc from the following we can understand easily

X=2(1,1)(1,2)(1,3)(1,4)(1,5)(1,6)
X=3(2,1)(2,2)(2,3)(2,4)(2,5)(2,6)
X=4(3,1)(3,2)(3,3)(3,4)(3,5)(3,6)
(4,1)(4,2)(4,3)(4,4)(4,5)(4,6)
X=5(5,1)(5,2)(5,3)(5,4)(5,5)(5,6)
X=6(6,1)(6,2)(6,3)(6,4)(6,5)(6,6)
X=7X=8X=9X=10X=11X=12

In the above table the diagonal elements from right to left will give the sum expressed by the random variable or stochastic function.

The probability for the respective random variable can be expressed as follows

Discrete Random Variable
Discrete Random Variable: throwing of two dice sample space

Discrete Probability Distribution

Discrete probability distribution is the probabilities of the random variables which are discrete in nature, in particular if x1, x2, x3, x4, ………., xk are the values of discrete random variable X then P(x1), P(x2), P(x3), P(x4), ……… .P(xk) are the corresponding probabilities.

Probability function/probability distribution we can denote as 

P(X=x)=f(x)

and following the definition of the probability this function satisfies following conditions.

  1. f(x)≥0
  2. Σ f(x)=1, where this summation is total summation for x.

Example: If a coin tossed two times, then if we express the number of trails come up as random variable X, then it would be 

OutcomesTTTHHTHH
X2110

If we take the fair coin then the above will be the outcome for tossing twice and the probability for such random variable will be

P (X=0) = P (H,H) =1/4

P (X=1) = P (TH or HT) = P (TH ∪ HT) = P ( TH) + P ( HT)=1/4+1/4=1/2

and P ( X=2) = P (TT) =1/4

This probability distribution we can tabulate as follows

X012
P(X=x)=f(x)¼½1/4

Cumulative Distribution Function (c.d.f)/Distribution Function

We will define Distribution function or Cumulative Distribution Function (c.d.f) for the discrete random variable X denoted by F(x), for-∞≤x≤∞ as

F(x)=P(X≤x)

Provided it follows

  1. For any x,y , x≤y, F(x) ≤ F(y) i.e. cumulative distribution function F(x) is non-decreasing.
  2. F(x) =0 and F(x)=1
  3. F(x+h)=F(x),   ∀ x i.e. . cumulative distribution function F(x) is right continuous.

Since for the discrete random variable probability for X=x is P(X=x), for x1<X<x2 will be P(x1<X<x2) and for X≤x is P(X≤x).

We can write the Distribution function for discrete distribution function as follows

Discrete Random Variable
Discrete Random Variable: Cumulative Distribution Function

we can obtain the probability function from the distribution function as

P (X=x) = f(x) =F(x)-F(u)

Example: The probability for the discrete random variable is given as follows

X01234567
P(x)01/101/51/53/101/1001/5017/100
Cumulative Distribution Function

Find F2, F5, F(7)?

Solution:

Discrete Random Variable
Discrete Random Variable: Example

Mathematical Expectation 

   Mathematical expectation is very important concept for the probability theory as well as statistics point of view it is also known as the expectation or expected value, it can be defined as the summation of random variables and its probabilities in multiplication i.e if x1, x2, x3, x4, ……….xn are the values of discrete random variable X then P(x1),P(x2),P(x3),P(x4),……….P(xn) are the corresponding probabilities then mathematical expectation of random variable X denoted by E(x)  as

Discrete Random Variable
Discrete Random Variable: Example

Example: From a pack of 72 cards numbered from 1 to 72 at a time 8 cards are drawn, find the expected value of the sum of numbers on tickets drawn.

Solution:.  consider the random variables x1, x2, x3, x4,……….xn representing the cards numbered 1, 2, 3, 4, ………, 72

so probability of any x out of 72 card is 

P(xi)=1/n=1/72

since then expectation will be

E(x)=x1.(1/n)+x2.(1/n)+x3.(1/n)+……………+xn.(1/n)

E(x)=1.(1/n)+2.(1/n)+3.(1/n)+……………+72.(1/n)

={1+2+3+……………..+72}*(1/72)=72*(72+1)/2*(1/72)=73/2

Now the expected value for 8 such cards will be 

E(x)=x1.(1/n)+x2.(1/n)+x3.(1/n)+……………+x8.(1/n)

E(x)=1.(1/n)+2.(1/n)+3.(1/n)+……………+8.(1/n)

={1+2+3+……………..+8}*(1/72)

=8*(8+1)/2*(1/72)=12

Variance, Standard deviation and Mean deviation by Mathematical Expectation

The important concepts of the statistics standard deviation and variance we can express in terms of mathematical expectation, so if the random variables x1, x2, x3, x4, ……….xn with the corresponding probabilities  P(x1), P(x2), P(x3), P(x4), ……….P(xn)  then variance will be

Discrete Random Variable
Discrete Random Variable: standard deviation

Example: In a game if a fair dice is used and player will win if any odd value come on dice  and prize money will be given Rs 20 if 1 come, Rs 40  for 3, and Rs 60 for  5 and if any other face of the dice came Rs 10 loss for the player. find the expected money that can be won with variance and standard deviation.

Solution:

For the fair dice we know the distribution of the probabilities,

X123456
P(X=x)1/61/61/61/61/61/6
standard deviation

Let X be the random variable for the dice convert as per the game requirement money won or loss when face came as follows,

X+20-1040-1060-10
P(X=x)1/61/61/61/61/61/6
standard deviation

so the expected amount won by any player will be

  E(x)=(20).(1/6)+(-10).(1/6)+(40).(1/6)+(-10).(1/6)+(60).(1/6)+(-10).(1/6)=15

so the expected amount won by any player would be μ=15

Discrete Random Variable
Discrete Random Variable: standard deviation

The result of the mathematical expectation as well as variance can be generalized for more than two variables as per requirement.

Conclusion:

   In this article we mainly discussed the discrete random variable, probability distribution and distribution function known as cdf cumulative distribution function, Also the concept of Mathematical Expectation for discrete random variable and what would be the mean deviation, variance and standard deviation for such discrete random  variable is explained with the help of suitable examples in next article we will discuss the same for continuous random variable, if you want further reading then go through:

For more topic on Mathematics, please follow this link.

Schaum’s Outlines of Probability and Statistics

https://en.wikipedia.org/wiki/Probability

Permutation And Combination: 7 Complete Quick Facts

Image2 R place number

Properties of Permutation and combination

  When discussing permutation and combination as we are dealing with selection and arrangement with or without order considerations, depending on the situation there are different types and properties for the permutation and combination, these differences among permutations and combinations we will explain here with justified examples.

permutations without repetition

  This is the normal permutation which arranges n objects taken r at a time i.e nPr

n Pr=n!/(n-r)!

number of orderings of n different objects taken all at a time n Pn =n!

In addition, we have

nP0 = n!/n!=1

nPr = n.n-1Pr-1

0!=1

1/(-r)!= 0 or (-r)!=∞

permutations with repetition

 Number of permutations (arrangements) for different items, taken r at a time, where each item can happen once, twice, three times, …….. r-times as many in any arrangement = Number of ways to fill r areas where each item can be filled with any of the n items.

Image2 R place number
Properties of Permutation and combination: permutations with repetition

The number of permutations = The number of ways of filling r places = (n)r

The number of orders that can be organized using n objects out of which p are alike (and of one kind) q are alike (and of another kind), r are similar (and of another kind) and the rest are distinct is nPr =n!/(p!q!r!)

Example:

In how many ways can 5 apples be allocated among four boys when every boy can take one or more apples.      

Solution: This is the example of permutation with repetition as we know that for such cases we have

The number of permutations = The number of ways of filling r places =nr

Required number of ways are 45 =10, Since each apple can be distributed in 4 ways.

Example: Find the number of words can be organized with the letters of the word MATHEMATICS by regrouping them.

Solution: Here we can observe that there are 2 M’s, 2 A’s and 2T’s this is the example of permutation with repetition

=n!/(p!q!r!)

 Required number of ways are =11!/(2!2!2!)=4989600

Example: How many ways in which the number of tails equal to the number of heads if six identical coins are arranged in a row.

Solution: Here we can observe that

No. of heads=3

No. of tails =3

And since coins are identical this is the example of permutation with repetition =n!/(p!q!r!)

Required number of ways =6!/(3!3!)= 720/(6X6)=20

Circular permutation:

In circular permutation, most importantly the ordering of the object is respect to the others.

So, in circular permutation, we adjust the position of one object and arrange the other objects in all directions.

Circular permutation is split into two ways:

(i) Circular permutation where clockwise and anti-clockwise settings suggest different permutation, e.g. Arrangements for seating people around the table.

(ii) Circular permutation where clockwise and anti-clockwise settings display same permutation, e.g. arranging certain beads to create a necklace.

Clockwise and anti-clockwise arrangement

If the anti-clockwise and clockwise order and movement are not different eg, bead arrangement in necklace, flower arrangement in garland etc, then the number of circular permutations of n distinct items is (n-1)!/2

  1. The number of circular permutation for n different items, taken r at a time, when the orders for the clockwise and the anti-clockwise  are considered to be different by nPr /r
  2. The number of circular permutation for n different items, taken r at a time, when clockwise and anti-clockwise orders are not different from nPr /2r
  3. The number of circular permutations of n different objects are (n-1)!
  4. The number of ways in which n different boys can be seated round a circular table is (n-1)!
  5. The number of ways in which n different gems can be set up to form a necklet, is (n-1)!/2

Example:

How many ways can five keys be placed in the ring

Solution:

Since clockwise and anticlockwise are same in case of ring.

If the anti-clockwise and clockwise sequence and movement are not different then the number of circular permutations of n distinct items is

=(n-1)!/2

Required number of ways = (5-1)!/2= 4!/2=12     

Example:

What would be the number of arrangements, If eleven members of a committee sit at a round table so that the President and Secretary always sit together.

Solution:

By fundamental property of circular permutation

The count of circular permutations of n different things are (n-1)!

Since two positions are fix so we have

Required number of ways (11-2)!*2=9!*2=725760

Example: What would be number of ways 6 men and 5 women can eat at a round table if no two women can sit together

Solution: By fundamental property of circular permutation.

The count of circular permutations of n different things are (n-1)!

Number of ways in which 6 men can be arranged at a round table = (6 – 1)!  =5!

Properties of Permutation and combination
Properties of Permutation and combination : Example

Now women can be arranged in 6! ways and Total Number of ways = 6! × 5!

Combinations without repetition

This is the usual Combination which is “The number of combinations (selections or groups) that can be formed from n different objects taken r at at a time is nCr =n!/(n-r)!r!

Also    nCr =nCr-r

              n Pr /r! =n!/(n-r)! =nCr

Example: Find the number of options to fill 12 vacancies if there are 25 candidates and five of them are from the scheduled category, provided that 3 vacancies are reserved for the S.C candidates mean while the remaining are open to everyone.

Solution: Since 3 vacant positions are filled from 5 applicants in 5 C3  ways (i.e 5 CHOOSE 3) and now remaining candidates are 22 and remaining seats are 9 so it would be 22C9 (22 CHOOSE 9) The selection can be made in 5 C3  X 22C9 ={5!/3!(5-3)! }X{22!/9!(22-9)!}

5 C3  X 22C9 = {(3!X4X5)/(3!X2!)}X {22!/(9!X13!)}=4974200

So the selection can be made in 4974200 ways. 

Example: There are 10 candidates and three vacancies in the election. in how many ways a voter can cast his or her vote?

Solution: Since there are only 3 vacancies for 10 candidates so this is the problem of 10 CHOOSE 1, 10 CHOOSE 2, and 10 CHOOSE 3 Examples,

A voter can vote in 10C1+10C2+10C3 = {10!/1!(10-1)!}+{10!/2!(10-2)!}+{10!/3!(10-3)!} =10+45+120= 175 ways.

 So in 175 ways voter can vote.

Example:There are 9 chairs in a room for 4 people, one of which is a single-seat guest with one specific chair. How many ways can they sit?

Solution: Since 3 chairs can be select in 8C3 and then 3 persons can be arranged in 3! ways.

3 persons are to be seated on 8 chairs 8C3 (i.e 8 CHOOSE 3) arrangement

=8C3 X3! = {8! /3!(8-3)!} X3!

=56X6=336

In 336 ways they can sit.

Example: For five men and 4 women, a group of 6 will be formed. In how many ways this can be done so that the group has more men.

Solution: Here the problem include different combinations like 5 CHOOSE 5, 5 CHOOSE 4, 5 CHOOSE 3 for men and for women it include 4 CHOOSE 1, 4 CHOOSE 2 and 4 CHOOSE 3 as given in the followings

1 woman and 5 men =4C1 X 5C5 ={4!/1!(4-1)!} X{5!/5!(5-5)!}=4

           2 women and 4 men =4C2 X 5C4 = {4!/2!(4-2)!} X{5!/4!(5-4)!}=30

           3 women and 3 men =4C3 X 5C3 = {4!/3!(4-3)!} X {5!/3!(5-3)!} =40

    Hence total ways = 4+30+40=74.

Example: The number of ways 12 boys can travel in three cars so that 4 boys in each car, assuming that three particular boys will not go in the same car.

Solution: First omit three particular boys, remaining 9 boys may be 3 in each car. This can be done in 9 CHOOSE 3 i.e 9C3 ways,

The three particular boys may be placed in three ways one in each car. Therefore total number of ways are =3X9C3.

={9!/3!(9-3)!}X3= 252

so in 252 ways they can be placed.

Example: How many ways did 2 green and 2 black balls come out of a bag containing 7 green and 8 black balls?

Solution: Here bag contains 7 green from that we have to choose 2 so it is 7 CHOOSE 2 problem and 8 black balls from that we have to choose 2 so it is 8 CHOOSE 2 problem.

Hence the Required number = 7C2 X 8C2 = {7!/2!(7-2)!}X{8!/2!(8-2)!}=21X28=588

so in 588 ways we can select 2 green and 2 black from that bag.

Example: Twelve different characters of English words are provided. From these letters, 2 alphabetical names are formed. How many words can be created when at least one letter is repeated.

Solution: here we have to choose 2 letter words from 12 letters so it is 12 CHOOSE 2 problem.

No. of words of 2 letters in which letters have been recurrent any times = 122

        But no. of words on having two different letters out of 12 =12C2 = {12!/2!(12-2)!} =66

        Required number of words = 122-66=144-66=78.

Example: There are 12 points on the plane where six are collinear, then how many lines can be drawn by joining these points.

Solution: For 12 points in a plane to make line we require 2 points same for six collinear points, so this is 12 CHOOSE 2 and 6 CHOOSE 2 problem.

The number of lines is = 12C26C2 +1={12!/2!(12-2)!}-{6!/2!(6-2)!}+1 =66-15+1=52

So in 52 number of ways it lines can be drawn.

Example: Find the numeral of ways in which a 6-member cabinet can be set up from 8 gentlemen and 4 ladies so that the cabinet consists of at least 3 ladies.

Solution: For forming the committee, we can choose from 3 each men and women and 2men 4 women so the problem includes 8 CHOOSE 3, 4 CHOOSE 3, 8 CHOOSE 2 and 4 CHOOSE 4.

Two types of cabinet can be formed

        (i) Having 3 men and 3 ladies

        (ii) Having 2 men and 4 ladies

        Possible no. of ways =  (8C3 X 4C3) + (8C2 X4C4)= {8!/3!(8-3)!}X{4!/3!(4-3)!} +{8!/2!(8-2)!}X{4!/4!(4-4)!} = 56X4+ 28X1 =252      

So In 252 ways we can form such cabinet.

       These are some examples where we can compare the situation of nPr vs nCr in the case of permutation, the way things are organized is important. However in Combination the order means nothing.

Conclusion

A brief description of Permutation and combination when repeated and non-repeated with the basic formula and important results is provided in the form of real examples, in this series of articles we will discuss in detail the various outcomes and formulas with relevant examples, if you want to continue reading:

SCHAUM’S OUTLINE OF Theory and Problems of DISCRETE MATHEMATICS

https://en.wikipedia.org/wiki/Permutation

https://en.wikipedia.org/wiki/Combination

For more Article on Mathematics, please follow this Link

Probability Theory: 7 Complete Quick Facts

Probability theory emerged from the concept of taking risk. there are many complication today that come from the game of chance, such as wining a football match, playing cards and throwing a coin or throwing a dice. 

Probability theory is used in many different sectors and the pliability of probability theory furnishes tools for almost so many different requirements. Here we are going to discuss the probability theory and few samples with the help of some fundamental concepts and results.

RANDOM EXPERIMENTS:

“Random experiment is a kind of experiments where the result cannot be predicted.”

SAMPLE SPACE: 

The set of all possible outcomes from the experiment is called the sample space, it is usually denoted by S and all test out comes are said to be a sample point.
Eg: Think about the random Experiment of tossing 2 coins at a time. There are  4 outcomes constitute a sample space denoted by, S ={ HH, TT, HT, TH}

TRAIL & EVENT:

Each non-empty subset of A of the sample space S is called an event. Consider the experiment to throw a coin. When we throw a coin, we can find a head (H) or a tail (T). Here throwing a coin is the trail and getting a head or a tail is a an event.

COMPOUND EVENTS: 

Events acquired by combining two or more basic events are called compound events or decomposable events.

EXHAUSTIVE EVENTS:

The total number of feasible results of any trail  is called exhaustive events.

Eg: In throwing a dice the potential results are 1 or 2 or 3 or 4 or 5 or 6. So we have a total of 6 events in throwing die.

MUTUALLY EXCLUSIVE AND EXHAUSTIVE SYSTEM OF EVENTS :

Let S is sample space of random experiment,  If  X1, X2, …..Xn are the subsets of S and

(i) Xi ∩ Xj =Φ for ij and (ii) X1 ∪ X2 ………∪ Xn =S

Then this collection of  X1∪ X2 ………∪ Xn is said to create  a mutually exclusive and exhaustive system of events.

What is Independence?

When we pull out a card in a pocket of well-adjusted cards and secondly we also extract a card from the rest packet of cards (containing 51 cards), then the second extracting hangs on the first. But if, on the other hand, we pull the second card out of the pack by inserting the first card drawn(replacing), the second draw is known as independent of the first.

Example:  Two coins are thrown. Let  the first coin having head be event X and the Y be the second coin showing tail after throw. Two events X and Y are basically independent.

Example:   Two fair dice are drawn. If odd number come on first die consider it as event X and for second die even number as event Y.

The two event X and Y are mutually independent.

Example:  A card is drawn from a pack of 52 cards. If A = card is of Hearts, B = card is an King and A ⋂ B = card is King of Hearts, then events A and B are dependent

FAVOURABLE NUMBER OF CASES: The number of cases which permit an event to be tried in a trial is the total number of primary events that the aspect of any of them ensures the occurrence of the event.

What is meant by Probability 

If a arbitrary demonstration results in n incongruous , equally likely and exhaustive outcomes, out of which m are agreeable to the occurrence of an event A, then the probability of happening of A is given by

CodeCogsEqn 2

Probability notation: P(X)=m/n

For two events X and Y,

(i) X′ or   or XC indicates for the non-occurrence or negation of X.

(ii) X ∪ Y means for the occurring of at least any one of X and Y.

(iii) X ∩ Y means for the concurrent occurrence of X and Y.

(iv) X′ ∩ Y′ means for the non-occurrence of one and the other X and Y.

(v) X⊆ Y means for “the happening of X indicates occurrence of Y”.

Example: A bucket contains 6 red & 7 black marbles. Find the probability of drawing a red color marbles. 

Solution: Total no. of possible ways of getting 1 marble= 6 + 7

 Number of ways of getting 1 red marble= 6 

Probability = (Number of favorable cases)/(Total number of exhaustive cases) = 6/13

Example: From a pack of 52 cards, 1 card is drawn at random. Find the probability of getting a queen card.

Solution:  A queen card may be chosen in 4 ways.

 Total number of ways of selecting 1 queen card = 52 

Probability = Number of favorable cases/Total number of exhaustive cases = 4/52=1/13

Example: Find the probability of throwing:

(a) getting 4 , (b) an odd number, (c) an even number 

with an ordinary die (six faced). 

Solution: The problem is dice problem

a) When throwing a die there is only one way of getting 4.

Probability = Number of favorable cases/Total number of exhaustive cases = 1/6

b) Number of ways of falling an odd number is 1, 3, 5 = 3

Probability = Number of favorable cases/Total number of exhaustive cases = 3/6=1/2

c) Number of ways of falling an even number is 2, 4, 6 = 3

Probability = Number of favorable cases/Total number of exhaustive cases = 3/6=1/2

Example: What is the possible chance of finding a king and a queen, when 2 cards are drawn from a pack of 52 playing cards?

Solution:  2 cards can be drawn from a pack of 52 cards = 52C2 (52 choose 2) ways

52 C2 =52!/2!(52-2)!=(52*51)/2=1326

1 queen card can be picked from 4 queen cards = 4C1=4 ways (4 choose 1) 

1 king card can be taken from 4 king cards = 4C1=4 ways (4 choose 1)

Favorable cases = 4 × 4 = 16 ways

P(drawing 1 queen & 1 king card) = Number of favorable cases/Total number of exhaustive cases = 16/1326=8/663

Example: What are the chances of getting 4, 5 or 6 in the first throw and 1, 2, 3 or 4 in the second throw if the dice are thrown twice. 

Solution:

Let P(A) = probability of getting 4, 5 or 6 in the first throw=3/6=1/2

and P(B)= probability of getting 1, 2, 3 or 4 in the second throw= 4/6=2/3

be the probability of the events then

Probability Theory

Example: A book having total 100 number of pages, if any one of the page is selected arbitrary.  What is the possible chance that the sum of all the digits of the page number of the selected page is 11.

Solution:  The number of Favorable ways to get 11 will be (2, 9), (9, 2), (3, 8), (8, 3), (4, 7), (7, 4), (5, 6), (6, 5)

Hence required probability = 8/100=2/25

Example: A bucket contains 10 white, 6 red, 4 black & 7 blue marbles. 5 marbles are pull out at random. What is the probability that 2 of them are red colour and one is black colour ?

Solution: 

Total no. of marbles= 10 + 6 + 4 + 7 =27

5 marbles can be drawn from these 27 marbles= 27 choose 5 ways

= 27C5=27!/

5!(27-5)!

=(27*26*25*24*23)/(5*4*3*2)=80730

Total no. of exhaustive events = 80730

2 red marbles can be drawn from 6 red marbles= 6 ways

= 6C2=6!/

2!(6-2)!

=(6*5)/2=15

1 black marbles can be pull out from 4 black marbles= 4 choose 1 ways= 4C1=4

∴ No. of favorable cases = 15 × 4 = 60

Hence required probability = Number of favourable casesTotal number of exhaustive cases

Conclusion:

   The probability theory is very interesting and applicable in our daily day to day life so probability theory and examples looks familiar to us, this is actually a complete theory which is used now a days in numerous technologies and applications,  This article was just a glimpse of the concept of probability the consecutive articles will deal with the detail concept and results of Probability, for more study, please refer below book:

Ref: Schaum’s Outlines of Probability and Statistics.

If you are interested in reading other topics on mathematics please see this page.

15 Examples Of Permutations And Combinations

Image Permutations and Combinations

Illustration of the concept Permutations and Combinations by the examples

In this article, we have discussed some examples which will make the foundation strong of the students on Permutations and Combinations to get the insight clearance of the concept, it is well aware  that the Permutations and combinations both are the process to calculate the possibilities, the difference between them is whether order matters or not, so here by going through the number of examples we will get clear the confusion where to use which one.

The methods of arranging or selecting a small or equal number of people or items at a time from a group of people or items provided with due consideration to be arranged in order of planning or selection are called permutations.

Each different group or selection that can be created by taking some or all of the items, no matter how they are organized, is called a combination.

Basic Permutation (nPr formula) Examples

            Here We are making group of n different objects, selected r at a time equivalent to filling r places from n things.

The number of ways of arranging = The number of ways of filling r places.

nPr = n. (n-1). (n-2)…(n-r+1) = n/(n-r)!

CodeCogsEqn 3

so nPr formula we have to use is

nPr = n!/(n-r)!

Example 1): There is a train whose 7 seats are kept empty, then how many ways can three passengers sit.

solution: Here n=7, r=3

so      Required number of ways=

nPr = n!/(n-r)!

7P3 = 7!/(7-3)! = 4!.5.6.7/4! = 210

In 210 ways 3 passengers can sit.

Example 2) How many ways can 4 people out of 10 women be chosen as team leaders?

solution: Here n=10, r=4

so      Required number of ways=

nPr = n!/(n-r)!

10P4 = 10!/(10-4)! = 6!7.8.9.10/6! = 5040

In 5040 ways 4 women can be chosen as team leaders.

Example 3) How many permutations are possible from 4 different letter, selected from the twenty-six letters of the alphabet?

solution: Here n=26, r=4

so      Required number of ways=

nPr = n!/(n-r)!

26P4 = 26!/(26-4)! = 22!.23.24.25.26/22! = 358800

In 358800 ways, 4 different letter permutations are available.

Example 4) How many different three-digit permutations are available, selected from ten digits from 0 to 9 combined?(including 0 and 9).

solution: Here n=10, r=3

so      Required number of ways=

nPr = n!/(n-r)!

10P3 = 10!/(10-3)! = 7!.8.9.10/7! = 720

In 720 ways, three-digit permutations are available.

Example 5) Find out the number of ways a judge can award a first, second, and third place in a contest with 18 competitors.

solution: Here n=18, r=3

so      Required number of ways=

nPr = n!/(n-r)!

18P3 = 18!/(18-3)! = 15!.16.17.18/15! = 4896

Among the 18 contestants, in 4896 number of ways, a judge can award a 1st, 2nd and 3rd place in a contest.

Example

6) Find the number of ways, 7 people can organize themselves in a row.

solution: Here n=7, r=7

so      Required number of ways=

nPr = n!/(n-r)!

7P7 = 7!/(7-7)! = 7!/0! = 5040

In 5040 number of ways, 7 people can organize themselves in a row.

Examples based on Combination (nCr formula/ n choose k formula)

The number of combinations (selections or groups) that can be set up from n different objects taken r (0<=r<=n) at a time is

gif

This is commonly known as nCr or n choose k formula.

nCk = n!/k!(n-k)!

Examples:

1) If you have three dress with different colour in red, yellow and white then can you find a different combination you get if you have to choose any two of them?

Solution: here n=3, r=2 this is 3 CHOOSE 2 problem

nCr = n!/r!(n-r)!

3C2 = 3!/2!(3-2)! = 2!.3/2!.1 = 3

In 3 different combination you get any two of them.

2) How many different combinations can be done if you have 4 different items and you have to choose 2?

Solution: here n=4, r=2 this is 4 CHOOSE 2 problem

nCr = n!/r!(n-r)!

4C2 = 4!/2!(4-2)! = 2!.3.4/2!.2! = 6

In 6 different combination you get any two of them.

3) How many different combinations can be made if you have only 5 characters and you have to choose any 2 among them?

Solution: here n=5, r=2 this is 5 CHOOSE 2 problem

nCr = n!/r!(n-r)!

5C2 = 5!/2!(5-2)! = 3!.4.5/2!.3! = 10

In 10 different combination you get any two of them.

4) Find the number of combinations 6 choose 2.

Solution: here n=6, r=2 this is 6 CHOOSE 2 problem

nCr = n!/r!(n-r)!

6C2 = 6!/2!(6-2)! = 4!.5.6/2!.4! = 15

In 15 different combination you get any two of them.

5) Find the number of ways of choosing 3 members from 5 different partners.

Solution: here n=5, r=3 this is 5 CHOOSE 3 problem

nCr = n!/r!(n-r)!

5C3 = 5!/3!(5-3)! = 3!.4.5/3!.2! = 10

In 10 different combination you get any three of them.

6) Box of crayons having red, blue, yellow, orange, green and purple. How many unlike ways can you use to draw only three colour?

Solution: here n=6, r=3 this is 6 CHOOSE 3 problem

nCr = n!/r!(n-r)!

6C3 = 6!/3!(6-3)! = 3!.4.5.6/3!.3.2.1 =20

In 20 different combination you get any three of them.

7) Find the number of combinations for 4 choose 3.

Solution: here n=4, r=3 this is 4 CHOOSE 3 problem

nCr = n!/r!(n-r)!

4C3 = 4!/3!(4-3)! = 3!.4/ 3!.1! = 4

In 4 different combination you get any three of them.

8) How many different five-person committees can be elected from 10 people?

Solution: here n=10, r=5 this is 10 CHOOSE 5 problems

nCr = n!/r!(n-r)!

10C5 = 10!/5!(10-5)! = 10!/5!.5! = 5!.6.7.8.9.10/5!.5.4.3.2 = 7.4.9 =252

So 252 different 5 person committees can be elected from 10 people.

9) There are 12 volleyball players in total in college, which will be made up of a team of 9 players. If the captain remains consistent, the team can be formed in how many ways.

Solution: here as the captain already has been selected, so now among 11 players 8 are to be chosen n=11, r=8 this is 11 CHOOSE 8 problem

nCr = n!/r!(n-r)!

11C8 = 11!/8!(11-8)! = 11!/8!.3! = 8!.9.10.11/8!.3.2.1 = 3.5.11 = 165

So If the captain remains consistent, the team can be formed in 165 ways.

10) Find the number of combinations 10 choose 2.

Solution: here n=10, r=2 this is 10 CHOOSE 2 problem

nCr = n!/r!(n-r)!

10C2 = 10!/2!(10-2)! = 10!/2!.8! = 8!.9.10/2!.8! = 5.9 = 45

In 45 different combination you get any two of them.

We have to see the difference that nCr is the number of ways things can be selected in ways r and nPr is the number of ways things can be sorted by means of r. We have to keep in mind that for any case of permutation scenario, the way things are arranged is very very important. However, in Combination, the order means nothing.

Conclusion

A detailed description with examples of the Permutations and combinations has been provided in this article with few real-life examples, in a series of articles we will discuss in detail the various outcomes and formulas with relevant examples if you are interested in further study go through this link.

Reference

  1. SCHAUM’S OUTLINE OF Theory and Problems of DISCRETE MATHEMATICS
  2. https://en.wikipedia.org/wiki/Permutation
  3. https://en.wikipedia.org/wiki/Combination

Permutations and Combinations: 11 Facts You Should Know

CodeCogsEqn 16 1

Permutations and Combinations

 Permutations and Combinations, this article will discuss the concept of determining, in addition to the direct calculation, the number of possible outcomes of a particular event or the number of set items, permutations and combinations that are the primary method of calculation in combinatorial analysis.

Common mistakes while learning Permutations and Combinations

There is always confusion amongst the student between permutations and combinations because both are related to the number of the arrangement of different objects and the number of the possible outcome of a particular event or number of ways to get an element from a set. The topic of permutation & combination with examples and the difference between them with justification will be discussed here.

A simple and handy technique to remember the difference between the permutations and combinations is: a permutation is related with the order means the position is important in permutation while the combination is not related with the order means the position is not important in combination.

Before the discussion of permutations and combinations, we require some prerequisites, which are frequently used.

 What is Factorial

          Factorial is the product of the positive integers from 1 to n (counting 1 and n) denoted by n! and read as n factorial is described as below

n! = 1.2.3.4… (n-2).(n-1).n = n.(n-1).(n-2)…3.2.1

nPr = n.(n-1).(n-2)…(nr+1) = n!/(n-r)!

Mind it 0!=1 

0! = 1

1! = 1

n! = n(n-l)!

e.g 3! = 3.2.1 = 6

4! = 4.3.2.1 = 24

5! = 5.4! = 5.24 = 120

Counting Methods (Principle of Multiplication and addition)

      Principle of addition: If no two events can happen at the same time, then one of the events can happen in

n1  + n2  + n3  +・ ・ ・.ways

      Principle of Multiplication: Considering that if the events occurred one after the other, then all the events can happen in the order indicated in:

n1.n2.n3ways

Example: If an Institute runs 7 different art courses, 3 different technical courses, and 4 different physical courses.

If a student wants to enroll one of each type of course then the number of ways would be

m=7.3.4=84

If a student wants to enroll just one of the courses, then the number of ways would be

n=7 + 3 + 4=14

What is Permutation

The different positioning of the objects are called Permutations, where the order of the arrangement matters. Any positioning of a set of n different objects in a given order is called a permutation of the object.

        Consider an example of the set of letters {P,Q,R,S}, then

  Some of the permutations of the four alphabets taken 4 at a glance are QSRP, SRQP and PRSQ

Any ordering of any r<=n of these particular objects in a specific order is called an “r-permutation” or “a permutation of the n objects taken r at a time.

Basically we like those number of such permutations without set down them.

Example of Permutation Formula

The number of permutations of n different objects taken r at a time will be indicated by

nPr = n. (n-1).(n-2)…(n-r+1) = n!/(nr)!

In mathematics this is denoted by different ways, some of them are mentioned below:

P(n,r), nPr,Pn,r ,or (n)r

EXAMPLE: Calculate the number m of permutations of six objects, say A, B, C, D, E, F taken three at a glance.

Solution:   Here n=6, r=3, m=?

nPr = n!/(n-r)!

m = 6P3 = 6!/(6-3)! = 6!/3! = 3!.4.5.6/3!= 4.5.6 = 120

So m=120

EXAMPLE: How many words can be generated by using 2 letters from the word “MATHS”?

Solution: Here n=5, r=2, m=?

nPr = n!/(n-r)!

m = 5P2 = 5!/(5-2)! = 5!/3! = 3!.4.5/3! = 4.5 = 20

so the required number of words are 20.

What do you understand by a Combination?

A combination for n different elements taken r at a time is any selection of r-th elements where orders are not being considered. Such a selection is called an r-combination. In brief, a Combination is a selection in which the order of the objects selected is not important.

      The Combination gives the number of ways a particular set can be arranged, where the order of the arrangement does not matter.

 To understand the situation of Combination, consider the example

Twenty people arrive in a hall and everyone shakes hand with all the others. How can we get the number of handshakes?  “A” shaking hands with B and B with A will not be two different handshakes. Here, the order of handshake is not important. The number of handshakes will be the combinations of 20 different things taken 2 at a time.

Combination Formula with a simple example

       The number of such combinations will be denoted by

CodeCogsEqn

Sometimes it is also denoted by C(n,r), nCr , Cn,r or Crn

Example: A class contains 10 students with 6 men and 4 women. Find the number n of ways to choose a 4-member committee among those students.

This is related to combinations, not permutations, since order is not an important factor in a committee. There are “10 choose 4” such committees. That is:

gif

here n=10, r= 4

CodeCogsEqn 15

so in 210 ways we can choose such 4-member committee.

Example: A container has 6 blue balls and 8 red balls. Identify the number of ways two balls of any of the colors can be drawn from the container.

Here possibly “14 choose 2” ways for selecting 2 of the 14 balls. Thus:

CodeCogsEqn 16

Here n=14 , r=2

gif.latex?%5E%7B14%7DC %7B2%7D%20%3D%20%5Cbinom%7B14%7D%7B2%7D%20%3D%20%5Cfrac%7B14%21%7D%7B2%21%2814 2%29%21%7D%20%3D%20%5Cfrac%7B14.13.12.%21%7D%7B2.1

so in 91 ways two balls can be drawn of any color.

Difference between Permutation and Combination

The difference between permutation vs combination is briefly given here

Permutation Combination
Order is Important Order is not Important
Order counts Order does not count
Used for arrangements like electing president, vice president, and treasurer Used for selection like selecting teams and committee without positions
For electing first, second and third specific positions For selecting any three random
For arranging the cards or balls with position and color For selecting any color and position
Difference between Permutations and Combinations

Where to apply Permutations and Combinations

  This is the important step that should be kept in mind that whenever the situation is for arrangement, ordering and uniqueness we have to use Permutation and whenever the situation is  for selection, choosing, picking and combination without the concern of order we have to use Combination. If you keep these basics in your mind there will be no confusion “what to use and what not” whenever a question arises.

Use of Permutations and Combinations in real life with examples

In real life permutation and the combination is used in almost everywhere because we know that in real life there would be a situation when order is important and somewhere order is not important, in those situations we have to use the corresponding method.

For example

Find the number N of teams of 11 with a given captain that can be selected from 26 players.

Frequently Asked Questions – FAQs

What is factorial?

The product of the positive integers from  1 to n (including 1 & n )

n! = 1.2.3… (n-2). (n-1). n

What is a permutation?

The different ordering of the objects are called Permutations

What is a Combination?

     The Combination provides the number of ways a specific set can be set out, where the order of the arrangement does not matter.

Application of permutations and combinations in practical life

A Permutation is used for arrangement or selection of lists where the order is important, and Combination is used for selection or choice where the order is not important.

Permutation formula

nPr = n!/(n-r)!

Combination formula

CodeCogsEqn 16 1

Is there any relation between permutations and Combinations?

Yes,

nCr = nPr/r!

Can we use Permutations and combinations in real life?

Yes,

In the arrangement of words, alphabets, numbers, positions and colours etc. where the order is important permutation will be used

In the selection of committee, teams, menu, and subjects etc where the order is not important combination will be used.

   The brief information about permutations and combinations with basic formula is given read twice or thrice till you get the idea about the concept, in consecutive articles we will discuss in detail the different results and formulae with suitable examples of permutations and combinations. If you want further study go through:

For more Topics on Mathematics, please follow this link.

References:

1.   SCHAUM’S OUTLINE OF Theory and Problems of DISCRETE MATHEMATICS

2.   https://en.wikipedia.org/wiki/Permutation

3.   https://en.wikipedia.org/wiki/Combination

4.   https://in.bgu.ac.il/

5.   https://www.cs.bgu.ac.il/