Optimal. Leaf size=68 \[ \frac{f^{c (a+b x)^2}}{2 b^2 c \log (f)}-\frac{\sqrt{\pi } a \text{Erfi}\left (\sqrt{c} \sqrt{\log (f)} (a+b x)\right )}{2 b^2 \sqrt{c} \sqrt{\log (f)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0579059, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {2226, 2204, 2209} \[ \frac{f^{c (a+b x)^2}}{2 b^2 c \log (f)}-\frac{\sqrt{\pi } a \text{Erfi}\left (\sqrt{c} \sqrt{\log (f)} (a+b x)\right )}{2 b^2 \sqrt{c} \sqrt{\log (f)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2226
Rule 2204
Rule 2209
Rubi steps
\begin{align*} \int f^{c (a+b x)^2} x \, dx &=\int \left (-\frac{a f^{c (a+b x)^2}}{b}+\frac{f^{c (a+b x)^2} (a+b x)}{b}\right ) \, dx\\ &=\frac{\int f^{c (a+b x)^2} (a+b x) \, dx}{b}-\frac{a \int f^{c (a+b x)^2} \, dx}{b}\\ &=\frac{f^{c (a+b x)^2}}{2 b^2 c \log (f)}-\frac{a \sqrt{\pi } \text{erfi}\left (\sqrt{c} (a+b x) \sqrt{\log (f)}\right )}{2 b^2 \sqrt{c} \sqrt{\log (f)}}\\ \end{align*}
Mathematica [A] time = 0.0278973, size = 63, normalized size = 0.93 \[ \frac{f^{c (a+b x)^2}-\sqrt{\pi } a \sqrt{c} \sqrt{\log (f)} \text{Erfi}\left (\sqrt{c} \sqrt{\log (f)} (a+b x)\right )}{2 b^2 c \log (f)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.027, size = 80, normalized size = 1.2 \begin{align*}{\frac{{f}^{c{x}^{2}{b}^{2}}{f}^{2\,abcx}{f}^{{a}^{2}c}}{2\,{b}^{2}c\ln \left ( f \right ) }}+{\frac{a\sqrt{\pi }}{2\,{b}^{2}}{\it Erf} \left ( -b\sqrt{-c\ln \left ( f \right ) }x+{ac\ln \left ( f \right ){\frac{1}{\sqrt{-c\ln \left ( f \right ) }}}} \right ){\frac{1}{\sqrt{-c\ln \left ( f \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.34412, size = 182, normalized size = 2.68 \begin{align*} -\frac{\frac{\sqrt{\pi }{\left (b^{2} c x + a b c\right )} a b c{\left (\operatorname{erf}\left (\sqrt{-\frac{{\left (b^{2} c x + a b c\right )}^{2} \log \left (f\right )}{b^{2} c}}\right ) - 1\right )} \log \left (f\right )^{2}}{\left (b^{2} c \log \left (f\right )\right )^{\frac{3}{2}} \sqrt{-\frac{{\left (b^{2} c x + a b c\right )}^{2} \log \left (f\right )}{b^{2} c}}} - \frac{b^{2} c f^{\frac{{\left (b^{2} c x + a b c\right )}^{2}}{b^{2} c}} \log \left (f\right )}{\left (b^{2} c \log \left (f\right )\right )^{\frac{3}{2}}}}{2 \, \sqrt{b^{2} c \log \left (f\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.51366, size = 173, normalized size = 2.54 \begin{align*} \frac{\sqrt{\pi } \sqrt{-b^{2} c \log \left (f\right )} a \operatorname{erf}\left (\frac{\sqrt{-b^{2} c \log \left (f\right )}{\left (b x + a\right )}}{b}\right ) + b f^{b^{2} c x^{2} + 2 \, a b c x + a^{2} c}}{2 \, b^{3} c \log \left (f\right )} \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 f^{c \left (a + b x\right )^{2}} x\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.22716, size = 104, normalized size = 1.53 \begin{align*} \frac{\frac{\sqrt{\pi } a \operatorname{erf}\left (-\sqrt{-c \log \left (f\right )} b{\left (x + \frac{a}{b}\right )}\right )}{\sqrt{-c \log \left (f\right )} b} + \frac{e^{\left (b^{2} c x^{2} \log \left (f\right ) + 2 \, a b c x \log \left (f\right ) + a^{2} c \log \left (f\right )\right )}}{b c \log \left (f\right )}}{2 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]