Ask your own question, for FREE!
Mathematics 11 Online
OpenStudy (anonymous):

If G = (V, E) is a forest with |V| = v, |E| = e and k componets(trees), what relationship exists among v, e and k?

ganeshie8 (ganeshie8):

k = v-e

OpenStudy (anonymous):

Thanks, But do you mind explaining why? much appreciated

ganeshie8 (ganeshie8):

sure, definition a forest is a graph without cycles. so if we have v vertices and e edges, the number of components would be v-e. u can visualize it like this :- if we have 0 edges, then all vertices are isolated. that gives k = v. if we have e edges, then number of components wud be v-e

OpenStudy (anonymous):

Cheers mate :D

ganeshie8 (ganeshie8):

wonderful you got it i suppose :)

OpenStudy (anonymous):

Yeah, Just needed a push in the right direction. Have a nice day

ganeshie8 (ganeshie8):

have a great day

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!