3.2.98 \(\int f^{c (a+b x)^2} \, dx\) [198]

Optimal. Leaf size=41 \[ \frac {\sqrt {\pi } \text {erfi}\left (\sqrt {c} (a+b x) \sqrt {\log (f)}\right )}{2 b \sqrt {c} \sqrt {\log (f)}} \]

[Out]

1/2*erfi((b*x+a)*c^(1/2)*ln(f)^(1/2))*Pi^(1/2)/b/c^(1/2)/ln(f)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2235} \begin {gather*} \frac {\sqrt {\pi } \text {Erfi}\left (\sqrt {c} \sqrt {\log (f)} (a+b x)\right )}{2 b \sqrt {c} \sqrt {\log (f)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[f^(c*(a + b*x)^2),x]

[Out]

(Sqrt[Pi]*Erfi[Sqrt[c]*(a + b*x)*Sqrt[Log[f]]])/(2*b*Sqrt[c]*Sqrt[Log[f]])

Rule 2235

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]

Rubi steps

\begin {align*} \int f^{c (a+b x)^2} \, dx &=\frac {\sqrt {\pi } \text {erfi}\left (\sqrt {c} (a+b x) \sqrt {\log (f)}\right )}{2 b \sqrt {c} \sqrt {\log (f)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 41, normalized size = 1.00 \begin {gather*} \frac {\sqrt {\pi } \text {erfi}\left (\sqrt {c} (a+b x) \sqrt {\log (f)}\right )}{2 b \sqrt {c} \sqrt {\log (f)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[f^(c*(a + b*x)^2),x]

[Out]

(Sqrt[Pi]*Erfi[Sqrt[c]*(a + b*x)*Sqrt[Log[f]]])/(2*b*Sqrt[c]*Sqrt[Log[f]])

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 41, normalized size = 1.00

method result size
risch \(-\frac {\sqrt {\pi }\, \erf \left (-b \sqrt {-c \ln \left (f \right )}\, x +\frac {c a \ln \left (f \right )}{\sqrt {-c \ln \left (f \right )}}\right )}{2 b \sqrt {-c \ln \left (f \right )}}\) \(41\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(c*(b*x+a)^2),x,method=_RETURNVERBOSE)

[Out]

-1/2*Pi^(1/2)/b/(-c*ln(f))^(1/2)*erf(-b*(-c*ln(f))^(1/2)*x+c*a*ln(f)/(-c*ln(f))^(1/2))

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 40, normalized size = 0.98 \begin {gather*} \frac {\sqrt {\pi } \operatorname {erf}\left (\sqrt {-c \log \left (f\right )} b x - \frac {a c \log \left (f\right )}{\sqrt {-c \log \left (f\right )}}\right )}{2 \, \sqrt {-c \log \left (f\right )} b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f^(c*(b*x+a)^2),x, algorithm="maxima")

[Out]

1/2*sqrt(pi)*erf(sqrt(-c*log(f))*b*x - a*c*log(f)/sqrt(-c*log(f)))/(sqrt(-c*log(f))*b)

________________________________________________________________________________________

Fricas [A]
time = 0.35, size = 45, normalized size = 1.10 \begin {gather*} -\frac {\sqrt {\pi } \sqrt {-b^{2} c \log \left (f\right )} \operatorname {erf}\left (\frac {\sqrt {-b^{2} c \log \left (f\right )} {\left (b x + a\right )}}{b}\right )}{2 \, b^{2} c \log \left (f\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f^(c*(b*x+a)^2),x, algorithm="fricas")

[Out]

-1/2*sqrt(pi)*sqrt(-b^2*c*log(f))*erf(sqrt(-b^2*c*log(f))*(b*x + a)/b)/(b^2*c*log(f))

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int f^{c \left (a + b x\right )^{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f**(c*(b*x+a)**2),x)

[Out]

Integral(f**(c*(a + b*x)**2), x)

________________________________________________________________________________________

Giac [A]
time = 3.03, size = 33, normalized size = 0.80 \begin {gather*} -\frac {\sqrt {\pi } \operatorname {erf}\left (-\sqrt {-c \log \left (f\right )} b {\left (x + \frac {a}{b}\right )}\right )}{2 \, \sqrt {-c \log \left (f\right )} b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f^(c*(b*x+a)^2),x, algorithm="giac")

[Out]

-1/2*sqrt(pi)*erf(-sqrt(-c*log(f))*b*(x + a/b))/(sqrt(-c*log(f))*b)

________________________________________________________________________________________

Mupad [B]
time = 0.04, size = 45, normalized size = 1.10 \begin {gather*} -\frac {\sqrt {\pi }\,\mathrm {erf}\left (\frac {1{}\mathrm {i}\,c\,x\,\ln \left (f\right )\,b^2+1{}\mathrm {i}\,a\,c\,\ln \left (f\right )\,b}{\sqrt {b^2\,c\,\ln \left (f\right )}}\right )\,1{}\mathrm {i}}{2\,\sqrt {b^2\,c\,\ln \left (f\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(c*(a + b*x)^2),x)

[Out]

-(pi^(1/2)*erf((a*b*c*log(f)*1i + b^2*c*x*log(f)*1i)/(b^2*c*log(f))^(1/2))*1i)/(2*(b^2*c*log(f))^(1/2))

________________________________________________________________________________________