Integrand size = 23, antiderivative size = 125 \[ \int \text {sech}(e+f x) \left (a+b \sinh ^2(e+f x)\right )^{3/2} \, dx=\frac {(a-b)^{3/2} \arctan \left (\frac {\sqrt {a-b} \sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )}{f}+\frac {(3 a-2 b) \sqrt {b} \text {arctanh}\left (\frac {\sqrt {b} \sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )}{2 f}+\frac {b \sinh (e+f x) \sqrt {a+b \sinh ^2(e+f x)}}{2 f} \] Output:
(a-b)^(3/2)*arctan((a-b)^(1/2)*sinh(f*x+e)/(a+b*sinh(f*x+e)^2)^(1/2))/f+1/ 2*(3*a-2*b)*b^(1/2)*arctanh(b^(1/2)*sinh(f*x+e)/(a+b*sinh(f*x+e)^2)^(1/2)) /f+1/2*b*sinh(f*x+e)*(a+b*sinh(f*x+e)^2)^(1/2)/f
Time = 0.34 (sec) , antiderivative size = 142, normalized size of antiderivative = 1.14 \[ \int \text {sech}(e+f x) \left (a+b \sinh ^2(e+f x)\right )^{3/2} \, dx=\frac {4 (a-b)^{3/2} \arctan \left (\frac {\sqrt {2 a-2 b} \sinh (e+f x)}{\sqrt {2 a-b+b \cosh (2 (e+f x))}}\right )+2 (3 a-2 b) \sqrt {b} \text {arctanh}\left (\frac {\sqrt {2} \sqrt {b} \sinh (e+f x)}{\sqrt {2 a-b+b \cosh (2 (e+f x))}}\right )+b \sqrt {4 a-2 b+2 b \cosh (2 (e+f x))} \sinh (e+f x)}{4 f} \] Input:
Integrate[Sech[e + f*x]*(a + b*Sinh[e + f*x]^2)^(3/2),x]
Output:
(4*(a - b)^(3/2)*ArcTan[(Sqrt[2*a - 2*b]*Sinh[e + f*x])/Sqrt[2*a - b + b*C osh[2*(e + f*x)]]] + 2*(3*a - 2*b)*Sqrt[b]*ArcTanh[(Sqrt[2]*Sqrt[b]*Sinh[e + f*x])/Sqrt[2*a - b + b*Cosh[2*(e + f*x)]]] + b*Sqrt[4*a - 2*b + 2*b*Cos h[2*(e + f*x)]]*Sinh[e + f*x])/(4*f)
Time = 0.35 (sec) , antiderivative size = 123, normalized size of antiderivative = 0.98, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.348, Rules used = {3042, 3669, 318, 398, 224, 219, 291, 216}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \text {sech}(e+f x) \left (a+b \sinh ^2(e+f x)\right )^{3/2} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {\left (a-b \sin (i e+i f x)^2\right )^{3/2}}{\cos (i e+i f x)}dx\) |
\(\Big \downarrow \) 3669 |
\(\displaystyle \frac {\int \frac {\left (b \sinh ^2(e+f x)+a\right )^{3/2}}{\sinh ^2(e+f x)+1}d\sinh (e+f x)}{f}\) |
\(\Big \downarrow \) 318 |
\(\displaystyle \frac {\frac {1}{2} \int \frac {(3 a-2 b) b \sinh ^2(e+f x)+a (2 a-b)}{\left (\sinh ^2(e+f x)+1\right ) \sqrt {b \sinh ^2(e+f x)+a}}d\sinh (e+f x)+\frac {1}{2} b \sinh (e+f x) \sqrt {a+b \sinh ^2(e+f x)}}{f}\) |
\(\Big \downarrow \) 398 |
\(\displaystyle \frac {\frac {1}{2} \left (2 (a-b)^2 \int \frac {1}{\left (\sinh ^2(e+f x)+1\right ) \sqrt {b \sinh ^2(e+f x)+a}}d\sinh (e+f x)+b (3 a-2 b) \int \frac {1}{\sqrt {b \sinh ^2(e+f x)+a}}d\sinh (e+f x)\right )+\frac {1}{2} b \sinh (e+f x) \sqrt {a+b \sinh ^2(e+f x)}}{f}\) |
\(\Big \downarrow \) 224 |
\(\displaystyle \frac {\frac {1}{2} \left (2 (a-b)^2 \int \frac {1}{\left (\sinh ^2(e+f x)+1\right ) \sqrt {b \sinh ^2(e+f x)+a}}d\sinh (e+f x)+b (3 a-2 b) \int \frac {1}{1-\frac {b \sinh ^2(e+f x)}{b \sinh ^2(e+f x)+a}}d\frac {\sinh (e+f x)}{\sqrt {b \sinh ^2(e+f x)+a}}\right )+\frac {1}{2} b \sinh (e+f x) \sqrt {a+b \sinh ^2(e+f x)}}{f}\) |
\(\Big \downarrow \) 219 |
\(\displaystyle \frac {\frac {1}{2} \left (2 (a-b)^2 \int \frac {1}{\left (\sinh ^2(e+f x)+1\right ) \sqrt {b \sinh ^2(e+f x)+a}}d\sinh (e+f x)+\sqrt {b} (3 a-2 b) \text {arctanh}\left (\frac {\sqrt {b} \sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )\right )+\frac {1}{2} b \sinh (e+f x) \sqrt {a+b \sinh ^2(e+f x)}}{f}\) |
\(\Big \downarrow \) 291 |
\(\displaystyle \frac {\frac {1}{2} \left (2 (a-b)^2 \int \frac {1}{1-\frac {(b-a) \sinh ^2(e+f x)}{b \sinh ^2(e+f x)+a}}d\frac {\sinh (e+f x)}{\sqrt {b \sinh ^2(e+f x)+a}}+\sqrt {b} (3 a-2 b) \text {arctanh}\left (\frac {\sqrt {b} \sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )\right )+\frac {1}{2} b \sinh (e+f x) \sqrt {a+b \sinh ^2(e+f x)}}{f}\) |
\(\Big \downarrow \) 216 |
\(\displaystyle \frac {\frac {1}{2} \left (2 (a-b)^{3/2} \arctan \left (\frac {\sqrt {a-b} \sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )+\sqrt {b} (3 a-2 b) \text {arctanh}\left (\frac {\sqrt {b} \sinh (e+f x)}{\sqrt {a+b \sinh ^2(e+f x)}}\right )\right )+\frac {1}{2} b \sinh (e+f x) \sqrt {a+b \sinh ^2(e+f x)}}{f}\) |
Input:
Int[Sech[e + f*x]*(a + b*Sinh[e + f*x]^2)^(3/2),x]
Output:
((2*(a - b)^(3/2)*ArcTan[(Sqrt[a - b]*Sinh[e + f*x])/Sqrt[a + b*Sinh[e + f *x]^2]] + (3*a - 2*b)*Sqrt[b]*ArcTanh[(Sqrt[b]*Sinh[e + f*x])/Sqrt[a + b*S inh[e + f*x]^2]])/2 + (b*Sinh[e + f*x]*Sqrt[a + b*Sinh[e + f*x]^2])/2)/f
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*A rcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a , 0] || GtQ[b, 0])
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))* ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (Gt Q[a, 0] || LtQ[b, 0])
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b}, x] && !GtQ[a, 0]
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*((c_) + (d_.)*(x_)^2)), x_Symbol] :> Subst [Int[1/(c - (b*c - a*d)*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]
Int[((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_), x_Symbol] :> Sim p[d*x*(a + b*x^2)^(p + 1)*((c + d*x^2)^(q - 1)/(b*(2*(p + q) + 1))), x] + S imp[1/(b*(2*(p + q) + 1)) Int[(a + b*x^2)^p*(c + d*x^2)^(q - 2)*Simp[c*(b *c*(2*(p + q) + 1) - a*d) + d*(b*c*(2*(p + 2*q - 1) + 1) - a*d*(2*(q - 1) + 1))*x^2, x], x], x] /; FreeQ[{a, b, c, d, p}, x] && NeQ[b*c - a*d, 0] && G tQ[q, 1] && NeQ[2*(p + q) + 1, 0] && !IGtQ[p, 1] && IntBinomialQ[a, b, c, d, 2, p, q, x]
Int[((e_) + (f_.)*(x_)^2)/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]) , x_Symbol] :> Simp[f/b Int[1/Sqrt[c + d*x^2], x], x] + Simp[(b*e - a*f)/ b Int[1/((a + b*x^2)*Sqrt[c + d*x^2]), x], x] /; FreeQ[{a, b, c, d, e, f} , x]
Int[cos[(e_.) + (f_.)*(x_)]^(m_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^ (p_.), x_Symbol] :> With[{ff = FreeFactors[Sin[e + f*x], x]}, Simp[ff/f S ubst[Int[(1 - ff^2*x^2)^((m - 1)/2)*(a + b*ff^2*x^2)^p, x], x, Sin[e + f*x] /ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[(m - 1)/2]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 0.28 (sec) , antiderivative size = 63, normalized size of antiderivative = 0.50
method | result | size |
default | \(\frac {\operatorname {`\,int/indef0`\,}\left (\frac {b^{2} \sinh \left (f x +e \right )^{4}+2 \sinh \left (f x +e \right )^{2} a b +a^{2}}{\cosh \left (f x +e \right )^{2} \sqrt {a +b \sinh \left (f x +e \right )^{2}}}, \sinh \left (f x +e \right )\right )}{f}\) | \(63\) |
Input:
int(sech(f*x+e)*(a+b*sinh(f*x+e)^2)^(3/2),x,method=_RETURNVERBOSE)
Output:
`int/indef0`((b^2*sinh(f*x+e)^4+2*sinh(f*x+e)^2*a*b+a^2)/cosh(f*x+e)^2/(a+ b*sinh(f*x+e)^2)^(1/2),sinh(f*x+e))/f
Leaf count of result is larger than twice the leaf count of optimal. 959 vs. \(2 (107) = 214\).
Time = 0.36 (sec) , antiderivative size = 6113, normalized size of antiderivative = 48.90 \[ \int \text {sech}(e+f x) \left (a+b \sinh ^2(e+f x)\right )^{3/2} \, dx=\text {Too large to display} \] Input:
integrate(sech(f*x+e)*(a+b*sinh(f*x+e)^2)^(3/2),x, algorithm="fricas")
Output:
Too large to include
\[ \int \text {sech}(e+f x) \left (a+b \sinh ^2(e+f x)\right )^{3/2} \, dx=\int \left (a + b \sinh ^{2}{\left (e + f x \right )}\right )^{\frac {3}{2}} \operatorname {sech}{\left (e + f x \right )}\, dx \] Input:
integrate(sech(f*x+e)*(a+b*sinh(f*x+e)**2)**(3/2),x)
Output:
Integral((a + b*sinh(e + f*x)**2)**(3/2)*sech(e + f*x), x)
\[ \int \text {sech}(e+f x) \left (a+b \sinh ^2(e+f x)\right )^{3/2} \, dx=\int { {\left (b \sinh \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}} \operatorname {sech}\left (f x + e\right ) \,d x } \] Input:
integrate(sech(f*x+e)*(a+b*sinh(f*x+e)^2)^(3/2),x, algorithm="maxima")
Output:
integrate((b*sinh(f*x + e)^2 + a)^(3/2)*sech(f*x + e), x)
Exception generated. \[ \int \text {sech}(e+f x) \left (a+b \sinh ^2(e+f x)\right )^{3/2} \, dx=\text {Exception raised: TypeError} \] Input:
integrate(sech(f*x+e)*(a+b*sinh(f*x+e)^2)^(3/2),x, algorithm="giac")
Output:
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:Error: Bad Argument Type
Timed out. \[ \int \text {sech}(e+f x) \left (a+b \sinh ^2(e+f x)\right )^{3/2} \, dx=\int \frac {{\left (b\,{\mathrm {sinh}\left (e+f\,x\right )}^2+a\right )}^{3/2}}{\mathrm {cosh}\left (e+f\,x\right )} \,d x \] Input:
int((a + b*sinh(e + f*x)^2)^(3/2)/cosh(e + f*x),x)
Output:
int((a + b*sinh(e + f*x)^2)^(3/2)/cosh(e + f*x), x)
\[ \int \text {sech}(e+f x) \left (a+b \sinh ^2(e+f x)\right )^{3/2} \, dx=\left (\int \sqrt {\sinh \left (f x +e \right )^{2} b +a}\, \mathrm {sech}\left (f x +e \right ) \sinh \left (f x +e \right )^{2}d x \right ) b +\left (\int \sqrt {\sinh \left (f x +e \right )^{2} b +a}\, \mathrm {sech}\left (f x +e \right )d x \right ) a \] Input:
int(sech(f*x+e)*(a+b*sinh(f*x+e)^2)^(3/2),x)
Output:
int(sqrt(sinh(e + f*x)**2*b + a)*sech(e + f*x)*sinh(e + f*x)**2,x)*b + int (sqrt(sinh(e + f*x)**2*b + a)*sech(e + f*x),x)*a