Integrand size = 59, antiderivative size = 186 \[ \int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx=\frac {4 \sqrt [4]{-a b^2 x+\left (2 a b+b^2\right ) x^2+(-a-2 b) x^3+x^4}}{b-x}+2 \sqrt [4]{d} \arctan \left (\frac {\sqrt [4]{d} \left (-a b^2 x+\left (2 a b+b^2\right ) x^2+(-a-2 b) x^3+x^4\right )^{3/4}}{(b-x) x (-a+x)}\right )-2 \sqrt [4]{d} \text {arctanh}\left (\frac {\sqrt [4]{d} \left (-a b^2 x+\left (2 a b+b^2\right ) x^2+(-a-2 b) x^3+x^4\right )^{3/4}}{(b-x) x (-a+x)}\right ) \]
[Out]
\[ \int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx=\int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx \]
[In]
[Out]
Rubi steps \begin{align*} \text {integral}& = \frac {\left (x^{3/4} (-a+x)^{3/4} (-b+x)^{3/2}\right ) \int \frac {\sqrt [4]{x} \sqrt [4]{-a+x} (a b+(a-2 b) x)}{(-b+x)^{3/2} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx}{\left (x (-a+x) (-b+x)^2\right )^{3/4}} \\ & = \frac {\left (x^{3/4} (-a+x)^{3/4} (-b+x)^{3/2}\right ) \int \left (\frac {\left (a-2 b-\sqrt {a^2-4 a b d+4 b^2 d}\right ) \sqrt [4]{x} \sqrt [4]{-a+x}}{(-b+x)^{3/2} \left (a-2 b d-\sqrt {a^2-4 a b d+4 b^2 d}+2 (-1+d) x\right )}+\frac {\left (a-2 b+\sqrt {a^2-4 a b d+4 b^2 d}\right ) \sqrt [4]{x} \sqrt [4]{-a+x}}{(-b+x)^{3/2} \left (a-2 b d+\sqrt {a^2-4 a b d+4 b^2 d}+2 (-1+d) x\right )}\right ) \, dx}{\left (x (-a+x) (-b+x)^2\right )^{3/4}} \\ & = \frac {\left (\left (a-2 b-\sqrt {a^2-4 a b d+4 b^2 d}\right ) x^{3/4} (-a+x)^{3/4} (-b+x)^{3/2}\right ) \int \frac {\sqrt [4]{x} \sqrt [4]{-a+x}}{(-b+x)^{3/2} \left (a-2 b d-\sqrt {a^2-4 a b d+4 b^2 d}+2 (-1+d) x\right )} \, dx}{\left (x (-a+x) (-b+x)^2\right )^{3/4}}+\frac {\left (\left (a-2 b+\sqrt {a^2-4 a b d+4 b^2 d}\right ) x^{3/4} (-a+x)^{3/4} (-b+x)^{3/2}\right ) \int \frac {\sqrt [4]{x} \sqrt [4]{-a+x}}{(-b+x)^{3/2} \left (a-2 b d+\sqrt {a^2-4 a b d+4 b^2 d}+2 (-1+d) x\right )} \, dx}{\left (x (-a+x) (-b+x)^2\right )^{3/4}} \\ \end{align*}
\[ \int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx=\int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx \]
[In]
[Out]
\[\int \frac {x \left (-a +x \right ) \left (a b +\left (a -2 b \right ) x \right )}{\left (x \left (-a +x \right ) \left (-b +x \right )^{2}\right )^{\frac {3}{4}} \left (b^{2} d +\left (-2 b d +a \right ) x +\left (-1+d \right ) x^{2}\right )}d x\]
[In]
[Out]
Timed out. \[ \int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx=\int { -\frac {{\left (a b + {\left (a - 2 \, b\right )} x\right )} {\left (a - x\right )} x}{\left (-{\left (a - x\right )} {\left (b - x\right )}^{2} x\right )^{\frac {3}{4}} {\left (b^{2} d + {\left (d - 1\right )} x^{2} - {\left (2 \, b d - a\right )} x\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx=\int { -\frac {{\left (a b + {\left (a - 2 \, b\right )} x\right )} {\left (a - x\right )} x}{\left (-{\left (a - x\right )} {\left (b - x\right )}^{2} x\right )^{\frac {3}{4}} {\left (b^{2} d + {\left (d - 1\right )} x^{2} - {\left (2 \, b d - a\right )} x\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x (-a+x) (a b+(a-2 b) x)}{\left (x (-a+x) (-b+x)^2\right )^{3/4} \left (b^2 d+(a-2 b d) x+(-1+d) x^2\right )} \, dx=\int -\frac {x\,\left (a-x\right )\,\left (a\,b+x\,\left (a-2\,b\right )\right )}{{\left (-x\,\left (a-x\right )\,{\left (b-x\right )}^2\right )}^{3/4}\,\left (b^2\,d+x\,\left (a-2\,b\,d\right )+x^2\,\left (d-1\right )\right )} \,d x \]
[In]
[Out]