Optimal. Leaf size=69 \[ \frac {4 e^{2 a} x \left (c x^n\right )^{2 b} \, _2F_1\left (2,\frac {1}{2} \left (2+\frac {1}{b n}\right );\frac {1}{2} \left (4+\frac {1}{b n}\right );-e^{2 a} \left (c x^n\right )^{2 b}\right )}{1+2 b n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {5664, 5666,
269, 371} \begin {gather*} \frac {4 e^{2 a} x \left (c x^n\right )^{2 b} \, _2F_1\left (2,\frac {1}{2} \left (2+\frac {1}{b n}\right );\frac {1}{2} \left (4+\frac {1}{b n}\right );-e^{2 a} \left (c x^n\right )^{2 b}\right )}{2 b n+1} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 269
Rule 371
Rule 5664
Rule 5666
Rubi steps
\begin {align*} \int \text {sech}^2\left (a+b \log \left (c x^n\right )\right ) \, dx &=\frac {\left (x \left (c x^n\right )^{-1/n}\right ) \text {Subst}\left (\int x^{-1+\frac {1}{n}} \text {sech}^2(a+b \log (x)) \, dx,x,c x^n\right )}{n}\\ &=\frac {\left (4 e^{-2 a} x \left (c x^n\right )^{-1/n}\right ) \text {Subst}\left (\int \frac {x^{-1-2 b+\frac {1}{n}}}{\left (1+e^{-2 a} x^{-2 b}\right )^2} \, dx,x,c x^n\right )}{n}\\ &=\frac {\left (4 e^{-2 a} x \left (c x^n\right )^{-1/n}\right ) \text {Subst}\left (\int \frac {x^{-1+2 b+\frac {1}{n}}}{\left (e^{-2 a}+x^{2 b}\right )^2} \, dx,x,c x^n\right )}{n}\\ &=\frac {4 e^{2 a} x \left (c x^n\right )^{2 b} \, _2F_1\left (2,\frac {1}{2} \left (2+\frac {1}{b n}\right );\frac {1}{2} \left (4+\frac {1}{b n}\right );-e^{2 a} \left (c x^n\right )^{2 b}\right )}{1+2 b n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 3.71, size = 126, normalized size = 1.83 \begin {gather*} \frac {x \left (-\frac {e^{2 a} \left (c x^n\right )^{2 b} \, _2F_1\left (1,1+\frac {1}{2 b n};2+\frac {1}{2 b n};-e^{2 a} \left (c x^n\right )^{2 b}\right )}{1+2 b n}+\, _2F_1\left (1,\frac {1}{2 b n};1+\frac {1}{2 b n};-e^{2 a} \left (c x^n\right )^{2 b}\right )+\tanh \left (a+b \log \left (c x^n\right )\right )\right )}{b n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 1.51, size = 0, normalized size = 0.00 \[\int \mathrm {sech}\left (a +b \ln \left (c \,x^{n}\right )\right )^{2}\, 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 \operatorname {sech}^{2}{\left (a + b \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 \frac {1}{{\mathrm {cosh}\left (a+b\,\ln \left (c\,x^n\right )\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________