The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+30 votes

Which of the following graphs has an Eulerian circuit?

  1. Any $k$-regular graph where $k$ is an even number.
  2. A complete graph on $90$ vertices.
  3. The complement of a cycle on $25$ vertices.
  4. None of the above
asked in Graph Theory by Veteran (59.5k points)
edited by | 3.4k views
Directly one can solve it.
If a vertex has degree k, its complement has n-k-1 degree. (n vertices) (result is given in Korth book exercise)
In the cyclic graph, all vertex has degree 2. C20 vertex has complement has degree 25-2-1= 22.
All degree even hence we must have euler circuit.

5 Answers

+64 votes
Best answer

A connected Graph has Euler Circuit $\iff$ all of its vertices have even degree
A connected Graph has Euler Path $\iff$ exactly 2 of its vertices have odd degree

A. $k$-regular graph where $k$ is even number. 
     a $k$-regular graph need not be connected always. Example : The given below graph is         a $2$ regular graph is not a Euler graph. This is so because there is no single walk        which covers all edges.

B. The complete graph of $90$ vertices
     In such a graph every vertex will have an odd degree = 89, Hence it cannot have a Euler path/Circuit.

C. To get degree of all vertices of the complement of cycle on $25$ vertices we need to subtract the degree of a complete graph of 25 vertices with degree of vertices in the original given graph i.e. cycle on $25$ vertices.

Degree of complement $= 24 - 2 = 22$. Since, every degree is Even, and it is connected also, therefore Graph Might be a Euler Cycle but we need to check graph is connected or not.

Now Question comes it is connected or not :

It is connected because, there is a theorem which says, "$G$ be a graph with $n$ vertices and if every vertex has a degree of at least $\frac{n-1}{2}$ then $G$ is connected." [check this]

Here Degree of each vertex is $22$, which is, of course, greater than $\frac{25-1}{2}=12 $.

Hence Graph must be Euler graph.

Option C

answered by Loyal (6k points)
edited by
one thing euler is closed start and end always at the same vertex.change this

, a Eulerian trail (or Eulerian path) is a trail in a graph which visits every edge exactly once. Similarly, an Eulerian circuit or Eulerian cycle is an Eulerian trail which starts and ends on the same vertex

It is aying in your link,I am telling just that....

"An Euler path starts and ends at different vertices."this case is only in the case if the graph has two odd vertices..A special case..

"For the existence of Eulerian trails it is necessary that zero or two vertices have an odd degree; this means the Königsberg graph is not Eulerian. If there are no vertices of odd degree, all Eulerian trails are circuits. If there are exactly two vertices of odd degree, all Eulerian trails start at one of them and end at the other. A graph that has an Eulerian trail but not an Eulerian circuit is called semi-Eulerian."

from your link

In a cycle graph with 25 vertices there will be 25 edges.
In the complete graph with 25 vertices there will be 25*24/2 = 300 edges
Hence complement graph will have 300-25=275 edges

To make sure that a graph with n vertices is connected there will be more than
 (n-1)(n-2)/2 edges means at least 24*23/2 +1 = 277 edges are required to make sure that a graph with 25 vertices is connected. But our complemented graph has only 275 edges, doesn't it mean that complemented graph of 25 vertex cycle graph, may be disconnected??
We can check connectivity of option C using Ore's theorem, which says
"If deg $v$ + deg $w$ ≥ $n$ for every pair of distinct non-adjacent vertices v and w of G
then G is Hamiltonian."

So G is not only connected, it is hamiltonian also.

There is a one more important theorem which I mentioned in the answer itself, u can check edited answer too.
@sachin  what is the problem with vijay explanation plz tell me  i did not get where i m wrong
@Sachin is correct with his explanation! later i got it
@vijay  why ur previous explanation is wrong plz explain

In one of the post in facebook computer science group you explained D as correct option.
nice explanation to option "C"

At least one of the graphs G or its complement G' is connected. Both can't be disconnected at the same time.

