Optimal. Leaf size=118 \[ \frac {e^{-\frac {1}{4 b f n^2 \log (F)}} F^{a f} \sqrt {\pi } (d+e x) \left (c (d+e x)^n\right )^{-1/n} \text {erfi}\left (\frac {1+2 b f n \log (F) \log \left (c (d+e x)^n\right )}{2 \sqrt {b} \sqrt {f} n \sqrt {\log (F)}}\right )}{2 \sqrt {b} e \sqrt {f} n \sqrt {\log (F)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 118, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {2307, 2266,
2235} \begin {gather*} \frac {\sqrt {\pi } F^{a f} (d+e x) e^{-\frac {1}{4 b f n^2 \log (F)}} \left (c (d+e x)^n\right )^{-1/n} \text {Erfi}\left (\frac {2 b f n \log (F) \log \left (c (d+e x)^n\right )+1}{2 \sqrt {b} \sqrt {f} n \sqrt {\log (F)}}\right )}{2 \sqrt {b} e \sqrt {f} n \sqrt {\log (F)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2235
Rule 2266
Rule 2307
Rubi steps
\begin {align*} \int F^{f \left (a+b \log ^2\left (c (d+e x)^n\right )\right )} \, dx &=\frac {\text {Subst}\left (\int F^{f \left (a+b \log ^2\left (c x^n\right )\right )} \, dx,x,d+e x\right )}{e}\\ &=\frac {\left ((d+e x) \left (c (d+e x)^n\right )^{-1/n}\right ) \text {Subst}\left (\int e^{\frac {x}{n}+a f \log (F)+b f x^2 \log (F)} \, dx,x,\log \left (c (d+e x)^n\right )\right )}{e n}\\ &=\frac {\left (e^{-\frac {1}{4 b f n^2 \log (F)}} F^{a f} (d+e x) \left (c (d+e x)^n\right )^{-1/n}\right ) \text {Subst}\left (\int e^{\frac {\left (\frac {1}{n}+2 b f x \log (F)\right )^2}{4 b f \log (F)}} \, dx,x,\log \left (c (d+e x)^n\right )\right )}{e n}\\ &=\frac {e^{-\frac {1}{4 b f n^2 \log (F)}} F^{a f} \sqrt {\pi } (d+e x) \left (c (d+e x)^n\right )^{-1/n} \text {erfi}\left (\frac {1+2 b f n \log (F) \log \left (c (d+e x)^n\right )}{2 \sqrt {b} \sqrt {f} n \sqrt {\log (F)}}\right )}{2 \sqrt {b} e \sqrt {f} n \sqrt {\log (F)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 118, normalized size = 1.00 \begin {gather*} \frac {e^{-\frac {1}{4 b f n^2 \log (F)}} F^{a f} \sqrt {\pi } (d+e x) \left (c (d+e x)^n\right )^{-1/n} \text {erfi}\left (\frac {1+2 b f n \log (F) \log \left (c (d+e x)^n\right )}{2 \sqrt {b} \sqrt {f} n \sqrt {\log (F)}}\right )}{2 \sqrt {b} e \sqrt {f} n \sqrt {\log (F)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int F^{f \left (a +b \ln \left (c \left (e x +d \right )^{n}\right )^{2}\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 [A]
time = 0.37, size = 116, normalized size = 0.98 \begin {gather*} -\frac {\sqrt {\pi } \sqrt {-b f n^{2} \log \left (F\right )} \operatorname {erf}\left (\frac {{\left (2 \, b f n^{2} \log \left (x e + d\right ) \log \left (F\right ) + 2 \, b f n \log \left (F\right ) \log \left (c\right ) + 1\right )} \sqrt {-b f n^{2} \log \left (F\right )}}{2 \, b f n^{2} \log \left (F\right )}\right ) e^{\left (\frac {4 \, a b f^{2} n^{2} \log \left (F\right )^{2} - 4 \, b f n \log \left (F\right ) \log \left (c\right ) - 1}{4 \, b f n^{2} \log \left (F\right )} - 1\right )}}{2 \, n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 228 vs.
\(2 (105) = 210\).
time = 7.88, size = 228, normalized size = 1.93 \begin {gather*} \begin {cases} - \frac {2 F^{a f} F^{b f \log {\left (c \left (d + e x\right )^{n} \right )}^{2}} b d f n^{2} \log {\left (F \right )}}{e} - \frac {2 F^{a f} F^{b f \log {\left (c \left (d + e x\right )^{n} \right )}^{2}} b d f n \log {\left (F \right )} \log {\left (c \left (d + e x\right )^{n} \right )}}{e} + 2 F^{a f} F^{b f \log {\left (c \left (d + e x\right )^{n} \right )}^{2}} b f n^{2} x \log {\left (F \right )} - 2 F^{a f} F^{b f \log {\left (c \left (d + e x\right )^{n} \right )}^{2}} b f n x \log {\left (F \right )} \log {\left (c \left (d + e x\right )^{n} \right )} + \frac {F^{a f} F^{b f \log {\left (c \left (d + e x\right )^{n} \right )}^{2}} d}{e} + F^{a f} F^{b f \log {\left (c \left (d + e x\right )^{n} \right )}^{2}} x & \text {for}\: e \neq 0 \\F^{f \left (a + b \log {\left (c d^{n} \right )}^{2}\right )} x & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.63, size = 101, normalized size = 0.86 \begin {gather*} -\frac {\sqrt {\pi } F^{a f} \operatorname {erf}\left (-\sqrt {-b f \log \left (F\right )} n \log \left (x e + d\right ) - \sqrt {-b f \log \left (F\right )} \log \left (c\right ) - \frac {\sqrt {-b f \log \left (F\right )}}{2 \, b f n \log \left (F\right )}\right ) e^{\left (-\frac {1}{4 \, b f n^{2} \log \left (F\right )} - 1\right )}}{2 \, \sqrt {-b f \log \left (F\right )} c^{\left (\frac {1}{n}\right )} n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int F^{b\,f\,{\ln \left (c\,{\left (d+e\,x\right )}^n\right )}^2}\,F^{a\,f} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________