Subgraphs

  • is subgraph ^[תת-גרף] of , if and , and every edge in connects two nodes in
  • is spanning subgraph ^[תת-גרף פורש] of , if is subgraph of , and
  • is induced subgraph ^[תת-גרף מושרה] of by , such that

Neighbour

  • An adjacent vertex ^[צומת שכנה] of a vertex in a graph is a vertex that is connected to by an edge.
  • The neighbourhood of a vertex ^[קבוצת השכנים של צומת].
  • The neighbourhood of set ^[קבוצת השכנים של קבוצת צמתים]  is the union of the neighbourhoods of the vertices of .

Complement graph

Let be a simple graph. the complement of is the simple graph which consists of:

  • The same vertex set of .
  • The set defined such that where and are distinct.
  • A number of edges in complement graph is

Theorems

  • The complement of a Disconnected graph is connected ^[question 4]

Components

Every graph with vertices and edges has at least components.

Connected Graph

in connected graph

Complete graph

A complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. the complete graph on vertices is denoted by

  • Number of Edges in complete graph is . ^[Triangle number]
  • Number of Perfect Matchings in complete graph is double-factorial .
  • TODO: https://oeis.org/A031878 is maybe the longest path in complete graph

Cycle & Path

  • Walk - is a finite or infinite sequence of edges which joins a sequence of vertices.
  • Trail (מסלול) - is a walk in which all edges are distinct.
  • Path (מסלול פשוט) - is a trail in which all vertices (and therefore also all edges) are distinct.
  • Circuit (מעגל, מסלול סגור) - is a non-empty trail in which the first and last vertices are equal.
  • Cycle (מעגל פשוט) - is a non-empty trail in which only the first and last vertices are equal.
  • Cycle graph is a graph that consists of a single cycle.
  • A cycle with an even number of vertices is called an even cycle; a cycle with an odd number of vertices is called an odd cycle.

Theorems

  • Let a connected graph, and , then there is a cycle in the graph.
  • Let a connected graph, and each vertex has degree 2, then is a cycle graph. (question 2).