Você está na página 1de 4

M2007 – Algoritmos em Matemática Discreta Regente: Samuel Lopes

Folha de Problemas N.o 4∗ 2016/17

 O grau de um vértice u num grafo G é gr(u) = número de arestas incidentes com u,


onde cada lacete em u contribui com 2 para gr(u).

 A sequência de graus de um grafo G é a sequência (d1 , d2 , . . . , dn ), com 0 ≤ d1 ≤ d2 ≤


· · · ≤ dn , formada pelos graus de cada vértice de G, onde n = |V (G)|.

 A ordem de um grafo G é o seu número de vértices.

 Um grafo diz-se k-regular se todos os seus vértices tiverem grau k.

1. Considere grafos simples G com V (G) = [n].


n
(a) Mostre que há 2( 2 ) grafos simples nessas condições.
Section 1: What is a Graph?
(b) Quantos é que têm exatamente q arestas?
and ⎛ ⎞
2. Seja Q = (V, E, φ) o agrafob definido
c d pore f g h i j k
φ = ⎝A A D E A E B F G C A⎠.
V = {A,B D D,EE, F,
B, C, B G,BH},G E
F =G{a, C
b, c, C
d, e,Af, g, h, i, j, k}
Section 1: What is a Graph?
e In this representation of φ, the first row specifies the edges and the two vertices
below ⎛ atheb vertices
andeach edge specify incident on that i j ⎞Here
h edge.
 is a pictorial
a b c c d de ef fg gh i j kk
representation Pφ(Q) of this graph.
φ ==⎝A AA AD DE EA AE EB B F F
G G
C A . ,
C⎠ A
B BD DE EB BB BG G F FG G
C C A
C A
a f
j
In(Q)
this
: krepresentation of φ,c the first row specifies
glinhathe hedgesasand the two vertices
onde Pna representação bde φ acima a primeira
d indica iarestas e os dois vértices
below each edge
abaixo de cada aresta
A specify the
especificam
D vertices
E os incident
vértices
B on that
incidentes
F edge.
G com Here
essa
C is a pictorial
aresta.H O grafo Q
e
representation P (Q) of this graph.
pode ser representado pelo seguinte diagrama que denotamos por P (Q):
Note that φ(k) = {A, A} = {A}. a Such an edge f is called a loop. (See Example 3.)
j
Adding Pa(Q)loop :k to a vertex
b
increases
c
its
d
degreeg by two. h
The ivertex H, which does
not belong to φ(x) Afor anyDedge e
xE(i.e., hasB no edgeF incident
G upon
C it), isH called an
isolated vertex. The degree of an isolated vertex is zero. Edges, such as a and e
Seofremovermos
Q,Note
withthat
theφ(k)
property
todas= {A, that
as A} = φ(a)
{A}. =
etiquetas φ(e)
Such
dos anare called
edge
vértices parallel
eis arestas
called a de edges.
loop. If all edge3.)
(See obtemos
P (Q) Example
′ o and
seguinte
vertex labels
Adding 0 a are
loopremoved from
to a vertex P (Q) its
increases then we get
degree the following
by two. The vertexpicture P (Q):
H, which does
diagrama P (Q):
not belong to φ(x) for any edge x (i.e., has no edge incident upon it), is called an
isolated vertex. The degree of an isolated vertex is zero. Edges, such as a and e
of′ (Q)
P : the property that φ(a) = φ(e) are called parallel edges. If all edge and
Q, with
vertex labels are removed from P (Q) then we get the following picture P ′ (Q):


∗ Theexercícios
Alguns picture P (Q) represents the “form” of the graph just described and is some-
′ são baseados na tradução dos exercícios do livro Mathematics for Algorithm and Sys-
times P (Q)
referred :to as a
tems Analysis, de E.A. Bender pictorial
e S.G. representation
Williamson, Dover. of the “unlabeled” graph associated
with Q. (See Example 5.) For each of the following graphs R, where R = (V, E, φ),
{A, picture
V =The B, C, D, P E,
′ F,represents
(Q) G, H}, draw a pictorial
the “form” representation
of the of R byand
graph just described starting with
is some-

P (Q) removing
times referredand/or
to as aadding asrepresentation
pictorial few edges as possible and then labeling
of the “unlabeled” the result-
graph associated
ing picture
with Q. with
(See the edges5.)and
Example Forvertices
each of of
theR. A graph
following R which
graphs require
R, where R =no(V,additions
E, φ),
V = {A, B,
or removals of C, D, E,isF,said
edges G, H},
to draw a pictorial
be “of the same representation
form as” orof “isomorphic
R by starting to”
withthe
Folha de Problemas N.o 3 M2007 – Algoritmos em Matemática Discreta

Para cada um dos seguintes grafos R = (V, E, φ) com V = {A, B, C, D, E, F, G, H},


represente R por um diagrama começando com P 0 (Q) e prosseguindo retirando-lhe
e/ou adicionando-lhe o menor número possível de arestas; depois adicione ao diagrama
as etiquetas dos vértices e arestas de R. Um grafo R para o qual é possível proceder
como acima sem adicionar nem retirar arestas de P 0 (Q) diz-se isomorfo ao grafo Q.
Esta noção será definida mais formalmente nas aulas teóricas.

(a) Seja E = {a, b, c, d, e, f, g, h, i, j, k} o conjunto de arestas de Re


 
a b c d e f g h i j k
φ=  C C F A H E E A D A A .
C G G H H H F H G D F

(b) Seja E = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11} o conjunto de arestas de R e


 
1 2 3 4 5 6 7 8 9 10 11
φ= A E E E F G H B C D E .
G H E F G H B C D D H

