Optimal. Leaf size=171 \[ \frac{3 \sqrt{\pi } e^{-d} f^a \text{Erf}\left (x \sqrt{f-c \log (f)}\right )}{16 \sqrt{f-c \log (f)}}-\frac{\sqrt{\pi } e^{-3 d} f^a \text{Erf}\left (x \sqrt{3 f-c \log (f)}\right )}{16 \sqrt{3 f-c \log (f)}}-\frac{3 \sqrt{\pi } e^d f^a \text{Erfi}\left (x \sqrt{c \log (f)+f}\right )}{16 \sqrt{c \log (f)+f}}+\frac{\sqrt{\pi } e^{3 d} f^a \text{Erfi}\left (x \sqrt{c \log (f)+3 f}\right )}{16 \sqrt{c \log (f)+3 f}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.300349, antiderivative size = 171, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 4, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {5512, 2287, 2205, 2204} \[ \frac{3 \sqrt{\pi } e^{-d} f^a \text{Erf}\left (x \sqrt{f-c \log (f)}\right )}{16 \sqrt{f-c \log (f)}}-\frac{\sqrt{\pi } e^{-3 d} f^a \text{Erf}\left (x \sqrt{3 f-c \log (f)}\right )}{16 \sqrt{3 f-c \log (f)}}-\frac{3 \sqrt{\pi } e^d f^a \text{Erfi}\left (x \sqrt{c \log (f)+f}\right )}{16 \sqrt{c \log (f)+f}}+\frac{\sqrt{\pi } e^{3 d} f^a \text{Erfi}\left (x \sqrt{c \log (f)+3 f}\right )}{16 \sqrt{c \log (f)+3 f}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5512
Rule 2287
Rule 2205
Rule 2204
Rubi steps
\begin{align*} \int f^{a+c x^2} \sinh ^3\left (d+f x^2\right ) \, dx &=\int \left (-\frac{1}{8} e^{-3 d-3 f x^2} f^{a+c x^2}+\frac{3}{8} e^{-d-f x^2} f^{a+c x^2}-\frac{3}{8} e^{d+f x^2} f^{a+c x^2}+\frac{1}{8} e^{3 d+3 f x^2} f^{a+c x^2}\right ) \, dx\\ &=-\left (\frac{1}{8} \int e^{-3 d-3 f x^2} f^{a+c x^2} \, dx\right )+\frac{1}{8} \int e^{3 d+3 f x^2} f^{a+c x^2} \, dx+\frac{3}{8} \int e^{-d-f x^2} f^{a+c x^2} \, dx-\frac{3}{8} \int e^{d+f x^2} f^{a+c x^2} \, dx\\ &=-\left (\frac{1}{8} \int e^{-3 d+a \log (f)-x^2 (3 f-c \log (f))} \, dx\right )+\frac{1}{8} \int e^{3 d+a \log (f)+x^2 (3 f+c \log (f))} \, dx+\frac{3}{8} \int e^{-d+a \log (f)-x^2 (f-c \log (f))} \, dx-\frac{3}{8} \int e^{d+a \log (f)+x^2 (f+c \log (f))} \, dx\\ &=\frac{3 e^{-d} f^a \sqrt{\pi } \text{erf}\left (x \sqrt{f-c \log (f)}\right )}{16 \sqrt{f-c \log (f)}}-\frac{e^{-3 d} f^a \sqrt{\pi } \text{erf}\left (x \sqrt{3 f-c \log (f)}\right )}{16 \sqrt{3 f-c \log (f)}}-\frac{3 e^d f^a \sqrt{\pi } \text{erfi}\left (x \sqrt{f+c \log (f)}\right )}{16 \sqrt{f+c \log (f)}}+\frac{e^{3 d} f^a \sqrt{\pi } \text{erfi}\left (x \sqrt{3 f+c \log (f)}\right )}{16 \sqrt{3 f+c \log (f)}}\\ \end{align*}
Mathematica [A] time = 1.20654, size = 272, normalized size = 1.59 \[ \frac{\sqrt{\pi } f^a \left (3 \sqrt{f-c \log (f)} \left (-c^2 f \log ^2(f)-c^3 \log ^3(f)+9 c f^2 \log (f)+9 f^3\right ) (\cosh (d)-\sinh (d)) \text{Erf}\left (x \sqrt{f-c \log (f)}\right )-(f-c \log (f)) \left (\sqrt{3 f-c \log (f)} \left (c^2 \log ^2(f)+4 c f \log (f)+3 f^2\right ) (\cosh (3 d)-\sinh (3 d)) \text{Erf}\left (x \sqrt{3 f-c \log (f)}\right )+(3 f-c \log (f)) \left (3 \sqrt{c \log (f)+f} (c \log (f)+3 f) (\sinh (d)+\cosh (d)) \text{Erfi}\left (x \sqrt{c \log (f)+f}\right )-(c \log (f)+f) \sqrt{c \log (f)+3 f} (\sinh (3 d)+\cosh (3 d)) \text{Erfi}\left (x \sqrt{c \log (f)+3 f}\right )\right )\right )\right )}{16 \left (-10 c^2 f^2 \log ^2(f)+c^4 \log ^4(f)+9 f^4\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.125, size = 144, normalized size = 0.8 \begin{align*}{\frac{\sqrt{\pi }{f}^{a}{{\rm e}^{3\,d}}}{16}{\it Erf} \left ( \sqrt{-c\ln \left ( f \right ) -3\,f}x \right ){\frac{1}{\sqrt{-c\ln \left ( f \right ) -3\,f}}}}-{\frac{\sqrt{\pi }{f}^{a}{{\rm e}^{-3\,d}}}{16}{\it Erf} \left ( x\sqrt{3\,f-c\ln \left ( f \right ) } \right ){\frac{1}{\sqrt{3\,f-c\ln \left ( f \right ) }}}}+{\frac{3\,\sqrt{\pi }{f}^{a}{{\rm e}^{-d}}}{16}{\it Erf} \left ( x\sqrt{f-c\ln \left ( f \right ) } \right ){\frac{1}{\sqrt{f-c\ln \left ( f \right ) }}}}-{\frac{3\,\sqrt{\pi }{f}^{a}{{\rm e}^{d}}}{16}{\it Erf} \left ( \sqrt{-c\ln \left ( f \right ) -f}x \right ){\frac{1}{\sqrt{-c\ln \left ( f \right ) -f}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.07553, size = 193, normalized size = 1.13 \begin{align*} \frac{\sqrt{\pi } f^{a} \operatorname{erf}\left (\sqrt{-c \log \left (f\right ) - 3 \, f} x\right ) e^{\left (3 \, d\right )}}{16 \, \sqrt{-c \log \left (f\right ) - 3 \, f}} + \frac{3 \, \sqrt{\pi } f^{a} \operatorname{erf}\left (\sqrt{-c \log \left (f\right ) + f} x\right ) e^{\left (-d\right )}}{16 \, \sqrt{-c \log \left (f\right ) + f}} - \frac{\sqrt{\pi } f^{a} \operatorname{erf}\left (\sqrt{-c \log \left (f\right ) + 3 \, f} x\right ) e^{\left (-3 \, d\right )}}{16 \, \sqrt{-c \log \left (f\right ) + 3 \, f}} - \frac{3 \, \sqrt{\pi } f^{a} \operatorname{erf}\left (\sqrt{-c \log \left (f\right ) - f} x\right ) e^{d}}{16 \, \sqrt{-c \log \left (f\right ) - f}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.08304, size = 1300, normalized size = 7.6 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.31044, size = 209, normalized size = 1.22 \begin{align*} -\frac{\sqrt{\pi } \operatorname{erf}\left (-\sqrt{-c \log \left (f\right ) - 3 \, f} x\right ) e^{\left (a \log \left (f\right ) + 3 \, d\right )}}{16 \, \sqrt{-c \log \left (f\right ) - 3 \, f}} + \frac{3 \, \sqrt{\pi } \operatorname{erf}\left (-\sqrt{-c \log \left (f\right ) - f} x\right ) e^{\left (a \log \left (f\right ) + d\right )}}{16 \, \sqrt{-c \log \left (f\right ) - f}} - \frac{3 \, \sqrt{\pi } \operatorname{erf}\left (-\sqrt{-c \log \left (f\right ) + f} x\right ) e^{\left (a \log \left (f\right ) - d\right )}}{16 \, \sqrt{-c \log \left (f\right ) + f}} + \frac{\sqrt{\pi } \operatorname{erf}\left (-\sqrt{-c \log \left (f\right ) + 3 \, f} x\right ) e^{\left (a \log \left (f\right ) - 3 \, d\right )}}{16 \, \sqrt{-c \log \left (f\right ) + 3 \, f}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]