Bipartite graphs and matchings (intro) - Discrete Math
- In a bipartite graph , let with . If , where denotes the neighborhood of in , and has a matching that saturates all vertices in , what is the maximum possible size of a matching in ? Answer: When analyzing matching problems in bipartite graphs, you need to understand how Hall's Marriage Theorem and its implications work. This question tests your ability to find the maximum matching when there's a bottleneck in the graph structure. The key insight is that we have a subset with vertices, but their neighborhood has only 3 vertices. This creates a fundamental limitation: at most 3 vertices from can be matched, since there are only 3 possible partners for them in . This means at least 1 vertex from must remain unmatched in any matching. Since has a matching that saturates all vertices in (meaning all vertices in except those in are matched), we can match vertices from plus at most 3 vertices from . This gives us a maximum matching of size , making choice A correct. Choice B () incorrectly assumes no vertices from can be matched. Choice C () mistakenly thinks all 4 vertices in can be matched despite the neighborhood constraint. Choice D () applies a general upper bound without considering the specific bottleneck created by and . Remember: In bipartite matching problems, always check for Hall's condition violations. When for some subset , you've found the bottleneck that determines the maximum matching size.
- In a bipartite graph where and , every vertex in has degree 2 and every vertex in has degree greater than 2. If has a matching of size , which statement about the structure of must be true? Answer: Hall's condition holds with equality for at least one proper subset Since |A| = n and |B| = n-1, a maximum matching has size n-1, leaving exactly one vertex in A unmatched. For this maximum to be achieved, Hall's condition |N(S)| ≥ |S| must hold for all subsets S ⊆ A. Given the tight constraint (only n-1 vertices in B to match n vertices in A), there must exist at least one subset S where |N(S)| = |S|, creating a bottleneck that forces exactly one vertex in A to remain unmatched.
- A bipartite graph has vertex sets and . If the graph has a perfect matching and another perfect matching , what is the minimum number of edges the graph must contain? Answer: 8 The graph must contain all edges from both perfect matchings and . Since and , and these two sets are disjoint (no edge appears in both matchings), the graph must have at least edges. Choice A represents only one perfect matching. Choice B incorrectly assumes some edges are shared between the matchings. Choice D overestimates by assuming additional edges are needed beyond those in the two given perfect matchings.
- In a bipartite graph , suppose there exists a matching that covers all vertices in but leaves exactly 2 vertices in unmatched. If , and we add one new vertex to along with edges connecting to the 2 unmatched vertices in , what can we conclude about perfect matchings in the resulting graph ? Answer: definitely has a perfect matching extending the original matching In the original graph, covers all of and all but 2 vertices of . After adding to and connecting it to the 2 unmatched vertices in , we have and , so the new graph has equal-sized partitions. We can extend to a perfect matching by adding one edge from to either of the 2 previously unmatched vertices in . Choice B is wrong because the sizes are now balanced. Choice C is incorrect because we can always extend the existing matching . Choice D is wrong because while could connect to either unmatched vertex, this doesn't guarantee exactly two perfect matchings total.
- Let be a bipartite graph with bipartition where and . If has a matching of size 4, and we know that removing any single vertex from reduces the maximum matching size to at most 3, what can we conclude about the structure of ? Answer: At least two vertices in are essential for achieving matching size 4 Since the maximum matching has size 4 and removing any single vertex from reduces this to at most 3, this means that no single vertex in is solely responsible for the fourth matched edge. If only one vertex in were essential, removing just that vertex would drop the matching size to 3, but removing others would maintain size 4. Since removing ANY vertex from causes this drop, multiple vertices in must be critical for achieving the full matching size of 4. Choice A confuses matching edges with vertex degrees. Choice B contradicts the given condition that removing ANY vertex causes the reduction. Choice D makes an unjustified claim about uniqueness.
- Let and be two different maximum matchings in a bipartite graph . If and , how many connected components does the symmetric difference induce in ? Answer: 2 Since |M₁ ∩ M₂| = k-2, there are 2 edges in M₁ but not M₂, and 2 edges in M₂ but not M₁. The symmetric difference M₁ ⊕ M₂ contains exactly 4 edges. In a bipartite graph, the symmetric difference of two matchings forms a collection of alternating paths and cycles. With 4 edges total, we must have exactly 2 connected components (either 2 paths of length 2, or 1 path of length 3 and 1 isolated edge, etc.).
- A company wants to assign 8 employees to 6 projects. Each employee is qualified for exactly 3 projects, and each project requires exactly 4 qualified employees to choose from. If this situation is modeled as a bipartite graph, what can be concluded about the existence of an assignment where each project gets exactly one employee? Answer: Such an assignment may exist depending on which specific qualifications each employee has This asks for a matching that saturates all 6 projects. By the handshaking lemma, the degree conditions (8×3 = 24 total edges = 6×4) are consistent. However, Hall's condition for the project side requires checking that every subset of projects has sufficiently many qualified employees. The given constraints don't guarantee this - it depends on the specific qualification pattern.
- In a bipartite graph with and , suppose that for some subset with , the neighborhood has exactly 3 vertices. What can be concluded about perfect matchings in ? Answer: has no perfect matching due to Hall's condition violation Hall's Marriage Theorem states that a bipartite graph has a matching that saturates if and only if for every subset , we have . Here, we have a subset with but , violating Hall's condition since . This means there is no matching that saturates , and therefore no perfect matching exists. Choice A ignores the Hall condition violation. Choice C is incorrect because finding one violating subset is sufficient to conclude no perfect matching exists. Choice D is wrong because the maximum matching size could be less than 5 due to this bottleneck.
- Let be a bipartite graph with parts and where . If has exactly 20 edges and every vertex has degree at least 2, which of the following statements about perfect matchings in is necessarily true? Answer: may or may not contain a perfect matching depending on edge distribution With 20 edges and minimum degree 2, we have average degree 20/6 ≈ 3.33 per vertex. While this suggests good connectivity, Hall's condition depends on the specific edge distribution. We can construct examples where Hall's condition fails (violating perfect matching existence) and others where it holds, both satisfying the given constraints.
- A bipartite graph has the property that every vertex in has degree 2 and every vertex in has degree 3. If , what is , and what is the size of the maximum matching in ? Answer: and maximum matching size is 6 Using the handshaking lemma for bipartite graphs: the total degree from equals the total degree from . Total degree from is . If every vertex in has degree 3, then , so . For the maximum matching size: since and , the maximum possible matching size is . The degree conditions ensure this maximum is achievable. Choice B has the correct but wrong matching size (can't exceed ). Choice C has wrong . Choice D has both wrong and impossible matching size.
- Consider two bipartite graphs and where , , and both have perfect matchings. If we form a new bipartite graph by taking the disjoint union and adding exactly one edge between and , what can we conclude about the maximum matching size in ? Answer: The maximum matching size is 8, same as the sum of the original maximum matchings When analyzing matching problems in graph theory, you need to understand how structural changes affect maximum matching sizes. A matching is a set of edges with no shared vertices, and in bipartite graphs, the maximum matching size is constrained by the smaller partition. Let's trace through what happens when we form graph . Initially, and each have perfect matchings of size 4 (matching all vertices in both partitions). In their disjoint union, you could achieve a total matching of 8 edges by using both perfect matchings simultaneously, since the graphs share no vertices. Now we add one edge between and . This creates a single connected component, but critically, it doesn't increase the maximum matching size. Here's why: now has 8 vertices that could potentially be matched from the "left" side () and 8 vertices on the "right" side (). However, any maximum matching can still use at most 8 edges total, achieving perfect matching of all 16 vertices. Option A is wrong because adding one edge between partitions doesn't disrupt the bipartite structure - remains bipartite with partitions and . Option B is incorrect because 9 edges would require 18 vertices, but we only have 16. Option C fails for the same reason - we cannot exceed 8 edges with 16 vertices. Study tip: In matching problems, always count vertices in each partition first. The maximum matching size cannot exceed half the total vertices in any bipartite graph.
- A bipartite graph with bipartition has the property that for every subset with , we have . However, there exists a subset with such that . If and , what is the maximum possible size of a matching in ? Answer: 5 By Hall's theorem, since there exists with and , there is no matching that saturates all of . However, we can still find a large matching. The bottleneck is the 4-subset that can reach only 3 vertices in . At most 3 vertices from can be matched. The remaining vertices in could potentially be matched to vertices in . Since , we can match these 2 vertices as well, giving a total matching size of . Choice A severely underestimates. Choice B (4) doesn't account for matching vertices outside . Choice D (6) ignores the Hall condition violation.
- Consider a complete bipartite graph with vertex sets and . How many different maximum matchings does this graph have? Answer: 24 In , the maximum matching size is , so we need to match all 3 vertices from set to 3 of the 4 vertices in set . First, choose which 3 vertices from to use: ways. Then, for each choice, arrange the 3 vertices from to match with the chosen 3 vertices from : ways. Total: maximum matchings. Choice A (12) might result from incorrectly calculating . Choice C (36) could come from incorrect overcounting. Choice D is wrong because the structure of determines the count regardless of labeling.
- Consider a bipartite graph where and . Every vertex in has degree 3, and every vertex in has degree at least 2. Which statement about maximum matchings in is necessarily true? Answer: The maximum matching has exactly 4 edges and saturates all vertices in Since and we're looking at a bipartite graph, the maximum possible matching size is . The degree conditions ensure sufficient connectivity: total degree from is , and since every vertex in has degree at least 2, there are enough edges for a complete matching of . By König's theorem and Hall's theorem, these degree conditions guarantee that all vertices in can be matched. Choice B underestimates the matching size. Choice C is impossible since limits us to at most 4 edges. Choice D is incorrect because the degree constraints are sufficient to guarantee the maximum.
- A graph has vertex set and edge set . If is bipartite with bipartition , what is the size of the maximum matching in ? Answer: 3 First, we verify the graph is bipartite by finding a valid bipartition. Setting and works since all edges connect vertices from different sets. To find the maximum matching, we can use the fact that in a bipartite graph, we want to match as many vertices as possible. We can match: , , and , giving us 3 edges. This is maximum because we have 3 vertices in each partition, and we've successfully matched all of them. Choice A (2) represents finding only a partial matching. Choice C (4) is impossible since we only have 6 vertices total. Choice D is incorrect because the bipartition shown is valid.