Integrand size = 21, antiderivative size = 77 \[ \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx=-\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)} \] Output:
-1/4*F^a*Pi^(1/2)*erfi(b^(1/2)*(d*x+c)*ln(F)^(1/2))/b^(3/2)/d/ln(F)^(3/2)+ 1/2*F^(a+b*(d*x+c)^2)*(d*x+c)/b/d/ln(F)
Time = 0.29 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.00 \[ \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx=-\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)} \] Input:
Integrate[F^(a + b*(c + d*x)^2)*(c + d*x)^2,x]
Output:
-1/4*(F^a*Sqrt[Pi]*Erfi[Sqrt[b]*(c + d*x)*Sqrt[Log[F]]])/(b^(3/2)*d*Log[F] ^(3/2)) + (F^(a + b*(c + d*x)^2)*(c + d*x))/(2*b*d*Log[F])
Time = 0.41 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2641, 2633}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int (c+d x)^2 F^{a+b (c+d x)^2} \, dx\) |
\(\Big \downarrow \) 2641 |
\(\displaystyle \frac {(c+d x) F^{a+b (c+d x)^2}}{2 b d \log (F)}-\frac {\int F^{b (c+d x)^2+a}dx}{2 b \log (F)}\) |
\(\Big \downarrow \) 2633 |
\(\displaystyle \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)}\) |
Input:
Int[F^(a + b*(c + d*x)^2)*(c + d*x)^2,x]
Output:
-1/4*(F^a*Sqrt[Pi]*Erfi[Sqrt[b]*(c + d*x)*Sqrt[Log[F]]])/(b^(3/2)*d*Log[F] ^(3/2)) + (F^(a + b*(c + d*x)^2)*(c + d*x))/(2*b*d*Log[F])
Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt [Pi]*(Erfi[(c + d*x)*Rt[b*Log[F], 2]]/(2*d*Rt[b*Log[F], 2])), x] /; FreeQ[{ F, a, b, c, d}, x] && PosQ[b]
Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))*((c_.) + (d_.)*(x_))^(m_ .), x_Symbol] :> Simp[(c + d*x)^(m - n + 1)*(F^(a + b*(c + d*x)^n)/(b*d*n*L og[F])), x] - Simp[(m - n + 1)/(b*n*Log[F]) Int[(c + d*x)^(m - n)*F^(a + b*(c + d*x)^n), x], x] /; FreeQ[{F, a, b, c, d}, x] && IntegerQ[2*((m + 1)/ n)] && LtQ[0, (m + 1)/n, 5] && IntegerQ[n] && (LtQ[0, n, m + 1] || LtQ[m, n , 0])
Leaf count of result is larger than twice the leaf count of optimal. \(145\) vs. \(2(63)=126\).
Time = 0.10 (sec) , antiderivative size = 146, normalized size of antiderivative = 1.90
method | result | size |
risch | \(\frac {F^{b \,c^{2}} F^{a} x \,F^{b \,d^{2} x^{2}} F^{2 b c d x}}{2 \ln \left (F \right ) b}+\frac {F^{b \,c^{2}} F^{a} c \,F^{b \,d^{2} x^{2}} F^{2 b c d x}}{2 d \ln \left (F \right ) b}+\frac {F^{b \,c^{2}} F^{a} \sqrt {\pi }\, F^{-b \,c^{2}} \operatorname {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 )}}\) | \(146\) |
Input:
int(F^(a+b*(d*x+c)^2)*(d*x+c)^2,x,method=_RETURNVERBOSE)
Output:
1/2*F^(b*c^2)*F^a/ln(F)/b*x*F^(b*d^2*x^2)*F^(2*b*c*d*x)+1/2*F^(b*c^2)*F^a/ d*c/ln(F)/b*F^(b*d^2*x^2)*F^(2*b*c*d*x)+1/4*F^(b*c^2)*F^a/d/ln(F)/b*Pi^(1/ 2)*F^(-b*c^2)/(-b*ln(F))^(1/2)*erf(-d*(-b*ln(F))^(1/2)*x+b*c*ln(F)/(-b*ln( F))^(1/2))
Time = 0.08 (sec) , antiderivative size = 88, normalized size of antiderivative = 1.14 \[ \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx=\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}} \] Input:
integrate(F^(a+b*(d*x+c)^2)*(d*x+c)^2,x, algorithm="fricas")
Output:
1/4*(sqrt(pi)*sqrt(-b*d^2*log(F))*F^a*erf(sqrt(-b*d^2*log(F))*(d*x + c)/d) + 2*(b*d^2*x + b*c*d)*F^(b*d^2*x^2 + 2*b*c*d*x + b*c^2 + a)*log(F))/(b^2* d^2*log(F)^2)
\[ \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx=\int F^{a + b \left (c + d x\right )^{2}} \left (c + d x\right )^{2}\, dx \] Input:
integrate(F**(a+b*(d*x+c)**2)*(d*x+c)**2,x)
Output:
Integral(F**(a + b*(c + d*x)**2)*(c + d*x)**2, x)
Leaf count of result is larger than twice the leaf count of optimal. 413 vs. \(2 (63) = 126\).
Time = 0.22 (sec) , antiderivative size = 413, normalized size of antiderivative = 5.36 \[ \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx=-\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} \] Input:
integrate(F^(a+b*(d*x+c)^2)*(d*x+c)^2,x, algorithm="maxima")
Output:
-(sqrt(pi)*(b*d^2*x + b*c*d)*b*c*(erf(sqrt(-(b*d^2*x + b*c*d)^2*log(F)/(b* d^2))) - 1)*log(F)^2/((b*log(F))^(3/2)*d^2*sqrt(-(b*d^2*x + b*c*d)^2*log(F )/(b*d^2))) - F^((b*d^2*x + b*c*d)^2/(b*d^2))*b*log(F)/((b*log(F))^(3/2)*d ))*F^a*c/sqrt(b*log(F)) + 1/2*(sqrt(pi)*(b*d^2*x + b*c*d)*b^2*c^2*(erf(sqr t(-(b*d^2*x + b*c*d)^2*log(F)/(b*d^2))) - 1)*log(F)^3/((b*log(F))^(5/2)*d^ 3*sqrt(-(b*d^2*x + b*c*d)^2*log(F)/(b*d^2))) - 2*F^((b*d^2*x + b*c*d)^2/(b *d^2))*b^2*c*log(F)^2/((b*log(F))^(5/2)*d^2) - (b*d^2*x + b*c*d)^3*gamma(3 /2, -(b*d^2*x + b*c*d)^2*log(F)/(b*d^2))*log(F)^3/((b*log(F))^(5/2)*d^5*(- (b*d^2*x + b*c*d)^2*log(F)/(b*d^2))^(3/2)))*F^a*d/sqrt(b*log(F)) + 1/2*sqr t(pi)*F^(b*c^2 + a)*c^2*erf(sqrt(-b*log(F))*d*x - b*c*log(F)/sqrt(-b*log(F )))/(sqrt(-b*log(F))*F^(b*c^2)*d)
Time = 0.13 (sec) , antiderivative size = 91, normalized size of antiderivative = 1.18 \[ \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx=\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 )} \] Input:
integrate(F^(a+b*(d*x+c)^2)*(d*x+c)^2,x, algorithm="giac")
Output:
1/2*(x + c/d)*e^(b*d^2*x^2*log(F) + 2*b*c*d*x*log(F) + b*c^2*log(F) + a*lo g(F))/(b*log(F)) + 1/4*sqrt(pi)*F^a*erf(-sqrt(-b*log(F))*d*(x + c/d))/(sqr t(-b*log(F))*b*d*log(F))
Time = 0.15 (sec) , antiderivative size = 130, normalized size of antiderivative = 1.69 \[ \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx=\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 )} \] Input:
int(F^(a + b*(c + d*x)^2)*(c + d*x)^2,x)
Output:
(F^(b*d^2*x^2)*F^a*F^(b*c^2)*F^(2*b*c*d*x)*x)/(2*b*log(F)) - (F^a*pi^(1/2) *erfi((b*c*d*log(F) + b*d^2*x*log(F))/(b*d^2*log(F))^(1/2)))/(4*b*log(F)*( b*d^2*log(F))^(1/2)) + (F^(b*d^2*x^2)*F^a*F^(b*c^2)*F^(2*b*c*d*x)*c)/(2*b* d*log(F))
Time = 0.15 (sec) , antiderivative size = 115, normalized size of antiderivative = 1.49 \[ \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx=\frac {f^{a} \left (\sqrt {\pi }\, \mathrm {erf}\left (\frac {\mathrm {log}\left (f \right ) b c i +\mathrm {log}\left (f \right ) b d i x}{\sqrt {b}\, \sqrt {\mathrm {log}\left (f \right )}}\right ) i +2 f^{b \,d^{2} x^{2}+2 b c d x +b \,c^{2}} \sqrt {b}\, \sqrt {\mathrm {log}\left (f \right )}\, c +2 f^{b \,d^{2} x^{2}+2 b c d x +b \,c^{2}} \sqrt {b}\, \sqrt {\mathrm {log}\left (f \right )}\, d x \right )}{4 \sqrt {b}\, \sqrt {\mathrm {log}\left (f \right )}\, \mathrm {log}\left (f \right ) b d} \] Input:
int(F^(a+b*(d*x+c)^2)*(d*x+c)^2,x)
Output:
(f**a*(sqrt(pi)*erf((log(f)*b*c*i + log(f)*b*d*i*x)/(sqrt(b)*sqrt(log(f))) )*i + 2*f**(b*c**2 + 2*b*c*d*x + b*d**2*x**2)*sqrt(b)*sqrt(log(f))*c + 2*f **(b*c**2 + 2*b*c*d*x + b*d**2*x**2)*sqrt(b)*sqrt(log(f))*d*x))/(4*sqrt(b) *sqrt(log(f))*log(f)*b*d)