3.103 \(\int \frac{\text{CosIntegral}(d (a+b \log (c x^n)))}{x} \, dx\)

Optimal. Leaf size=55 \[ \frac{\left (a+b \log \left (c x^n\right )\right ) \text{CosIntegral}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{b n}-\frac{\sin \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{b d n} \]

[Out]

(CosIntegral[d*(a + b*Log[c*x^n])]*(a + b*Log[c*x^n]))/(b*n) - Sin[d*(a + b*Log[c*x^n])]/(b*d*n)

________________________________________________________________________________________

Rubi [A]  time = 0.0352144, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059, Rules used = {6500} \[ \frac{\left (a+b \log \left (c x^n\right )\right ) \text{CosIntegral}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{b n}-\frac{\sin \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{b d n} \]

Antiderivative was successfully verified.

[In]

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

[Out]

(CosIntegral[d*(a + b*Log[c*x^n])]*(a + b*Log[c*x^n]))/(b*n) - Sin[d*(a + b*Log[c*x^n])]/(b*d*n)

Rule 6500

Int[CosIntegral[(a_.) + (b_.)*(x_)], x_Symbol] :> Simp[((a + b*x)*CosIntegral[a + b*x])/b, x] - Simp[Sin[a + b
*x]/b, x] /; FreeQ[{a, b}, x]

Rubi steps

\begin{align*} \int \frac{\text{Ci}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{x} \, dx &=\frac{\operatorname{Subst}\left (\int \text{Ci}(d (a+b x)) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac{\operatorname{Subst}\left (\int \text{Ci}(x) \, dx,x,a d+b d \log \left (c x^n\right )\right )}{b d n}\\ &=\frac{\text{Ci}\left (a d+b d \log \left (c x^n\right )\right ) \left (a+b \log \left (c x^n\right )\right )}{b n}-\frac{\sin \left (a d+b d \log \left (c x^n\right )\right )}{b d n}\\ \end{align*}

Mathematica [A]  time = 0.0786387, size = 96, normalized size = 1.75 \[ \frac{a \text{CosIntegral}\left (a d+b d \log \left (c x^n\right )\right )}{b n}+\frac{\log \left (c x^n\right ) \text{CosIntegral}\left (d \left (a+b \log \left (c x^n\right )\right )\right )}{n}-\frac{\sin (a d) \cos \left (b d \log \left (c x^n\right )\right )}{b d n}-\frac{\cos (a d) \sin \left (b d \log \left (c x^n\right )\right )}{b d n} \]

Antiderivative was successfully verified.

[In]

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

[Out]

(a*CosIntegral[a*d + b*d*Log[c*x^n]])/(b*n) + (CosIntegral[d*(a + b*Log[c*x^n])]*Log[c*x^n])/n - (Cos[b*d*Log[
c*x^n]]*Sin[a*d])/(b*d*n) - (Cos[a*d]*Sin[b*d*Log[c*x^n]])/(b*d*n)

________________________________________________________________________________________

Maple [A]  time = 0.07, size = 73, normalized size = 1.3 \begin{align*}{\frac{\ln \left ( c{x}^{n} \right ){\it Ci} \left ( ad+bd\ln \left ( c{x}^{n} \right ) \right ) }{n}}+{\frac{{\it Ci} \left ( ad+bd\ln \left ( c{x}^{n} \right ) \right ) a}{bn}}-{\frac{\sin \left ( ad+bd\ln \left ( c{x}^{n} \right ) \right ) }{bdn}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/n*ln(c*x^n)*Ci(a*d+b*d*ln(c*x^n))+1/n/b*Ci(a*d+b*d*ln(c*x^n))*a-1/n/b/d*sin(a*d+b*d*ln(c*x^n))

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Giac [A]  time = 1.33635, size = 82, normalized size = 1.49 \begin{align*} \frac{{\left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right )} \operatorname{Ci}\left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right ) - \sin \left (b d n \log \left (x\right ) + b d \log \left (c\right ) + a d\right )}{b d n} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

((b*d*n*log(x) + b*d*log(c) + a*d)*cos_integral(b*d*n*log(x) + b*d*log(c) + a*d) - sin(b*d*n*log(x) + b*d*log(
c) + a*d))/(b*d*n)