Topic: Discrete Mathematics / Graph Theory
What is the number of edges in the Cartesian product graph K_3 (Complete graph with 3 vertices) & K_4 (Complete graph with 4 vertices)?
- A. 18
- B. 24
- C. 30
- D. 36
Answer: C. 30
Explanation: The number of edges in the Cartesian product of two graphs $G_1(V_1, E_1)$ and $G_2(V_2, E_2)$ is given by $|E| = |V_1||E_2| + |V_2||E_1|$. For $K_3$, we have $|V_1|=3, |E_1|=3$. For $K_4$, we have $|V_2|=4, |E_2|=6$. Therefore, the total edges $|E| = 3(6) + 4(3) = 18 + 12 = 30$.