I'm starting with the basics of topology theory and I'm trying to show:
Let $A$ and $B$ be closed subsets of a topological space. If $A\cap B$ and $A\cup B$ are both connected, $A$ and $B$ are connected.
I've tried to prove it whit subsets operations and by contradiction, but I've failed with both strategies. Can you help me, please?