How to prove that in an arbitrary graph the number of vertices with odd degree is even

317 Views Asked by At

I know that degree of a vertex of an (undirected) graph is the number of edges incident to the vertex. I need to prove that in an arbitrary graph the number of vertices with odd degree is even. How to formally prove it?

2

There are 2 best solutions below

0
On

The sum of degrees of all vertices is even. Thus the number of odd-degree vertices must be even, since otherwise the first sum is odd (even-degree vertices do not affect the parity of the first sum).

0
On

I proved this many hard ways. Years later I found this. This is the best way!