[Math] Diameter of bipartite graph

graph theory

Sorry if the question is too basic. I know that a complete bipartite graph k_{n,m} has a diameter equals one when m=n=1 and 2 otherwise. My question is about a bipartite graph K_{n,n} with two partite sets of vertices U and V of size n where each vertix from U is adjacent to only one vertix from V. What is the diameter of this graph?
Thank you

Best Answer

If each vertex in $U$ is connected to only one vertex in $V$ that your graph consists of $n$ disconnected components. So the diameter is infinite unless $n=1$.

Related Question