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
Double counting (proof technique)
(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!
===Handshaking lemma=== {{main|Handshaking lemma}} Another theorem that is commonly proven with a double counting argument states that every [[undirected graph]] contains an even number of [[Vertex (graph theory)|vertices]] of odd [[Degree (graph theory)|degree]]. That is, the number of vertices that have an odd number of incident [[Graph (discrete mathematics)|edges]] must be even. In more colloquial terms, in a party of people some of whom shake hands, an even number of people must have shaken an odd number of other people's hands; for this reason, the result is known as the [[handshaking lemma]]. To prove this by double counting, let <math>d(v)</math> be the degree of vertex <math>v</math>. The number of vertex-edge incidences in the graph may be counted in two different ways: by summing the degrees of the vertices, or by counting two incidences for every edge. Therefore <math display=block>\sum_v d(v) = 2e</math> where <math>e</math> is the number of edges. The sum of the degrees of the vertices is therefore an [[even number]], which could not happen if an odd number of the vertices had odd degree. This fact, with this proof, appears in the 1736 paper of [[Leonhard Euler]] on the [[Seven Bridges of Königsberg]] that first began the study of [[graph theory]].
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)