Graphs Flashcards

1
Q

What is a graph?

A

A set of vertices connected by edges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a walk?

A

A set of edges joined end-to-end.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a trail?

A

A walk where no edges are repeated but vertices can be repeated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a cycle?

A

A trail that starts and ends at the same vertex.

No vertices can be repeated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a connected graph?

A

A graph where it is possible to get from any vertex to any other vertex.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a simple graph?

A

A graph with no loops or multiple edges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a simple-connected graph?

A

A simple graph that is connected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a complete graph?

A

A simple graph with the maximum possible number of edges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How many edges does the complete graph with n vertices have?

A

0.5(n(n-1))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a bipartite graph?

A

Simple graph.
Partitioned into two sets.
No edge connects two vertices in the same set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a complete bipartite graph?

A

A bipartite graph.

Each vertex is joined to each other vertex in the other set by 1 edge.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How many edges does the complete bipartite graph with m vertices in the first set and n vertices in the second set have?

A

mn edges

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does an adjacency matrix show?

A

The number of edges that directly connect each pair of vertices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What property does an adjacency matrix have about the lead diagonal?

A

It is symmetrical around the lead diagonal.

For a simple graph, the lead diagonal is all 0’s.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the complement of a graph?

A

The set of edges that could be added to the graph to make it complete.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does the complement of a graph look like in terms of the graph’s adjacency matrix.

A

The complement switches all 0’s to ones and 1’s to 0’s, except the leading diagonal.

17
Q

What is a tree?

A

A simple-connected graph with the minimum possible number of edges.

18
Q

How many edges does a tree with n vertices have?

A

n-1 edges.

19
Q

What is a traversable graph?

A

A graph that can be drawn as a trail (without going over the same edge twice).

20
Q

What is an eulerian graph?

A

Eulerian graphs are traversable, with the trail starting and ending at the same vertex, so they are:
Connected
No vertices of odd degree

21
Q

What is a semi-eulerian graph?

A

Traversable, with the trail starting and ending at different vertices, so they are:
Connected
2 vertices of odd degree.

22
Q

What is a hamiltonian graph?

A

A graph that contains a cycle that passes through every vertex exactly once. (contains a hamiltonian cycle).
Not all the edges of the graph have to be used in the cycle.

23
Q

What is a hamiltonian cycle?

A

A cycle that passes through every vertex in the graph exactly once.

24
Q

What is a planar graph?

A

A graph that can be drawn with no edges crossing.

25
Q

What is euler’s formula true for?

A

Any connected planar graph or convex polyhedron.

26
Q

What is euler’s formula?

A

v-e+f=2
Where v is the number of vertices.
f is the number of faces
e is the number of edges

27
Q

What is important to remember when counting f, the number of faces of a graph?

A

Includes the “outside” region.

28
Q

What is kuratowski’s theorem?

A

A necessary and sufficient condition for a finite graph to be planar is that it does not contain a subgraph that is a subdivision of K5 or K3,3

29
Q

What does it mean for two graphs to be isomorphic?

A

They have the same structure, but may be drawn in different ways.