3.104 \(\int \frac{\text{Chi}(d (a+b \log (c x^n)))}{x^2} \, dx\)

Optimal. Leaf size=122 \[ -\frac{\text{Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x}+\frac{e^{\frac{a}{b n}} \left (c x^n\right )^{\frac{1}{n}} \text{ExpIntegralEi}\left (-\frac{(1-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )}{2 x}+\frac{e^{\frac{a}{b n}} \left (c x^n\right )^{\frac{1}{n}} \text{ExpIntegralEi}\left (-\frac{(b d n+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )}{2 x} \]

[Out]

-(CoshIntegral[d*(a + b*Log[c*x^n])]/x) + (E^(a/(b*n))*(c*x^n)^n^(-1)*ExpIntegralEi[-(((1 - b*d*n)*(a + b*Log[
c*x^n]))/(b*n))])/(2*x) + (E^(a/(b*n))*(c*x^n)^n^(-1)*ExpIntegralEi[-(((1 + b*d*n)*(a + b*Log[c*x^n]))/(b*n))]
)/(2*x)

________________________________________________________________________________________

Rubi [A]  time = 0.239194, antiderivative size = 122, normalized size of antiderivative = 1., 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 = {6556, 12, 5540, 2310, 2178} \[ -\frac{\text{Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x}+\frac{e^{\frac{a}{b n}} \left (c x^n\right )^{\frac{1}{n}} \text{Ei}\left (-\frac{(1-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )}{2 x}+\frac{e^{\frac{a}{b n}} \left (c x^n\right )^{\frac{1}{n}} \text{Ei}\left (-\frac{(b d n+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )}{2 x} \]

Antiderivative was successfully verified.

[In]

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

[Out]

-(CoshIntegral[d*(a + b*Log[c*x^n])]/x) + (E^(a/(b*n))*(c*x^n)^n^(-1)*ExpIntegralEi[-(((1 - b*d*n)*(a + b*Log[
c*x^n]))/(b*n))])/(2*x) + (E^(a/(b*n))*(c*x^n)^n^(-1)*ExpIntegralEi[-(((1 + b*d*n)*(a + b*Log[c*x^n]))/(b*n))]
)/(2*x)

Rule 6556

Int[CoshIntegral[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*(d_.)]*((e_.)*(x_))^(m_.), x_Symbol] :> Simp[((e*x)^(m
+ 1)*CoshIntegral[d*(a + b*Log[c*x^n])])/(e*(m + 1)), x] - Dist[(b*d*n)/(m + 1), Int[((e*x)^m*Cosh[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]

Rule 12

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

Rule 5540

Int[Cosh[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*(d_.)]*(((e_.) + Log[(g_.)*(x_)^(m_.)]*(f_.))*(h_.))^(q_.)*((i_
.)*(x_))^(r_.), 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 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 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

Rubi steps

\begin{align*} \int \frac{\text{Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x^2} \, dx &=-\frac{\text{Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x}+(b d n) \int \frac{\cosh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{d x^2 \left (a+b \log \left (c x^n\right )\right )} \, dx\\ &=-\frac{\text{Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x}+(b n) \int \frac{\cosh \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x^2 \left (a+b \log \left (c x^n\right )\right )} \, dx\\ &=-\frac{\text{Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x}+\frac{1}{2} \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}{2} \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{\text{Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x}+\frac{\left (b e^{-a d} \left (c x^n\right )^{-b d-\frac{-1-b d n}{n}}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{(-1-b d n) x}{n}}}{a+b x} \, dx,x,\log \left (c x^n\right )\right )}{2 x}+\frac{\left (b e^{a d} \left (c x^n\right )^{b d-\frac{-1+b d n}{n}}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{(-1+b d n) x}{n}}}{a+b x} \, dx,x,\log \left (c x^n\right )\right )}{2 x}\\ &=-\frac{\text{Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x}+\frac{e^{\frac{a}{b n}} \left (c x^n\right )^{\frac{1}{n}} \text{Ei}\left (-\frac{(1-b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )}{2 x}+\frac{e^{\frac{a}{b n}} \left (c x^n\right )^{\frac{1}{n}} \text{Ei}\left (-\frac{(1+b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )}{2 x}\\ \end{align*}

Mathematica [A]  time = 1.13919, size = 144, normalized size = 1.18 \[ \frac{1}{2} \exp \left (-\frac{(b d n-1) \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )}{b n}\right ) \left (\text{ExpIntegralEi}\left (\frac{(b d n-1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+\text{ExpIntegralEi}\left (-\frac{(b d n+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )\right ) \left (\sinh \left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right )+\cosh \left (d \left (a+b \left (\log \left (c x^n\right )-n \log (x)\right )\right )\right )\right )-\frac{\text{Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \]

Warning: Unable to verify antiderivative.

[In]

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

[Out]

-(CoshIntegral[d*(a + b*Log[c*x^n])]/x) + ((ExpIntegralEi[((-1 + b*d*n)*(a + b*Log[c*x^n]))/(b*n)] + ExpIntegr
alEi[-(((1 + b*d*n)*(a + b*Log[c*x^n]))/(b*n))])*(Cosh[d*(a + b*(-(n*Log[x]) + Log[c*x^n]))] + Sinh[d*(a + b*(
-(n*Log[x]) + Log[c*x^n]))]))/(2*E^(((-1 + b*d*n)*(a + b*(-(n*Log[x]) + Log[c*x^n])))/(b*n)))

________________________________________________________________________________________

Maple [F]  time = 0.114, size = 0, normalized size = 0. \begin{align*} \int{\frac{{\it Chi} \left ( d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) }{{x}^{2}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\rm Chi}\left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )}{x^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\operatorname{Chi}\left (b d \log \left (c x^{n}\right ) + a d\right )}{x^{2}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{Chi}\left (a d + b d \log{\left (c x^{n} \right )}\right )}{x^{2}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\rm Chi}\left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )}{x^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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