Graph Theory Help: Finding # of Graphs w/ n Vertices & k Edges

Click For Summary
SUMMARY

The discussion focuses on calculating the number of distinct graphs that can be formed from a set of vertices V={1,2,...,n} with exactly k edges. The total number of distinct graphs is determined by the formula 2^(choose two in n), which accounts for all possible edges between vertices. To find the specific relation with k edges, the number of ways to choose k edges from the total pairs of vertices, given by Comb(1/2 n(n-1), k), is utilized. For directed graphs, this value is doubled, and for graphs allowing loops, the calculation changes to 1/2 n^2.

PREREQUISITES
  • Understanding of basic graph theory concepts
  • Familiarity with combinatorial mathematics
  • Knowledge of directed versus undirected graphs
  • Ability to work with combinations and permutations
NEXT STEPS
  • Study the concept of combinations in combinatorial mathematics
  • Learn about directed and undirected graphs in graph theory
  • Explore the implications of allowing loops in graph structures
  • Investigate advanced graph enumeration techniques
USEFUL FOR

Students and researchers in mathematics, computer scientists focusing on graph algorithms, and anyone interested in combinatorial graph theory.

erogol
Messages
14
Reaction score
0
The graph theory HELP!

How many distinct graphs can be found by the set V={1,2,...,n} with k edges?

For this question i conclude that totao.l number of distinct graphs comes with 2^(choose two in n)

but i cannot find the solution which gives the relation with k edges can you help me?
 
Physics news on Phys.org


There are a total of (n^2 - n)/2 = 1/2 n(n-1) pairs of vertices. You pick k out of these, so you have Comb(1/2 n(n-1), k) possibilities.

If you're talking about directed graphs, multiply this by 2. If you allow for loops, take 1/2 n^2 instead of 1/2 n(n-1).
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
529
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K