3.32 \(\int x^2 \text {Shi}(d (a+b \log (c x^n))) \, dx\)

Optimal. Leaf size=128 \[ \frac {1}{6} x^3 e^{-\frac {3 a}{b n}} \left (c x^n\right )^{-3/n} \text {Ei}\left (\frac {(3-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )-\frac {1}{6} x^3 e^{-\frac {3 a}{b n}} \left (c x^n\right )^{-3/n} \text {Ei}\left (\frac {(b d n+3) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+\frac {1}{3} x^3 \text {Shi}\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \]

[Out]

1/6*x^3*Ei((-b*d*n+3)*(a+b*ln(c*x^n))/b/n)/exp(3*a/b/n)/((c*x^n)^(3/n))-1/6*x^3*Ei((b*d*n+3)*(a+b*ln(c*x^n))/b
/n)/exp(3*a/b/n)/((c*x^n)^(3/n))+1/3*x^3*Shi(d*(a+b*ln(c*x^n)))

________________________________________________________________________________________

Rubi [A]  time = 0.27, antiderivative size = 128, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.294, Rules used = {6555, 12, 5539, 2310, 2178} \[ \frac {1}{6} x^3 e^{-\frac {3 a}{b n}} \left (c x^n\right )^{-3/n} \text {Ei}\left (\frac {(3-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )-\frac {1}{6} x^3 e^{-\frac {3 a}{b n}} \left (c x^n\right )^{-3/n} \text {Ei}\left (\frac {(b d n+3) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+\frac {1}{3} x^3 \text {Shi}\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \]

Antiderivative was successfully verified.

[In]

Int[x^2*SinhIntegral[d*(a + b*Log[c*x^n])],x]

[Out]

(x^3*ExpIntegralEi[((3 - b*d*n)*(a + b*Log[c*x^n]))/(b*n)])/(6*E^((3*a)/(b*n))*(c*x^n)^(3/n)) - (x^3*ExpIntegr
alEi[((3 + b*d*n)*(a + b*Log[c*x^n]))/(b*n)])/(6*E^((3*a)/(b*n))*(c*x^n)^(3/n)) + (x^3*SinhIntegral[d*(a + b*L
og[c*x^n])])/3

Rule 12

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

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2310

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Dist[(d*x)^(m + 1)/(d*n*(c*x^n
)^((m + 1)/n)), Subst[Int[E^(((m + 1)*x)/n)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, d, m, n, p}
, x]

Rule 5539

Int[(((e_.) + Log[(g_.)*(x_)^(m_.)]*(f_.))*(h_.))^(q_.)*((i_.)*(x_))^(r_.)*Sinh[((a_.) + Log[(c_.)*(x_)^(n_.)]
*(b_.))*(d_.)], x_Symbol] :> -Dist[(i*x)^r/(E^(a*d)*(c*x^n)^(b*d)*(2*x^(r - b*d*n))), Int[x^(r - b*d*n)*(h*(e
+ f*Log[g*x^m]))^q, x], x] + Dist[(E^(a*d)*(i*x)^r*(c*x^n)^(b*d))/(2*x^(r + b*d*n)), Int[x^(r + b*d*n)*(h*(e +
 f*Log[g*x^m]))^q, x], x] /; FreeQ[{a, b, c, d, e, f, g, h, i, m, n, q, r}, x]

Rule 6555

Int[((e_.)*(x_))^(m_.)*SinhIntegral[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*(d_.)], x_Symbol] :> Simp[((e*x)^(m
+ 1)*SinhIntegral[d*(a + b*Log[c*x^n])])/(e*(m + 1)), x] - Dist[(b*d*n)/(m + 1), Int[((e*x)^m*Sinh[d*(a + b*Lo
g[c*x^n])])/(d*(a + b*Log[c*x^n])), x], x] /; FreeQ[{a, b, c, d, e, m, n}, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int x^2 \text {Shi}\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx &=\frac {1}{3} x^3 \text {Shi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-\frac {1}{3} (b d n) \int \frac {x^2 \sinh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{d \left (a+b \log \left (c x^n\right )\right )} \, dx\\ &=\frac {1}{3} x^3 \text {Shi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-\frac {1}{3} (b n) \int \frac {x^2 \sinh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{a+b \log \left (c x^n\right )} \, dx\\ &=\frac {1}{3} x^3 \text {Shi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )+\frac {1}{6} \left (b e^{-a d} n x^{b d n} \left (c x^n\right )^{-b d}\right ) \int \frac {x^{2-b d n}}{a+b \log \left (c x^n\right )} \, dx-\frac {1}{6} \left (b e^{a d} n x^{-b d n} \left (c x^n\right )^{b d}\right ) \int \frac {x^{2+b d n}}{a+b \log \left (c x^n\right )} \, dx\\ &=\frac {1}{3} x^3 \text {Shi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )+\frac {1}{6} \left (b e^{-a d} x^3 \left (c x^n\right )^{-b d-\frac {3-b d n}{n}}\right ) \operatorname {Subst}\left (\int \frac {e^{\frac {(3-b d n) x}{n}}}{a+b x} \, dx,x,\log \left (c x^n\right )\right )-\frac {1}{6} \left (b e^{a d} x^3 \left (c x^n\right )^{b d-\frac {3+b d n}{n}}\right ) \operatorname {Subst}\left (\int \frac {e^{\frac {(3+b d n) x}{n}}}{a+b x} \, dx,x,\log \left (c x^n\right )\right )\\ &=\frac {1}{6} e^{-\frac {3 a}{b n}} x^3 \left (c x^n\right )^{-3/n} \text {Ei}\left (\frac {(3-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )-\frac {1}{6} e^{-\frac {3 a}{b n}} x^3 \left (c x^n\right )^{-3/n} \text {Ei}\left (\frac {(3+b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+\frac {1}{3} x^3 \text {Shi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 1.65, size = 98, normalized size = 0.77 \[ \frac {1}{6} x^3 \left (e^{-\frac {3 a}{b n}} \left (c x^n\right )^{-3/n} \left (\text {Ei}\left (-\frac {(b d n-3) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )-\text {Ei}\left (\frac {(b d n+3) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )\right )+2 \text {Shi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*SinhIntegral[d*(a + b*Log[c*x^n])],x]

[Out]

(x^3*((ExpIntegralEi[-(((-3 + b*d*n)*(a + b*Log[c*x^n]))/(b*n))] - ExpIntegralEi[((3 + b*d*n)*(a + b*Log[c*x^n
]))/(b*n)])/(E^((3*a)/(b*n))*(c*x^n)^(3/n)) + 2*SinhIntegral[d*(a + b*Log[c*x^n])]))/6

________________________________________________________________________________________

fricas [F]  time = 0.93, size = 0, normalized size = 0.00 \[ {\rm integral}\left (x^{2} \operatorname {Shi}\left (b d \log \left (c x^{n}\right ) + a d\right ), x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*Shi(d*(a+b*log(c*x^n))),x, algorithm="fricas")

[Out]

integral(x^2*sinh_integral(b*d*log(c*x^n) + a*d), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{2} {\rm Shi}\left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*Shi(d*(a+b*log(c*x^n))),x, algorithm="giac")

[Out]

integrate(x^2*Shi((b*log(c*x^n) + a)*d), x)

________________________________________________________________________________________

maple [F]  time = 0.07, size = 0, normalized size = 0.00 \[ \int x^{2} \Shi \left (d \left (a +b \ln \left (c \,x^{n}\right )\right )\right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*Shi(d*(a+b*ln(c*x^n))),x)

[Out]

int(x^2*Shi(d*(a+b*ln(c*x^n))),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{2} {\rm Shi}\left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*Shi(d*(a+b*log(c*x^n))),x, algorithm="maxima")

[Out]

integrate(x^2*Shi((b*log(c*x^n) + a)*d), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int x^2\,\mathrm {sinhint}\left (d\,\left (a+b\,\ln \left (c\,x^n\right )\right )\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*sinhint(d*(a + b*log(c*x^n))),x)

[Out]

int(x^2*sinhint(d*(a + b*log(c*x^n))), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{2} \operatorname {Shi}{\left (a d + b d \log {\left (c x^{n} \right )} \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*Shi(d*(a+b*ln(c*x**n))),x)

[Out]

Integral(x**2*Shi(a*d + b*d*log(c*x**n)), x)

________________________________________________________________________________________