document.write( "Question 323342: A box contains ten balls numbered from 1 to 10. If you pick two balls at random, what is the probability that the sum of the numbers on the two balls is even?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #231442 by galactus(183)\"\" \"About 
You can put this solution on YOUR website!
There are 2 balls chosen. Thus, there are 10^2 = 100 possible outcomes.\r
\n" ); document.write( "\n" ); document.write( "Half of them sum to odds and half to evens.\r
\n" ); document.write( "\n" ); document.write( "Perhaps you have not dealt with generating functions, but we can illustrate it with them.\r
\n" ); document.write( "\n" ); document.write( "\"%28sum%28x%5Ek%2Ck=1%2C10%29%29%5E2\"\r
\n" ); document.write( "\n" ); document.write( "If we expand this out, we get\r
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "\n" ); document.write( "The coefficients represent the number of ways that each sum can occur. i.e. how many ways can we get a sum of 15?. Look at the coefficient of the x^15 term.
\n" ); document.write( "It is 6. There are 6 ways to get a sum of 15. How many ways can we get a sum of 20?. Look at x^20 and we see its coefficient is 1. There is 1 way to get a sum of 20, and that is by drawing two 10's.
\n" ); document.write( "Since there are 100 possible outcomes, count up the coefficients of the even exponents. They sum to 50. Therefore, the probability is \"50%2F100=1%2F2\" of the two balls summing to an even number. The other half sums to odd numbers.
\n" ); document.write( "
\n" );