Integrand size = 32, antiderivative size = 385 \[ \int \frac {\left (-b+a x^2\right ) \sqrt [3]{-x+x^3}}{-d+c x^2} \, dx=\frac {a x \sqrt [3]{-x+x^3}}{2 c}+\frac {(a c+3 b c-3 a d) \arctan \left (\frac {\sqrt {3} x}{x+2 \sqrt [3]{-x+x^3}}\right )}{2 \sqrt {3} c^2}+\frac {\sqrt {3} \sqrt [3]{c-d} (b c-a d) \arctan \left (\frac {\sqrt {3} \sqrt [3]{c-d} x}{\sqrt [3]{c-d} x-2 \sqrt [3]{d} \sqrt [3]{-x+x^3}}\right )}{2 c^2 \sqrt [3]{d}}+\frac {(a c+3 b c-3 a d) \log \left (-x+\sqrt [3]{-x+x^3}\right )}{6 c^2}+\frac {\sqrt [3]{c-d} (b c-a d) \log \left (\sqrt [3]{c-d} x+\sqrt [3]{d} \sqrt [3]{-x+x^3}\right )}{2 c^2 \sqrt [3]{d}}+\frac {(-a c-3 b c+3 a d) \log \left (x^2+x \sqrt [3]{-x+x^3}+\left (-x+x^3\right )^{2/3}\right )}{12 c^2}-\frac {\sqrt [3]{c-d} (b c-a d) \log \left ((c-d)^{2/3} x^2-\sqrt [3]{c-d} \sqrt [3]{d} x \sqrt [3]{-x+x^3}+d^{2/3} \left (-x+x^3\right )^{2/3}\right )}{4 c^2 \sqrt [3]{d}} \]
[Out]
Time = 0.43 (sec) , antiderivative size = 404, normalized size of antiderivative = 1.05, number of steps used = 10, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.281, Rules used = {2081, 595, 598, 335, 281, 337, 477, 476, 503} \[ \int \frac {\left (-b+a x^2\right ) \sqrt [3]{-x+x^3}}{-d+c x^2} \, dx=\frac {\sqrt [3]{x^3-x} \arctan \left (\frac {\frac {2 x^{2/3}}{\sqrt [3]{x^2-1}}+1}{\sqrt {3}}\right ) (a (c-3 d)+3 b c)}{2 \sqrt {3} c^2 \sqrt [3]{x^2-1} \sqrt [3]{x}}+\frac {\sqrt {3} \sqrt [3]{x^3-x} \sqrt [3]{c-d} (b c-a d) \arctan \left (\frac {1-\frac {2 x^{2/3} \sqrt [3]{c-d}}{\sqrt [3]{d} \sqrt [3]{x^2-1}}}{\sqrt {3}}\right )}{2 c^2 \sqrt [3]{d} \sqrt [3]{x^2-1} \sqrt [3]{x}}-\frac {\sqrt [3]{x^3-x} \sqrt [3]{c-d} (b c-a d) \log \left (d-c x^2\right )}{4 c^2 \sqrt [3]{d} \sqrt [3]{x^2-1} \sqrt [3]{x}}+\frac {\sqrt [3]{x^3-x} \log \left (x^{2/3}-\sqrt [3]{x^2-1}\right ) (a (c-3 d)+3 b c)}{4 c^2 \sqrt [3]{x^2-1} \sqrt [3]{x}}+\frac {3 \sqrt [3]{x^3-x} \sqrt [3]{c-d} (b c-a d) \log \left (x^{2/3} \sqrt [3]{c-d}+\sqrt [3]{d} \sqrt [3]{x^2-1}\right )}{4 c^2 \sqrt [3]{d} \sqrt [3]{x^2-1} \sqrt [3]{x}}+\frac {a \sqrt [3]{x^3-x} x}{2 c} \]
[In]
[Out]
Rule 281
Rule 335
Rule 337
Rule 476
Rule 477
Rule 503
Rule 595
Rule 598
Rule 2081
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt [3]{-x+x^3} \int \frac {\sqrt [3]{x} \sqrt [3]{-1+x^2} \left (-b+a x^2\right )}{-d+c x^2} \, dx}{\sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {a x \sqrt [3]{-x+x^3}}{2 c}+\frac {\sqrt [3]{-x+x^3} \int \frac {\sqrt [3]{x} \left (\frac {2}{3} (3 b c-2 a d)-\frac {2}{3} (3 b c+a (c-3 d)) x^2\right )}{\left (-1+x^2\right )^{2/3} \left (-d+c x^2\right )} \, dx}{2 c \sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {a x \sqrt [3]{-x+x^3}}{2 c}+\frac {\sqrt [3]{-x+x^3} \int \left (-\frac {2 (3 b c+a (c-3 d)) \sqrt [3]{x}}{3 c \left (-1+x^2\right )^{2/3}}+\frac {\left (-\frac {2}{3} (3 b c+a (c-3 d)) d+\frac {2}{3} c (3 b c-2 a d)\right ) \sqrt [3]{x}}{c \left (-1+x^2\right )^{2/3} \left (-d+c x^2\right )}\right ) \, dx}{2 c \sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {a x \sqrt [3]{-x+x^3}}{2 c}-\frac {\left ((3 b c+a (c-3 d)) \sqrt [3]{-x+x^3}\right ) \int \frac {\sqrt [3]{x}}{\left (-1+x^2\right )^{2/3}} \, dx}{3 c^2 \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {\left ((c-d) (b c-a d) \sqrt [3]{-x+x^3}\right ) \int \frac {\sqrt [3]{x}}{\left (-1+x^2\right )^{2/3} \left (-d+c x^2\right )} \, dx}{c^2 \sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {a x \sqrt [3]{-x+x^3}}{2 c}-\frac {\left ((3 b c+a (c-3 d)) \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {x^3}{\left (-1+x^6\right )^{2/3}} \, dx,x,\sqrt [3]{x}\right )}{c^2 \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {\left (3 (c-d) (b c-a d) \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {x^3}{\left (-1+x^6\right )^{2/3} \left (-d+c x^6\right )} \, dx,x,\sqrt [3]{x}\right )}{c^2 \sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {a x \sqrt [3]{-x+x^3}}{2 c}-\frac {\left ((3 b c+a (c-3 d)) \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {x}{\left (-1+x^3\right )^{2/3}} \, dx,x,x^{2/3}\right )}{2 c^2 \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {\left (3 (c-d) (b c-a d) \sqrt [3]{-x+x^3}\right ) \text {Subst}\left (\int \frac {x}{\left (-1+x^3\right )^{2/3} \left (-d+c x^3\right )} \, dx,x,x^{2/3}\right )}{2 c^2 \sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ & = \frac {a x \sqrt [3]{-x+x^3}}{2 c}+\frac {(3 b c+a (c-3 d)) \sqrt [3]{-x+x^3} \arctan \left (\frac {1+\frac {2 x^{2/3}}{\sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 \sqrt {3} c^2 \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {\sqrt {3} \sqrt [3]{c-d} (b c-a d) \sqrt [3]{-x+x^3} \arctan \left (\frac {1-\frac {2 \sqrt [3]{c-d} x^{2/3}}{\sqrt [3]{d} \sqrt [3]{-1+x^2}}}{\sqrt {3}}\right )}{2 c^2 \sqrt [3]{d} \sqrt [3]{x} \sqrt [3]{-1+x^2}}-\frac {\sqrt [3]{c-d} (b c-a d) \sqrt [3]{-x+x^3} \log \left (d-c x^2\right )}{4 c^2 \sqrt [3]{d} \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {(3 b c+a (c-3 d)) \sqrt [3]{-x+x^3} \log \left (x^{2/3}-\sqrt [3]{-1+x^2}\right )}{4 c^2 \sqrt [3]{x} \sqrt [3]{-1+x^2}}+\frac {3 \sqrt [3]{c-d} (b c-a d) \sqrt [3]{-x+x^3} \log \left (\sqrt [3]{c-d} x^{2/3}+\sqrt [3]{d} \sqrt [3]{-1+x^2}\right )}{4 c^2 \sqrt [3]{d} \sqrt [3]{x} \sqrt [3]{-1+x^2}} \\ \end{align*}
Time = 9.16 (sec) , antiderivative size = 414, normalized size of antiderivative = 1.08 \[ \int \frac {\left (-b+a x^2\right ) \sqrt [3]{-x+x^3}}{-d+c x^2} \, dx=\frac {x^{2/3} \left (-1+x^2\right )^{2/3} \left (6 a c \sqrt [3]{d} x^{4/3} \sqrt [3]{-1+x^2}+2 \sqrt {3} (3 b c+a (c-3 d)) \sqrt [3]{d} \arctan \left (\frac {\sqrt {3} x^{2/3}}{x^{2/3}+2 \sqrt [3]{-1+x^2}}\right )+6 \sqrt {3} \sqrt [3]{c-d} (b c-a d) \arctan \left (\frac {\sqrt {3} \sqrt [3]{c-d} x^{2/3}}{\sqrt [3]{c-d} x^{2/3}-2 \sqrt [3]{d} \sqrt [3]{-1+x^2}}\right )+2 (3 b c+a (c-3 d)) \sqrt [3]{d} \log \left (-x^{2/3}+\sqrt [3]{-1+x^2}\right )+6 \sqrt [3]{c-d} (b c-a d) \log \left (\sqrt [3]{c-d} x^{2/3}+\sqrt [3]{d} \sqrt [3]{-1+x^2}\right )+\sqrt [3]{d} (-a c-3 b c+3 a d) \log \left (x^{4/3}+x^{2/3} \sqrt [3]{-1+x^2}+\left (-1+x^2\right )^{2/3}\right )-3 \sqrt [3]{c-d} (b c-a d) \log \left ((c-d)^{2/3} x^{4/3}-\sqrt [3]{c-d} \sqrt [3]{d} x^{2/3} \sqrt [3]{-1+x^2}+d^{2/3} \left (-1+x^2\right )^{2/3}\right )\right )}{12 c^2 \sqrt [3]{d} \left (x \left (-1+x^2\right )\right )^{2/3}} \]
[In]
[Out]
Time = 0.60 (sec) , antiderivative size = 330, normalized size of antiderivative = 0.86
method | result | size |
pseudoelliptic | \(-\frac {\left (-\frac {d \left (-6 x \left (x^{3}-x \right )^{\frac {1}{3}} a c +\left (2 \sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (x +2 \left (x^{3}-x \right )^{\frac {1}{3}}\right )}{3 x}\right )+\ln \left (\frac {x^{2}+x \left (x^{3}-x \right )^{\frac {1}{3}}+\left (x^{3}-x \right )^{\frac {2}{3}}}{x^{2}}\right )-2 \ln \left (\frac {-x +\left (x^{3}-x \right )^{\frac {1}{3}}}{x}\right )\right ) \left (-3 a d +c \left (a +3 b \right )\right )\right ) \left (\frac {c -d}{d}\right )^{\frac {2}{3}}}{6}+\left (a d -b c \right ) \left (\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (\left (\frac {c -d}{d}\right )^{\frac {1}{3}} x -2 \left (x^{3}-x \right )^{\frac {1}{3}}\right )}{3 \left (\frac {c -d}{d}\right )^{\frac {1}{3}} x}\right )-\ln \left (\frac {\left (\frac {c -d}{d}\right )^{\frac {1}{3}} x +\left (x^{3}-x \right )^{\frac {1}{3}}}{x}\right )+\frac {\ln \left (\frac {\left (\frac {c -d}{d}\right )^{\frac {2}{3}} x^{2}-\left (\frac {c -d}{d}\right )^{\frac {1}{3}} \left (x^{3}-x \right )^{\frac {1}{3}} x +\left (x^{3}-x \right )^{\frac {2}{3}}}{x^{2}}\right )}{2}\right ) \left (c -d \right )\right ) x}{2 \left (\frac {c -d}{d}\right )^{\frac {2}{3}} \left (\left (x^{3}-x \right )^{\frac {2}{3}}+x \left (\left (x^{3}-x \right )^{\frac {1}{3}}+x \right )\right ) c^{2} \left (-x +\left (x^{3}-x \right )^{\frac {1}{3}}\right ) d}\) | \(330\) |
[In]
[Out]
Timed out. \[ \int \frac {\left (-b+a x^2\right ) \sqrt [3]{-x+x^3}}{-d+c x^2} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\left (-b+a x^2\right ) \sqrt [3]{-x+x^3}}{-d+c x^2} \, dx=\int \frac {\sqrt [3]{x \left (x - 1\right ) \left (x + 1\right )} \left (a x^{2} - b\right )}{c x^{2} - d}\, dx \]
[In]
[Out]
\[ \int \frac {\left (-b+a x^2\right ) \sqrt [3]{-x+x^3}}{-d+c x^2} \, dx=\int { \frac {{\left (a x^{2} - b\right )} {\left (x^{3} - x\right )}^{\frac {1}{3}}}{c x^{2} - d} \,d x } \]
[In]
[Out]
none
Time = 0.39 (sec) , antiderivative size = 372, normalized size of antiderivative = 0.97 \[ \int \frac {\left (-b+a x^2\right ) \sqrt [3]{-x+x^3}}{-d+c x^2} \, dx=\frac {a x^{2} {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}}}{2 \, c} - \frac {{\left (b c^{2} - a c d - b c d + a d^{2}\right )} \left (-\frac {c - d}{d}\right )^{\frac {1}{3}} \log \left ({\left | -\left (-\frac {c - d}{d}\right )^{\frac {1}{3}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} \right |}\right )}{2 \, {\left (c^{3} - c^{2} d\right )}} - \frac {\sqrt {3} {\left (a c + 3 \, b c - 3 \, a d\right )} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} + 1\right )}\right )}{6 \, c^{2}} - \frac {{\left (a c + 3 \, b c - 3 \, a d\right )} \log \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {2}{3}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} + 1\right )}{12 \, c^{2}} + \frac {{\left (a c + 3 \, b c - 3 \, a d\right )} \log \left ({\left | {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} - 1 \right |}\right )}{6 \, c^{2}} + \frac {{\left (\sqrt {3} {\left (-c d^{2} + d^{3}\right )}^{\frac {1}{3}} b c - \sqrt {3} {\left (-c d^{2} + d^{3}\right )}^{\frac {1}{3}} a d\right )} \arctan \left (\frac {\sqrt {3} {\left (\left (-\frac {c - d}{d}\right )^{\frac {1}{3}} + 2 \, {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}}\right )}}{3 \, \left (-\frac {c - d}{d}\right )^{\frac {1}{3}}}\right )}{2 \, c^{2} d} + \frac {{\left ({\left (-c d^{2} + d^{3}\right )}^{\frac {1}{3}} b c - {\left (-c d^{2} + d^{3}\right )}^{\frac {1}{3}} a d\right )} \log \left (\left (-\frac {c - d}{d}\right )^{\frac {2}{3}} + \left (-\frac {c - d}{d}\right )^{\frac {1}{3}} {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{3}} + {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {2}{3}}\right )}{4 \, c^{2} d} \]
[In]
[Out]
Timed out. \[ \int \frac {\left (-b+a x^2\right ) \sqrt [3]{-x+x^3}}{-d+c x^2} \, dx=\int \frac {{\left (x^3-x\right )}^{1/3}\,\left (b-a\,x^2\right )}{d-c\,x^2} \,d x \]
[In]
[Out]