Optimal. Leaf size=77 \[ -\frac {F^a \sqrt {\pi } \text {erfi}\left (\sqrt {b} (c+d x) \sqrt {\log (F)}\right )}{4 b^{3/2} d \log ^{\frac {3}{2}}(F)}+\frac {F^{a+b (c+d x)^2} (c+d x)}{2 b d \log (F)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2243, 2235}
\begin {gather*} \frac {(c+d x) F^{a+b (c+d x)^2}}{2 b d \log (F)}-\frac {\sqrt {\pi } F^a \text {Erfi}\left (\sqrt {b} \sqrt {\log (F)} (c+d x)\right )}{4 b^{3/2} d \log ^{\frac {3}{2}}(F)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2235
Rule 2243
Rubi steps
\begin {align*} \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx &=\frac {F^{a+b (c+d x)^2} (c+d x)}{2 b d \log (F)}-\frac {\int F^{a+b (c+d x)^2} \, dx}{2 b \log (F)}\\ &=-\frac {F^a \sqrt {\pi } \text {erfi}\left (\sqrt {b} (c+d x) \sqrt {\log (F)}\right )}{4 b^{3/2} d \log ^{\frac {3}{2}}(F)}+\frac {F^{a+b (c+d x)^2} (c+d x)}{2 b d \log (F)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 77, normalized size = 1.00 \begin {gather*} -\frac {F^a \sqrt {\pi } \text {erfi}\left (\sqrt {b} (c+d x) \sqrt {\log (F)}\right )}{4 b^{3/2} d \log ^{\frac {3}{2}}(F)}+\frac {F^{a+b (c+d x)^2} (c+d x)}{2 b d \log (F)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(130\) vs.
\(2(63)=126\).
time = 0.09, size = 131, normalized size = 1.70
method | result | size |
risch | \(\frac {x \,F^{b \,d^{2} x^{2}} F^{2 b c d x} F^{b \,c^{2}} F^{a}}{2 \ln \left (F \right ) b}+\frac {c \,F^{b \,d^{2} x^{2}} F^{2 b c d x} F^{b \,c^{2}} F^{a}}{2 d \ln \left (F \right ) b}+\frac {\sqrt {\pi }\, F^{a} \erf \left (-d \sqrt {-b \ln \left (F \right )}\, x +\frac {b c \ln \left (F \right )}{\sqrt {-b \ln \left (F \right )}}\right )}{4 d \ln \left (F \right ) b \sqrt {-b \ln \left (F \right )}}\) | \(131\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 413 vs.
\(2 (63) = 126\).
time = 0.43, size = 413, normalized size = 5.36 \begin {gather*} -\frac {{\left (\frac {\sqrt {\pi } {\left (b d^{2} x + b c d\right )} b c {\left (\operatorname {erf}\left (\sqrt {-\frac {{\left (b d^{2} x + b c d\right )}^{2} \log \left (F\right )}{b d^{2}}}\right ) - 1\right )} \log \left (F\right )^{2}}{\left (b \log \left (F\right )\right )^{\frac {3}{2}} d^{2} \sqrt {-\frac {{\left (b d^{2} x + b c d\right )}^{2} \log \left (F\right )}{b d^{2}}}} - \frac {F^{\frac {{\left (b d^{2} x + b c d\right )}^{2}}{b d^{2}}} b \log \left (F\right )}{\left (b \log \left (F\right )\right )^{\frac {3}{2}} d}\right )} F^{a} c}{\sqrt {b \log \left (F\right )}} + \frac {{\left (\frac {\sqrt {\pi } {\left (b d^{2} x + b c d\right )} b^{2} c^{2} {\left (\operatorname {erf}\left (\sqrt {-\frac {{\left (b d^{2} x + b c d\right )}^{2} \log \left (F\right )}{b d^{2}}}\right ) - 1\right )} \log \left (F\right )^{3}}{\left (b \log \left (F\right )\right )^{\frac {5}{2}} d^{3} \sqrt {-\frac {{\left (b d^{2} x + b c d\right )}^{2} \log \left (F\right )}{b d^{2}}}} - \frac {2 \, F^{\frac {{\left (b d^{2} x + b c d\right )}^{2}}{b d^{2}}} b^{2} c \log \left (F\right )^{2}}{\left (b \log \left (F\right )\right )^{\frac {5}{2}} d^{2}} - \frac {{\left (b d^{2} x + b c d\right )}^{3} \Gamma \left (\frac {3}{2}, -\frac {{\left (b d^{2} x + b c d\right )}^{2} \log \left (F\right )}{b d^{2}}\right ) \log \left (F\right )^{3}}{\left (b \log \left (F\right )\right )^{\frac {5}{2}} d^{5} \left (-\frac {{\left (b d^{2} x + b c d\right )}^{2} \log \left (F\right )}{b d^{2}}\right )^{\frac {3}{2}}}\right )} F^{a} d}{2 \, \sqrt {b \log \left (F\right )}} + \frac {\sqrt {\pi } F^{b c^{2} + a} c^{2} \operatorname {erf}\left (\sqrt {-b \log \left (F\right )} d x - \frac {b c \log \left (F\right )}{\sqrt {-b \log \left (F\right )}}\right )}{2 \, \sqrt {-b \log \left (F\right )} F^{b c^{2}} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 88, normalized size = 1.14 \begin {gather*} \frac {\sqrt {\pi } \sqrt {-b d^{2} \log \left (F\right )} F^{a} \operatorname {erf}\left (\frac {\sqrt {-b d^{2} \log \left (F\right )} {\left (d x + c\right )}}{d}\right ) + 2 \, {\left (b d^{2} x + b c d\right )} F^{b d^{2} x^{2} + 2 \, b c d x + b c^{2} + a} \log \left (F\right )}{4 \, b^{2} d^{2} \log \left (F\right )^{2}} \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 F^{a + b \left (c + d x\right )^{2}} \left (c + d x\right )^{2}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.34, size = 91, normalized size = 1.18 \begin {gather*} \frac {{\left (x + \frac {c}{d}\right )} e^{\left (b d^{2} x^{2} \log \left (F\right ) + 2 \, b c d x \log \left (F\right ) + b c^{2} \log \left (F\right ) + a \log \left (F\right )\right )}}{2 \, b \log \left (F\right )} + \frac {\sqrt {\pi } F^{a} \operatorname {erf}\left (-\sqrt {-b \log \left (F\right )} d {\left (x + \frac {c}{d}\right )}\right )}{4 \, \sqrt {-b \log \left (F\right )} b d \log \left (F\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.59, size = 130, normalized size = 1.69 \begin {gather*} \frac {F^{b\,d^2\,x^2}\,F^a\,F^{b\,c^2}\,F^{2\,b\,c\,d\,x}\,x}{2\,b\,\ln \left (F\right )}-\frac {F^a\,\sqrt {\pi }\,\mathrm {erfi}\left (\frac {b\,x\,\ln \left (F\right )\,d^2+b\,c\,\ln \left (F\right )\,d}{\sqrt {b\,d^2\,\ln \left (F\right )}}\right )}{4\,b\,\ln \left (F\right )\,\sqrt {b\,d^2\,\ln \left (F\right )}}+\frac {F^{b\,d^2\,x^2}\,F^a\,F^{b\,c^2}\,F^{2\,b\,c\,d\,x}\,c}{2\,b\,d\,\ln \left (F\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________