Optimal. Leaf size=101 \[ \frac{16 \tanh (a+b x)}{35 b \sqrt{\text{sech}^2(a+b x)}}+\frac{8 \tanh (a+b x)}{35 b \text{sech}^2(a+b x)^{3/2}}+\frac{6 \tanh (a+b x)}{35 b \text{sech}^2(a+b x)^{5/2}}+\frac{\tanh (a+b x)}{7 b \text{sech}^2(a+b x)^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0345122, antiderivative size = 101, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {4122, 192, 191} \[ \frac{16 \tanh (a+b x)}{35 b \sqrt{\text{sech}^2(a+b x)}}+\frac{8 \tanh (a+b x)}{35 b \text{sech}^2(a+b x)^{3/2}}+\frac{6 \tanh (a+b x)}{35 b \text{sech}^2(a+b x)^{5/2}}+\frac{\tanh (a+b x)}{7 b \text{sech}^2(a+b x)^{7/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4122
Rule 192
Rule 191
Rubi steps
\begin{align*} \int \frac{1}{\text{sech}^2(a+b x)^{7/2}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right )^{9/2}} \, dx,x,\tanh (a+b x)\right )}{b}\\ &=\frac{\tanh (a+b x)}{7 b \text{sech}^2(a+b x)^{7/2}}+\frac{6 \operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right )^{7/2}} \, dx,x,\tanh (a+b x)\right )}{7 b}\\ &=\frac{\tanh (a+b x)}{7 b \text{sech}^2(a+b x)^{7/2}}+\frac{6 \tanh (a+b x)}{35 b \text{sech}^2(a+b x)^{5/2}}+\frac{24 \operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right )^{5/2}} \, dx,x,\tanh (a+b x)\right )}{35 b}\\ &=\frac{\tanh (a+b x)}{7 b \text{sech}^2(a+b x)^{7/2}}+\frac{6 \tanh (a+b x)}{35 b \text{sech}^2(a+b x)^{5/2}}+\frac{8 \tanh (a+b x)}{35 b \text{sech}^2(a+b x)^{3/2}}+\frac{16 \operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right )^{3/2}} \, dx,x,\tanh (a+b x)\right )}{35 b}\\ &=\frac{\tanh (a+b x)}{7 b \text{sech}^2(a+b x)^{7/2}}+\frac{6 \tanh (a+b x)}{35 b \text{sech}^2(a+b x)^{5/2}}+\frac{8 \tanh (a+b x)}{35 b \text{sech}^2(a+b x)^{3/2}}+\frac{16 \tanh (a+b x)}{35 b \sqrt{\text{sech}^2(a+b x)}}\\ \end{align*}
Mathematica [A] time = 0.130937, size = 57, normalized size = 0.56 \[ \frac{\left (5 \sinh ^6(a+b x)+21 \sinh ^4(a+b x)+35 \sinh ^2(a+b x)+35\right ) \tanh (a+b x)}{35 b \sqrt{\text{sech}^2(a+b x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.102, size = 409, normalized size = 4.1 \begin{align*}{\frac{{{\rm e}^{8\,bx+8\,a}}}{ \left ( 896+896\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}+{\frac{7\,{{\rm e}^{6\,bx+6\,a}}}{ \left ( 640+640\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}+{\frac{7\,{{\rm e}^{4\,bx+4\,a}}}{ \left ( 128+128\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}+{\frac{35\,{{\rm e}^{2\,bx+2\,a}}}{ \left ( 128+128\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}-{\frac{35}{ \left ( 128+128\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}-{\frac{7\,{{\rm e}^{-2\,bx-2\,a}}}{ \left ( 128+128\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}-{\frac{7\,{{\rm e}^{-4\,bx-4\,a}}}{ \left ( 640+640\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}-{\frac{{{\rm e}^{-6\,bx-6\,a}}}{ \left ( 896+896\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01803, size = 135, normalized size = 1.34 \begin{align*} \frac{{\left (49 \, e^{\left (-2 \, b x - 2 \, a\right )} + 245 \, e^{\left (-4 \, b x - 4 \, a\right )} + 1225 \, e^{\left (-6 \, b x - 6 \, a\right )} + 5\right )} e^{\left (7 \, b x + 7 \, a\right )}}{4480 \, b} - \frac{1225 \, e^{\left (-b x - a\right )} + 245 \, e^{\left (-3 \, b x - 3 \, a\right )} + 49 \, e^{\left (-5 \, b x - 5 \, a\right )} + 5 \, e^{\left (-7 \, b x - 7 \, a\right )}}{4480 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.07259, size = 302, normalized size = 2.99 \begin{align*} \frac{5 \, \sinh \left (b x + a\right )^{7} + 7 \,{\left (15 \, \cosh \left (b x + a\right )^{2} + 7\right )} \sinh \left (b x + a\right )^{5} + 35 \,{\left (5 \, \cosh \left (b x + a\right )^{4} + 14 \, \cosh \left (b x + a\right )^{2} + 7\right )} \sinh \left (b x + a\right )^{3} + 35 \,{\left (\cosh \left (b x + a\right )^{6} + 7 \, \cosh \left (b x + a\right )^{4} + 21 \, \cosh \left (b x + a\right )^{2} + 35\right )} \sinh \left (b x + a\right )}{2240 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [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]
________________________________________________________________________________________
Giac [A] time = 1.12029, size = 124, normalized size = 1.23 \begin{align*} -\frac{{\left (1225 \, e^{\left (6 \, b x + 6 \, a\right )} + 245 \, e^{\left (4 \, b x + 4 \, a\right )} + 49 \, e^{\left (2 \, b x + 2 \, a\right )} + 5\right )} e^{\left (-7 \, b x - 7 \, a\right )} - 5 \, e^{\left (7 \, b x + 7 \, a\right )} - 49 \, e^{\left (5 \, b x + 5 \, a\right )} - 245 \, e^{\left (3 \, b x + 3 \, a\right )} - 1225 \, e^{\left (b x + a\right )}}{4480 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]