Integrand size = 19, antiderivative size = 130 \[ \int \frac {1}{x^2 \left (a+b \sqrt {c+d x}\right )} \, dx=-\frac {a-b \sqrt {c+d x}}{\left (a^2-b^2 c\right ) x}+\frac {b \left (a^2+b^2 c\right ) d \text {arctanh}\left (\frac {\sqrt {c+d x}}{\sqrt {c}}\right )}{\sqrt {c} \left (a^2-b^2 c\right )^2}+\frac {a b^2 d \log (x)}{\left (a^2-b^2 c\right )^2}-\frac {2 a b^2 d \log \left (a+b \sqrt {c+d x}\right )}{\left (a^2-b^2 c\right )^2} \]
[Out]
Time = 0.12 (sec) , antiderivative size = 130, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.368, Rules used = {378, 1412, 837, 815, 649, 212, 266} \[ \int \frac {1}{x^2 \left (a+b \sqrt {c+d x}\right )} \, dx=\frac {b d \left (a^2+b^2 c\right ) \text {arctanh}\left (\frac {\sqrt {c+d x}}{\sqrt {c}}\right )}{\sqrt {c} \left (a^2-b^2 c\right )^2}-\frac {a-b \sqrt {c+d x}}{x \left (a^2-b^2 c\right )}+\frac {a b^2 d \log (x)}{\left (a^2-b^2 c\right )^2}-\frac {2 a b^2 d \log \left (a+b \sqrt {c+d x}\right )}{\left (a^2-b^2 c\right )^2} \]
[In]
[Out]
Rule 212
Rule 266
Rule 378
Rule 649
Rule 815
Rule 837
Rule 1412
Rubi steps \begin{align*} \text {integral}& = d \text {Subst}\left (\int \frac {1}{\left (a+b \sqrt {x}\right ) (-c+x)^2} \, dx,x,c+d x\right ) \\ & = (2 d) \text {Subst}\left (\int \frac {x}{(a+b x) \left (-c+x^2\right )^2} \, dx,x,\sqrt {c+d x}\right ) \\ & = -\frac {a-b \sqrt {c+d x}}{\left (a^2-b^2 c\right ) x}+\frac {d \text {Subst}\left (\int \frac {-a b c+b^2 c x}{(a+b x) \left (-c+x^2\right )} \, dx,x,\sqrt {c+d x}\right )}{c \left (a^2-b^2 c\right )} \\ & = -\frac {a-b \sqrt {c+d x}}{\left (a^2-b^2 c\right ) x}+\frac {d \text {Subst}\left (\int \left (-\frac {2 a b^3 c}{\left (a^2-b^2 c\right ) (a+b x)}-\frac {b c \left (a^2+b^2 c-2 a b x\right )}{\left (-a^2+b^2 c\right ) \left (c-x^2\right )}\right ) \, dx,x,\sqrt {c+d x}\right )}{c \left (a^2-b^2 c\right )} \\ & = -\frac {a-b \sqrt {c+d x}}{\left (a^2-b^2 c\right ) x}-\frac {2 a b^2 d \log \left (a+b \sqrt {c+d x}\right )}{\left (a^2-b^2 c\right )^2}+\frac {(b d) \text {Subst}\left (\int \frac {a^2+b^2 c-2 a b x}{c-x^2} \, dx,x,\sqrt {c+d x}\right )}{\left (a^2-b^2 c\right )^2} \\ & = -\frac {a-b \sqrt {c+d x}}{\left (a^2-b^2 c\right ) x}-\frac {2 a b^2 d \log \left (a+b \sqrt {c+d x}\right )}{\left (a^2-b^2 c\right )^2}-\frac {\left (2 a b^2 d\right ) \text {Subst}\left (\int \frac {x}{c-x^2} \, dx,x,\sqrt {c+d x}\right )}{\left (a^2-b^2 c\right )^2}+\frac {\left (b \left (a^2+b^2 c\right ) d\right ) \text {Subst}\left (\int \frac {1}{c-x^2} \, dx,x,\sqrt {c+d x}\right )}{\left (a^2-b^2 c\right )^2} \\ & = -\frac {a-b \sqrt {c+d x}}{\left (a^2-b^2 c\right ) x}+\frac {b \left (a^2+b^2 c\right ) d \tanh ^{-1}\left (\frac {\sqrt {c+d x}}{\sqrt {c}}\right )}{\sqrt {c} \left (a^2-b^2 c\right )^2}+\frac {a b^2 d \log (x)}{\left (a^2-b^2 c\right )^2}-\frac {2 a b^2 d \log \left (a+b \sqrt {c+d x}\right )}{\left (a^2-b^2 c\right )^2} \\ \end{align*}
Time = 0.17 (sec) , antiderivative size = 118, normalized size of antiderivative = 0.91 \[ \int \frac {1}{x^2 \left (a+b \sqrt {c+d x}\right )} \, dx=\frac {b \left (a^2+b^2 c\right ) d x \text {arctanh}\left (\frac {\sqrt {c+d x}}{\sqrt {c}}\right )+\sqrt {c} \left (-\left (\left (a^2-b^2 c\right ) \left (a-b \sqrt {c+d x}\right )\right )+a b^2 d x \log (-d x)-2 a b^2 d x \log \left (a+b \sqrt {c+d x}\right )\right )}{\sqrt {c} \left (a^2-b^2 c\right )^2 x} \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 128, normalized size of antiderivative = 0.98
method | result | size |
derivativedivides | \(2 d \left (-\frac {a \,b^{2} \ln \left (a +b \sqrt {d x +c}\right )}{\left (-b^{2} c +a^{2}\right )^{2}}+\frac {-\frac {\left (\frac {1}{2} b^{3} c -\frac {1}{2} a^{2} b \right ) \sqrt {d x +c}-\frac {a \,b^{2} c}{2}+\frac {a^{3}}{2}}{d x}+\frac {b \left (a b \ln \left (-d x \right )+\frac {\left (b^{2} c +a^{2}\right ) \operatorname {arctanh}\left (\frac {\sqrt {d x +c}}{\sqrt {c}}\right )}{\sqrt {c}}\right )}{2}}{\left (-b^{2} c +a^{2}\right )^{2}}\right )\) | \(128\) |
default | \(2 d \left (-\frac {a \,b^{2} \ln \left (a +b \sqrt {d x +c}\right )}{\left (-b^{2} c +a^{2}\right )^{2}}+\frac {-\frac {\left (\frac {1}{2} b^{3} c -\frac {1}{2} a^{2} b \right ) \sqrt {d x +c}-\frac {a \,b^{2} c}{2}+\frac {a^{3}}{2}}{d x}+\frac {b \left (a b \ln \left (-d x \right )+\frac {\left (b^{2} c +a^{2}\right ) \operatorname {arctanh}\left (\frac {\sqrt {d x +c}}{\sqrt {c}}\right )}{\sqrt {c}}\right )}{2}}{\left (-b^{2} c +a^{2}\right )^{2}}\right )\) | \(128\) |
[In]
[Out]
none
Time = 0.34 (sec) , antiderivative size = 283, normalized size of antiderivative = 2.18 \[ \int \frac {1}{x^2 \left (a+b \sqrt {c+d x}\right )} \, dx=\left [-\frac {4 \, a b^{2} c d x \log \left (\sqrt {d x + c} b + a\right ) - 2 \, a b^{2} c d x \log \left (x\right ) - 2 \, a b^{2} c^{2} - {\left (b^{3} c + a^{2} b\right )} \sqrt {c} d x \log \left (\frac {d x + 2 \, \sqrt {d x + c} \sqrt {c} + 2 \, c}{x}\right ) + 2 \, a^{3} c + 2 \, {\left (b^{3} c^{2} - a^{2} b c\right )} \sqrt {d x + c}}{2 \, {\left (b^{4} c^{3} - 2 \, a^{2} b^{2} c^{2} + a^{4} c\right )} x}, -\frac {2 \, a b^{2} c d x \log \left (\sqrt {d x + c} b + a\right ) - a b^{2} c d x \log \left (x\right ) - a b^{2} c^{2} + {\left (b^{3} c + a^{2} b\right )} \sqrt {-c} d x \arctan \left (\frac {\sqrt {d x + c} \sqrt {-c}}{c}\right ) + a^{3} c + {\left (b^{3} c^{2} - a^{2} b c\right )} \sqrt {d x + c}}{{\left (b^{4} c^{3} - 2 \, a^{2} b^{2} c^{2} + a^{4} c\right )} x}\right ] \]
[In]
[Out]
\[ \int \frac {1}{x^2 \left (a+b \sqrt {c+d x}\right )} \, dx=\int \frac {1}{x^{2} \left (a + b \sqrt {c + d x}\right )}\, dx \]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 191, normalized size of antiderivative = 1.47 \[ \int \frac {1}{x^2 \left (a+b \sqrt {c+d x}\right )} \, dx=\frac {1}{2} \, {\left (\frac {2 \, a b^{2} \log \left (d x\right )}{b^{4} c^{2} - 2 \, a^{2} b^{2} c + a^{4}} - \frac {4 \, a b^{2} \log \left (\sqrt {d x + c} b + a\right )}{b^{4} c^{2} - 2 \, a^{2} b^{2} c + a^{4}} - \frac {{\left (b^{3} c + a^{2} b\right )} \log \left (\frac {\sqrt {d x + c} - \sqrt {c}}{\sqrt {d x + c} + \sqrt {c}}\right )}{{\left (b^{4} c^{2} - 2 \, a^{2} b^{2} c + a^{4}\right )} \sqrt {c}} + \frac {2 \, {\left (\sqrt {d x + c} b - a\right )}}{b^{2} c^{2} - a^{2} c - {\left (b^{2} c - a^{2}\right )} {\left (d x + c\right )}}\right )} d \]
[In]
[Out]
none
Time = 0.35 (sec) , antiderivative size = 191, normalized size of antiderivative = 1.47 \[ \int \frac {1}{x^2 \left (a+b \sqrt {c+d x}\right )} \, dx=-\frac {2 \, a b^{3} d \log \left ({\left | \sqrt {d x + c} b + a \right |}\right )}{b^{5} c^{2} - 2 \, a^{2} b^{3} c + a^{4} b} + \frac {a b^{2} d \log \left (-d x\right )}{b^{4} c^{2} - 2 \, a^{2} b^{2} c + a^{4}} - \frac {{\left (b^{3} c d + a^{2} b d\right )} \arctan \left (\frac {\sqrt {d x + c}}{\sqrt {-c}}\right )}{{\left (b^{4} c^{2} - 2 \, a^{2} b^{2} c + a^{4}\right )} \sqrt {-c}} + \frac {a b^{2} c d - a^{3} d - {\left (b^{3} c d - a^{2} b d\right )} \sqrt {d x + c}}{{\left (b^{2} c - a^{2}\right )}^{2} d x} \]
[In]
[Out]
Time = 18.52 (sec) , antiderivative size = 220, normalized size of antiderivative = 1.69 \[ \int \frac {1}{x^2 \left (a+b \sqrt {c+d x}\right )} \, dx=\frac {\ln \left (\sqrt {c+d\,x}-\sqrt {c}\right )\,\left (4\,a\,b^2\,c\,d-b\,\sqrt {c}\,d\,\left (2\,a^2+2\,c\,b^2\right )\right )}{4\,a^4\,c-8\,a^2\,b^2\,c^2+4\,b^4\,c^3}+\frac {\ln \left (\sqrt {c+d\,x}+\sqrt {c}\right )\,\left (4\,a\,b^2\,c\,d+b\,\sqrt {c}\,d\,\left (2\,a^2+2\,c\,b^2\right )\right )}{4\,a^4\,c-8\,a^2\,b^2\,c^2+4\,b^4\,c^3}+\frac {\frac {a\,d}{b^2\,c-a^2}-\frac {b\,d\,\sqrt {c+d\,x}}{b^2\,c-a^2}}{d\,x}-\frac {2\,a\,b^2\,d\,\ln \left (a+b\,\sqrt {c+d\,x}\right )}{{\left (b^2\,c-a^2\right )}^2} \]
[In]
[Out]