recategorized by
234 views
5 votes
5 votes
Number of perfect matching in a complete graph with $8$ vertices is _________
recategorized by

3 Answers

Best answer
11 votes
11 votes
If n is odd, it's 0

if n is even, ans is (product of all  odd positive integer less than n)

$(n-1)\times (n-3)\times (n-5)\times... \times 1$

or you can also write as

$1 \times 3 \times 5 \times ... \times (n-1)$

So, here n = 8

7×5×3×1 = 105 is ans.
selected by
3 votes
3 votes
If $n$ is odd then perfect matching $0$. because in perfect matching degree of each vertex must be $1$, which is not possible if $n$ is odd.

If $n$ is even then the number of perfect matching in $K_{2m}=\dfrac{(2m!)}{( 2^m\cdot m! )};$ where $n=2m$. Here $n=2m=8\implies m = 4$

Number of perfect matching in $K_{8}=\dfrac{8!}{2^{4}\cdot 4!} = \dfrac{8\cdot7\cdot6\cdot5\cdot4!}{16\cdot 4!} = 105$.

So, the correct answer is $105$.
1 votes
1 votes

$Answer$ : $105$

This problem is same as Number of ways of partitioning the $8$ vertices into $4$ sets of two vertices each

Now, vertex $1$ can do partitioning with any of the $7$ vertices (say vertex $1$ and $2$). So, now our base set is reduced by $2$.

Similarly, vertex $3$ can do partitioning with any of the remaining $5$ vertices. and vertex $5$ can do partitioning with remaining $3$ vertex. 

So, number of ways of partitioning $=7\times5\times3=105$.

Answer:

Related questions

6 votes
6 votes
1 answer
1
1 votes
1 votes
1 answer
2
gatecse asked Sep 14, 2020
159 views
Which of the following graph is NOT bipartite? (Mark all the appropriate choices)
1 votes
1 votes
1 answer
3
gatecse asked Sep 14, 2020
195 views
If $G$ is a simple graph with $16$ edges and $\overline{G}$ has $12$ edges, how many vertices does the complement graph $\overline{G}$ have?
2 votes
2 votes
1 answer
4