If the cycle is connected, then obviously it's complement will be connected.

But if the cycle is not connected, then definitely it's complement will be connected according to the rule.

So in both the cases, the complement of a cycle with 25 vertices will always be connected.


to get degree of all vertices of the complement of cycle on 25 vertices we need to subtract the degree of a complete graph of 25 vertices with degree of vertices in the original given graph i.e. cycle on 25 vertices


@Srestha @Vijay

How to find degree of complement graph ? Please explain..

@set2018 @Raju Kalagoni

Suppose we take a graph G which has 25 vertices, complement of graph G will contain same number of vertices but G' has all the edges which are not present in G.
So if we combine G and G' we get a complete graph of 25 edges i.e
No of edges in G + No of edges in G' = No of edges in K25

Now in cycle graph with 25 edges, every vertex has degree = 2
and in complete graph, every vertex has degree = 24 (i.e each vertex is connected to every other vertex)
So degree of every vertex in complement of graph  =  24 - 2 i.e 22. 

got it..:) Thank you ....!

This might help ...


This one also ....

Why always complicated answers are chosen as the best answer??
Nice explanation!
@vijay for n=5 it the formula gives 6 edges but graph with 4 edges is also connected to 5 vertex. It is a one way statement
nice explanation @ mithlesh
+6 votes

Option is C

A) does not confirm that regular graph should be connected or not.

B)Degree of the each vertices will be 89 since it is complete graph.

C)The complement of the cycle graph with 25 graph where the degree of each vertex will be 24(even) so according to the theorem for the existence of Euler's circuit all the vertices should be of even degree  

answered by Boss (11.4k points)
can u provide mathematical explnation for option C .

[E] + [E (IN COMPLEMENT)]= N(N-1)/2  ,i know further not getting.
0 votes
C option
answered by (131 points)
0 votes

Euler Graph-For a graph to be Euler it must have Euler Line.

Euler Line-It is a closed walk(yes closed walk and not closed path because as per definition of a path you are not allowed to re-visit a vertex) which covers all the edges of graph G.

Now since a Euler graph always has a Euler line, we have a closed walk(walk in which initial and terminal vertices are same), and all the vertices in this closed walk are of degree 2. So, needless to say, every vertex in a Euler graph must have Even degree. For one edge enters and one edge leaves this walk.

So, all in all for a graph to be Euler it must certainly have 2 conditions

(1)It must be connected. (Otherwise, you cannot form Euler Line)

(2)All vertices must have even degree.

Okay now let's check options one by one

(A)Any k-regular graph where k is an even-number:

Okay, we have one condition satisfied for Graph to be Euler but here it is not told whether the graph is connected or not?. So with surety, we cannot comment about this graph being Euler.So, this option is rejected.

(B)A complete graph on 90 vertices: This graph would have the degree of every vertex = 90-1=89 which is odd and yes the graph is connected but we don't have even degree for all vertices. So this option rejected.

(C)The complement of a cycle on 25 vertices.

The Complement of a graph G is defined as a graph G` with |V(G)|=|v(G`)|

and |E(G`)| = $\frac{n(n-1)}{2}$ - |E(G)|.

So this graph G` here would have

$\frac{25(24)}{2}-25$ edges

which evaluates to 275 edges.

Now, the degree of all vertices of this graph would be 24-2=22.

We need to check whether this graph is connected or not.

For a complete graph on n vertices, we have $\frac{(n-1)!}{2}$ distinct cycles covering all vertices.

(Ref: )

So for K25 we must be $\frac{24!}{2}$having  cycles from which we are removing only 1 so complement of a cycle on 25 vertices need to be connected.

Hence, the complement of a cycle on 25 vertices must be Eulerian.


answered by Boss (11k points)
–6 votes
Option A) Any k-regular graph where k is even number
answered by Junior (583 points)

Here is example of 2 Regular Graph which do not have euler circuit.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

38,058 questions
45,554 answers
48,909 users