Problem Solving

Perfect Matching

Each marker in one group is paired with exactly one marker in the other.

Perfect Matching definition

A perfect matching is a matching that covers every vertex exactly once.

In Spanish
emparejamiento perfecto
Topic
Graph algorithms and networks

Perfect Matching in a picture

Perfect Matching diagramIn two groups of three vertices, a perfect matching selects three compatible pairs with no vertex left out.List all verticesThere are three on each sideChoose three compatible edgesNo two chosen edges share a vertexCheck all six endpointsEvery vertex is covered once
In two groups of three vertices, a perfect matching selects three compatible pairs with no vertex left out.

How it works

The chosen edges have no shared endpoints, and every vertex belongs to one chosen edge. A perfect matching on n vertices uses n/2 edges. A bipartite graph can have one only if its two parts have the same size.

Worked examples

Can a graph with five vertices have a perfect matching?

No. Each chosen edge covers two vertices, so an odd total cannot all be covered.

How many edges are in a perfect matching of eight vertices?

Four.

If two vertices in one part can only match to the same single vertex, can both be covered?

No. They would have to reuse that endpoint.

Common mistake

A maximum matching may leave vertices unmatched. A perfect matching requires complete coverage.

Quick check

How many edges are in a perfect matching on ten vertices?

Can a graph have more than one perfect matching?

Show answer

Yes.

Do equal part sizes alone guarantee a perfect matching?

Show answer

No. The available edges matter.

Sources

Flashcard

Perfect Matching

Reveal the definition

A perfect matching is a matching that covers every vertex exactly once.

Effortless Math. “Perfect Matching.” Math Dictionary.