Basic Concepts
3. Seja Q = (V,inE,Graph Theory
φ) o grafo definido por
1.4. Let Q = (V,
V E, φ) be
= {A, B,the graph
C, D, where
E, F, G, H}, E = {a, b, c, d, e, f, g, h, i, j, k, l}
V = {A, B, C, D, E, F, G, H}, E = {a, b, c, d, e, f, g, h, i, j, k, l}
e  
and ⎛ a b c d e f g h i j k ⎞l

φ =a Ab A
c D
d E
e Af Eg Bh Fi Gj Ck Al E  .
φ = ⎝A A B D E A
B BE GB FF GG CC CA AE ⎠
G.
B D E B B G F G C C A G
(a) Qual é a sequência de graus de Q?
(a) What is the degree sequence of Q?
Consider athe
Considere following
seguinte unlabeled pictorial
representação P 0 (Q)ofdeQQ:
representation
não etiquetada

P ′ (Q) :

(a) Create a pictorial representation of Q by labeling P ′ (Q) with the edges and
0
(b) Construa Q. representação etiquetada de Q etiquetando P (Q) com as arestas
vertices ofuma
e os vértices de Q.
(b) A necessary condition that a pictorial representation of a graph R can be
(c) Diga, justificando,
created by labelingseP ′a(Q)
seguinte
with theafirmação
vertices éand
verdadeira
edges of ou
R isfalsa:
that “Uma condição
the degree
necessária
sequence ofpara que
R be (0,seja
2, 2, possível
3, 4, 4, 4, obter uma
5). True false? Explain.de um grafo R etique-
of representação
tando P 0 (Q) com as arestas e os vértices de R é que Q e R tenham a mesma
(c) A sufficient condition that a pictorial representation of a graph R can be created
sequência de graus.”

by labeling P (Q) with the vertices and edges of R is that the degree sequence
of R be
(d) Diga, (0, 2, 2, 3, 4,se4,a4,seguinte
justificando, 5). True afirmação
or false? Explain.
é verdadeira ou falsa: “Uma condição
suficiente para que seja possível obter uma representação de um grafo R etique-
tando
1.5. In each P 0 (Q)
of the com as
following arestas information
problems e os vértices de R
about que Qsequence
theé degree e R tenham a mesma
of a graph
sequência
is given. In eachde case,
graus.”
decide if a graph satisfying the specified conditions exists or
not. Give reasons in each case.
2 (a) A graph Q with degree sequence (1, 1, 2, 3, 3, 5)? 2016/17
(b) A graph Q with degree sequence (1, 2, 2, 3, 3, 5), loops and parallel edges al-
lowed?
M2007 – Algoritmos em Matemática Discreta Folha de Problemas N.o 3

4. Qual é o número máximo e mínimo de arestas num grafo simples com n vértices? E
qual é o valor máximo e mínimo que o grau de um vértice de um grafo simples pode
ter?

5. Em cada uma das seguintes alíneas é dada informação sobre a sequência de graus de
um grafo. Em cada um dos casos indique, justificando, se existe ou não algum grafo
com essa sequência de graus.

(a) Um grafo Q com sequência de graus (1, 1, 2, 3, 3, 5)?


(b) Um grafo Q com sequência de graus (1, 2, 2, 3, 3, 5)?
(c) Um grafo Q sem lacetes com sequência de graus (1, 2, 2, 3, 3, 5)?
(d) Um grafo simples Q com sequência de graus (1, 2, 2, 3, 3, 5)?
(e) Um grafo simples Q com sequência de graus (3, 3, 3, 3)?
(f) Um grafo simples Q com sequência de graus (3, 3, 3, 5)?
(g) Um grafo simples Q com sequência de graus (4, 4, 4, 4, 4)?
(h) Um grafo simples Q com sequência de graus (4, 4, 4, 4, 6)?

6. Decomponha o seguinte conjunto de grafos em classes de isomorfismo, justificando. Em


todos os casos, V (G) = [4].

(a)  
a b c d e f
φ= .
{1, 2} {1, 2} {2, 3} {3, 4} {1, 4} {2, 4}
(b)  
A B C D E F
φ= .
{1, 2} {1, 4} {1, 4} {1, 2} {2, 3} {3, 4}
(c)  
u v w x y z
φ= .
{2, 3} {1, 3} {3, 4} {1, 4} {1, 2} {1, 2}
(d)  
P Q R S T U
φ= .
{3, 4} {2, 4} {1, 3} {3, 4} {1, 2} {1, 2}
7. Determine cada um dos 11 grafos simples não isomorfos com 4 vértices e represente-os
de forma planar, isto é, represente-os por um diagrama no plano euclideano R2 de
forma a que duas arestas não se intersectem exceto em vértices comuns.

8. Existe algum grafo cuja sequência de graus seja (2, 2, 3, 4, 4)?

9. Existe algum grafo simples cuja sequência de graus seja (2, 2, 4, 4, 4)? E algum grafo
sem lacetes?

10. Mostre que num grafo simples com n ≥ 2 vértices há pelo menos dois vértices com o
mesmo grau. Este resultado é válido para grafos sem lacetes?

2016/17 3
Folha de Problemas N.o 3 M2007 – Algoritmos em Matemática Discreta

11. Seja (d1 , . . . , dn ) uma sequência crescente em sentido lato de n inteiros não negativos
tal que a soma d1 + · · · + dn é par. Mostre que existe um grafo que tem esta sequência
como a sua sequência de graus. Descreva um algoritmo para a construção de um tal
grafo.

12. Represente no plano um grafo simples e conexo com sequência de graus (2, 2, 3, 3, 3, 3, 3, 4, 5).

4 2016/17

Você também pode gostar