Graph theory will seriously enhance your engineering skills.
Here's why you must be familiar with graphs:
What do the internet, your brain, the entire list of people you’ve ever met, and the city you live in have in common?
These are all radically different concepts, but they share a common trait.
They are all networks that establish relationships between objects.
As distinct as these things seem to be, they share common properties.
For example, the meaning of “distance” is different for
• Social networks
• Physical networks
• Information networks
But in all cases, there is a sense in which some objects are “close” or “far”.
What if we could study this abstract notion of networks of interconnected elements and understand the fundamental properties of all sorts of networks all at once?
This is the purpose of graph theory, and we’re here to open a window for you to dive into this universe.
Intuitively, a graph is just a (finite) collection of elements — vertices, or sometimes nodes — connected by edges.
Thus, a graph represents an abstract relation space, in which the edges define who’s related to whom, whatever the nature of that relation is.
There is nothing intrinsic to names or the exact locations of the vertices in the drawing.
The layout of a graph is arbitrary, and thus, the same graph can be represented in an infinite number of ways.
In the study of networks, indirect connections are as important as direct ones.
Speaking in the language of graphs, indirect connections are formalized by walks. A walk is simply a finite sequence of connected nodes.
For example, (a, b, a, e, c, d) is a walk on the graph below.
If we never repeat an edge, then we have a trail.
The previous walk is not a trail because we backtrack through ab.
In contrast, (a, e, c, d, e) is a valid trail in our example graph, because although e appears twice, we get to it via different edges each time.
If we never repeat a vertex, then we have a path.
For instance, (c, d, e, a, b) is a path that happens to involve all vertices.
However, if the path loops over from the final vertex back into the first one, so the start and end are the same vertex, we call it a cycle.
So, vertices and edges are the building blocks of graphs, giving rise to walks, trails, and paths.
With these notions, we can start to ask general questions about the structure of a graph.
One question is connectivity, that is, which vertices are reachable from each other.
An interesting question regarding connectivity is how critical a vertex or edge is regarding connectivity.
If removing a single vertex (or edge) from a graph splits a connected component into two or more, then that vertex is called a cut vertex (or cut edge).
In the previous graph, the removal of vertex a (and its corresponding edges) produces five connected components, while the removal of vertex b produces two.
The removal of the edge ab produces two connected components.
Join 20,000+ ML practitioners who get 2 actionable emails every week to help them understand the math behind ML, make smarter decisions, and avoid costly mistakes.
Differentiation reveals much more than the slope of the tangent plane.
We like to think about it that way, but from a different angle, differentiation is the same as an approximation with a linear function. This allows us to generalize the concept.
Let's see why:
By definition, the derivative of a function at the point 𝑎 is defined by the limit of the difference quotient, representing the rate of change.
In geometric terms, the differential quotient represents the slope of the line between two points of the function's graph.