Optimal. Leaf size=411 \[ -\frac {e^{a/b} \sqrt {\pi } \text {Erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}+\frac {c^2 e^{a/b} \sqrt {\pi } \text {Erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {c e^{\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {Erf}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {e^{\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}-\frac {e^{-\frac {a}{b}} \sqrt {\pi } \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}+\frac {c^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}-\frac {c e^{-\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {Erfi}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {e^{-\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.64, antiderivative size = 411, normalized size of antiderivative = 1.00, number of steps
used = 20, number of rules used = 9, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5859, 5830,
6873, 6874, 5407, 2236, 2235, 5406, 5737} \begin {gather*} \frac {\sqrt {\pi } c^2 e^{a/b} \text {Erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {\sqrt {\pi } c^2 e^{-\frac {a}{b}} \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {\sqrt {\frac {\pi }{2}} c e^{\frac {2 a}{b}} \text {Erf}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}-\frac {\sqrt {\pi } e^{a/b} \text {Erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}+\frac {\sqrt {\frac {\pi }{3}} e^{\frac {3 a}{b}} \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}-\frac {\sqrt {\frac {\pi }{2}} c e^{-\frac {2 a}{b}} \text {Erfi}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}-\frac {\sqrt {\pi } e^{-\frac {a}{b}} \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}+\frac {\sqrt {\frac {\pi }{3}} e^{-\frac {3 a}{b}} \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2235
Rule 2236
Rule 5406
Rule 5407
Rule 5737
Rule 5830
Rule 5859
Rule 6873
Rule 6874
Rubi steps
\begin {align*} \int \frac {x^2}{\sqrt {a+b \sinh ^{-1}(c+d x)}} \, dx &=\frac {\text {Subst}\left (\int \frac {\left (-\frac {c}{d}+\frac {x}{d}\right )^2}{\sqrt {a+b \sinh ^{-1}(x)}} \, dx,x,c+d x\right )}{d}\\ &=\frac {\text {Subst}\left (\int \frac {\cosh (x) \left (-\frac {c}{d}+\frac {\sinh (x)}{d}\right )^2}{\sqrt {a+b x}} \, dx,x,\sinh ^{-1}(c+d x)\right )}{d}\\ &=\frac {2 \text {Subst}\left (\int \cosh \left (\frac {a-x^2}{b}\right ) \left (c+\sinh \left (\frac {a-x^2}{b}\right )\right )^2 \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}\\ &=\frac {2 \text {Subst}\left (\int \cosh \left (\frac {a}{b}-\frac {x^2}{b}\right ) \left (c+\sinh \left (\frac {a-x^2}{b}\right )\right )^2 \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}\\ &=\frac {2 \text {Subst}\left (\int \left (c^2 \cosh \left (\frac {a}{b}-\frac {x^2}{b}\right )+c \sinh \left (\frac {2 a}{b}-\frac {2 x^2}{b}\right )+\cosh \left (\frac {a}{b}-\frac {x^2}{b}\right ) \sinh ^2\left (\frac {a}{b}-\frac {x^2}{b}\right )\right ) \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}\\ &=\frac {2 \text {Subst}\left (\int \cosh \left (\frac {a}{b}-\frac {x^2}{b}\right ) \sinh ^2\left (\frac {a}{b}-\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}+\frac {(2 c) \text {Subst}\left (\int \sinh \left (\frac {2 a}{b}-\frac {2 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}+\frac {\left (2 c^2\right ) \text {Subst}\left (\int \cosh \left (\frac {a}{b}-\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}\\ &=\frac {2 \text {Subst}\left (\int \left (\frac {1}{4} \cosh \left (\frac {3 a}{b}-\frac {3 x^2}{b}\right )-\frac {1}{4} \cosh \left (\frac {a}{b}-\frac {x^2}{b}\right )\right ) \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}+\frac {c \text {Subst}\left (\int e^{\frac {2 a}{b}-\frac {2 x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}-\frac {c \text {Subst}\left (\int e^{-\frac {2 a}{b}+\frac {2 x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}+\frac {c^2 \text {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}+\frac {c^2 \text {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{b d^3}\\ &=\frac {c^2 e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {c e^{\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erf}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {c^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}-\frac {c e^{-\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erfi}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {\text {Subst}\left (\int \cosh \left (\frac {3 a}{b}-\frac {3 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{2 b d^3}-\frac {\text {Subst}\left (\int \cosh \left (\frac {a}{b}-\frac {x^2}{b}\right ) \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{2 b d^3}\\ &=\frac {c^2 e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {c e^{\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erf}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {c^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}-\frac {c e^{-\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erfi}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {\text {Subst}\left (\int e^{\frac {3 a}{b}-\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{4 b d^3}-\frac {\text {Subst}\left (\int e^{\frac {a}{b}-\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{4 b d^3}-\frac {\text {Subst}\left (\int e^{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{4 b d^3}+\frac {\text {Subst}\left (\int e^{-\frac {3 a}{b}+\frac {3 x^2}{b}} \, dx,x,\sqrt {a+b \sinh ^{-1}(c+d x)}\right )}{4 b d^3}\\ &=-\frac {e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}+\frac {c^2 e^{a/b} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {c e^{\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erf}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {e^{\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erf}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}-\frac {e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}+\frac {c^2 e^{-\frac {a}{b}} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}-\frac {c e^{-\frac {2 a}{b}} \sqrt {\frac {\pi }{2}} \text {erfi}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{2 \sqrt {b} d^3}+\frac {e^{-\frac {3 a}{b}} \sqrt {\frac {\pi }{3}} \text {erfi}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )}{8 \sqrt {b} d^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.73, size = 471, normalized size = 1.15 \begin {gather*} \frac {\sqrt {\pi } \left (\sqrt {3} \cosh \left (\frac {3 a}{b}\right ) \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )-3 \cosh \left (\frac {a}{b}\right ) \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )+12 c^2 \cosh \left (\frac {a}{b}\right ) \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )-6 \sqrt {2} c \cosh \left (\frac {2 a}{b}\right ) \text {Erfi}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )+\sqrt {3} \cosh \left (\frac {3 a}{b}\right ) \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right )+3 \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right ) \sinh \left (\frac {a}{b}\right )-12 c^2 \text {Erfi}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right ) \sinh \left (\frac {a}{b}\right )+3 \left (-1+4 c^2\right ) \text {Erf}\left (\frac {\sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {a}{b}\right )+\sinh \left (\frac {a}{b}\right )\right )+6 \sqrt {2} c \text {Erfi}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right ) \sinh \left (\frac {2 a}{b}\right )+6 \sqrt {2} c \text {Erf}\left (\frac {\sqrt {2} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right ) \left (\cosh \left (\frac {2 a}{b}\right )+\sinh \left (\frac {2 a}{b}\right )\right )+\sqrt {3} \text {Erf}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right ) \sinh \left (\frac {3 a}{b}\right )-\sqrt {3} \text {Erfi}\left (\frac {\sqrt {3} \sqrt {a+b \sinh ^{-1}(c+d x)}}{\sqrt {b}}\right ) \sinh \left (\frac {3 a}{b}\right )\right )}{24 \sqrt {b} d^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {x^{2}}{\sqrt {a +b \arcsinh \left (d x +c \right )}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\sqrt {a + b \operatorname {asinh}{\left (c + d x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^2}{\sqrt {a+b\,\mathrm {asinh}\left (c+d\,x\right )}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________