1
$\begingroup$

I ran into a question in my textbook asking how many non-isomorphic simple graphs are there with 5 vertices and 3 edges, the answer says its 4, but I have no idea how I'm supposed to get that, there are also no examples of anything like this question either, I'm studying this for a midterm so I am much more interested in the process than the answer.

So I have a couple of confusions with this question. I tried to draw some graphs with v=5 and e=3 but stopped after like 3 after realizing there are so many graphs that are possible, am I really supposed to go through every single one and see if its isomorphic or not? also what am I even supposed check if its isomorphic to? I thought you needed 2 graphs to determine if they are isomorphic, What does it even mean to determine if one graph is isomorphic or not? Even when you have the 2 graphs you need to do a series of steps to check if they are even isomorphic right? The method we use right now is to check for equal edges, vertices, and series of degrees, and then we try to map each vertex to one on the other graph, if everything works it's isomorphic. Which in this case seems like it will take a very long time to do for all the possibilities. I don't think this question is supposed to be nearly as hard as I perceived. What am I missing here?

Furthermore how would I do this for other questions like this? for example 4 edges, 5 edges, 6 vertices, 7 vertices, etc. is there a series of steps I'm supposed to follow to solve a question like this?

  • 0
    my bad I got them confused I have edited my post2017-02-14
  • 1
    The _general_ problem here is almost certainly impossible to provide a useful answer for. In this specific case, because the number of edges and number of vertices is so small, you're certainly expected to do a case-by-case analysis. There must be at least one vertex shared between two edges (why?), so you just have to break down all the possibilities for the third edge.2017-02-14
  • 0
    You are wrong about "it will take a very long time". For $5$ vertices and $3$ edges, the time will be measured in **seconds** if you think about it right. Have you **tried** to do it?2017-02-14
  • 0
    Start witn an easier one: how many nonisomorphic graphs with $5$ vertices and 1 edge? There are $\binom52=10$ places to put the edge so we have 10 graphs and we have to figure out which ones are isomorphic. There are $\binom{10}2=45$ pairs of graphs to test for isomorphism. For each pair, there are $5!=120$ bijections we have to check to see if they are isomorphisms . . . Thinking about it that way, it will take all day. The right way: the vertices are all the same, it doesn't matter where we put the edge, they are **all** isomorphic, the answer is 1. Now, what about 5 vertices and 2 edges?2017-02-14
  • 0
    so are all the graphs non isomorphic? I tried to come up with the graphs for 5 vertices 3 edges and could only come up with 4 graphs that aren't the same. or am I just doing something wrong?2017-02-14
  • 0
    You just answered your own question. You came up with four non-isomorphic graphs with three edges. There is one shape that is a fan, all three edges meeting at a single point. There is one shape that is a path, A to B to C to D (four vertices, three edges. There is one that is a triangle. And there is one that is disjoint, two edges meeting at point A and a third edge that does not intersect with either. That is all you can do on five vertices (IF you had more vertices, there is one more form, three disjoint edges, but that takes at least six points, A-B, C-D, E-F.) So you did it!2017-02-14
  • 0
    thank you guys! I was confused at the beginning because I thought every variation of a certain type of graph was its own graph, and that I had to check for isomorphic on all those graphs I made. please add a comment so I can best answer it!2017-02-14

0 Answers 0