Optimal. Leaf size=68 \[ \frac{2 (a+b x+1)^{3/2}}{b \sqrt{-a-b x+1}}+\frac{3 \sqrt{-a-b x+1} \sqrt{a+b x+1}}{b}-\frac{3 \sin ^{-1}(a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0343045, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.6, Rules used = {6161, 47, 50, 53, 619, 216} \[ \frac{2 (a+b x+1)^{3/2}}{b \sqrt{-a-b x+1}}+\frac{3 \sqrt{-a-b x+1} \sqrt{a+b x+1}}{b}-\frac{3 \sin ^{-1}(a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6161
Rule 47
Rule 50
Rule 53
Rule 619
Rule 216
Rubi steps
\begin{align*} \int e^{3 \tanh ^{-1}(a+b x)} \, dx &=\int \frac{(1+a+b x)^{3/2}}{(1-a-b x)^{3/2}} \, dx\\ &=\frac{2 (1+a+b x)^{3/2}}{b \sqrt{1-a-b x}}-3 \int \frac{\sqrt{1+a+b x}}{\sqrt{1-a-b x}} \, dx\\ &=\frac{3 \sqrt{1-a-b x} \sqrt{1+a+b x}}{b}+\frac{2 (1+a+b x)^{3/2}}{b \sqrt{1-a-b x}}-3 \int \frac{1}{\sqrt{1-a-b x} \sqrt{1+a+b x}} \, dx\\ &=\frac{3 \sqrt{1-a-b x} \sqrt{1+a+b x}}{b}+\frac{2 (1+a+b x)^{3/2}}{b \sqrt{1-a-b x}}-3 \int \frac{1}{\sqrt{(1-a) (1+a)-2 a b x-b^2 x^2}} \, dx\\ &=\frac{3 \sqrt{1-a-b x} \sqrt{1+a+b x}}{b}+\frac{2 (1+a+b x)^{3/2}}{b \sqrt{1-a-b x}}+\frac{3 \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-\frac{x^2}{4 b^2}}} \, dx,x,-2 a b-2 b^2 x\right )}{2 b^2}\\ &=\frac{3 \sqrt{1-a-b x} \sqrt{1+a+b x}}{b}+\frac{2 (1+a+b x)^{3/2}}{b \sqrt{1-a-b x}}-\frac{3 \sin ^{-1}(a+b x)}{b}\\ \end{align*}
Mathematica [A] time = 0.0385456, size = 43, normalized size = 0.63 \[ \frac{\left (1-\frac{4}{a+b x-1}\right ) \sqrt{1-(a+b x)^2}}{b}-\frac{3 \sin ^{-1}(a+b x)}{b} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.037, size = 388, normalized size = 5.7 \begin{align*} 3\,{\frac{x}{\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}+3\,{\frac{a}{b\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}-3\,{\frac{{a}^{2}x}{\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}-3\,{\frac{{a}^{3}}{b\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}+2\,{\frac{ \left ( 1+a \right ) ^{3} \left ( -2\,{b}^{2}x-2\,ab \right ) }{ \left ( -4\,{b}^{2} \left ( -{a}^{2}+1 \right ) -4\,{a}^{2}{b}^{2} \right ) \sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}-{\frac{{a}^{4}}{b}{\frac{1}{\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}}-5\,{\frac{ax}{\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}-4\,{\frac{{a}^{2}}{b\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}-{x{a}^{3}{\frac{1}{\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}}-{b{x}^{2}{\frac{1}{\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}}}-3\,{\frac{1}{\sqrt{{b}^{2}}}\arctan \left ({\frac{\sqrt{{b}^{2}}}{\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}} \left ( x+{\frac{a}{b}} \right ) } \right ) }+5\,{\frac{1}{b\sqrt{-{b}^{2}{x}^{2}-2\,xab-{a}^{2}+1}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.99537, size = 234, normalized size = 3.44 \begin{align*} \frac{3 \,{\left (b x + a - 1\right )} \arctan \left (\frac{\sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}{\left (b x + a\right )}}{b^{2} x^{2} + 2 \, a b x + a^{2} - 1}\right ) + \sqrt{-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}{\left (b x + a - 5\right )}}{b^{2} x +{\left (a - 1\right )} b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b x + 1\right )^{3}}{\left (- \left (a + b x - 1\right ) \left (a + b x + 1\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.24711, size = 101, normalized size = 1.49 \begin{align*} \frac{3 \, \arcsin \left (-b x - a\right ) \mathrm{sgn}\left (b\right )}{{\left | b \right |}} + \frac{\sqrt{-{\left (b x + a\right )}^{2} + 1}}{b} + \frac{8}{{\left (\frac{\sqrt{-{\left (b x + a\right )}^{2} + 1}{\left | b \right |} + b}{b^{2} x + a b} - 1\right )}{\left | b \right |}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]