Optimal. Leaf size=128 \[ \frac {1}{3} x^3 \text {Chi}\left (d \left (a+b \log \left (c x^n\right )\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 ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.17, 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 = {6691, 12, 5651,
2347, 2209} \begin {gather*} \frac {1}{3} x^3 \text {Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-\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 ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2209
Rule 2347
Rule 5651
Rule 6691
Rubi steps
\begin {align*} \int x^2 \text {Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx &=\frac {1}{3} x^3 \text {Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-\frac {1}{3} (b d n) \int \frac {x^2 \cosh \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 {Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-\frac {1}{3} (b n) \int \frac {x^2 \cosh \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 {Chi}\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 {Chi}\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 ) \text {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 ) \text {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}{3} x^3 \text {Chi}\left (d \left (a+b \log \left (c x^n\right )\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 )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.55, size = 97, normalized size = 0.76 \begin {gather*} \frac {1}{6} x^3 \left (2 \text {Chi}\left (d \left (a+b \log \left (c x^n\right )\right )\right )-e^{-\frac {3 a}{b n}} \left (c x^n\right )^{-3/n} \left (\text {Ei}\left (-\frac {(-3+b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )+\text {Ei}\left (\frac {(3+b d n) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.44, size = 0, normalized size = 0.00 \[\int x^{2} \hyperbolicCosineIntegral \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]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \operatorname {Chi}\left (a d + b d \log {\left (c x^{n} \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,\mathrm {coshint}\left (d\,\left (a+b\,\ln \left (c\,x^n\right )\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________