Question #222057
Hence show that the number of odd degree vertices in a graph always even.
1
Expert's answer
2021-08-11T15:29:33-0400

Let V={v1,v2,,vn}V=\{v_1,v_2,\dots,v_n\} be the set of vertices and EE is the set of edges of the graph GG.

First let's prove that degv1++degvn=2E\deg v_1+\dots+\deg v_n=2|E| by induction on E|E|.

If E=0|E|=0, then the graph contains no edges, degvi=0\deg v_i=0 for all i=1,2,,ni=1,2,\dots,n, and the equality holds. Now assume that the equality is proved for all graphs with E<m|E|<m and consider any graph GG with E=m|E|=m. Assume that for some i,j the edge vivjEv_iv_j\in E and let GG' be the graph that remains after deleting the edge vivjv_iv_j from GG. By the induction hypothesis,

degGv1++degGvn=2E=2E2\deg_{G'} v_1+\dots+\deg_{G'} v_n=2|E'|=2|E|-2

By the construction, for all ki,jk\ne i,j we have degGvk=degGvk\deg_{G'} v_k=\deg_{G} v_k, degGvi=degGvi1\deg_{G'} v_i=\deg_{G} v_i-1 and degGvj=degGvj1\deg_{G'} v_j=\deg_{G} v_j-1. Hence,

degGv1++degGvn=degGv1++degGvn2=2E2\deg_{G'} v_1+\dots+\deg_{G'} v_n=\deg_{G} v_1+\dots+\deg_{G} v_n-2=2|E|-2

Therefore, degv1++degvn=2E\deg v_1+\dots+\deg v_n=2|E|, as required, and the equality is proved for all finite graphs.


Denote by rir_i 1, if degvi\deg v_i is odd, or 0, if else. Then ri=degvi2[degvi/2]r_i=\deg v_i-2[\deg v_i/2], and the number of odd degree vertices is equal to

r1++rn=i=1n(degvi2[degvi/2])=2E2i=1n[degvi/2]r_1+\dots+r_n=\sum\limits_{i=1}^n(\deg v_i-2[\deg v_i/2])=2|E|-2\sum\limits_{i=1}^n[\deg v_i/2]

Therefore, it is even.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS