Show that n! /r!(n-r)! + n!/(r-1)! (n-r+1)! = (n+1)! /r!(n-r+1)!
\n" );
document.write( "-----------
\n" );
document.write( "\r
\n" );
document.write( "\n" );
document.write( "Please be precise, looking at the first term, n! / r!(n-r)! is equal to (n!/r!)*(n-r)! which is probably NOT what you wanted. You undoubtedly wanted n! / (r!(n-r)!). Same for the other terms. Be sure to use parentheses to convey the proper meaning.
\r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "Using nCr notation, where nCr = n!/(r!(n-r)!), the problem is to show
\n" );
document.write( "nCr + nC(r-1) = (n+1)Cr (1)\r
\n" );
document.write( "\n" );
document.write( "Lets say you have n+1 elements: {A1, A2, ... , An, An+1}\r
\n" );
document.write( "\n" );
document.write( "Put a star * on any one element.\r
\n" );
document.write( "\n" );
document.write( "The RHS of (1) is the selection of r elements from the set of n+1 elements.
\r
\n" );
document.write( "\n" );
document.write( "One can choose these r elements in two mutually exclusive ways:\r
\n" );
document.write( "\n" );
document.write( "1. They can exclude the * element
\n" );
document.write( "This can be done in nCr ways (all r elements are selected from the non-starred elements, and there are n of them).\r
\n" );
document.write( "\n" );
document.write( "2. They can include the * element
\n" );
document.write( "This can be done in nC(r-1) ways (because the * element is pre-selected, this leaves a selection of the remaining r-1 elements from the remaining n elements)
\r
\n" );
document.write( "\n" );
document.write( "Adding 1. and 2. gives nCr + nC(r-1) = (n+1)Cr
\r
\n" );
document.write( "\n" );
document.write( "For completeness, writing out the equations:
\n" );
document.write( "
\r
\n" );
document.write( "
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "