Optimal. Leaf size=165 \[ -\frac{\left (4 a^2+3\right ) a e^{2 \cosh ^{-1}(a+b x)}}{16 b^4}+\frac{\left (4 a^2+3\right ) a \cosh ^{-1}(a+b x)}{8 b^4}+\frac{\left (6 a^2+1\right ) e^{-\cosh ^{-1}(a+b x)}}{8 b^4}+\frac{\left (6 a^2+1\right ) e^{3 \cosh ^{-1}(a+b x)}}{24 b^4}-\frac{3 a e^{-2 \cosh ^{-1}(a+b x)}}{16 b^4}-\frac{3 a e^{4 \cosh ^{-1}(a+b x)}}{32 b^4}+\frac{e^{-3 \cosh ^{-1}(a+b x)}}{48 b^4}+\frac{e^{5 \cosh ^{-1}(a+b x)}}{80 b^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.16092, antiderivative size = 165, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5899, 2282, 12, 1628} \[ -\frac{\left (4 a^2+3\right ) a e^{2 \cosh ^{-1}(a+b x)}}{16 b^4}+\frac{\left (4 a^2+3\right ) a \cosh ^{-1}(a+b x)}{8 b^4}+\frac{\left (6 a^2+1\right ) e^{-\cosh ^{-1}(a+b x)}}{8 b^4}+\frac{\left (6 a^2+1\right ) e^{3 \cosh ^{-1}(a+b x)}}{24 b^4}-\frac{3 a e^{-2 \cosh ^{-1}(a+b x)}}{16 b^4}-\frac{3 a e^{4 \cosh ^{-1}(a+b x)}}{32 b^4}+\frac{e^{-3 \cosh ^{-1}(a+b x)}}{48 b^4}+\frac{e^{5 \cosh ^{-1}(a+b x)}}{80 b^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5899
Rule 2282
Rule 12
Rule 1628
Rubi steps
\begin{align*} \int e^{\cosh ^{-1}(a+b x)} x^3 \, dx &=\frac{\operatorname{Subst}\left (\int e^x \left (-\frac{a}{b}+\frac{\cosh (x)}{b}\right )^3 \sinh (x) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\left (-1+x^2\right ) \left (1-2 a x+x^2\right )^3}{16 b^3 x^4} \, dx,x,e^{\cosh ^{-1}(a+b x)}\right )}{b}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\left (-1+x^2\right ) \left (1-2 a x+x^2\right )^3}{x^4} \, dx,x,e^{\cosh ^{-1}(a+b x)}\right )}{16 b^4}\\ &=\frac{\operatorname{Subst}\left (\int \left (-\frac{1}{x^4}+\frac{6 a}{x^3}-\frac{2 \left (1+6 a^2\right )}{x^2}+\frac{2 a \left (3+4 a^2\right )}{x}-2 a \left (3+4 a^2\right ) x+2 \left (1+6 a^2\right ) x^2-6 a x^3+x^4\right ) \, dx,x,e^{\cosh ^{-1}(a+b x)}\right )}{16 b^4}\\ &=\frac{e^{-3 \cosh ^{-1}(a+b x)}}{48 b^4}-\frac{3 a e^{-2 \cosh ^{-1}(a+b x)}}{16 b^4}+\frac{\left (1+6 a^2\right ) e^{-\cosh ^{-1}(a+b x)}}{8 b^4}-\frac{a \left (3+4 a^2\right ) e^{2 \cosh ^{-1}(a+b x)}}{16 b^4}+\frac{\left (1+6 a^2\right ) e^{3 \cosh ^{-1}(a+b x)}}{24 b^4}-\frac{3 a e^{4 \cosh ^{-1}(a+b x)}}{32 b^4}+\frac{e^{5 \cosh ^{-1}(a+b x)}}{80 b^4}+\frac{a \left (3+4 a^2\right ) \cosh ^{-1}(a+b x)}{8 b^4}\\ \end{align*}
Mathematica [A] time = 0.0885515, size = 138, normalized size = 0.84 \[ \frac{\sqrt{a+b x-1} \sqrt{a+b x+1} \left (-2 \left (3 a^2+4\right ) b^2 x^2+\left (6 a^2+29\right ) a b x-6 a^4-83 a^2+6 a b^3 x^3+24 b^4 x^4-16\right )+15 a \left (4 a^2+3\right ) \log \left (\sqrt{a+b x-1} \sqrt{a+b x+1}+a+b x\right )+30 a b^4 x^4+24 b^5 x^5}{120 b^4} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.047, size = 376, normalized size = 2.3 \begin{align*}{\frac{{\it csgn} \left ( b \right ) }{120\,{b}^{4}}\sqrt{bx+a-1}\sqrt{bx+a+1} \left ( 24\,{\it csgn} \left ( b \right ){x}^{4}{b}^{4}\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}+6\,{\it csgn} \left ( b \right ){x}^{3}a{b}^{3}\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}-6\,{\it csgn} \left ( b \right ){x}^{2}{a}^{2}{b}^{2}\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}+6\,\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}{\it csgn} \left ( b \right ) x{a}^{3}b-8\,\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}{\it csgn} \left ( b \right ){x}^{2}{b}^{2}-6\,\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}{\it csgn} \left ( b \right ){a}^{4}+29\,\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}{\it csgn} \left ( b \right ) xab-83\,\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}{\it csgn} \left ( b \right ){a}^{2}+60\,\ln \left ( \left ( \sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}{\it csgn} \left ( b \right ) +bx+a \right ){\it csgn} \left ( b \right ) \right ){a}^{3}-16\,\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}{\it csgn} \left ( b \right ) +45\,\ln \left ( \left ( \sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}{\it csgn} \left ( b \right ) +bx+a \right ){\it csgn} \left ( b \right ) \right ) a \right ){\frac{1}{\sqrt{{b}^{2}{x}^{2}+2\,xab+{a}^{2}-1}}}}+{\frac{b{x}^{5}}{5}}+{\frac{{x}^{4}a}{4}} \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.89125, size = 327, normalized size = 1.98 \begin{align*} \frac{24 \, b^{5} x^{5} + 30 \, a b^{4} x^{4} +{\left (24 \, b^{4} x^{4} + 6 \, a b^{3} x^{3} - 2 \,{\left (3 \, a^{2} + 4\right )} b^{2} x^{2} - 6 \, a^{4} +{\left (6 \, a^{3} + 29 \, a\right )} b x - 83 \, a^{2} - 16\right )} \sqrt{b x + a + 1} \sqrt{b x + a - 1} - 15 \,{\left (4 \, a^{3} + 3 \, a\right )} \log \left (-b x + \sqrt{b x + a + 1} \sqrt{b x + a - 1} - a\right )}{120 \, b^{4}} \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 x^{3} \left (a + b x + \sqrt{a + b x - 1} \sqrt{a + b x + 1}\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.27554, size = 348, normalized size = 2.11 \begin{align*} \frac{{\left ({\left (2 \,{\left (b x + a + 1\right )}{\left (3 \,{\left (b x + a + 1\right )}{\left (\frac{4 \,{\left (b x + a + 1\right )}}{b^{3}} - \frac{15 \, a b^{12} + 16 \, b^{12}}{b^{15}}\right )} + \frac{60 \, a^{2} b^{12} + 135 \, a b^{12} + 68 \, b^{12}}{b^{15}}\right )} - \frac{5 \,{\left (12 \, a^{3} b^{12} + 48 \, a^{2} b^{12} + 45 \, a b^{12} + 16 \, b^{12}\right )}}{b^{15}}\right )}{\left (b x + a + 1\right )} + \frac{15 \,{\left (4 \, a^{3} b^{12} + 3 \, a b^{12}\right )}}{b^{15}}\right )} \sqrt{b x + a + 1} \sqrt{b x + a - 1} + 30 \,{\left (b x^{4} - \frac{a^{4} + 4 \, a^{3} + 6 \, a^{2} + 4 \, a + 1}{b^{3}}\right )} a + 24 \,{\left (b x^{5} + \frac{a^{5} + 5 \, a^{4} + 10 \, a^{3} + 10 \, a^{2} + 5 \, a + 1}{b^{4}}\right )} b - \frac{30 \,{\left (4 \, a^{3} + 3 \, a\right )} \log \left ({\left | -\sqrt{b x + a + 1} + \sqrt{b x + a - 1} \right |}\right )}{b^{3}}}{120 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]