Search the courses, subjects, tracks, games and features, or jump straight to a page.
Learn it your way
A short class with Sarah and her students. The other ways are under More.
Sign up free to listen. Transcripts are free to read.
Good morning, class! Today we will start with a very important concept in mathematics known as a graph. Can anyone tell me what a graph consists of?
Is it just points connected by lines?
Exactly! A graph is made up of two main components: a set of vertices, which we also call nodes, and a set of edges that connect these nodes. The vertices are not empty, but edges can be!
What do you mean by the edge set can be empty?
Great question! It means you can have a graph with nodes but no connections between them, like isolated points. Remember: vertices = V, and edges = E is a handy way to remember the notation.
Are there different types of graphs?
Yes, indeed! There are primarily two types: directed graphs and undirected graphs. Can anyone guess how they differ?
I think directed graphs have arrows showing direction?
That's correct! In directed graphs, edges are ordered pairs, indicating direction, while in undirected graphs, edges are unordered, reflecting a two-way relationship. Remember: Directed = Ordered, Undirected = Unordered. Let's take a moment to summarize: A graph has vertices and edges, can be directed or undirected, and crucial terms help us describe its structure.
Continuing from our last session, let's explore the distinctions between directed and undirected graphs more deeply. Why do you think direction in edges is important?
It shows how one point leads to another, like a one-way street.
Exactly! In directed graphs, the order matters. For example, if you have an edge from vertex A to vertex B, that doesn't imply there's a connection from B back to A unless there's a separate edge pointing back. Can anyone give me an example of a directed graph?
How about a social network where one user follows another?
Perfect! Now, in undirected graphs, they simply represent a mutual relationship, like friendships where both users can see each other. So, we categorize graphs based on their edge types. Remember the initial letters: D for Directed, U for Undirected.
Now, let’s dive into simple graphs, a type with no self-loops and at most one edge between two nodes. Can anyone explain what a self-loop is?
A self-loop is when a vertex connects to itself, right?
Exactly! In simple graphs, we don't allow that. What's more, we can only have one edge between two distinct vertices. Why do you think this characteristic is important?
It makes the graph less cluttered and easier to analyze.
Absolutely! Simplicity helps in graph analysis, leading us to clearer representations. Let's summarize: Simple graphs have no self-loops and a maximum of one edge between any two nodes.
Let’s talk about some key terminology, starting with adjacency. When we say two vertices are adjacent, what do we mean?
It means there’s an edge connecting them.
Exactly! And if I say the term ‘degree of a vertex,’ what does that refer to?
It's the number of edges connected to that vertex?
Great! And remember, if there's a self-loop, it counts twice toward the degree. Can anyone summarize why this is essential?
Understanding the degree helps us know how connected a vertex is!
Correct! More connections mean more influence in a graph structure. Let’s ensure we remember: Adjacency means an edge connects vertices; degree counts those edges.
Finally, let’s discuss the handshaking theorem. Who can explain what this theorem states?
It says the total of all vertex degrees is twice the number of edges?
Exactly correct! This theorem is vital because it shows us relationships between vertices. If you sum up all degrees of vertices in an undirected graph, what do you expect to see?
It should be even, right, since it's twice the edges?
Right again! And this leads us to another interesting point: the number of vertices with odd degrees must be even. Can anyone think of why that might be?
Because they contribute to an even total when summed?
Exactly! Great insight! Let's summarize: The handshaking theorem tells us the total degree sums to double the edges, and the odd degree vertices must always be even. Remember the two key points and the notion of connection!
A structure consisting of vertices and edges.
A point representing a node in a graph.
A line connecting two vertices.
Graph with directed edges.
Graph with bidirectional edges.
No self-loops or multiple edges between vertices.
Structure that counts edges attached to a vertex.
Sum of degrees is equal to twice the number of edges.
An example of a directed graph could be a one-way street where one side can only go in one direction.
In a social network, if Alice follows Bob but Bob does not follow Alice back, this can be illustrated as a directed graph.
An example of an undirected graph could be a friendship where both friends can communicate freely.
A simple graph example would be a triangle formed by three vertices with three edges joining them, having no loops.
Graphs are points that meet in pairs, connected by edges that share their cares.
Imagine a city where every home represents a vertex, and roads connecting them are edges. Some homes may connect only one way, making them directed, while others are joined freely like friends in an undirected graph.
Remember: Graphs have Vertices and Edges. (Remember 'GVE')!
For graphs, use 'D.U.S' - Directed, Undirected, and Simple.
Term
What defines a graph?
Click to flip
Term
What does adjacency refer to?
Click to flip
Term
What is the handshaking theorem?
Click to flip
A collection of vertices (nodes) and edges connecting them.
A point or node in a graph.
A connection between two vertices in a graph.
A graph where edges have a direction, represented by ordered pairs.
A graph where edges have no direction, represented as unordered pairs.
A term describing two vertices that are connected by an edge.
A graph with no self-loops and at most one edge between any two vertices.
The number of edges incident to a vertex.
The theorem stating that the sum of the degrees of all vertices equals twice the number of edges.
A graph is defined as a collection of vertices and edges, with various types of graphs such as directed and undirected.
This section defines a graph as a structure composed of vertices (nodes) and edges. It elaborates on different types of graphs, such as directed and undirected graphs, and includes specific terminologies related to graph theory including simple graphs, adjacency, and degree of a vertex.
In this section, we delve into the foundational definition of a graph, a crucial concept in graph theory. A graph consists of two primary components: a set of vertices (or nodes), denoted as V, and a set of edges, denoted as E. Every graph must have a non-empty vertex set, meaning there are always nodes present, though the edge set can be empty.
We also examine two main types of graphs: directed graphs, where edges signify a one-way connection (represented as ordered pairs), and undirected graphs, where edges imply a two-way connection (represented as unordered pairs). The assertion of edges helps determine adjacency between vertices, which is fundamental for deeper graph interactions.
A key distinction is made concerning simple graphs, which contain no self-loops and at most one edge between any two vertices, enhancing purity in graph representation. Furthermore, we define terms such as adjacency, incidence of edges, and degree of a vertex, including the significant role of self-loops in affecting vertex degree. We conclude the section by introducing the handshaking theorem, elucidating that in any undirected graph, the sum of degrees of all vertices equals twice the number of edges, leading to further implications about odd-degree vertices.
This foundational understanding sets the stage for exploring more complex graph structures and theorems in subsequent sections.