\(\frac{1}{\sqrt{x-1}}\cdot\sqrt{x^2-2x+1}\)
\(=\frac{\sqrt{\left(x-1\right)^2}}{\sqrt{x-1}}\)
\(=\sqrt{x-1}\)
\(\frac{1}{\sqrt{x-1}}.\sqrt{x^2-2x+1}\)
\(=\frac{\sqrt{x^2-2x+1}}{\sqrt{x-1}}=\frac{\sqrt{\left(x-1\right)^2}}{\sqrt{x-1}}\)
\(=\sqrt{x-1}\)