Let $\mathcal{R}$ be an equivalent relation over $X$ such that $\forall x\in X$, its class $[x]$ is included in some connected component of $X$. Show that the connected components of $X/\mathcal{R}$ are the images of the connected components of $X$ via the quotient map.
So far, denoting $\pi : X\to X/\mathcal{R}$ the quotient map, I've proved that, given a connected component $C_x$ of $X$, then $\pi(C_x)\subset C_{[x]}$. This is because $x\in [x]$ and the continuous image of a connected set is also connected. But I don't see the other inclusion, could you please tell me any hint?
If $q:X\to Y$ is a quotient map with the property that the fiber of each $y\in Y$ is contained in some component of $X$. Then, it maps each component of $X$ to a component of $Y$. Indeed, if $C$ is a component of $X$, then $q(C)$ is contained in a component $D$ of $Y$. Moreover, $q^{-1}(D)$ is connected. Seeking contradiction, assume $q^{-1}(D)=U\cup V$ where $U$ and $V$ are non-empty disjoint open subsets of $q^{-1}(D)$, then $q(U)$ and $q(V)$ are non-empty disjoint subsets of $D$ with $D=q(U)\cup q(V)$. We claim that $q(U)$ and $q(V)$ are open subsets of $D$. Note that if $x\in q^{-1}(q(U))$, then $q(x)=q(a)$ for some $a\in U$. But, $q(x)=q(a)=y\in D$ (as $q$ is onto) and hence $a,x\in q^{-1}(y)\subset U$ as $q^{-1}(y)$ is contained in a connected subset. Thus, $U=q^{-1}(q(U))$ and similarly $V=q^{-1}(q(V))$. Since $q^{-1}(D)$ is a closed subset, $q:q^{-1}(D)\to q(q^{-1}(D)=D$ is a quotient map which implies that $q(U)$ and $q(V)$ are open, a contradiction.
Now, $q(C)\subset D$ and thus $C\subset q^{-1}(q(C))\subset q^{-1}(D)$. So, $C=q^{-1}(D)$ and hence $q(C)=D$.