Optimal. Leaf size=101 \[ \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)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 101, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4207, 198, 197}
\begin {gather*} \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}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 198
Rule 4207
Rubi steps
\begin {align*} \int \frac {1}{\text {sech}^2(a+b x)^{7/2}} \, dx &=\frac {\text {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 \text {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 \text {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 \text {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.11, size = 64, normalized size = 0.63 \begin {gather*} \frac {\text {sech}(a+b x) (1225 \sinh (a+b x)+245 \sinh (3 (a+b x))+49 \sinh (5 (a+b x))+5 \sinh (7 (a+b x)))}{2240 b \sqrt {\text {sech}^2(a+b x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(408\) vs.
\(2(85)=170\).
time = 2.47, size = 409, normalized size = 4.05
method | result | size |
risch | \(\frac {{\mathrm e}^{8 b x +8 a}}{896 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}+\frac {7 \,{\mathrm e}^{6 b x +6 a}}{640 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}+\frac {7 \,{\mathrm e}^{4 b x +4 a}}{128 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}+\frac {35 \,{\mathrm e}^{2 b x +2 a}}{128 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}-\frac {35}{128 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}-\frac {7 \,{\mathrm e}^{-2 b x -2 a}}{128 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}-\frac {7 \,{\mathrm e}^{-4 b x -4 a}}{640 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}-\frac {{\mathrm e}^{-6 b x -6 a}}{896 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}\) | \(409\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 100, normalized size = 0.99 \begin {gather*} \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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 108, normalized size = 1.07 \begin {gather*} \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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 35.12, size = 104, normalized size = 1.03 \begin {gather*} \begin {cases} - \frac {16 \tanh ^{7}{\left (a + b x \right )}}{35 b \left (\operatorname {sech}^{2}{\left (a + b x \right )}\right )^{\frac {7}{2}}} + \frac {8 \tanh ^{5}{\left (a + b x \right )}}{5 b \left (\operatorname {sech}^{2}{\left (a + b x \right )}\right )^{\frac {7}{2}}} - \frac {2 \tanh ^{3}{\left (a + b x \right )}}{b \left (\operatorname {sech}^{2}{\left (a + b x \right )}\right )^{\frac {7}{2}}} + \frac {\tanh {\left (a + b x \right )}}{b \left (\operatorname {sech}^{2}{\left (a + b x \right )}\right )^{\frac {7}{2}}} & \text {for}\: b \neq 0 \\\frac {x}{\left (\operatorname {sech}^{2}{\left (a \right )}\right )^{\frac {7}{2}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.39, size = 92, normalized size = 0.91 \begin {gather*} -\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 {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}{{\left (\frac {1}{{\mathrm {cosh}\left (a+b\,x\right )}^2}\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________