Internat. J. Math. & Math. Sci.
VOL. 17 NO. 3 (1994) 497-502
497
A PROOF OF SOME SCHOTZENBERGER-TYPE RESULTS FOR EULERIAN PATHS AND CIRCUITS ON DIGRAPHS
BYOUNG-SONGCHWE
Department
of MathematicsUniversity of Alabama Tuscaloosa, Alabama 35486
(Received December 30, 1992 and in revised form October 18, 1993)
ABSTRACT.
This papershowsthat the number ofeven Eulerianpaths equals thenulnber of Eulerianpathswhen the number ofarcsisat leasttwicethe number ofverticesofadigraph.KEY WORDS AND PHRASES.
Digraph, Eulerian paths, odd permutation, even permutation.1992
AMS SUBJECT CLASSIFICATION CODE.
05C30.1.
INTRODUCTION AND CONVENTIONS.
This paper shows that in adigraph oforder nwith m arcs that satisfiesrn
_>
2n, the num- ber of even Eulerian paths equals the number of odd Eulerian paths. This result generalizes Schiitzenberger’s theorem(see [1]
and[2]),
which says that in a digraph of order n with rn arcs that satisfiesm_>
2n+
1, the number ofeven Eulerian circuits equals the number of odd Eule- rian circuits. The proofisalsoperhapsmoreintuitive,notdependingon toomuch terminologyor disparategraph theoryresults.In
this paper,adigraphisdefinedbyasequence ofarcs, whereanarcisindicatedbyanordered pair suchas(a, b),
andmultiplearcsandloopsareallowed. Thoseletters which appear indescribing thearcsin the sequencedefiningthegraph
are therefore consideredasverticesorpoints.Note
that withthisdefinition,therecanbenoisolatedvertices. IfD
is asequence ofarcs, itslengthis denoted by]DI.
IfVD
denotes the set of vertices which appear inD,
then]VD]
denotes its cardinality.Two
digraphsD
andD
areconsideredtobethe same, under appropriaterelabelingof vertices, whenD2,
as asequence ofarcs,is apermutation of the sequence ofarcswhich defineD.
Wewriteasequence suchas
((a,b),(c,d),(d,y)) D
in the formD (a,b). (c,d). (d,f). For
example,the digraphwhosediagramisa b c
o
canbeexpressedas
D1 (a,b). (b, c). (a,b)
orD2 (a,b). (a,b). (b, c)
withD1 D2
accordingtoourdefinition.
Also, IO1=3
andIV DI
3.Unlike theusualway,wedefineapath of
D
as asubsequenceofapermutationof thesequence describingthe digraphD.
Ifapath(a,b). (a2, b2) (a,,bn)
is apermutation ofD
and has the additionalproperty thatbl
a2,b2
a3bn-1
an, then it is an Eulerianpath ofD.
The added conditionb, al identifiesan Eulerian circuit of
D. A path (a, b). (c, d) (e, f)
issaidto startfrom aand end at
f;
the vertex ais thestarting pointandthe vertexf
isthe endpoint. Ifaand
/are paths
ofD,
then the sequenceobtained by putting/after
ais written providedthat the resultingsequenceisalsoapath
ofD.
498 B. CHWE
Next, wedenote by
Ax D
theset of all Eulerian paths oftire digraphD
whichstart froxl le pointx. If the starting pointis fixedbut unimportantwe writeA
D. Also, vhenAx D.
fweconsider as adigraph, then
A
cA
D.If and
/3
aretwo paths and ifthere are twopaths"
and 3, where eitheror bothcanbeempty, such that
6
3, then o is apartof/3
andve sethe notationo_
Jtoindic’atethisfact.
Hence,
ifan arc(a, b)
isaterm in apath/,
wewrite(a, b) _ 3.
By/3 ismealt tilesubsequence of/3obtainedby eliminatingall terms ofoone byone. Thus, ifarcsin/3or ct’tr
more thanonce the procedure Inay leave copies left over and the result may not be uniqtle.
notations
od(a), id(a),
andd(o)
aredefined as follows:od(a)
i. the nulnber ofterms inD
wl,’hstartfrom a,
id(a)
isthenumber of terms inD
whichend at o, andd(a) od(a) + ,d(o)
isclll,dthe degreeofa.
An
even(odd)
pointisapoint with even(odd) degree.
For
example,ifD
isthedigraphD (a, o). (a, d). (c, a). (b,
a).(b, a)
thenod(a)
2,,d(a) od(b)
2,id(b) O, od(c)
1,,d(c)
O,od(d) O, id(d)
1, andA D
). The diagramforD
canbeconstructed as:
b a d
Let
abeapermutationofD,
anddefinethe followingfunctions.Let e()
if isanEulerianpathorcircuit, andlet
e(c)
0ifcisnot.Let r()
be thesignof thepermutationo;r(c) +
ifcisa multipleofan evennumber of transpositions, and
r(c)
-1 ifc isamultipleofanodd number of transpositions.Let g(c) e(c). r(c).
Whatwe arelookingfor isa
natural,
intuitiveproofof theformula:Z g(c)
0ZaeA,/ g(c)
for any xVD,
if
IVD[
nandIDI _>
2n forallintegersn_>
1.2.
DISCUSSION AND ARGUMENTS.
For
convenience ofnotation,wedefineg(A D) ]-aeA.
Dg(c)
and defineg(A D)
similarly.If
A D ,
thennaturallywe takeg(Aa D)
0.For
example,ifD (a, b). (a, c). (b, a). (a, a),
withdiagramc a b
then
A,D {(a,a)- (a,b)- (b,a). (a,c), (a,b). (b,a). (a,a). (o,c)}, AD AD b, g((a,o)
(a,b) (b,a)- (a,c))
1,g(h,,D)
2,while9(h,D) g(hD)
O.For
all positiveintegers n,letBn
be thefamily of digraphsD
such that 1.IDI >
2nandIYDI
n,2.
id(z) + od(x) _>
3for allxVD;
while
B$
denotesthe subfamilyofdigraphsD
such that 1.IDI
2n andIYDI
n,2.
id(x) + od(x) >
3forall xYD.
SCHUTZENBERGER-TYPE
RESULTS FOR PATHS AND CIRCUITS ON DIGRAPHS 499For
all positiveintegersn, let.4,be thefamilyofdigraphsD
sch that 1.IDI _
2n and[VDI
2.
For
some q6_VD, zd(q)
/od(q)
or2.The proposition
Sn
isthe following:"For
j 1,...,n, ifD
6_mj
UBj,
theng(A D)
0."In Lemma
3.1 we demonstrate that $1, 6’2, and $3 are true.In
order to proveSn
in general we proceed byinductionon n, assumingSn-. In
computingg(A D),
weseek toidentifyA D
with aunion of suitable
A D:,
wherelYD:] < ]YD, I.
This isaccomplishedby identification ofalength 3 path with an arc or by deletingsome pathsin order tomaintain therelation thatg(A D)
0 if9(h O:)
0for alli.For
instance,as atrivialexample,
let(a, v), (v, w), (w, b)
6_D
and(a,v). (v,w). (w,b)
C_ for all a6_AD. Let,
when x#
vand x#
w,D’ (D -(a,v) (v,w) (w,b)). (a,b),
and letF
beamapof
A D’
toA D
defined byV(c) =/3(a, b)7
where aB(a, v). (v, w). (w, b)7.
ThenV
is aone-to-onemapand whena,/36_
A D,/3
isan evenpermutation ofcif and only ifF(B)
is aneven permutation of
F(a).
Thus9(A D’)
0 implies9(A D)
0.In
particularweassume, basedon thisobservation, that there arenovertices vand wofVD
forwhichthere isapathofthe type just described,whenweassumeS,_l.In general,
iftherearedigraphs D, D2 D
and such injeetive mapsFi
fromA Di
toA D
such that
[,JF,(A D,)
forms a partition ofA D
and each9(A Di) O,
then we can concludeg(A D)
0.As
another exampleofan identificationofthe type describedabove,
ifD
contains(a, b)
and(b, c)
and if everyc6_A D
startsorendswith(a, b). (b, c),
then takeD’ D (a, b) (b, c). In
this ease it isalsoclearthat if9(A D’)
0, then9(A D)
0.In
all ourarguments, itisthe casethat ifastatement is truefor adigraphD,
then it isalso true forthedigraphobtainedbyreversingallares(a, b)
ofD
toares(b, a).
Ifadigraph
D
containsan are(a, b)
with multiplicityatleast two, then trivially9(A D)
0 sincebyasimple transposition ofone(a, b)
withanother leavesD unchanged
while9(A D)
changessign. Thereforeweassume nomultiplearcs.
Where
needed,
thetruthofthe propositionS,_
is assumedinthe argumentstofollow.PROPOSITION
1. If thereisavertexqofD
withd(q)
or 2, then there aredigraphsD,, 0,1,2,...
such thatID, >_ IDI-
2,IVDI <_ IVDI- ,
andg(A D.) ]i(-1)e’g(A Di),
where ei 0or1.PROOF. Suppose D
contains ares(t,q), (q,h),
and(h, bi),
1,2,3,....Let D, (D- (t,q) -(q,h) -(h, bi)) (t, bi)
and]i {
6_A D (t,q) (q,h) (h, bi) C_ a};
then we seethat
A Di
has a one to one correspondenceFi
as follows:Fi(a) a(t,q). (q,h). (h, bi):
ifa
al(t, bi)a2. Clearly g(c) (-1)e’g(F,(a))
for some fixed e, 0or,
for allc6_A Di.
Thuswe
get g(Ax D) (-1)e,g(Ax Di),
whenx q andx#
h. Ifxh,
or there arenosuch b,, then we canswitch andh,
and conclude thatg(A D) ](-)’g(A D,)
if x#
q.If
d(q)
2, and q is the starting point, thenAxD {(q,h)c(t,q)
c 6_A Do}
whereDo D- (q,h) -(t,q)
andit isclear that9(A D) =kg(AxDo).
If
d(q)
1, thenAD {(q,h)
c6_A D0},
whereDo D-(q,h),
andit isalsoclear thatg(h D) :hg(A Do).
Alsoit isclear that
VDi
q andIDol _> Inl- 2, Iunil <_ IVD
1.Note
thatd(h)
inD,
becomes smaller by 2 exceptwhen his anend point, whereitbecomessmaller by 1.
We
need this fact for the followingLemma
1.1.LEMMA
1.1. Whenwe assumeS,_l,
thefollowing
aretrue"(A).
IfD
6_An,
theng(A D)
0.500 B. CHWE
(B).
IfD
6-A,+I
andthereisanarc(q,b) or(h,q) inD
such thatd(q)
2 andd(h)
3()r4, theng(Ax D)
0 if x-
qandx#
b.PROOF. (A).
The digraphsD,
inProposition belongtoA,-I
UB,-I. Hence g(A
D,) 0 because ofSn-1,
andg(A D)
0.(B). In
Proposition 1,whcn(q,h), (h,b,) C_ D,
ifd(h)
3or 4 inD,
thend(h)
inD,
or2, except the case in which qor h isan end point. Thus
D,
6-A,
andg(D,)
0. Thereforeg(Ax D) (-1),g(A D,)
0 if x:
qand x#
h. When(h,q) C_ D,
we consider(b,,h)
C_n
instead of
(h, b,);
then theargument
issinilar tothecaseof(q, h) C_ D.
I-ILEMMA
1.2. WhenweassumeS,-l,
ifadigraphD
6-B,
hasanarc(t, h)
such that an(!h havedegree3or4, theng(A D)
0.PROOF.
Ifh, (t,t)
C_D,
or(h,h)
C_D,
then the statement reduces to a caseofS,,_.
So
we assumethat h,(t,t) D,
and(h,h) D.
Accordingto our assumption, situations illustratedinthe following drawingsmay occur:h
h
In
those diagramswecaninterchange h andt,
and alsowecanplace thearrowsinanywaysothatAD#.
Assuming
A D # , ()
and()
or 4, weconstruct a digraphD
6-An+1
fromD
asfollows.
D (D -(t,h)). (t,t). (t,q). (q,h)
vD VD
U{q},
asshowninthe diagram below.a
Let
x6_VD,
that is,xV/),
andx#
q.From Lemma 1.1.B, g(A D)
0if xt
h.On
theother
hand, let,
forxt,
fl {c, h D" (t, t). (t, q). (q, h) c_
D (D -(t,t) -(t,q) (q,h)) (t,h)
A2 { e ]x D (a,t) (t,t) (t, d) C_ }
D2 (D -(a,t) (t,t) -(t,d) (c,t) -(t,q) (q,h)). (a,d) (c,h)
A3 {a e ] b- (c, t). (t, t). (t, d) c
D3 (D -(c,t) (t,t) -(t,d) (a,t) -(t,q) (q,h)) (c,d) (a,h)
Then
], ]2,
and]3
form a partition ofA/x,
and we see thatg(/l) +g(hD)
by identifying(t, t). (t, q).(q, h)
to(t, h),
weseethatg(]2) -I-g(A D2)
by identifying(a, t).(t, t).(t, d)
SCHUTZENBERGER-TYPE RESULTS FOR PATHS AND CIRCUITS ON DIGRAPHS 501
to
(ct, d)
and(c,t). (t,q).
(q.b) to(c,h),
and we scc that9(A3) +9(AxD3)
by idcntifvi,g(c,t). (t,t). (t,d)
to(c,d)
and(,,t). (t,q). (q,t,)
to(a,l,).
If
d(t)
3and((,,t)
isnot anarcofD, then2 { (t,t) (t.l) }
D2 ( -(t,t) -(t,d)
-(,t)
-(t.q) -(q,b)).(c, 1,)
A3 { e A, #. (,t). (t,,). (t,#) }
D3 ( -(c,t) -(t,t) -(t,d) -(t,q) -(q, h)). (c,d)
and the resultsarcthesame.
Moreover,
itisclear thatg(A D) g(A D).
SinceD2
andD3
donotcontain vertices and q, D2,D3 A,_t
UB,_.
Th,sg(A D2)
0and9(A D3)
0. Togetherwithg(A, ) o,
wegetg(AD)
=0, sowe get g(A D, =0for:#h. In
theceh=z,wecanswitcht and h. Thusg(A, D)
0 forall z VD,or#(A D)
0.PROPOSITION
2.Supposc D B
andA D # O.
Also wc sume that n 4, and thatD
does not contain any arcofmultiplicitymore than one, norany vertex vsuch that
d(v)
4 andarc
(,,, v) D.
ThenD
containsan arc(t, h)
such that# h,
oneof and hhdegree
4and theotherhdegree4or3.
PROOF.
The fact thatD B
impliesthatvVD d(v)
4n. andd(v)
4 forallevenpointsvof
D.
SinceA D ,
the number ofodd pointsis0or2. Ifitis0, thend(v)
4forallthusoursertionistrue.
In
thcceof2,sayaand bareoddpoints,andd(a) + d(b)
6or8. Ifd(a) + d(b)
6, then theremust be cVD
such thatd(c)
6 and all other vertices havedegree 4,whilen 4implies thereis avertex d beside a,b,
and c. Ifd incidentsonlytoc, then thearc(c, d)
or(d, c)
hthemultiplicitymorethan 1.So
d must incident toaorbor apointofdegree4.Thusthe sertion istrue, because
d(d)
4 andd(a) d(b)
3.In
theced(a) + d(b)
8, then sayd(a)
3 andd(b)
5. Sincen 4, thereareatlettwomorevertices,say cand d, such that
d(c) d(d)
4. If anyvertices ofdegree 4 do not incident toeach other and also do not incident to a then all vertices ofdegree4 must incident tob, thusd(b)
8. This contradicts withd(b)
5. Thussomevertexofdegree 4h tobe incident tothe vertexa or avertexofdegree4. Thusour sertion is true.LEMMA
2.1. IfD B,
n 4, andwe sumeS_,
theng(A D)
0.PROOF. From
Proposition2,D
han arc(t, h), #
h,such that one of and hhdegree
4 and the other hdegree
3or4. ThenbyLemma 1.2, g(A D)
0.PROPOSITION
3. Ifg(A D’)
0forallD’ B,
then forallD B, g(A D)
0whenwesume
S_ .
PROOF. Let D B,
aVD,
andaD.
Consideringadigraphtobeasequenceof arcs, it istrue thatA=
aAa D. Now
letVD]
n,D]-
2n rand aA= D.
Definep(a)
tobe thesequenceof the firstr termsofa, while
q(a)
to bethe subsequence ofaconsisting ofthe next2n terms. Thusap(a)q(a). Let Ap() { A= D p() p(a)} {p(a)f f Aq(a)},
wherei thd point
o p(),
d() A o
omj<
o()
U. ()
or
om j< ,
th(A ())
0 bo S_.
f() A
thn(A ())
0om
Lemmn
1.1.A.Ifq(a) B
theng(A q(a))
0 fromourhypothesis,g(A D’)
0ifD’ B.
SinceA D {p(a) A q(a)}
where arunsallelementsofA D,
andg({p(a) A q(a)})
g(A q(a))
0, henceg(A D)
0.LEMMA
3.1.S, Se,
and $3 aretrue.PROOF. S
is clearly true. IfD B,
thenD
is oneofthe following(with
the orientationarbitrary)"
502 B. CHWE
Clearly
9(A D)
0 inall of the abovesituations. From5’1
aud Proposition 3, it istrle forB2
aswellasfor
A2
fi’omLemma
1.1. Thus $2is true.If
D
EB:,
thend(v)
cangeuerate the folloving sequences whenvvariesoverelements of(A) (3,3.6), (B) (3,4,5), (c) (4, 4,4). For
case(A),
itfollows thatD
is oneof the following digral)lm(with
the orientationarbitrary):A
simple count yieldsg(A D)
0 in allcases.In
case(B),
ifthere isan arc(t, h)
C_D
such thatd(t)
4 andd(h)
3,then9(A D)
0 via $2 andLemma
1.2. Otherwise, it is thecasethatall Eulerianpaths endatthesamepathoflength
twoorstart atthesamepathoflengthtwo.In
case(C), 9(A D)
0 as incase(B).
Therefore $3 follows, by Proposition3and Lemma3.1.To
conclude, wecannowclaim:THEOREM.
IfD
isadigraph such that]VD]
nand]D] _>
2n,then9(A D)
0; that is, the number ofevenEulerianpaths equalsthenumberof odd Eulerianpaths.PROOF.
$1, $2,and$3aretruebyLemma
3.1.For Sn,
wheren_>
4,we proceed byinduction on n. Whenwe assumeS,_lforn>_
4,ifD
fiA,,
then9(/ D)
0byLemma
1.1. AlsoifD
by
Lemma
2.1 and Proposition 3,9(A D)
0. vICOROLLARY.
IfIVD
nandID[ >
2n+
1, then9(A(,,,b)D)
0forn 1,2,... and for all(a, b)
C_D,
whereA(,,,b)D {a A,, D"
astarts with(a, b)}.
PROOF. As
in the proofofProposition 3, letp(a) (a, b)
whileq(a)
is the next 2n terms ofc. Theng(A(,b)D) +g(Abq(a)).
Since]q(c)] >
2n andIVq(c)] _<
n, from our theoremg(A q(a))
0. Thusg(A,,)D)
0. When all points are even points, allpaths arenecessarily circuits, andthis isSchiitzenberger’stheorem, l-IREFERENCES
1. Claude
Berge, Gr.aphs and. Hypergraphs,
Second revised edition, North-Holland, Amsterdam, 1976.2.