Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Perfect matching
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Computation == Deciding whether a graph admits a perfect matching can be done in [[Polynomial-time|polynomial time]], using any algorithm for finding a [[maximum cardinality matching]]. However, counting the number of perfect matchings, even in [[Bipartite graph|bipartite graphs]], is [[β―P-complete|#P-complete]]. This is because computing the [[Permanent (mathematics)|permanent]] of an arbitrary 0β1 matrix (another #P-complete problem) is the same as computing the number of perfect matchings in the bipartite graph having the given matrix as its [[biadjacency matrix]]. A theorem of [[Pieter Kasteleyn]] states that the number of perfect matchings in a [[planar graph]] can be computed exactly in polynomial time via the [[FKT algorithm]]. The number of perfect matchings in a [[complete graph]] ''K<sub>n</sub>'' (with ''n'' even) is given by the [[double factorial]]: <math>(n-1)!!</math><ref name=":2">{{citation|last=Callan|first=David|title=A combinatorial survey of identities for the double factorial|year=2009|arxiv=0906.1317|bibcode=2009arXiv0906.1317C}}.</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)