Integrand size = 10, antiderivative size = 62 \[ \int \frac {1}{\sec ^{\frac {5}{2}}(a+b x)} \, dx=\frac {6 \sqrt {\cos (a+b x)} E\left (\left .\frac {1}{2} (a+b x)\right |2\right ) \sqrt {\sec (a+b x)}}{5 b}+\frac {2 \sin (a+b x)}{5 b \sec ^{\frac {3}{2}}(a+b x)} \] Output:
6/5*cos(b*x+a)^(1/2)*EllipticE(sin(1/2*a+1/2*b*x),2^(1/2))*sec(b*x+a)^(1/2 )/b+2/5*sin(b*x+a)/b/sec(b*x+a)^(3/2)
Time = 0.06 (sec) , antiderivative size = 55, normalized size of antiderivative = 0.89 \[ \int \frac {1}{\sec ^{\frac {5}{2}}(a+b x)} \, dx=\frac {\sqrt {\sec (a+b x)} \left (12 \sqrt {\cos (a+b x)} E\left (\left .\frac {1}{2} (a+b x)\right |2\right )+\sin (a+b x)+\sin (3 (a+b x))\right )}{10 b} \] Input:
Integrate[Sec[a + b*x]^(-5/2),x]
Output:
(Sqrt[Sec[a + b*x]]*(12*Sqrt[Cos[a + b*x]]*EllipticE[(a + b*x)/2, 2] + Sin [a + b*x] + Sin[3*(a + b*x)]))/(10*b)
Time = 0.31 (sec) , antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {3042, 4256, 3042, 4258, 3042, 3119}
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 \frac {1}{\sec ^{\frac {5}{2}}(a+b x)} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {1}{\csc \left (a+b x+\frac {\pi }{2}\right )^{5/2}}dx\) |
\(\Big \downarrow \) 4256 |
\(\displaystyle \frac {3}{5} \int \frac {1}{\sqrt {\sec (a+b x)}}dx+\frac {2 \sin (a+b x)}{5 b \sec ^{\frac {3}{2}}(a+b x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {3}{5} \int \frac {1}{\sqrt {\csc \left (a+b x+\frac {\pi }{2}\right )}}dx+\frac {2 \sin (a+b x)}{5 b \sec ^{\frac {3}{2}}(a+b x)}\) |
\(\Big \downarrow \) 4258 |
\(\displaystyle \frac {3}{5} \sqrt {\cos (a+b x)} \sqrt {\sec (a+b x)} \int \sqrt {\cos (a+b x)}dx+\frac {2 \sin (a+b x)}{5 b \sec ^{\frac {3}{2}}(a+b x)}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {3}{5} \sqrt {\cos (a+b x)} \sqrt {\sec (a+b x)} \int \sqrt {\sin \left (a+b x+\frac {\pi }{2}\right )}dx+\frac {2 \sin (a+b x)}{5 b \sec ^{\frac {3}{2}}(a+b x)}\) |
\(\Big \downarrow \) 3119 |
\(\displaystyle \frac {2 \sin (a+b x)}{5 b \sec ^{\frac {3}{2}}(a+b x)}+\frac {6 \sqrt {\cos (a+b x)} \sqrt {\sec (a+b x)} E\left (\left .\frac {1}{2} (a+b x)\right |2\right )}{5 b}\) |
Input:
Int[Sec[a + b*x]^(-5/2),x]
Output:
(6*Sqrt[Cos[a + b*x]]*EllipticE[(a + b*x)/2, 2]*Sqrt[Sec[a + b*x]])/(5*b) + (2*Sin[a + b*x])/(5*b*Sec[a + b*x]^(3/2))
Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticE[(1/2)* (c - Pi/2 + d*x), 2], x] /; FreeQ[{c, d}, x]
Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Simp[Cos[c + d*x]*(( b*Csc[c + d*x])^(n + 1)/(b*d*n)), x] + Simp[(n + 1)/(b^2*n) Int[(b*Csc[c + d*x])^(n + 2), x], x] /; FreeQ[{b, c, d}, x] && LtQ[n, -1] && IntegerQ[2* n]
Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Simp[(b*Csc[c + d*x] )^n*Sin[c + d*x]^n Int[1/Sin[c + d*x]^n, x], x] /; FreeQ[{b, c, d}, x] && EqQ[n^2, 1/4]
Leaf count of result is larger than twice the leaf count of optimal. \(201\) vs. \(2(54)=108\).
Time = 2.69 (sec) , antiderivative size = 202, normalized size of antiderivative = 3.26
method | result | size |
default | \(-\frac {2 \sqrt {\left (2 \cos \left (\frac {b x}{2}+\frac {a}{2}\right )^{2}-1\right ) \sin \left (\frac {b x}{2}+\frac {a}{2}\right )^{2}}\, \left (-8 \sin \left (\frac {b x}{2}+\frac {a}{2}\right )^{6} \cos \left (\frac {b x}{2}+\frac {a}{2}\right )+8 \sin \left (\frac {b x}{2}+\frac {a}{2}\right )^{4} \cos \left (\frac {b x}{2}+\frac {a}{2}\right )-2 \sin \left (\frac {b x}{2}+\frac {a}{2}\right )^{2} \cos \left (\frac {b x}{2}+\frac {a}{2}\right )-3 \operatorname {EllipticE}\left (\cos \left (\frac {b x}{2}+\frac {a}{2}\right ), \sqrt {2}\right ) \sqrt {2 \sin \left (\frac {b x}{2}+\frac {a}{2}\right )^{2}-1}\, \sqrt {\frac {1}{2}-\frac {\cos \left (b x +a \right )}{2}}\right )}{5 \sqrt {-2 \sin \left (\frac {b x}{2}+\frac {a}{2}\right )^{4}+\sin \left (\frac {b x}{2}+\frac {a}{2}\right )^{2}}\, \sin \left (\frac {b x}{2}+\frac {a}{2}\right ) \sqrt {2 \cos \left (\frac {b x}{2}+\frac {a}{2}\right )^{2}-1}\, b}\) | \(202\) |
Input:
int(1/sec(b*x+a)^(5/2),x,method=_RETURNVERBOSE)
Output:
-2/5*((2*cos(1/2*b*x+1/2*a)^2-1)*sin(1/2*b*x+1/2*a)^2)^(1/2)*(-8*sin(1/2*b *x+1/2*a)^6*cos(1/2*b*x+1/2*a)+8*sin(1/2*b*x+1/2*a)^4*cos(1/2*b*x+1/2*a)-2 *sin(1/2*b*x+1/2*a)^2*cos(1/2*b*x+1/2*a)-3*EllipticE(cos(1/2*b*x+1/2*a),2^ (1/2))*(2*sin(1/2*b*x+1/2*a)^2-1)^(1/2)*(sin(1/2*b*x+1/2*a)^2)^(1/2))/(-2* sin(1/2*b*x+1/2*a)^4+sin(1/2*b*x+1/2*a)^2)^(1/2)/sin(1/2*b*x+1/2*a)/(2*cos (1/2*b*x+1/2*a)^2-1)^(1/2)/b
Result contains complex when optimal does not.
Time = 0.08 (sec) , antiderivative size = 74, normalized size of antiderivative = 1.19 \[ \int \frac {1}{\sec ^{\frac {5}{2}}(a+b x)} \, dx=\frac {2 \, \cos \left (b x + a\right )^{\frac {3}{2}} \sin \left (b x + a\right ) + 3 i \, \sqrt {2} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (b x + a\right ) + i \, \sin \left (b x + a\right )\right )\right ) - 3 i \, \sqrt {2} {\rm weierstrassZeta}\left (-4, 0, {\rm weierstrassPInverse}\left (-4, 0, \cos \left (b x + a\right ) - i \, \sin \left (b x + a\right )\right )\right )}{5 \, b} \] Input:
integrate(1/sec(b*x+a)^(5/2),x, algorithm="fricas")
Output:
1/5*(2*cos(b*x + a)^(3/2)*sin(b*x + a) + 3*I*sqrt(2)*weierstrassZeta(-4, 0 , weierstrassPInverse(-4, 0, cos(b*x + a) + I*sin(b*x + a))) - 3*I*sqrt(2) *weierstrassZeta(-4, 0, weierstrassPInverse(-4, 0, cos(b*x + a) - I*sin(b* x + a))))/b
\[ \int \frac {1}{\sec ^{\frac {5}{2}}(a+b x)} \, dx=\int \frac {1}{\sec ^{\frac {5}{2}}{\left (a + b x \right )}}\, dx \] Input:
integrate(1/sec(b*x+a)**(5/2),x)
Output:
Integral(sec(a + b*x)**(-5/2), x)
\[ \int \frac {1}{\sec ^{\frac {5}{2}}(a+b x)} \, dx=\int { \frac {1}{\sec \left (b x + a\right )^{\frac {5}{2}}} \,d x } \] Input:
integrate(1/sec(b*x+a)^(5/2),x, algorithm="maxima")
Output:
integrate(sec(b*x + a)^(-5/2), x)
\[ \int \frac {1}{\sec ^{\frac {5}{2}}(a+b x)} \, dx=\int { \frac {1}{\sec \left (b x + a\right )^{\frac {5}{2}}} \,d x } \] Input:
integrate(1/sec(b*x+a)^(5/2),x, algorithm="giac")
Output:
integrate(sec(b*x + a)^(-5/2), x)
Timed out. \[ \int \frac {1}{\sec ^{\frac {5}{2}}(a+b x)} \, dx=\int \frac {1}{{\left (\frac {1}{\cos \left (a+b\,x\right )}\right )}^{5/2}} \,d x \] Input:
int(1/(1/cos(a + b*x))^(5/2),x)
Output:
int(1/(1/cos(a + b*x))^(5/2), x)
\[ \int \frac {1}{\sec ^{\frac {5}{2}}(a+b x)} \, dx=\int \frac {\sqrt {\sec \left (b x +a \right )}}{\sec \left (b x +a \right )^{3}}d x \] Input:
int(1/sec(b*x+a)^(5/2),x)
Output:
int(sqrt(sec(a + b*x))/sec(a + b*x)**3,x)