SlideShare a Scribd company logo
4
Most read
13
Most read
15
Most read
Welcome
to ❤ my
Presentation
Hello!
I am Marjuk Ahmed Siddiki
ID: 171-15-8959
Bio-Informatics
Daffodil International University
Discrete Mathematics - Trees
3
What is Discrete Math ?
"Discrete Math" is not the name of a branch of
mathematics, like number theory, algebra, calculus, etc.
Rather, it's a description of a set of branches of math
that all have in common the feature that they are
"discrete" rather than "continuous".
Discrete Math
What is tree?
An undirected graph is a tree if and only if there is a unique simple path
between any two of its vertices.
Every tree is a Graph, but every Graph is not a tree.
4
Basic of Tree
Node
Edge
Root
Leaf node
Depth
Height
5
Parent
Children
Sibling
Ancestors
Descendants
Subtree
Basic of Tree
○ Node: A node is a fundamental part of a
tree. Each letter represents one node.
Node often represent entities(complex
objects) such as people,car parts etc.
○ Edge: The arrows from one node to
another are called edge. Edge betweer the
nodes represent the way the nodes are
related.
6
Basic of Tree
○ Root: The root of the tree is the only node
in the tree that has no incoming edges.
Here, a is the root.
7
○ Leaf Node: A leaf node is a node that has no children.The
bottom nodes (with no outgoing edges) are the leaves .
○ Here, c , i , j , k , l , m are leaves Node.
Basic of Tree
○ Depth: Depth tells the number of steps
(nodes) to get from a node back to the
root.
8
○ Height: The height of a tree is equal to the
maximum level of any node in the tree.
This tree has height 5, so the maximum
depth is 4 (height - 1).
Basic of Tree
Parent: Any node, except root has exactly
one edge running upward to another node.
The node above it is called parent.
 a is the parent of b , c , d
 b is the parent of e
 d is the parent of f , g , h
 e is the parent of i , j
 f is the parent of k
 h is the parent of l , m
9
Basic of Tree
Sibling:
10
 b , c , d are siblings of each other
 f , g , h are siblings of each other
 i , j are siblings of each other
 l , m are siblings of each other
Basic of Tree
Child: Any node may have one or more lines
running downward to other nodes. Nodes
below are children.
11
 b , c , d are children of a
 f , g , h are children of d
 e is the children of b
 i , j are the children of e
 k is the children of f
 l , m are the children of h
Basic of Tree
Sub-Tree: A sub-tree of a given node
includes one of its children and all of that
child's descendants.
12
Basic of Tree
m-ary tree : A rooted tree is called an m-ary
tree if every internal vertex has no more
than m children.
13
full m-ary tree :A tree is called
a full m-ary tree if every internal
vertex has exactly m children.
m-ary tree
full-ary tree
Basic of Tree
binary tree : An m-ary tree with m = 2 is
called a binary tree
14
Thank ❤ YOU

More Related Content

PPT
Binary tree traversal ppt - 02.03.2020
PPTX
Binary Search Tree in Data Structure
PPTX
Queue in Data Structure
PPTX
Binary Search Tree
PDF
3b. LMD & RMD.pdf
PPTX
10. Search Tree - Data Structures using C++ by Varsha Patil
PPT
Binary search trees
PPTX
Binary tree and Binary search tree
Binary tree traversal ppt - 02.03.2020
Binary Search Tree in Data Structure
Queue in Data Structure
Binary Search Tree
3b. LMD & RMD.pdf
10. Search Tree - Data Structures using C++ by Varsha Patil
Binary search trees
Binary tree and Binary search tree

What's hot (20)

