Prove that a tree with n vertices has n-1 edges
ฝัง
- เผยแพร่เมื่อ 24 ธ.ค. 2022
- In this video, I will show you how to prove that a tree with n vertices or nodes has n-1 edges using proof by induction. For example, if you are given a tree with 10 vertices or nodes, then you know for sure that there are 9 edges. So, what exactly is a tree? A tree is an undirected graph that is a connected graph and has no cycles, parallel edges, or loops. I will prove this statement using mathematical statement. The induction proof that a tree of n nodes has n-1 edges is a basic theorem in graph theory which is important in both discrete math and computer science classes. If you are given a graph of n vertices with no cycles, loops, or parallel edges, and you find out that the graph has exactly n-1 edges, then you know that it is a tree.
If you enjoyed my video, please don't forget to subscribe to my channel :)
Thank you so much ! This was really quick to learn and helpful to understand…just watching this video before my exams 😂😂
Glad it helped! Don't forget to subscribe and share with others! It means a lot :))
Thankyou so much sir....
❤from india
You're very welcome! You can find all of my Computer Science videos here: th-cam.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
Thank you so much was very helpful
Anytime! If you could kindly subscribe and share with classmates, I'd really appreciate it! As well, you can see my Data Structure and Algorithm playlist here: th-cam.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
Cam on nhieu!
You're so welcome Clara! Please kindly subscribe and find the rest of my Data Structures & Algorithm videos in this playlist: th-cam.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html