Integrand size = 15, antiderivative size = 47 \[ \int \frac {1}{b x+c (d+e x)^2} \, dx=-\frac {2 \text {arctanh}\left (\frac {b+2 c e (d+e x)}{\sqrt {b} \sqrt {b+4 c d e}}\right )}{\sqrt {b} \sqrt {b+4 c d e}} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2006, 632, 212} \[ \int \frac {1}{b x+c (d+e x)^2} \, dx=-\frac {2 \text {arctanh}\left (\frac {b+2 c e (d+e x)}{\sqrt {b} \sqrt {b+4 c d e}}\right )}{\sqrt {b} \sqrt {b+4 c d e}} \]
[In]
[Out]
Rule 212
Rule 632
Rule 2006
Rubi steps \begin{align*} \text {integral}& = \int \frac {1}{c d^2+(b+2 c d e) x+c e^2 x^2} \, dx \\ & = -\left (2 \text {Subst}\left (\int \frac {1}{b (b+4 c d e)-x^2} \, dx,x,b+2 c d e+2 c e^2 x\right )\right ) \\ & = -\frac {2 \tanh ^{-1}\left (\frac {b+2 c e (d+e x)}{\sqrt {b} \sqrt {b+4 c d e}}\right )}{\sqrt {b} \sqrt {b+4 c d e}} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.00 \[ \int \frac {1}{b x+c (d+e x)^2} \, dx=-\frac {2 \text {arctanh}\left (\frac {b+2 c e (d+e x)}{\sqrt {b} \sqrt {b+4 c d e}}\right )}{\sqrt {b} \sqrt {b+4 c d e}} \]
[In]
[Out]
Time = 1.29 (sec) , antiderivative size = 43, normalized size of antiderivative = 0.91
method | result | size |
default | \(-\frac {2 \,\operatorname {arctanh}\left (\frac {2 c \,e^{2} x +2 d c e +b}{\sqrt {4 b c d e +b^{2}}}\right )}{\sqrt {4 b c d e +b^{2}}}\) | \(43\) |
risch | \(\frac {\ln \left (-2 c \,e^{2} x -2 d c e +\sqrt {b \left (4 d c e +b \right )}-b \right )}{\sqrt {b \left (4 d c e +b \right )}}-\frac {\ln \left (2 c \,e^{2} x +2 d c e +\sqrt {b \left (4 d c e +b \right )}+b \right )}{\sqrt {b \left (4 d c e +b \right )}}\) | \(81\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 190, normalized size of antiderivative = 4.04 \[ \int \frac {1}{b x+c (d+e x)^2} \, dx=\left [\frac {\log \left (\frac {2 \, c^{2} e^{4} x^{2} + 2 \, c^{2} d^{2} e^{2} + 4 \, b c d e + b^{2} + 2 \, {\left (2 \, c^{2} d e^{3} + b c e^{2}\right )} x - \sqrt {4 \, b c d e + b^{2}} {\left (2 \, c e^{2} x + 2 \, c d e + b\right )}}{c e^{2} x^{2} + c d^{2} + {\left (2 \, c d e + b\right )} x}\right )}{\sqrt {4 \, b c d e + b^{2}}}, \frac {2 \, \sqrt {-4 \, b c d e - b^{2}} \arctan \left (\frac {\sqrt {-4 \, b c d e - b^{2}} {\left (2 \, c e^{2} x + 2 \, c d e + b\right )}}{4 \, b c d e + b^{2}}\right )}{4 \, b c d e + b^{2}}\right ] \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 151 vs. \(2 (49) = 98\).
Time = 0.16 (sec) , antiderivative size = 151, normalized size of antiderivative = 3.21 \[ \int \frac {1}{b x+c (d+e x)^2} \, dx=\sqrt {\frac {1}{b \left (b + 4 c d e\right )}} \log {\left (x + \frac {- b^{2} \sqrt {\frac {1}{b \left (b + 4 c d e\right )}} - 4 b c d e \sqrt {\frac {1}{b \left (b + 4 c d e\right )}} + b + 2 c d e}{2 c e^{2}} \right )} - \sqrt {\frac {1}{b \left (b + 4 c d e\right )}} \log {\left (x + \frac {b^{2} \sqrt {\frac {1}{b \left (b + 4 c d e\right )}} + 4 b c d e \sqrt {\frac {1}{b \left (b + 4 c d e\right )}} + b + 2 c d e}{2 c e^{2}} \right )} \]
[In]
[Out]
Exception generated. \[ \int \frac {1}{b x+c (d+e x)^2} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 46, normalized size of antiderivative = 0.98 \[ \int \frac {1}{b x+c (d+e x)^2} \, dx=\frac {2 \, \arctan \left (\frac {2 \, c e^{2} x + 2 \, c d e + b}{\sqrt {-4 \, b c d e - b^{2}}}\right )}{\sqrt {-4 \, b c d e - b^{2}}} \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.89 \[ \int \frac {1}{b x+c (d+e x)^2} \, dx=-\frac {2\,\mathrm {atanh}\left (\frac {2\,c\,x\,e^2+2\,c\,d\,e+b}{\sqrt {b}\,\sqrt {b+4\,c\,d\,e}}\right )}{\sqrt {b}\,\sqrt {b+4\,c\,d\,e}} \]
[In]
[Out]