document.write( "Question 4418: A woman and her husband hosted a party for four other couples. The hostess asked everyone to shake hands and introduce themselves to each other. Of course, no one shook hands with his or her spouse. At some point, the hostess stopped them and asked each person how many hands he or she had shaken. Each person gave a different response. Whar was the response of her husband? \n" ); document.write( "
Algebra.Com's Answer #2015 by khwang(438)\"\" \"About 
You can put this solution on YOUR website!
This question should belong to graph theory.
\n" ); document.write( " A woman and her husband hosted a party for four other couples. The hostess asked everyone to shake
\n" ); document.write( "hands and introduce themselves to each other. Of course, no one shook hands with his or her spouse.
\n" ); document.write( "At some point, the hostess stopped them and asked each person how many hands he or she had shaken.
\n" ); document.write( "Each person gave a different response. Whar was the response of her husband?
\n" ); document.write( " Sol: Each person as a vertex and a shakehand means an edge between two vertices.
\n" ); document.write( " For each vertex v, the degree d(v) is the # of vertices adjacent to v.
\n" ); document.write( " Let the 4 couples be (A,A'),(B,N'),(C,C') and (D,D'), the host and hostess be (H,H')
\n" ); document.write( " There are 10 vertices in the graph G.
\n" ); document.write( " Now we have the degrees of 9 persons except H' are all distinct. That means, the
\n" ); document.write( " nine possible degrees are 8,7,6,5,4,3,2,1,0.
\n" ); document.write( " Consider the vertex v, with d(v) = 8, this means v is adjacent to all other vertices except
\n" ); document.write( " v' (the spouse of v). But,if v = H, then d(x) >= 1 for all eight vertex x in G-{H',v} and
\n" ); document.write( " so no vertices in G-{H'} is of degree 0, a contradiction. Hence, v cannot be the host H or
\n" ); document.write( " v is adjacent to H. That is d(x)>=1 for all seven vertices x in G-{H',v,v'}.
\n" ); document.write( " So, the only vertex with degree 0 (in G-H') must be v'. Thus,we obtain a couple whose
\n" ); document.write( " degrees are 8 and 0 respectively.
\n" ); document.write( " For convenience, let this couple be A,A' and set d(A) =8,d(A') =0.
\n" ); document.write( " Next, consider the vertex of degree 7 in G-H', say d(B) = 7. We see that B is adjacent to
\n" ); document.write( " all other vertices except A' and B'. So, if v is in G-{H',A,A',B'}, then d(v) >= 2.
\n" ); document.write( " (since v must be adjacent to A and B). This implies d(B') = 1. So, we get a couple (B,B')
\n" ); document.write( " of degrees 7 & 1 respectively.
\n" ); document.write( " Similarly, consider the vertex u of degree 6 among other 5 vertices, Note,u is adjacent to
\n" ); document.write( " all other vertces except A',B',u'(its spouse).
\n" ); document.write( " d(A)=8 & d(B)=7 implies d(v) >= 2 for all v in G-{H',A,A',B,B')
\n" ); document.write( " and so d(v) >= 3 for all v in G-{H',A,A',B,B',u,u')[Note v is adjacent to A, B and u]
\n" ); document.write( " Hence, the only vertex with degree 2 must be u'. Let this couple be (C,C') with degrees
\n" ); document.write( " 6 , 2 respectively.
\n" ); document.write( " By the same argumenton the vertex of degree 5, the couple (D,D') has degree (5 ,3).
\n" ); document.write( " Therefore, the vertex with degree 4 must be the host and we obtain the number of shakehands of
\n" ); document.write( " the husband is 4. In fact, the wife also has same number,since she shakes with A,B,C,D(one with
\n" ); document.write( " each couple).
\n" ); document.write( "
\n" ); document.write( " Another way of proof: Let h' be the degree of H'in G
\n" ); document.write( " Consider the degree sequence (8,7,6,5,4,3,2,1,0,h) in G--> Get a couple (A,A') of degree 8 & 0 in G
\n" ); document.write( " --> Delete the two vertices A,A', we get the the degree sequence (6,5,4,3,2,1,0,h'-1) in the
\n" ); document.write( " reduced graph G-{A,A'}--> Get a couple (B, B') of degree 6 & 0 in G-{A,A'}
\n" ); document.write( " --> Delete two more vertices B,B', we get the the degree sequence (4,3,2,1,0,h'-2) in the
\n" ); document.write( " reduced graph G-{A,A',B,B'}--> Get a couple (C, C') of degree 4 & 0 in G-{A,A',B,B'}
\n" ); document.write( " --> Delete two more vertices C,C', we get the the degree sequence (2,1,0,h'-3) in the
\n" ); document.write( " reduced graph G-{A,A',B,B',C,C'}--> Get a couple (D, D') of degree 2 & 0 in G-{A,A',B,B',C,C'}
\n" ); document.write( " --> Delete two more vertices D,D', we get the the degree sequence (0,h'-4) =(0,0) in the
\n" ); document.write( " reduced graph G-{A,A',B,B',C,C',D,D'} = {H,H'} --> d(H) = 4 and d(H') = 4 in G.
\n" ); document.write( "
\n" ); document.write( " Try to read carefully about the details or
\n" ); document.write( " draw a graph to check.\r
\n" ); document.write( "\n" ); document.write( " Kenny
\n" ); document.write( "
\n" );