Optimal. Leaf size=121 \[ \frac {(1-a) (a+b x+1)^{5/2}}{b^2 \sqrt {-a-b x+1}}+\frac {(3-2 a) \sqrt {-a-b x+1} (a+b x+1)^{3/2}}{2 b^2}+\frac {3 (3-2 a) \sqrt {-a-b x+1} \sqrt {a+b x+1}}{2 b^2}-\frac {3 (3-2 a) \sin ^{-1}(a+b x)}{2 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 121, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {6163, 78, 50, 53, 619, 216} \[ \frac {(1-a) (a+b x+1)^{5/2}}{b^2 \sqrt {-a-b x+1}}+\frac {(3-2 a) \sqrt {-a-b x+1} (a+b x+1)^{3/2}}{2 b^2}+\frac {3 (3-2 a) \sqrt {-a-b x+1} \sqrt {a+b x+1}}{2 b^2}-\frac {3 (3-2 a) \sin ^{-1}(a+b x)}{2 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 53
Rule 78
Rule 216
Rule 619
Rule 6163
Rubi steps
\begin {align*} \int e^{3 \tanh ^{-1}(a+b x)} x \, dx &=\int \frac {x (1+a+b x)^{3/2}}{(1-a-b x)^{3/2}} \, dx\\ &=\frac {(1-a) (1+a+b x)^{5/2}}{b^2 \sqrt {1-a-b x}}-\frac {(3-2 a) \int \frac {(1+a+b x)^{3/2}}{\sqrt {1-a-b x}} \, dx}{b}\\ &=\frac {(3-2 a) \sqrt {1-a-b x} (1+a+b x)^{3/2}}{2 b^2}+\frac {(1-a) (1+a+b x)^{5/2}}{b^2 \sqrt {1-a-b x}}-\frac {(3 (3-2 a)) \int \frac {\sqrt {1+a+b x}}{\sqrt {1-a-b x}} \, dx}{2 b}\\ &=\frac {3 (3-2 a) \sqrt {1-a-b x} \sqrt {1+a+b x}}{2 b^2}+\frac {(3-2 a) \sqrt {1-a-b x} (1+a+b x)^{3/2}}{2 b^2}+\frac {(1-a) (1+a+b x)^{5/2}}{b^2 \sqrt {1-a-b x}}-\frac {(3 (3-2 a)) \int \frac {1}{\sqrt {1-a-b x} \sqrt {1+a+b x}} \, dx}{2 b}\\ &=\frac {3 (3-2 a) \sqrt {1-a-b x} \sqrt {1+a+b x}}{2 b^2}+\frac {(3-2 a) \sqrt {1-a-b x} (1+a+b x)^{3/2}}{2 b^2}+\frac {(1-a) (1+a+b x)^{5/2}}{b^2 \sqrt {1-a-b x}}-\frac {(3 (3-2 a)) \int \frac {1}{\sqrt {(1-a) (1+a)-2 a b x-b^2 x^2}} \, dx}{2 b}\\ &=\frac {3 (3-2 a) \sqrt {1-a-b x} \sqrt {1+a+b x}}{2 b^2}+\frac {(3-2 a) \sqrt {1-a-b x} (1+a+b x)^{3/2}}{2 b^2}+\frac {(1-a) (1+a+b x)^{5/2}}{b^2 \sqrt {1-a-b x}}+\frac {(3 (3-2 a)) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{4 b^2}}} \, dx,x,-2 a b-2 b^2 x\right )}{4 b^3}\\ &=\frac {3 (3-2 a) \sqrt {1-a-b x} \sqrt {1+a+b x}}{2 b^2}+\frac {(3-2 a) \sqrt {1-a-b x} (1+a+b x)^{3/2}}{2 b^2}+\frac {(1-a) (1+a+b x)^{5/2}}{b^2 \sqrt {1-a-b x}}-\frac {3 (3-2 a) \sin ^{-1}(a+b x)}{2 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 142, normalized size = 1.17 \[ \frac {\frac {\sqrt {b} \sqrt {a+b x+1} \left (a^2-15 a-b^2 x^2-5 b x+14\right )}{\sqrt {-a-b x+1}}+12 a \sqrt {-b} \sinh ^{-1}\left (\frac {\sqrt {-b} \sqrt {-a-b x+1}}{\sqrt {2} \sqrt {b}}\right )+18 \sqrt {-b} \sinh ^{-1}\left (\frac {\sqrt {b} \sqrt {-a-b x+1}}{\sqrt {2} \sqrt {-b}}\right )}{2 b^{5/2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.73, size = 131, normalized size = 1.08 \[ -\frac {3 \, {\left ({\left (2 \, a - 3\right )} b x + 2 \, a^{2} - 5 \, a + 3\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 ) - {\left (b^{2} x^{2} - a^{2} + 5 \, b x + 15 \, a - 14\right )} \sqrt {-b^{2} x^{2} - 2 \, a b x - a^{2} + 1}}{2 \, {\left (b^{3} x + {\left (a - 1\right )} b^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 109, normalized size = 0.90 \[ \frac {1}{2} \, \sqrt {-{\left (b x + a\right )}^{2} + 1} {\left (\frac {x}{b} - \frac {a b^{2} - 6 \, b^{2}}{b^{4}}\right )} - \frac {3 \, {\left (2 \, a - 3\right )} \arcsin \left (-b x - a\right ) \mathrm {sgn}\relax (b)}{2 \, b {\left | b \right |}} - \frac {8 \, {\left (a - 1\right )}}{b {\left (\frac {\sqrt {-{\left (b x + a\right )}^{2} + 1} {\left | b \right |} + b}{b^{2} x + a b} - 1\right )} {\left | b \right |}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 381, normalized size = 3.15 \[ -\frac {10 a x}{b \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}+\frac {3 a \arctan \left (\frac {\sqrt {b^{2}}\, \left (x +\frac {a}{b}\right )}{\sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}\right )}{b \sqrt {b^{2}}}+\frac {a^{2} x}{2 b \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}-\frac {3 x^{2}}{\sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}+\frac {7}{b^{2} \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}-\frac {9 \arctan \left (\frac {\sqrt {b^{2}}\, \left (x +\frac {a}{b}\right )}{\sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}\right )}{2 b \sqrt {b^{2}}}-\frac {7 a^{2}}{b^{2} \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}-\frac {a}{2 b^{2} \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}+\frac {9 x}{2 b \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}-\frac {b \,x^{3}}{2 \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}-\frac {a \,x^{2}}{2 \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}}+\frac {a^{3}}{2 b^{2} \sqrt {-b^{2} x^{2}-2 a b x -a^{2}+1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.43, size = 1137, normalized size = 9.40 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x\,{\left (a+b\,x+1\right )}^3}{{\left (1-{\left (a+b\,x\right )}^2\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x \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 \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________