PDF
Linked List, Types of Linked LIst, Various Operations, Applications of Linked...
PPT
Chap 5 Tree.ppt
PPTX
Splay tree
PDF
B TREE ( a to z concept ) in data structure or DBMS
PPTX
Multiplication Properties of Exponents
PPTX
Doubly Linked List
PPT
BINARY TREE REPRESENTATION.ppt
PPTX
Unit 2 application of stack
PPTX
PPT
Graphs
PDF
15 bitwise operators
PPTX
Tree and graph
PPT
Binary Search Tree Traversal.ppt
PPTX
Introduction to Graph Theory
PDF
Binary Search - Design & Analysis of Algorithms
PPTX
Searching and sorting
PDF
Relation matrix & graphs in relations
PPT
Discrete Math Lecture 03: Methods of Proof
PPT
Predicates and Quantifiers
Linked List, Types of Linked LIst, Various Operations, Applications of Linked...
Chap 5 Tree.ppt
Splay tree
B TREE ( a to z concept ) in data structure or DBMS
Multiplication Properties of Exponents
Doubly Linked List
BINARY TREE REPRESENTATION.ppt
Unit 2 application of stack
Graphs
15 bitwise operators
Tree and graph
Binary Search Tree Traversal.ppt
Introduction to Graph Theory
Binary Search - Design & Analysis of Algorithms
Searching and sorting
Relation matrix & graphs in relations
Discrete Math Lecture 03: Methods of Proof
Predicates and Quantifiers
Ad

Similar to Discrete Mathematics - Trees (20)

PPTX
Binary Trees - Tree Terminologies and representation
DOCX
Trees and Graphs in data structures and Algorithms
PPTX
trees assignment by Syed Muhammad Huzaifa.pptx
PDF
tree traversals.pdf
PPTX
lecture_13 tree in mmmmmmmm mmmmmfftro.pptx
PPTX
Data structure using c module 2
PPTX
Trees in data structures
PPT
intro_to_trees.ppt intro_to_treesintro_to_trees
PPTX
Tree Data Structure Tree Data Structure Details
PPTX
Understanding Tree Data Structure and Its Applications
PPTX
Tree (Data Structure & Discrete Mathematics)
PPTX
TREE PRESENTATION COMPUTER SCIENCE/DATA STRUCTURE
PPTX
Discrete Mathematics Tree
PPTX
week-Lec 10Trees.pptx for dsa students in detail
PDF
07 trees
PPTX
Data Structures Module 3 Binary Trees Binary Search Trees Tree Traversals AVL...
PDF
trees-and-forest.pdf
PPTX
data structure and algorithm chapter 8 computer
PPTX
Notes on trees Introduction and graphs.pptx
DOCX
Describe the tree data structure- What is a root node- What is a child.docx
Binary Trees - Tree Terminologies and representation
Trees and Graphs in data structures and Algorithms
trees assignment by Syed Muhammad Huzaifa.pptx
tree traversals.pdf
lecture_13 tree in mmmmmmmm mmmmmfftro.pptx
Data structure using c module 2
Trees in data structures
intro_to_trees.ppt intro_to_treesintro_to_trees
Tree Data Structure Tree Data Structure Details
Understanding Tree Data Structure and Its Applications
Tree (Data Structure & Discrete Mathematics)
TREE PRESENTATION COMPUTER SCIENCE/DATA STRUCTURE
Discrete Mathematics Tree
week-Lec 10Trees.pptx for dsa students in detail
07 trees
Data Structures Module 3 Binary Trees Binary Search Trees Tree Traversals AVL...
trees-and-forest.pdf
data structure and algorithm chapter 8 computer
Notes on trees Introduction and graphs.pptx
Describe the tree data structure- What is a root node- What is a child.docx
Ad

More from Marjuk Ahmed Siddiki (6)

PPTX
Python Programming Full Course || Beginner to Intermediate || Bangla (বাংলা) ...
PPTX
Rgb and-cmy-color-model
PDF
Farm House - Java Project
PPTX
Internet of Things (IoT)
PPTX
Statistics and Probability - all in one
PPTX
Bio Informatics - Genome Assembly
Python Programming Full Course || Beginner to Intermediate || Bangla (বাংলা) ...
Rgb and-cmy-color-model
Farm House - Java Project
Internet of Things (IoT)
Statistics and Probability - all in one
Bio Informatics - Genome Assembly

