|
Ah. Sure.
Say you are a manager and have a pool of n players in a particular sport of bhoopla. Now, you are to choose a team of r players. Furthermore, you also want to choose a captain and a vice-captain of the team. Bhoopla is a weird sport and you are allowed to have the same player as the captain and the vice-captain. Also, the team can be as small or large as you wish. That is, teams can be as large as n membered, or a one membered.
Before the night of choice, you decide how to attain your objective. The following is your strategy. You decide to first choose the team and then decide who'll be captain and vice-captain. You choose the team of r in nCr ways. Then you choose the captain among the r players in r ways. Similarly, the vice-captain too can be chosen in r ways (since the captain can be the same as the vice-captain). Thus the ways in which you can attain your objective is nCr*r*r. Of course, since you haven't decided on how large the team is, the number of ways you can choose the team is the sum of all such nCr*r*r as r may be any number from 1 to n.
But then, the next day, on the day of choosing, you decide to do things differently. You choose the captain and the vice-captain first, out of the pool of n players, and then the team from the remaining players. Now, if the captain and the vice-captain are different people, then you can choose them in n*(n-1) ways. From the remaining n-2 players, you can choose the team in 2^(n-2) ways. However, if the captain and vice-captain are the same person, then you can choose him in n ways, and then go on to choose the team in 2^(n-1) ways.
Adding them up, we get n*(n-1)*2^(n-2) + n*2^(n-1) ways.
Since both the methods are effectively the same, they must be the same. Thus, sum of (nCr*(r^2)) as r changes from 1 to n = n*(n+1)*2^(n-2).
Do let me know if you need any more explanation. I'll be happy to help. :)
|