3.103 \(\int \frac {\text {Ci}(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 {Ci}\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]

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

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 55, normalized size of antiderivative = 1.00, 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.10, size = 96, normalized size = 1.75 \[ \frac {a \text {Ci}\left (a d+b \log \left (c x^n\right ) d\right )}{b n}+\frac {\log \left (c x^n\right ) \text {Ci}\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)

________________________________________________________________________________________

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

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)

________________________________________________________________________________________

giac [A]  time = 1.24, size = 61, normalized size = 1.11 \[ \frac {{\left (b d n \log \relax (x) + b d \log \relax (c) + a d\right )} \operatorname {Ci}\left (b d n \log \relax (x) + b d \log \relax (c) + a d\right ) - \sin \left (b d n \log \relax (x) + b d \log \relax (c) + a d\right )}{b d n} \]

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)

________________________________________________________________________________________

maple [A]  time = 0.02, size = 73, normalized size = 1.33 \[ \frac {\ln \left (c \,x^{n}\right ) \Ci \left (a d +b d \ln \left (c \,x^{n}\right )\right )}{n}+\frac {\Ci \left (a d +b d \ln \left (c \,x^{n}\right )\right ) a}{n b}-\frac {\sin \left (a d +b d \ln \left (c \,x^{n}\right )\right )}{n b d} \]

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.00, size = 0, normalized size = 0.00 \[ \int \frac {{\rm Ci}\left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )}{x}\,{d x} \]

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)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \frac {\ln \left (c\,x^n\right )\,\mathrm {cosint}\left (d\,\left (a+b\,\ln \left (c\,x^n\right )\right )\right )}{n}+\frac {a\,\mathrm {cosint}\left (d\,\left (a+b\,\ln \left (c\,x^n\right )\right )\right )}{b\,n}-\frac {\sin \left (d\,\left (a+b\,\ln \left (c\,x^n\right )\right )\right )}{b\,d\,n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosint(d*(a + b*log(c*x^n)))/x,x)

[Out]

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

________________________________________________________________________________________

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

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)

________________________________________________________________________________________