
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 253 Articles for Mathematics

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

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

478 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.

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.

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

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