I have a graph:
I have in my homework assignament that it has 2 weak and 2 strong connected components. I clearly see strong components {4,5} and {0..3} But why they are also weak components if we cant even go from one component to another??
Do I understand weak components incorrectly?


Your directed graph has 2 disconnected components.
Lets call {4,5} A, and {0,1,2,3} B.
There is no way to traverse from A to B or visa versa from B to A.
Component A is strongly connected. A is strongly connected because you can traverse to every other vertex in the component from every vertex in the component.
Let's see:
Component B is also strongly connected. B is strongly connected because there exists a path from every vertex in B to every other vertex in B. There does not need to be an immediate edge to every vertex from every vertex, only a path that can reach them.
Let's see:
Now we have proved that Component A {4,5} and Component B {0,1,2,3} are both strongly connected connected components.
The definition of a weakly connected component is that if you ignore the direction of the edges there exists a path from every vertex in the component to every other vertex in the component. We already solved the harder problem of determining that Components A and B were both strongly connected components by using the directed edges. If we ignore the fact that the edges are directed such that they can go either way, it only makes the problem of connectivity that much easier to solve.
For that reason, every strongly connected component is also a weakly connected component, but it is not only a weakly connected component. A weakly connected component may or may not be a strongly connected component.
A strongly connected component satisfies the definition of both strongly and weakly connected.