Friday 30 January 2015

Recurrence Relations

Basic concept: 

Recurrence relations are recursive definitions of mathematical functions or sequences. For example, the recurrence relation
g(n) = g(n-1) + (2n -1) g(0) = 0
defines the function f(n) = n2, and the recurrence relation

Sunday 18 January 2015

ISOMORPHISM OF GRAPH



Two Graphs G1(V1,E1) and G2(V2,E2) are isomorphic if there is a bijective (one to one and onto) mapping f:V1 –> V2  that preserves adjacency that is a and b are adjacent in G1 if and only if f(a) and f(b) are adjacent in G2, for all a, b belongs to G1. Such a correspondence f is called graph isomorphism 

Friday 16 January 2015

Adjacency & Incidence Matrices

ADJACENCY MATRICES:
           
            Suppose G(V,E) is a simple graph with n vertices v1,v2,….,vn. The adjacency matrix or sometimes called connection matrix of the graph G(V,E), denoted by A(G) is a matrix (aij)n x n (with respect to the particular ordering of vertices) such that,

                        aij=1, if there is an edge between i th and j th vertices
                           =0, if there is no edge between i th and j th vertices

Subgraph

SUBGRAPH:

            A subgraph of a graph G(V,E) is a graph H(W,F) where W subset equal to V and F subset equal to   E. If W sub set V and F sub set E , then H is called the proper subgraph of G, if W=V, then H is called a spanning subgraph of G. A spanning subgraph of G need not contain all its edges. The graph H shown in below is a subgraph of K


Some Special Simple Graph

A) Complete Graph:

                 A simple graph that contains exactly one edge between every pair of vertices. The complete graph on n vertices is denoted by Kn

Mathematical Logic

1. Construct the truth table for ~(~p ^ ~q)


pq~p~q~p ^ ~q~(~p ^ ~q)
TTFFFT
TFFTFT
FTTFFT
FFTTTF

Mathematical Logic

Unioun operationIntersection Operation
pqpUqpqp^q
TTTTTT
TFTTFF
FTTFTF
FFFFFF