Optimal. Leaf size=128 \[ -\frac{1}{2} i x e^{-\frac{a}{b n}} \left (c x^n\right )^{-1/n} \text{ExpIntegralEi}\left (\frac{(1-i b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+\frac{1}{2} i x e^{-\frac{a}{b n}} \left (c x^n\right )^{-1/n} \text{ExpIntegralEi}\left (\frac{(1+i b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+x \text{Si}\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.238001, antiderivative size = 128, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.385, Rules used = {6523, 12, 4495, 2310, 2178} \[ -\frac{1}{2} i x e^{-\frac{a}{b n}} \left (c x^n\right )^{-1/n} \text{Ei}\left (\frac{(1-i b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+\frac{1}{2} i x e^{-\frac{a}{b n}} \left (c x^n\right )^{-1/n} \text{Ei}\left (\frac{(i b d n+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+x \text{Si}\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6523
Rule 12
Rule 4495
Rule 2310
Rule 2178
Rubi steps
\begin{align*} \int \text{Si}\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx &=x \text{Si}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-(b d n) \int \frac{\sin \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\\ &=x \text{Si}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-(b n) \int \frac{\sin \left (d \left (a+b \log \left (c x^n\right )\right )\right )}{a+b \log \left (c x^n\right )} \, dx\\ &=x \text{Si}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-\frac{1}{2} \left (i b e^{-i a d} n x^{i b d n} \left (c x^n\right )^{-i b d}\right ) \int \frac{x^{-i b d n}}{a+b \log \left (c x^n\right )} \, dx+\frac{1}{2} \left (i b e^{i a d} n x^{-i b d n} \left (c x^n\right )^{i b d}\right ) \int \frac{x^{i b d n}}{a+b \log \left (c x^n\right )} \, dx\\ &=x \text{Si}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-\frac{1}{2} \left (i b e^{-i a d} x \left (c x^n\right )^{-i b d-\frac{1-i b d n}{n}}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{(1-i b d n) x}{n}}}{a+b x} \, dx,x,\log \left (c x^n\right )\right )+\frac{1}{2} \left (i b e^{i a d} x \left (c x^n\right )^{i b d-\frac{1+i b d n}{n}}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{(1+i b d n) x}{n}}}{a+b x} \, dx,x,\log \left (c x^n\right )\right )\\ &=-\frac{1}{2} i e^{-\frac{a}{b n}} x \left (c x^n\right )^{-1/n} \text{Ei}\left (\frac{(1-i b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+\frac{1}{2} i e^{-\frac{a}{b n}} x \left (c x^n\right )^{-1/n} \text{Ei}\left (\frac{(1+i b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+x \text{Si}\left (d \left (a+b \log \left (c x^n\right )\right )\right )\\ \end{align*}
Mathematica [A] time = 1.6419, size = 102, normalized size = 0.8 \[ x \text{Si}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-\frac{1}{2} i x e^{-\frac{a}{b n}} \left (c x^n\right )^{-1/n} \left (\text{ExpIntegralEi}\left (\frac{(1-i b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )-\text{ExpIntegralEi}\left (\frac{(1+i b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.069, size = 0, normalized size = 0. \begin{align*} \int{\it Si} \left ( d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\rm Si}\left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\operatorname{Si}\left (b d \log \left (c x^{n}\right ) + a d\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \operatorname{Si}{\left (d \left (a + b \log{\left (c x^{n} \right )}\right ) \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]