3.49.54 \(\int \frac {1}{2} (6 e^{6 x^2} x+(i \pi +\log (5))^2) \, dx\) [4854]

Optimal. Leaf size=25 \[ \frac {1}{4} \left (e^{6 x^2}+2 x (i \pi +\log (5))^2\right ) \]

[Out]

1/4*exp(6*x^2)+1/2*x*(ln(5)+I*Pi)^2

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 27, normalized size of antiderivative = 1.08, number of steps used = 3, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {12, 2240} \begin {gather*} \frac {e^{6 x^2}}{4}+\frac {1}{2} x (\log (5)+i \pi )^2 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(6*E^(6*x^2)*x + (I*Pi + Log[5])^2)/2,x]

[Out]

E^(6*x^2)/4 + (x*(I*Pi + Log[5])^2)/2

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 2240

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))*((e_.) + (f_.)*(x_))^(m_.), x_Symbol] :> Simp[(e + f*x)^n*(
F^(a + b*(c + d*x)^n)/(b*f*n*(c + d*x)^n*Log[F])), x] /; FreeQ[{F, a, b, c, d, e, f, n}, x] && EqQ[m, n - 1] &
& EqQ[d*e - c*f, 0]

Rubi steps

\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int \left (6 e^{6 x^2} x+(i \pi +\log (5))^2\right ) \, dx\\ &=\frac {1}{2} x (i \pi +\log (5))^2+3 \int e^{6 x^2} x \, dx\\ &=\frac {e^{6 x^2}}{4}+\frac {1}{2} x (i \pi +\log (5))^2\\ \end {aligned} \end {gather*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 28, normalized size = 1.12 \begin {gather*} \frac {1}{2} \left (\frac {e^{6 x^2}}{2}+x (i \pi +\log (5))^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(6*E^(6*x^2)*x + (I*Pi + Log[5])^2)/2,x]

[Out]

(E^(6*x^2)/2 + x*(I*Pi + Log[5])^2)/2

________________________________________________________________________________________

Maple [A]
time = 0.18, size = 30, normalized size = 1.20

method result size
default \(-\frac {x \,\pi ^{2}}{2}+i \pi \ln \left (5\right ) x +\frac {x \ln \left (5\right )^{2}}{2}+\frac {{\mathrm e}^{6 x^{2}}}{4}\) \(30\)
norman \(\left (i \pi \ln \left (5\right )-\frac {\pi ^{2}}{2}+\frac {\ln \left (5\right )^{2}}{2}\right ) x +\frac {{\mathrm e}^{6 x^{2}}}{4}\) \(30\)
risch \(-\frac {x \,\pi ^{2}}{2}+i \pi \ln \left (5\right ) x +\frac {x \ln \left (5\right )^{2}}{2}+\frac {{\mathrm e}^{6 x^{2}}}{4}\) \(30\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(3*x*exp(6*x^2)+1/2*(ln(5)+I*Pi)^2,x,method=_RETURNVERBOSE)

[Out]

-1/2*x*Pi^2+I*Pi*ln(5)*x+1/2*x*ln(5)^2+1/4*exp(6*x^2)

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 20, normalized size = 0.80 \begin {gather*} \frac {1}{2} \, {\left (i \, \pi + \log \left (5\right )\right )}^{2} x + \frac {1}{4} \, e^{\left (6 \, x^{2}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(3*x*exp(6*x^2)+1/2*(log(5)+I*pi)^2,x, algorithm="maxima")

[Out]

1/2*(I*pi + log(5))^2*x + 1/4*e^(6*x^2)

________________________________________________________________________________________

Fricas [A]
time = 0.35, size = 28, normalized size = 1.12 \begin {gather*} -\frac {1}{2} \, \pi ^{2} x + i \, \pi x \log \left (5\right ) + \frac {1}{2} \, x \log \left (5\right )^{2} + \frac {1}{4} \, e^{\left (6 \, x^{2}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(3*x*exp(6*x^2)+1/2*(log(5)+I*pi)^2,x, algorithm="fricas")

[Out]

-1/2*pi^2*x + I*pi*x*log(5) + 1/2*x*log(5)^2 + 1/4*e^(6*x^2)

________________________________________________________________________________________

Sympy [A]
time = 0.05, size = 27, normalized size = 1.08 \begin {gather*} x \left (- \frac {\pi ^{2}}{2} + \frac {\log {\left (5 \right )}^{2}}{2} + i \pi \log {\left (5 \right )}\right ) + \frac {e^{6 x^{2}}}{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(3*x*exp(6*x**2)+1/2*(ln(5)+I*pi)**2,x)

[Out]

x*(-pi**2/2 + log(5)**2/2 + I*pi*log(5)) + exp(6*x**2)/4

________________________________________________________________________________________

Giac [A]
time = 0.40, size = 20, normalized size = 0.80 \begin {gather*} \frac {1}{2} \, {\left (i \, \pi + \log \left (5\right )\right )}^{2} x + \frac {1}{4} \, e^{\left (6 \, x^{2}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(3*x*exp(6*x^2)+1/2*(log(5)+I*pi)^2,x, algorithm="giac")

[Out]

1/2*(I*pi + log(5))^2*x + 1/4*e^(6*x^2)

________________________________________________________________________________________

Mupad [B]
time = 0.12, size = 21, normalized size = 0.84 \begin {gather*} \frac {{\mathrm {e}}^{6\,x^2}}{4}+\frac {x\,{\left (\ln \left (5\right )+\Pi \,1{}\mathrm {i}\right )}^2}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(3*x*exp(6*x^2) + (Pi*1i + log(5))^2/2,x)

[Out]

exp(6*x^2)/4 + (x*(Pi*1i + log(5))^2)/2

________________________________________________________________________________________