Question about evaluating a Definite Integral w/ U-Substitution

They are trying to get you to use the trick that setting $$u=\sqrt{2x-1}\implies\frac{u^2+1}{2}=x\implies u \space du=dx$$ Then $$I=\int_{x=1}^{x=5}\frac{x}{\sqrt{2x-1}}dx=\int_{u=1}^{u=3}\frac{\left(\frac{u^2+1}{2}\right)}{u}\cdot u\space du=\frac{1}{2}\int_1^3(u^2+1)\space du$$


In general, it can be difficult to identify what substitutions to perform, and even harder in most cases to identify them in terms of a sort of function composition. For some cases, composition is simple to notice: $$\int 2x e^{x^2}dx=\int e^udu=e^{x^2}+C$$ But in more complicated examples, $u$-substitutions can be difficult to immediately see. It is often helpful, instead of considering function composition, to see what parts of the integrand may be simplified or cancelled through a particular substitution. In your integral, substituting $u=\sqrt{2x-1}\implies du=\frac{dx}{\sqrt{2x-1}}=\frac{dx}{u}$ is helpful - the substitution transforms the $x$ in the numerator into a quadratic in $u$ (since $u=\sqrt{2x-1}\implies x=\frac{u^2+1}{2}$), the denominator simply becomes $u$, and we multiply by $u$ when we change from $dx$ to $u\,du$. The integral becomes: $$\int_1^5\frac{x}{\sqrt{2x-1}}\,dx=\frac{1}{2}\int_1^3\frac{u^2+1}{u}\,u\,du=\frac{1}{2}\int_1^3\left(u^2+1\right)du\text,$$ which we can integrate very easily. In this case, it may not have been obvious that this integral was an example of function composition, but it was much easier to play around with different substitutions and notice that this particular one led to some very convenient simplifications and cancellations.