Recently uploaded (20)

PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Classroom Observation Tools for Teachers
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
Trump Administration's workforce development strategy
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Cell Types and Its function , kingdom of life
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
Pharma ospi slides which help in ospi learning
PDF
01-Introduction-to-Information-Management.pdf
human mycosis Human fungal infections are called human mycosis..pptx
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Microbial disease of the cardiovascular and lymphatic systems
Classroom Observation Tools for Teachers
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
GDM (1) (1).pptx small presentation for students
Abdominal Access Techniques with Prof. Dr. R K Mishra
Final Presentation General Medicine 03-08-2024.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Yogi Goddess Pres Conference Studio Updates
Weekly quiz Compilation Jan -July 25.pdf
Trump Administration's workforce development strategy
Supply Chain Operations Speaking Notes -ICLT Program
Cell Types and Its function , kingdom of life
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Orientation - ARALprogram of Deped to the Parents.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Pharma ospi slides which help in ospi learning
01-Introduction-to-Information-Management.pdf

Discrete Mathematics - Trees

  • 2. Hello! I am Marjuk Ahmed Siddiki ID: 171-15-8959 Bio-Informatics Daffodil International University
  • 4. What is Discrete Math ? "Discrete Math" is not the name of a branch of mathematics, like number theory, algebra, calculus, etc. Rather, it's a description of a set of branches of math that all have in common the feature that they are "discrete" rather than "continuous". Discrete Math What is tree? An undirected graph is a tree if and only if there is a unique simple path between any two of its vertices. Every tree is a Graph, but every Graph is not a tree. 4
  • 5. Basic of Tree Node Edge Root Leaf node Depth Height 5 Parent Children Sibling Ancestors Descendants Subtree
  • 6. Basic of Tree ○ Node: A node is a fundamental part of a tree. Each letter represents one node. Node often represent entities(complex objects) such as people,car parts etc. ○ Edge: The arrows from one node to another are called edge. Edge betweer the nodes represent the way the nodes are related. 6
  • 7. Basic of Tree ○ Root: The root of the tree is the only node in the tree that has no incoming edges. Here, a is the root. 7 ○ Leaf Node: A leaf node is a node that has no children.The bottom nodes (with no outgoing edges) are the leaves . ○ Here, c , i , j , k , l , m are leaves Node.
  • 8. Basic of Tree ○ Depth: Depth tells the number of steps (nodes) to get from a node back to the root. 8 ○ Height: The height of a tree is equal to the maximum level of any node in the tree. This tree has height 5, so the maximum depth is 4 (height - 1).
  • 9. Basic of Tree Parent: Any node, except root has exactly one edge running upward to another node. The node above it is called parent.  a is the parent of b , c , d  b is the parent of e  d is the parent of f , g , h  e is the parent of i , j  f is the parent of k  h is the parent of l , m 9
  • 10. Basic of Tree Sibling: 10  b , c , d are siblings of each other  f , g , h are siblings of each other  i , j are siblings of each other  l , m are siblings of each other
  • 11. Basic of Tree Child: Any node may have one or more lines running downward to other nodes. Nodes below are children. 11  b , c , d are children of a  f , g , h are children of d  e is the children of b  i , j are the children of e  k is the children of f  l , m are the children of h
  • 12. Basic of Tree Sub-Tree: A sub-tree of a given node includes one of its children and all of that child's descendants. 12
  • 13. Basic of Tree m-ary tree : A rooted tree is called an m-ary tree if every internal vertex has no more than m children. 13 full m-ary tree :A tree is called a full m-ary tree if every internal vertex has exactly m children. m-ary tree full-ary tree
  • 14. Basic of Tree binary tree : An m-ary tree with m = 2 is called a binary tree 14