Labeled Graph

DOWNLOAD Mathematica Notebook LabeledGraphTypes

A labeled graph G=(V,E) is a finite series of graph vertices V with a set of graph edges E of 2-subsets of V. Given a graph vertex set V_n={1,2,...,n}, the number of vertex-labeled graphs is given by 2^(n(n-1)/2). Two graphs G and H with graph vertices V_n={1,2,...,n} are said to be isomorphic if there is a permutation p of V_n such that {u,v} is in the set of graph edges E(G) iff {p(u),p(v)} is in the set of graph edges E(H).

LabeledGraphs

The term "labeled graph" when used without qualification means a graph with each node labeled differently (but arbitrarily), so that all nodes are considered distinct for purposes of enumeration. The total number of (not necessarily connected) labeled n-node graphs for n=1, 2, ... is given by 1, 2, 8, 64, 1024, 32768, ... (OEIS A006125; illustrated above), and the numbers of connected labeled graphs on n-nodes are given by the logarithmic transform of the preceding sequence, 1, 1, 4, 38, 728, 26704, ... (OEIS A001187; Sloane and Plouffe 1995, p. 19).

The numbers of graph vertices in all labeled graphs of orders n=1, 2, ... are 1, 4, 24, 256, 5120, 196608, ... (OEIS A095340), which the numbers of edges are 0, 1, 12, 192, 5120, 245760, ... (OEIS A095351), the latter of which has closed-form

 e(n)=n(n-1)2^(n(n-1)/2-2).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.