Let $T:[0,1] \to [0,1]$ be the function $Tx= 2x$, if $ x \in [0, \frac{1}{2}]$ and $Tx = 2-2x$, if $ x \in ( \frac{1}{2} , 1] $. We say that a map is topologically transitive if, for any pair $U, V$ of nonempty open subsets of $X$, there exists some $n\ge0$ such that $T^{n}(U) \cap V \neq \varnothing$. I need to show that $T$ is topologically transitive.
My attempt was to show that for any open and nonempty subset of $X$, say $U$, there exists $n\ge0$ such that $T^n(U)=[0,1]$ and then for any open and nonempty subset of $X$, say $V$, $T^n(U)\cap V=[0,1]\cap V=V\neq \varnothing$. What I have tried so far is to do this by cases:
First I suppose $U$ is an open interval containing $\frac{1}{2}$. Observe that $T(U)$ contains $T(\frac{1}{2}) = 1$ and $T^{2}(U)$ contains $T(T( \frac{1}{2}))=T(1)=0$, so $T^{2} (U)$ is an interval which contains the number $0$, so $[0,a]\subseteq T^{2}(U)$ for some $a\in [0,\frac{1}{2}]$. We also observe that $T$ is doubling the length of the interval $[0, \frac{1}{2}]$ as we iterate it. So, there exists $n\ge0$ such that $T^{n+2}(U)$ is an interval which contains $0$ and $\frac{1}{2}$ and then $T^{n+3}(U)$ contains $0,1$ which show that $T^{n+3}(U)=[0,1]$.
The second case is if $U$ is an open subinterval of $[0,\frac{1}{2}]$. In this case we observe that $T$ is doubling the length of the interval, as we iterate it and it gets to a point that there exists some $n\ge0$ such that $\frac{1}{2}\in T^n(U)$, so from the first case there exists some $m\ge0$ such that $T^m(T^n(U))=[0,1]\implies T^{m+n}(U)=[0,1]$.
The third case is that $U=(a,b)\subseteq(\frac{1}{2},1)$, then $T(U)=(2-2b, 2-2a)$. We observe that $T(U)$ is double the length of the interval $(a,b)$. I want to show that there exists a $n\ge0$ such that $\frac{3}{4} \in T^n(U)$ and then $T(\frac{3}{4})=\frac{1}{2}\in T^{n+1}(U)$, so I apply the first case again. This is where I got stuck and I don't know how to continue. I would appreciate any help with this, or any other kind of solution.