00:01
For this question, we're trying to prove a property about directed graphs.
00:06
So in other words, if g is a directed graph, then the strong components of two vertices arbitrarily chosen u and v of the set v, of the set of vertices in g are either the same or disjoint.
00:20
So in other words, if you have two vertices, and you consider there are strongly connected components in a directed graph, the strongly connected components are either completely disjoint from each other, or they are exactly the same.
00:34
So this statement by itself is at first kind of confusing.
00:37
So i will prove an alternative statement whose conclusion, like whose proof will lead you to conclude the same thing about the said problem.
00:49
So basically i'm trying to prove that if, if for two vertices you and v and g, basically if the strong components of two randomly chosen, any two vertices, u and v and g, are not this joint, then they are the same.
01:21
And i'll try to explain why this is the same statement as 17, right? so we're trying to prove that.
01:29
So in problem 17, the question states, strong components of two vertices are either the same or disjoint.
01:35
So in other words, they're either one or the other.
01:39
They can't be both, they can't be neither.
01:41
So if we show that, if you show this statement, they were done, right? so if we show this statement that i've just written here, we will have shown that the strong components of two, any two vertices will either be the same or they will be this joint.
01:55
So, um, so let's assume that, so let's assume that the strong components of you and v are not disjoint, right? that means that there exists a vertex w, in the set of vertices in g such that w is in the strong component of both u and b right that like the definition of disjoint means that you have this set or the two strong components contain no no overlapping vertices so if we're assuming that they're not disjoint then there must be a vertex in g there must be a vertex w such that w is in both strong components of u and b.
02:48
And as they say in the problem statement, basically if you're in the strongly connected component, we know that w is in the strongly connected component of you, which means this means that there exists a directed path from both u to w and w to u.
03:14
That's the definition of w being in the strong component of u.
03:17
And similarly, there exists a different component of you.
03:18
And similarly, there exists directive path from b to w and w to b.
03:27
Right? so in other words, we know that because there's a path from u to w and the path from w to b, we know that a path there exists a directed path from u to b, namely the path you just split it into two parts.
03:50
The path that we know exists that exists from u to w and then we take after we read reach w, we take a path that we know exists from w to v.
03:58
And so that's a path from u to v, and similarly there's also exists a path from b to you, right? we just take v, we start at v, and we take the path that we know exists to w...