Computer Engineering Articles

Page 3 of 36

Power Set

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 793 Views

The power set of a set S is the set of all subsets of S, including the empty set and S itself. The power set is denoted as P(S). If S has n elements, then its power set has 2n elements. Example For a set S = { a, b, c, d }, let us list all the subsets grouped by size − Subsets with 0 elements: { ∅ } Subsets with 1 element: { a }, { b }, { c }, { d } Subsets with 2 elements: { a, ...

Read More

Independent Vertex Set

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 484 Views

An independent vertex set of a graph G is a subset of vertices where no two vertices are adjacent (connected by an edge). This concept is the vertex counterpart of the independent line set (matching), and is fundamental to problems like graph coloring and vertex cover. Independent Vertex Set Let G = (V, E) be a graph. A subset S of V is called an independent vertex set of G if no two vertices in S are adjacent − that is, no edge in G connects any pair of vertices in S. Example ...

Read More

Independent Line Set

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 611 Views

An independent set in a graph is a set of elements (vertices or edges) where no two elements are adjacent to each other. There are two types − Independent line set (edge independent set) − A set of edges where no two edges share a common vertex. Independent vertex set − A set of vertices where no two vertices share a common edge. Independent Line Set Let G = (V, E) be a graph. A subset L of E is called an independent line set (also called a matching) if no two edges in L ...

Read More

Bipartite Graphs

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 7K+ Views

A bipartite graph is a graph whose vertex set can be split into two disjoint sets, V1 and V2, such that every edge connects a vertex in V1 to a vertex in V2. No edge connects two vertices within the same set. Bipartite Graph If the vertex-set of a graph G can be split into two disjoint sets V1 and V2, in such a way that each edge joins a vertex in V1 to a vertex in V2, and there are no edges connecting two vertices within V1 or within V2, then G is called a bipartite graph. ...

Read More

Centers of a tree

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 5K+ Views

The center of a tree is a vertex with minimal eccentricity. The eccentricity of a vertex X in a tree G is the maximum distance between vertex X and any other vertex of the tree. The maximum eccentricity across all vertices is the diameter of the tree. If a tree has exactly one center, it is called a central tree. If a tree has exactly two centers (connected by an edge), it is called a bi-central tree. Every tree is either central or bi-central. Algorithm to Find Centers of a Tree The algorithm works ...

Read More

Circuit Rank

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 1K+ Views

The circuit rank (also called the cycle rank or cyclomatic number) of a connected graph tells you how many edges must be removed to eliminate all cycles and produce a spanning tree. Let G be a connected graph with n vertices and m edges. A spanning tree of G contains exactly (n − 1) edges. Therefore, the number of edges you need to delete from G to get a spanning tree is − Circuit Rank = m − (n − 1) This formula works because a spanning tree must have exactly n − 1 edges. ...

Read More

Complement of Graph

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 4K+ Views

The article is already well-structured. I'll replace the JPG image with an SVG diagram showing the graph and its complement side by side. The complement of a graph G, denoted as G̅, is a simple graph with the same set of vertices as G. An edge {U, V} exists in G̅ if and only if that edge is not present in G. In other words, two vertices are adjacent in G̅ if and only if they are not adjacent in G. If the edges that exist in graph I are absent in graph II, and combining both graphs ...

Read More

Inverse of function of Set

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 601 Views

The inverse of a one-to-one (bijective) function f: A → B is the function g: B → A that reverses the mapping of f. It holds the following property − f(x) = y ⇔ g(y) = x The function f is called invertible if its inverse function g exists. For a function to be invertible, it must be one-to-one (injective) − meaning no two different inputs map to the same output − and onto (surjective) − meaning every element in the codomain is mapped to by some element in the domain. The inverse of f is commonly denoted as f−1. ...

Read More

Connected vs Disconnected Graphs

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 29K+ Views

The article is already well-structured. I'll replace the two JPG images with SVG diagrams and keep everything else intact. In graph theory, graphs are classified as connected or disconnected based on whether there exists a path between every pair of vertices. Understanding this distinction is fundamental to analyzing graph structure and its applications. Connected Graph A graph is connected if there exists a path between any two vertices in the graph. In other words, starting from any vertex, you can reach every other vertex by traversing edges. Connected Graph ...

Read More

Connectivity of Graph

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 1K+ Views

Whether it is possible to traverse a graph from one vertex to another is determined by how a graph is connected. Connectivity is a basic concept in graph theory that defines whether a graph is connected or disconnected. It has subtopics based on edge and vertex, known as edge connectivity and vertex connectivity. Connectivity A graph is said to be connected if there is a path between every pair of vertices. A graph with vertices that cannot reach each other is said to be disconnected. Example 1: Connected Graph In the following graph, it is possible ...

Read More
Showing 21–30 of 352 articles
« Prev 1 2 3 4 5 36 Next »
Advertisements