As per the
concept this is what I understand:
Two ppl say A and B:
Total possible selection in 2^2 = 4 ways
This 4 ways can be A, B, AB or BA.
At least one person is selected = 2^2 - 1 = 3 ways
This 3 ways can be either A, AB,BA or B, AB, BA. (See in first set A is the at least person to selected and in second B s the at least person to selected )
goyalsau wrote:Rahul@gurome wrote:
Now the binomial expansion of (1+x)^n = 1+nC1*x + nC2*x^2 + ......+nCn*x^n.
How you did this i m not able to understand.
The Bold part is a Binomial Expansion, which describes the algebraic expansion of powers of a binomial. According to the theorem, it is possible to expand the power (x + y)^n into a sum involving terms of the form a(x^b)(y^c), where the coefficient of each term is a positive integer, and the sum of the exponents of x and y in each term is n.
The general formula is:
(1+x)^n = 1+nC1*x + nC2*x^2 + ......+nCn*x^n.
For more info:
https://en.wikipedia.org/wiki/Binomial_theorem
So what we need to prove by applying this? We need to show 2^n - 1 = nC1 + nC2 + .... +nCn
2^n
= (1 + 1) ^ n
Apply Binomial Expansion (See x = 1)
1 + nC1 * 1 + nC2 * 1^2 + .... + nCn * 1^n
Thus, 2^n = 1 + nC1 * 1 + nC2 * 1^2 + .... + nCn * 1^n
=> 2^n - 1 = nC1 * 1 + nC2 * 1^2 + .... + nCn * 1^n
=> 2^n - 1 = nC1 + nC2 + .... +nCn.
If you have any doubt about Binomial Expansion then you can refer the above link. I personally feel when asked with at least one is used the remember to use the formula rather thinking about the proof.