\(T=\)\(\dfrac{x^2+x+7}{x-1}=\dfrac{\left(x+2\right)\left(x-1\right)+9}{x-1}=x+2+\dfrac{9}{x-1}\)
\(=\left(x-1+\dfrac{9}{x-1}\right)+3\ge2\sqrt{\dfrac{9}{x-1}.\left(x-1\right)}+3\)\(=\)\(9\)
\(\Leftrightarrow T_{min}=9\Leftrightarrow x-1=\dfrac{9}{x-1}\Leftrightarrow x=4\)