Integral Question - $\displaystyle\int\frac{1}{\sqrt{x^2-x}}\,\mathrm dx$.
$$\int\frac{1}{\sqrt{x(x-1)}}\,\mathrm dx =\int \left(\frac{A}{\sqrt x} + \frac{B}{\sqrt{x-1}}\right)\,\mathrm dx$$
This is the right way to solve it?
Thanks!
Integral Question - $\displaystyle\int\frac{1}{\sqrt{x^2-x}}\,\mathrm dx$.
$$\int\frac{1}{\sqrt{x(x-1)}}\,\mathrm dx =\int \left(\frac{A}{\sqrt x} + \frac{B}{\sqrt{x-1}}\right)\,\mathrm dx$$
This is the right way to solve it?
Thanks!
The Partial Fraction Decomposition is for rational fraction only.
$$\int\frac{dx}{\sqrt{x^2-x}}=\int\frac{2dx}{\sqrt{4x^2-4x}}=\int\frac{2dx}{\sqrt{(2x-1)^2-1^2}}$$
Now, put $2x-1=\sec\theta$
EDIT: completing as requested
So,$2dx=\sec\theta\tan\theta d\theta$
$$\text{So,}\int\frac{2dx}{\sqrt{(2x-1)^2-1^2}}=\int \frac{\sec\theta\tan\theta d\theta}{\tan\theta}=\int \sec\theta d\theta =\ln|\sec\theta+\tan\theta|+C $$ (where $C$ is an arbitrary constant of indefinite integral )
$$=\ln\left|2x-1+\sqrt{(2x-1)^2-1}\right|+C=\ln\left|2x-1+2\sqrt{x^2-x}\right|+C$$
Alternatively,using $$\frac{dy}{\sqrt{y^2-a^2}}=\ln\left|y+\sqrt{y^2-a^2}\right|+C$$
$$\int\frac{dx}{\sqrt{x^2-x}}=\int\frac{dx}{\sqrt{\left(x-\frac12\right)^2-\left(\frac12\right)^2}}$$ $$=\ln\left|x-\frac12+\sqrt{x^2-x}\right|+C=\ln\left|2x-1+2\sqrt{x^2-x}\right|+C-\ln2=\ln\left|2x-1+2\sqrt{x^2-x}\right|+C'$$ where $C'=C-\ln2$ another arbitrary constant