MCA Articles - Page 71 of 102

Homomorphism

Mahesh Parahar
Updated on 23-Aug-2019 11:12:38

2K+ Views

Two graphs G1 and G2 are said to be homomorphic, if each of these graphs can be obtained from the same graph 'G' by dividing some edges of G with more vertices. Take a look at the following example −Divide the edge 'rs' into two edges by adding one vertex.The graphs shown below are homomorphic to the first graph.If G1 is isomorphic to G2, then G is homeomorphic to G2 but the converse need not be true.Any graph with 4 or less vertices is planar.Any graph with 8 or less edges is planar.A complete graph Kn is planar if and ... Read More

Eulerian Graphs

Mahesh Parahar
Updated on 23-Aug-2019 11:03:05

32K+ Views

Euler Graph - A connected graph G is called an Euler graph, if there is a closed trail which includes every edge of the graph G.Euler Path - An Euler path is a path that uses every edge of a graph exactly once. An Euler path starts and ends at different vertices.Euler Circuit - An Euler circuit is a circuit that uses every edge of a graph exactly once. An Euler circuit always starts and ends at the same vertex. A connected graph G is an Euler graph if and only if all vertices of G are of even degree, ... Read More

Cardinality of a Set

Mahesh Parahar
Updated on 23-Aug-2019 11:01:02

742 Views

Cardinality of a set S, denoted by |S|, is the number of elements of the set. The number is also referred as the cardinal number. If a set has an infinite number of elements, its cardinality is ∞.Example − |{1, 4, 3, 5}| = 4, |{1, 2, 3, 4, 5, ....}| = ∞If there are two sets X and Y, |X| = |Y| denotes two sets X and Y having same cardinality. It occurs when the number of elements in X is exactly equal to the number of elements in Y. In this case, there exists a bijective function ‘f’ ... Read More

Functions of Set

Mahesh Parahar
Updated on 23-Aug-2019 07:46:01

8K+ Views

A Function assigns to each element of a set, exactly one element of a related set. Functions find their application in various fields like representation of the computational complexity of algorithms, counting objects, study of sequences and strings, to name a few. The third and final chapter of this part highlights the important aspects of functions.Function - DefinitionA function or mapping (Defined as f: X → Y) is a relationship from elements of one set X to elements of another set Y (X and Y are non-empty sets). X is called Domain and Y is called Codomain of function ‘f’.Function ... Read More

Finding the number of spanning trees in a graph

Mahesh Parahar
Updated on 23-Aug-2019 07:32:20

548 Views

Problem StatementFind the number of spanning trees in the following graph.SolutionThe number of spanning trees obtained from the above graph is 3. They are as follows −These three are the spanning trees for the given graphs. Here the graphs I and II are isomorphic to each other. Clearly, the number of non-isomorphic spanning trees is two.

Finding the number of regions in the graph

Mahesh Parahar
Updated on 23-Aug-2019 07:31:20

6K+ Views

Problem StatementLet 'G' be a connected planar graph with 20 vertices and the degree of each vertex is 3. Find the number of regions in the graph.SolutionBy the sum of degrees theorem, 20 ∑ i=1  deg(Vi) = 2|E|20(3) = 2|E||E| = 30By Euler’s formula,|V| + |R| = |E| + 220+ |R| = 30 + 2|R| = 12Hence, the number of regions is 12.

Finding the simple non-isomorphic graphs with n vertices in a graph

Mahesh Parahar
Updated on 23-Aug-2019 07:28:28

6K+ Views

Problem StatementHow many simple non-isomorphic graphs are possible with 3 vertices?SolutionThere are 4 non-isomorphic graphs possible with 3 vertices. They are shown below.

Finding the matching number of a graph

Mahesh Parahar
Updated on 23-Aug-2019 07:27:07

923 Views

Problem StatementWhat is the matching number for the following graph?SolutionNumber of vertices = 9We can match only 8 vertices.Matching number is 4.

Finding the line covering number of a graph

Mahesh Parahar
Updated on 23-Aug-2019 07:25:32

584 Views

Problem StatementWhat is the line covering number for the following graph?SolutionNumber of vertices = |V| = n = 7Line covering number = (α1) ≥ ⌈ n / 2 ⌉ = 3α1 ≥ 3By using 3 edges, we can cover all the vertices.Hence, the line covering number is 3.

Finding the chromatic number of complete graph

Mahesh Parahar
Updated on 23-Aug-2019 07:23:37

5K+ Views

Problem StatementWhat is the chromatic number of complete graph Kn?SolutionIn a complete graph, each vertex is adjacent to is remaining (n–1) vertices. Hence, each vertex requires a new color. Hence the chromatic number Kn = n.

Advertisements