Integrand size = 24, antiderivative size = 147 \[ \int \frac {x}{\left (x^2 (-a+x)\right )^{2/3} (a+(-1+d) x)} \, dx=-\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3} \sqrt [3]{d} x}{\sqrt [3]{d} x+2 \sqrt [3]{-a x^2+x^3}}\right )}{a d^{2/3}}-\frac {\log \left (-\sqrt [3]{d} x+\sqrt [3]{-a x^2+x^3}\right )}{a d^{2/3}}+\frac {\log \left (d^{2/3} x^2+\sqrt [3]{d} x \sqrt [3]{-a x^2+x^3}+\left (-a x^2+x^3\right )^{2/3}\right )}{2 a d^{2/3}} \]
[Out]
Time = 0.23 (sec) , antiderivative size = 192, normalized size of antiderivative = 1.31, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {6851, 93} \[ \int \frac {x}{\left (x^2 (-a+x)\right )^{2/3} (a+(-1+d) x)} \, dx=-\frac {\sqrt {3} x^{4/3} (x-a)^{2/3} \arctan \left (\frac {2 \sqrt [3]{d} \sqrt [3]{x}}{\sqrt {3} \sqrt [3]{x-a}}+\frac {1}{\sqrt {3}}\right )}{a d^{2/3} \left (-\left (x^2 (a-x)\right )\right )^{2/3}}+\frac {x^{4/3} (x-a)^{2/3} \log (a-(1-d) x)}{2 a d^{2/3} \left (-\left (x^2 (a-x)\right )\right )^{2/3}}-\frac {3 x^{4/3} (x-a)^{2/3} \log \left (\sqrt [3]{d} \sqrt [3]{x}-\sqrt [3]{x-a}\right )}{2 a d^{2/3} \left (-\left (x^2 (a-x)\right )\right )^{2/3}} \]
[In]
[Out]
Rule 93
Rule 6851
Rubi steps \begin{align*} \text {integral}& = \frac {\left (x^{4/3} (-a+x)^{2/3}\right ) \int \frac {1}{\sqrt [3]{x} (-a+x)^{2/3} (a+(-1+d) x)} \, dx}{\left (x^2 (-a+x)\right )^{2/3}} \\ & = -\frac {\sqrt {3} x^{4/3} (-a+x)^{2/3} \arctan \left (\frac {1}{\sqrt {3}}+\frac {2 \sqrt [3]{d} \sqrt [3]{x}}{\sqrt {3} \sqrt [3]{-a+x}}\right )}{a d^{2/3} \left (-\left ((a-x) x^2\right )\right )^{2/3}}+\frac {x^{4/3} (-a+x)^{2/3} \log (a-(1-d) x)}{2 a d^{2/3} \left (-\left ((a-x) x^2\right )\right )^{2/3}}-\frac {3 x^{4/3} (-a+x)^{2/3} \log \left (\sqrt [3]{d} \sqrt [3]{x}-\sqrt [3]{-a+x}\right )}{2 a d^{2/3} \left (-\left ((a-x) x^2\right )\right )^{2/3}} \\ \end{align*}
Time = 0.32 (sec) , antiderivative size = 156, normalized size of antiderivative = 1.06 \[ \int \frac {x}{\left (x^2 (-a+x)\right )^{2/3} (a+(-1+d) x)} \, dx=\frac {x^{4/3} (-a+x)^{2/3} \left (-2 \sqrt {3} \arctan \left (\frac {\sqrt {3} \sqrt [3]{d} \sqrt [3]{x}}{\sqrt [3]{d} \sqrt [3]{x}+2 \sqrt [3]{-a+x}}\right )-2 \log \left (-\sqrt [3]{d} \sqrt [3]{x}+\sqrt [3]{-a+x}\right )+\log \left (d^{2/3} x^{2/3}+\sqrt [3]{d} \sqrt [3]{x} \sqrt [3]{-a+x}+(-a+x)^{2/3}\right )\right )}{2 a d^{2/3} \left (x^2 (-a+x)\right )^{2/3}} \]
[In]
[Out]
Time = 0.33 (sec) , antiderivative size = 115, normalized size of antiderivative = 0.78
method | result | size |
pseudoelliptic | \(\frac {2 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (d^{\frac {1}{3}} x +2 \left (-\left (a -x \right ) x^{2}\right )^{\frac {1}{3}}\right )}{3 d^{\frac {1}{3}} x}\right )+\ln \left (\frac {d^{\frac {2}{3}} x^{2}+d^{\frac {1}{3}} \left (-\left (a -x \right ) x^{2}\right )^{\frac {1}{3}} x +\left (-\left (a -x \right ) x^{2}\right )^{\frac {2}{3}}}{x^{2}}\right )-2 \ln \left (\frac {-d^{\frac {1}{3}} x +\left (-\left (a -x \right ) x^{2}\right )^{\frac {1}{3}}}{x}\right )}{2 a \,d^{\frac {2}{3}}}\) | \(115\) |
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 185, normalized size of antiderivative = 1.26 \[ \int \frac {x}{\left (x^2 (-a+x)\right )^{2/3} (a+(-1+d) x)} \, dx=\frac {2 \, \sqrt {3} d \sqrt {-\left (-d^{2}\right )^{\frac {1}{3}}} \arctan \left (-\frac {\sqrt {3} {\left (\left (-d^{2}\right )^{\frac {1}{3}} d x - 2 \, {\left (-a x^{2} + x^{3}\right )}^{\frac {1}{3}} \left (-d^{2}\right )^{\frac {2}{3}}\right )} \sqrt {-\left (-d^{2}\right )^{\frac {1}{3}}}}{3 \, d^{2} x}\right ) - 2 \, \left (-d^{2}\right )^{\frac {2}{3}} \log \left (-\frac {\left (-d^{2}\right )^{\frac {2}{3}} x - {\left (-a x^{2} + x^{3}\right )}^{\frac {1}{3}} d}{x}\right ) + \left (-d^{2}\right )^{\frac {2}{3}} \log \left (-\frac {\left (-d^{2}\right )^{\frac {1}{3}} d x^{2} - {\left (-a x^{2} + x^{3}\right )}^{\frac {1}{3}} \left (-d^{2}\right )^{\frac {2}{3}} x - {\left (-a x^{2} + x^{3}\right )}^{\frac {2}{3}} d}{x^{2}}\right )}{2 \, a d^{2}} \]
[In]
[Out]
\[ \int \frac {x}{\left (x^2 (-a+x)\right )^{2/3} (a+(-1+d) x)} \, dx=\int \frac {x}{\left (x^{2} \left (- a + x\right )\right )^{\frac {2}{3}} \left (a + d x - x\right )}\, dx \]
[In]
[Out]
\[ \int \frac {x}{\left (x^2 (-a+x)\right )^{2/3} (a+(-1+d) x)} \, dx=\int { \frac {x}{\left (-{\left (a - x\right )} x^{2}\right )^{\frac {2}{3}} {\left ({\left (d - 1\right )} x + a\right )}} \,d x } \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 99, normalized size of antiderivative = 0.67 \[ \int \frac {x}{\left (x^2 (-a+x)\right )^{2/3} (a+(-1+d) x)} \, dx=\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3} {\left (d^{\frac {1}{3}} + 2 \, {\left (-\frac {a}{x} + 1\right )}^{\frac {1}{3}}\right )}}{3 \, d^{\frac {1}{3}}}\right )}{a d^{\frac {2}{3}}} + \frac {\log \left (d^{\frac {2}{3}} + d^{\frac {1}{3}} {\left (-\frac {a}{x} + 1\right )}^{\frac {1}{3}} + {\left (-\frac {a}{x} + 1\right )}^{\frac {2}{3}}\right )}{2 \, a d^{\frac {2}{3}}} - \frac {\log \left ({\left | -d^{\frac {1}{3}} + {\left (-\frac {a}{x} + 1\right )}^{\frac {1}{3}} \right |}\right )}{a d^{\frac {2}{3}}} \]
[In]
[Out]
Timed out. \[ \int \frac {x}{\left (x^2 (-a+x)\right )^{2/3} (a+(-1+d) x)} \, dx=\int \frac {x}{\left (a+x\,\left (d-1\right )\right )\,{\left (-x^2\,\left (a-x\right )\right )}^{2/3}} \,d x \]
[In]
[Out]