Integrand size = 15, antiderivative size = 126 \[ \int \frac {x^{5/2}}{\left (a+b x^2\right )^2} \, dx=-\frac {x^{3/2}}{2 b \left (a+b x^2\right )}+\frac {3 \left (\arctan \left (\frac {\sqrt {2} \sqrt [4]{\frac {a}{b}} \sqrt {x}}{\sqrt {\frac {a}{b}}-x}\right )-\log \left (\frac {\sqrt {\frac {a}{b}}+\sqrt {2} \sqrt [4]{\frac {a}{b}} \sqrt {x}+x}{\sqrt {a+b x^2}}\right )\right )}{4 \sqrt {2} \sqrt [4]{\frac {a}{b}} b^2} \]
[Out]
Time = 0.17 (sec) , antiderivative size = 218, normalized size of antiderivative = 1.73, number of steps used = 11, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.533, Rules used = {294, 335, 303, 1176, 631, 210, 1179, 642} \[ \int \frac {x^{5/2}}{\left (a+b x^2\right )^2} \, dx=-\frac {3 \arctan \left (1-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{4 \sqrt {2} \sqrt [4]{a} b^{7/4}}+\frac {3 \arctan \left (\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}+1\right )}{4 \sqrt {2} \sqrt [4]{a} b^{7/4}}+\frac {3 \log \left (-\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {a}+\sqrt {b} x\right )}{8 \sqrt {2} \sqrt [4]{a} b^{7/4}}-\frac {3 \log \left (\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {a}+\sqrt {b} x\right )}{8 \sqrt {2} \sqrt [4]{a} b^{7/4}}-\frac {x^{3/2}}{2 b \left (a+b x^2\right )} \]
[In]
[Out]
Rule 210
Rule 294
Rule 303
Rule 335
Rule 631
Rule 642
Rule 1176
Rule 1179
Rubi steps \begin{align*} \text {integral}& = -\frac {x^{3/2}}{2 b \left (a+b x^2\right )}+\frac {3 \int \frac {\sqrt {x}}{a+b x^2} \, dx}{4 b} \\ & = -\frac {x^{3/2}}{2 b \left (a+b x^2\right )}+\frac {3 \text {Subst}\left (\int \frac {x^2}{a+b x^4} \, dx,x,\sqrt {x}\right )}{2 b} \\ & = -\frac {x^{3/2}}{2 b \left (a+b x^2\right )}-\frac {3 \text {Subst}\left (\int \frac {\sqrt {a}-\sqrt {b} x^2}{a+b x^4} \, dx,x,\sqrt {x}\right )}{4 b^{3/2}}+\frac {3 \text {Subst}\left (\int \frac {\sqrt {a}+\sqrt {b} x^2}{a+b x^4} \, dx,x,\sqrt {x}\right )}{4 b^{3/2}} \\ & = -\frac {x^{3/2}}{2 b \left (a+b x^2\right )}+\frac {3 \text {Subst}\left (\int \frac {1}{\frac {\sqrt {a}}{\sqrt {b}}-\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt {x}\right )}{8 b^2}+\frac {3 \text {Subst}\left (\int \frac {1}{\frac {\sqrt {a}}{\sqrt {b}}+\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx,x,\sqrt {x}\right )}{8 b^2}+\frac {3 \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{a}}{\sqrt [4]{b}}+2 x}{-\frac {\sqrt {a}}{\sqrt {b}}-\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx,x,\sqrt {x}\right )}{8 \sqrt {2} \sqrt [4]{a} b^{7/4}}+\frac {3 \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{a}}{\sqrt [4]{b}}-2 x}{-\frac {\sqrt {a}}{\sqrt {b}}+\frac {\sqrt {2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx,x,\sqrt {x}\right )}{8 \sqrt {2} \sqrt [4]{a} b^{7/4}} \\ & = -\frac {x^{3/2}}{2 b \left (a+b x^2\right )}+\frac {3 \log \left (\sqrt {a}-\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{8 \sqrt {2} \sqrt [4]{a} b^{7/4}}-\frac {3 \log \left (\sqrt {a}+\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{8 \sqrt {2} \sqrt [4]{a} b^{7/4}}+\frac {3 \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{4 \sqrt {2} \sqrt [4]{a} b^{7/4}}-\frac {3 \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{4 \sqrt {2} \sqrt [4]{a} b^{7/4}} \\ & = -\frac {x^{3/2}}{2 b \left (a+b x^2\right )}-\frac {3 \arctan \left (1-\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{4 \sqrt {2} \sqrt [4]{a} b^{7/4}}+\frac {3 \arctan \left (1+\frac {\sqrt {2} \sqrt [4]{b} \sqrt {x}}{\sqrt [4]{a}}\right )}{4 \sqrt {2} \sqrt [4]{a} b^{7/4}}+\frac {3 \log \left (\sqrt {a}-\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{8 \sqrt {2} \sqrt [4]{a} b^{7/4}}-\frac {3 \log \left (\sqrt {a}+\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}+\sqrt {b} x\right )}{8 \sqrt {2} \sqrt [4]{a} b^{7/4}} \\ \end{align*}
Time = 0.43 (sec) , antiderivative size = 128, normalized size of antiderivative = 1.02 \[ \int \frac {x^{5/2}}{\left (a+b x^2\right )^2} \, dx=\frac {-\frac {4 b^{3/4} x^{3/2}}{a+b x^2}-\frac {3 \sqrt {2} \arctan \left (\frac {\sqrt {a}-\sqrt {b} x}{\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}}\right )}{\sqrt [4]{a}}-\frac {3 \sqrt {2} \text {arctanh}\left (\frac {\sqrt {2} \sqrt [4]{a} \sqrt [4]{b} \sqrt {x}}{\sqrt {a}+\sqrt {b} x}\right )}{\sqrt [4]{a}}}{8 b^{7/4}} \]
[In]
[Out]
Time = 0.09 (sec) , antiderivative size = 124, normalized size of antiderivative = 0.98
method | result | size |
derivativedivides | \(-\frac {x^{\frac {3}{2}}}{2 b \left (x^{2} b +a \right )}+\frac {3 \sqrt {2}\, \left (\ln \left (\frac {x -\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \sqrt {x}+\sqrt {\frac {a}{b}}}{x +\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \sqrt {x}+\sqrt {\frac {a}{b}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}-1\right )\right )}{16 b^{2} \left (\frac {a}{b}\right )^{\frac {1}{4}}}\) | \(124\) |
default | \(-\frac {x^{\frac {3}{2}}}{2 b \left (x^{2} b +a \right )}+\frac {3 \sqrt {2}\, \left (\ln \left (\frac {x -\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \sqrt {x}+\sqrt {\frac {a}{b}}}{x +\left (\frac {a}{b}\right )^{\frac {1}{4}} \sqrt {2}\, \sqrt {x}+\sqrt {\frac {a}{b}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}+1\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {x}}{\left (\frac {a}{b}\right )^{\frac {1}{4}}}-1\right )\right )}{16 b^{2} \left (\frac {a}{b}\right )^{\frac {1}{4}}}\) | \(124\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.26 (sec) , antiderivative size = 200, normalized size of antiderivative = 1.59 \[ \int \frac {x^{5/2}}{\left (a+b x^2\right )^2} \, dx=\frac {3 \, {\left (b^{2} x^{2} + a b\right )} \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{4}} \log \left (a b^{5} \left (-\frac {1}{a b^{7}}\right )^{\frac {3}{4}} + \sqrt {x}\right ) - 3 \, {\left (i \, b^{2} x^{2} + i \, a b\right )} \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{4}} \log \left (i \, a b^{5} \left (-\frac {1}{a b^{7}}\right )^{\frac {3}{4}} + \sqrt {x}\right ) - 3 \, {\left (-i \, b^{2} x^{2} - i \, a b\right )} \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{4}} \log \left (-i \, a b^{5} \left (-\frac {1}{a b^{7}}\right )^{\frac {3}{4}} + \sqrt {x}\right ) - 3 \, {\left (b^{2} x^{2} + a b\right )} \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{4}} \log \left (-a b^{5} \left (-\frac {1}{a b^{7}}\right )^{\frac {3}{4}} + \sqrt {x}\right ) - 4 \, x^{\frac {3}{2}}}{8 \, {\left (b^{2} x^{2} + a b\right )}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 393 vs. \(2 (97) = 194\).
Time = 51.81 (sec) , antiderivative size = 393, normalized size of antiderivative = 3.12 \[ \int \frac {x^{5/2}}{\left (a+b x^2\right )^2} \, dx=\begin {cases} \frac {\tilde {\infty }}{\sqrt {x}} & \text {for}\: a = 0 \wedge b = 0 \\\frac {2 x^{\frac {7}{2}}}{7 a^{2}} & \text {for}\: b = 0 \\- \frac {2}{b^{2} \sqrt {x}} & \text {for}\: a = 0 \\\frac {3 a \log {\left (\sqrt {x} - \sqrt [4]{- \frac {a}{b}} \right )}}{8 a b^{2} \sqrt [4]{- \frac {a}{b}} + 8 b^{3} x^{2} \sqrt [4]{- \frac {a}{b}}} - \frac {3 a \log {\left (\sqrt {x} + \sqrt [4]{- \frac {a}{b}} \right )}}{8 a b^{2} \sqrt [4]{- \frac {a}{b}} + 8 b^{3} x^{2} \sqrt [4]{- \frac {a}{b}}} + \frac {6 a \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {a}{b}}} \right )}}{8 a b^{2} \sqrt [4]{- \frac {a}{b}} + 8 b^{3} x^{2} \sqrt [4]{- \frac {a}{b}}} - \frac {4 b x^{\frac {3}{2}} \sqrt [4]{- \frac {a}{b}}}{8 a b^{2} \sqrt [4]{- \frac {a}{b}} + 8 b^{3} x^{2} \sqrt [4]{- \frac {a}{b}}} + \frac {3 b x^{2} \log {\left (\sqrt {x} - \sqrt [4]{- \frac {a}{b}} \right )}}{8 a b^{2} \sqrt [4]{- \frac {a}{b}} + 8 b^{3} x^{2} \sqrt [4]{- \frac {a}{b}}} - \frac {3 b x^{2} \log {\left (\sqrt {x} + \sqrt [4]{- \frac {a}{b}} \right )}}{8 a b^{2} \sqrt [4]{- \frac {a}{b}} + 8 b^{3} x^{2} \sqrt [4]{- \frac {a}{b}}} + \frac {6 b x^{2} \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [4]{- \frac {a}{b}}} \right )}}{8 a b^{2} \sqrt [4]{- \frac {a}{b}} + 8 b^{3} x^{2} \sqrt [4]{- \frac {a}{b}}} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 195, normalized size of antiderivative = 1.55 \[ \int \frac {x^{5/2}}{\left (a+b x^2\right )^2} \, dx=-\frac {x^{\frac {3}{2}}}{2 \, {\left (b^{2} x^{2} + a b\right )}} + \frac {3 \, {\left (\frac {2 \, \sqrt {2} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} a^{\frac {1}{4}} b^{\frac {1}{4}} + 2 \, \sqrt {b} \sqrt {x}\right )}}{2 \, \sqrt {\sqrt {a} \sqrt {b}}}\right )}{\sqrt {\sqrt {a} \sqrt {b}} \sqrt {b}} + \frac {2 \, \sqrt {2} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} a^{\frac {1}{4}} b^{\frac {1}{4}} - 2 \, \sqrt {b} \sqrt {x}\right )}}{2 \, \sqrt {\sqrt {a} \sqrt {b}}}\right )}{\sqrt {\sqrt {a} \sqrt {b}} \sqrt {b}} - \frac {\sqrt {2} \log \left (\sqrt {2} a^{\frac {1}{4}} b^{\frac {1}{4}} \sqrt {x} + \sqrt {b} x + \sqrt {a}\right )}{a^{\frac {1}{4}} b^{\frac {3}{4}}} + \frac {\sqrt {2} \log \left (-\sqrt {2} a^{\frac {1}{4}} b^{\frac {1}{4}} \sqrt {x} + \sqrt {b} x + \sqrt {a}\right )}{a^{\frac {1}{4}} b^{\frac {3}{4}}}\right )}}{16 \, b} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 199 vs. \(2 (99) = 198\).
Time = 0.26 (sec) , antiderivative size = 199, normalized size of antiderivative = 1.58 \[ \int \frac {x^{5/2}}{\left (a+b x^2\right )^2} \, dx=-\frac {x^{\frac {3}{2}}}{2 \, {\left (b x^{2} + a\right )} b} + \frac {3 \, \sqrt {2} \left (a b^{3}\right )^{\frac {3}{4}} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {a}{b}\right )^{\frac {1}{4}} + 2 \, \sqrt {x}\right )}}{2 \, \left (\frac {a}{b}\right )^{\frac {1}{4}}}\right )}{8 \, a b^{4}} + \frac {3 \, \sqrt {2} \left (a b^{3}\right )^{\frac {3}{4}} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (\frac {a}{b}\right )^{\frac {1}{4}} - 2 \, \sqrt {x}\right )}}{2 \, \left (\frac {a}{b}\right )^{\frac {1}{4}}}\right )}{8 \, a b^{4}} - \frac {3 \, \sqrt {2} \left (a b^{3}\right )^{\frac {3}{4}} \log \left (\sqrt {2} \sqrt {x} \left (\frac {a}{b}\right )^{\frac {1}{4}} + x + \sqrt {\frac {a}{b}}\right )}{16 \, a b^{4}} + \frac {3 \, \sqrt {2} \left (a b^{3}\right )^{\frac {3}{4}} \log \left (-\sqrt {2} \sqrt {x} \left (\frac {a}{b}\right )^{\frac {1}{4}} + x + \sqrt {\frac {a}{b}}\right )}{16 \, a b^{4}} \]
[In]
[Out]
Time = 0.09 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.51 \[ \int \frac {x^{5/2}}{\left (a+b x^2\right )^2} \, dx=\frac {3\,\mathrm {atan}\left (\frac {b^{1/4}\,\sqrt {x}}{{\left (-a\right )}^{1/4}}\right )}{4\,{\left (-a\right )}^{1/4}\,b^{7/4}}-\frac {x^{3/2}}{2\,b\,\left (b\,x^2+a\right )}-\frac {3\,\mathrm {atanh}\left (\frac {b^{1/4}\,\sqrt {x}}{{\left (-a\right )}^{1/4}}\right )}{4\,{\left (-a\right )}^{1/4}\,b^{7/4}} \]
[In]
[Out]