Found 468 Articles for Mathematics

The Graph Coloring

Mahesh Parahar
Updated on 07-Nov-2023 05:08:44

35K+ Views

Graph coloring is the procedure of assignment of colors to each vertex of a graph G such that no adjacent vertices get same color. The objective is to minimize the number of colors while coloring a graph. The smallest number of colors required to color a graph G is called its chromatic number of that graph. Graph coloring problem is a NP Complete problem.Method to Color a GraphThe steps required to color a graph G with n number of vertices are as follows −Step 1 − Arrange the vertices of the graph in some order.Step 2 − Choose the first ... Read More

Functions of Set

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

5K+ 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

335 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

5K+ 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

3K+ 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

647 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

363 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

3K+ 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.

Euler and Hamiltonian Paths

Mahesh Parahar
Updated on 23-Aug-2019 07:21:53

6K+ Views

A graph is traversable if you can draw a path between all the vertices without retracing the same path. Based on this path, there are some categories like Euler’s path and Euler’s circuit which are described in this chapter.Euler’s PathAn Euler’s path contains each edge of ‘G’ exactly once and each vertex of ‘G’ at least once. A connected graph G is said to be traversable if it contains an Euler’s path.ExampleEuler’s Path = d-c-a-b-d-e.Euler’s CircuitIn an Euler’s path, if the starting vertex is same as its ending vertex, then it is called an Euler’s circuit.ExampleEuler’s Path = a-b-c-d-a-g-f-e-c-a.Euler’s Circuit ... Read More

Edges and Vertices of Graph

Mahesh Parahar
Updated on 23-Aug-2019 07:19:16

22K+ Views

A graph is a set of points, called nodes or vertices, which are interconnected by a set of lines called edges. The study of graphs, or graph theory is an important part of a number of disciplines in the fields of mathematics, engineering and computer science.Graph TheoryDefinition − A graph (denoted as G = (V, E)) consists of a non-empty set of vertices or nodes V and a set of edges E. A vertex a  represents an endpoint of an edge. An edge joins two vertices a, b  and is represented by set of vertices it connects.Example − Let us ... Read More

Advertisements