When is a disconnected subset of a topological space 'disconnected in the total space'? A subset $Y$ of a topological space $X$ is disconnected if the subspace topology on $Y$ is disconnected. I'll define $Y$ to be 'disconnected in $X$' if there exists open $U,V$ (in $X$) such that
$$ U \cup V \supseteq Y \qquad \mathrm{and} \qquad U \cap V = \varnothing \qquad \mathrm{and} \qquad U \cap Y \neq \varnothing \neq V \cap Y $$
In general, a disconnected subset $Y$ is not necessarily disconnected in $X$. As this question shows, we may be able to engineer a topology on $X$ that ensures any two open sets in $X$ that respectively contain the two disconnected components of $Y$ in the subspace topology always intersect, somewhere outside $Y$. To repeat the example, consider:
$$ Y = \{1,2\} \qquad X = \{1,2,3\} \qquad T_X = \{\varnothing, \{3\} ,\{1,3\},\{2,3\}, X\} $$
Then $T_Y$ is discrete and disconnected, but there are no two open sets in $X$ that satisfy the requirements above.
My question, then, is: are there certain conditions on $X$ that ensure any disconnected subset of $X$ is 'disconnected in $X$'? For instance, a disconnected subset $Y$ will be 'connected in $X$' if the two disconnected components (taken as subsets of open sets in $X$) always intersect somewhere outside the subset, but it seems to me that this will force the space to be non-Hausdorff. However, I couldn't prove this was true, and my intuition for topology is not very good, so I wanted to ask a) whether disconnected subsets of Hausdorff spaces are always 'disconnected in $X$' and b) if not, whether there was some other class of topological space for which this was true.
Thank you.
 A: Your property is equivalent to complete normality.
Recall that subsets $A$ and $B$ of $X$ are said to be separated if $A\cap\operatorname{cl}B=\varnothing=B\cap\operatorname{cl}A$, and $X$ is completely normal if every pair of separated sets in $X$ have disjoint open nbhds. $X$ is $T_5$ if $X$ is completely normal and $T_1$.
Suppose that $X$ is completely normal, and let $Y$ be a subspace of $X$ that is not connected. Then there are open sets $U_0$ and $U_1$ in $X$ such that if $G_0=U_0\cap Y$ and $G_1=U_1\cap Y$, then $\{G_0,G_1\}$ is a partition of $Y$ into (non-empty) relatively open sets. $U_0$ is an open nbhd of $G_0$ disjoint from $G_1$, so $G_0\cap\operatorname{cl}_XG_1=\varnothing$. Similarly, $G_1\cap\operatorname{cl}_XG_0=\varnothing$, so $G_0$ and $H_0$ are separated subsets of $X$. $X$ is completely normal, so there are disjoint open sets $V_0$ and $V_1$ such that $G_0\subseteq V_0$ and $G_1\subseteq V_1$. This shows that every completely normal space has your property.
Conversely, suppose that $X$ has your property, and let $A$ and $B$ be separated sets in $X$. Then $A$ and $B$ are disjoint, non-empty, relatively closed subsets of $A\cup B$, which is therefore not connected. Since $X$ has your property, $A$ and $B$ have disjoint open nbhds in $X$, and $X$ is therefore completely normal.
By the way, complete normality is equivalent to hereditary normality: all subspaces are normal.
Note that every space with the indiscrete topology is vacuously completely normal and therefore has your property, so your property does not imply that the space is Hausdorff. If $X$ is $T_1$ and has your property, however, then singletons are closed, and $X$ must be Hausdorff.
