battletoad Posted January 28, 2010 Posted January 28, 2010 Started off with graph theory with some elementary things. There's one thing however that i cant wrap my head around, the order of the edges. I get that if the vertices of a graph were included in a set S, the number of edges is equal to the order of the power set of S. For the life of me i cant remember the proof if i did it or not. Can someone please provide the proof of |P(S)|=2^(nC2), where P(S) is the power set of set S, |S|=n and C refers to the combination function? Much appreciated
the tree Posted January 28, 2010 Posted January 28, 2010 Can someone please provide the proof of |P(S)|=2^(nC2), where P(S) is the power set of set S, |S|=n and C refers to the combination function? Much appreciated For any and all sets S with |S|=n, |P(S)|=2n. So I'm assuming you stumbled over what you meant there. [imath]2^{n \choose 2}[/imath] would be the cardinality of the set of possible edgings for [imath]n[/imath] vertices.
battletoad Posted January 28, 2010 Author Posted January 28, 2010 (edited) For any and all sets S with |S|=n, |P(S)|=2n. So I'm assuming you stumbled over what you meant there. [imath]2^{n \choose 2}[/imath] would be the cardinality of the set of possible edgings for [imath]n[/imath] vertices. Yip, tripped up over there. Thanks for the reply. But why is |P(S)|=2n? Is there a proof for it? Merged post follows: Consecutive posts mergedIts fine i got it. If anyone's interested its binary basically. For a set with n elements, draw n columns, a column for each element in the set. Then for every combination, add 1 if the element is in ur subset, 0 if not. Clearly there will be 2n combinations Edited January 28, 2010 by battletoad Consecutive posts merged.
the tree Posted January 28, 2010 Posted January 28, 2010 Proof by induction always seems a fair shot with combinatorics. Let your base of induction be a set S with one element a1. Then clearly P(S) = { {} , {a1} }. So |P(S)| = 2 = 21. For the inductive step, say you have a set S with n-1 elements and |P(S)| = 2n-1. Then add another an element to S: define S' := S U {an}, now P(S') contains every element of P(S) and each one of those elements again but with an an added. So |P(S')| = |P(S)| + |P(S)| = 2|P(S)| = 2n. So by the inductive principle, |P(S)| = 2n for all sets S with a cardinality n > 0.
battletoad Posted January 31, 2010 Author Posted January 31, 2010 Proof by induction always seems a fair shot with combinatorics.. . . Thanks. Your proof puts the matter to rest. Strange, im usually the first one to shout 'proof by induction' yet the idea alluded me. Meh, six months of working has made me soft!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now