Integrand size = 30, antiderivative size = 122 \[ \int \frac {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}} \, dx=\frac {8 i a}{15 d e^2 \sqrt {e \sec (c+d x)} \sqrt {a+i a \tan (c+d x)}}-\frac {2 i \sqrt {a+i a \tan (c+d x)}}{5 d (e \sec (c+d x))^{5/2}}-\frac {16 i \sqrt {a+i a \tan (c+d x)}}{15 d e^2 \sqrt {e \sec (c+d x)}} \] Output:
8/15*I*a/d/e^2/(e*sec(d*x+c))^(1/2)/(a+I*a*tan(d*x+c))^(1/2)-2/5*I*(a+I*a* tan(d*x+c))^(1/2)/d/(e*sec(d*x+c))^(5/2)-16/15*I*(a+I*a*tan(d*x+c))^(1/2)/ d/e^2/(e*sec(d*x+c))^(1/2)
Time = 0.82 (sec) , antiderivative size = 63, normalized size of antiderivative = 0.52 \[ \int \frac {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}} \, dx=\frac {i (-15+\cos (2 (c+d x))-4 i \sin (2 (c+d x))) \sqrt {a+i a \tan (c+d x)}}{15 d e^2 \sqrt {e \sec (c+d x)}} \] Input:
Integrate[Sqrt[a + I*a*Tan[c + d*x]]/(e*Sec[c + d*x])^(5/2),x]
Output:
((I/15)*(-15 + Cos[2*(c + d*x)] - (4*I)*Sin[2*(c + d*x)])*Sqrt[a + I*a*Tan [c + d*x]])/(d*e^2*Sqrt[e*Sec[c + d*x]])
Time = 0.54 (sec) , antiderivative size = 127, normalized size of antiderivative = 1.04, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3042, 3978, 3042, 3983, 3042, 3969}
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 {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}}dx\) |
\(\Big \downarrow \) 3978 |
\(\displaystyle \frac {4 a \int \frac {1}{\sqrt {e \sec (c+d x)} \sqrt {i \tan (c+d x) a+a}}dx}{5 e^2}-\frac {2 i \sqrt {a+i a \tan (c+d x)}}{5 d (e \sec (c+d x))^{5/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {4 a \int \frac {1}{\sqrt {e \sec (c+d x)} \sqrt {i \tan (c+d x) a+a}}dx}{5 e^2}-\frac {2 i \sqrt {a+i a \tan (c+d x)}}{5 d (e \sec (c+d x))^{5/2}}\) |
\(\Big \downarrow \) 3983 |
\(\displaystyle \frac {4 a \left (\frac {2 \int \frac {\sqrt {i \tan (c+d x) a+a}}{\sqrt {e \sec (c+d x)}}dx}{3 a}+\frac {2 i}{3 d \sqrt {a+i a \tan (c+d x)} \sqrt {e \sec (c+d x)}}\right )}{5 e^2}-\frac {2 i \sqrt {a+i a \tan (c+d x)}}{5 d (e \sec (c+d x))^{5/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {4 a \left (\frac {2 \int \frac {\sqrt {i \tan (c+d x) a+a}}{\sqrt {e \sec (c+d x)}}dx}{3 a}+\frac {2 i}{3 d \sqrt {a+i a \tan (c+d x)} \sqrt {e \sec (c+d x)}}\right )}{5 e^2}-\frac {2 i \sqrt {a+i a \tan (c+d x)}}{5 d (e \sec (c+d x))^{5/2}}\) |
\(\Big \downarrow \) 3969 |
\(\displaystyle \frac {4 a \left (\frac {2 i}{3 d \sqrt {a+i a \tan (c+d x)} \sqrt {e \sec (c+d x)}}-\frac {4 i \sqrt {a+i a \tan (c+d x)}}{3 a d \sqrt {e \sec (c+d x)}}\right )}{5 e^2}-\frac {2 i \sqrt {a+i a \tan (c+d x)}}{5 d (e \sec (c+d x))^{5/2}}\) |
Input:
Int[Sqrt[a + I*a*Tan[c + d*x]]/(e*Sec[c + d*x])^(5/2),x]
Output:
(((-2*I)/5)*Sqrt[a + I*a*Tan[c + d*x]])/(d*(e*Sec[c + d*x])^(5/2)) + (4*a* (((2*I)/3)/(d*Sqrt[e*Sec[c + d*x]]*Sqrt[a + I*a*Tan[c + d*x]]) - (((4*I)/3 )*Sqrt[a + I*a*Tan[c + d*x]])/(a*d*Sqrt[e*Sec[c + d*x]])))/(5*e^2)
Int[((d_.)*sec[(e_.) + (f_.)*(x_)])^(m_.)*((a_) + (b_.)*tan[(e_.) + (f_.)*( x_)])^(n_), x_Symbol] :> Simp[b*(d*Sec[e + f*x])^m*((a + b*Tan[e + f*x])^n/ (a*f*m)), x] /; FreeQ[{a, b, d, e, f, m, n}, x] && EqQ[a^2 + b^2, 0] && EqQ [Simplify[m + n], 0]
Int[((d_.)*sec[(e_.) + (f_.)*(x_)])^(m_)*((a_) + (b_.)*tan[(e_.) + (f_.)*(x _)])^(n_), x_Symbol] :> Simp[b*(d*Sec[e + f*x])^m*((a + b*Tan[e + f*x])^n/( a*f*m)), x] + Simp[a*((m + n)/(m*d^2)) Int[(d*Sec[e + f*x])^(m + 2)*(a + b*Tan[e + f*x])^(n - 1), x], x] /; FreeQ[{a, b, d, e, f}, x] && EqQ[a^2 + b ^2, 0] && GtQ[n, 0] && LtQ[m, -1] && IntegersQ[2*m, 2*n]
Int[((d_.)*sec[(e_.) + (f_.)*(x_)])^(m_.)*((a_) + (b_.)*tan[(e_.) + (f_.)*( x_)])^(n_), x_Symbol] :> Simp[a*(d*Sec[e + f*x])^m*((a + b*Tan[e + f*x])^n/ (b*f*(m + 2*n))), x] + Simp[Simplify[m + n]/(a*(m + 2*n)) Int[(d*Sec[e + f*x])^m*(a + b*Tan[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, d, e, f, m}, x ] && EqQ[a^2 + b^2, 0] && LtQ[n, 0] && NeQ[m + 2*n, 0] && IntegersQ[2*m, 2* n]
Time = 6.59 (sec) , antiderivative size = 62, normalized size of antiderivative = 0.51
method | result | size |
default | \(\frac {2 \left (i \cos \left (d x +c \right )^{2}+4 \cos \left (d x +c \right ) \sin \left (d x +c \right )-8 i\right ) \sqrt {a \left (1+i \tan \left (d x +c \right )\right )}}{15 d \sqrt {e \sec \left (d x +c \right )}\, e^{2}}\) | \(62\) |
risch | \(-\frac {i \sqrt {\frac {a \,{\mathrm e}^{2 i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, \left (30-2 \cos \left (2 d x +2 c \right )+8 i \sin \left (2 d x +2 c \right )\right )}{30 e^{2} \sqrt {\frac {e \,{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, d}\) | \(87\) |
Input:
int((a+I*a*tan(d*x+c))^(1/2)/(e*sec(d*x+c))^(5/2),x,method=_RETURNVERBOSE)
Output:
2/15/d*(I*cos(d*x+c)^2+4*cos(d*x+c)*sin(d*x+c)-8*I)*(a*(1+I*tan(d*x+c)))^( 1/2)/(e*sec(d*x+c))^(1/2)/e^2
Time = 0.07 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.70 \[ \int \frac {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}} \, dx=\frac {\sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} \sqrt {\frac {e}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} {\left (-3 i \, e^{\left (6 i \, d x + 6 i \, c\right )} - 33 i \, e^{\left (4 i \, d x + 4 i \, c\right )} - 25 i \, e^{\left (2 i \, d x + 2 i \, c\right )} + 5 i\right )} e^{\left (-\frac {3}{2} i \, d x - \frac {3}{2} i \, c\right )}}{30 \, d e^{3}} \] Input:
integrate((a+I*a*tan(d*x+c))^(1/2)/(e*sec(d*x+c))^(5/2),x, algorithm="fric as")
Output:
1/30*sqrt(a/(e^(2*I*d*x + 2*I*c) + 1))*sqrt(e/(e^(2*I*d*x + 2*I*c) + 1))*( -3*I*e^(6*I*d*x + 6*I*c) - 33*I*e^(4*I*d*x + 4*I*c) - 25*I*e^(2*I*d*x + 2* I*c) + 5*I)*e^(-3/2*I*d*x - 3/2*I*c)/(d*e^3)
\[ \int \frac {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}} \, dx=\int \frac {\sqrt {i a \left (\tan {\left (c + d x \right )} - i\right )}}{\left (e \sec {\left (c + d x \right )}\right )^{\frac {5}{2}}}\, dx \] Input:
integrate((a+I*a*tan(d*x+c))**(1/2)/(e*sec(d*x+c))**(5/2),x)
Output:
Integral(sqrt(I*a*(tan(c + d*x) - I))/(e*sec(c + d*x))**(5/2), x)
Time = 0.26 (sec) , antiderivative size = 130, normalized size of antiderivative = 1.07 \[ \int \frac {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}} \, dx=\frac {\sqrt {a} {\left (5 i \, \cos \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) - 3 i \, \cos \left (\frac {5}{3} \, \arctan \left (\sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ), \cos \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right )\right )\right ) - 30 i \, \cos \left (\frac {1}{3} \, \arctan \left (\sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ), \cos \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right )\right )\right ) + 5 \, \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 3 \, \sin \left (\frac {5}{3} \, \arctan \left (\sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ), \cos \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right )\right )\right ) + 30 \, \sin \left (\frac {1}{3} \, \arctan \left (\sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ), \cos \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right )\right )\right )\right )}}{30 \, d e^{\frac {5}{2}}} \] Input:
integrate((a+I*a*tan(d*x+c))^(1/2)/(e*sec(d*x+c))^(5/2),x, algorithm="maxi ma")
Output:
1/30*sqrt(a)*(5*I*cos(3/2*d*x + 3/2*c) - 3*I*cos(5/3*arctan2(sin(3/2*d*x + 3/2*c), cos(3/2*d*x + 3/2*c))) - 30*I*cos(1/3*arctan2(sin(3/2*d*x + 3/2*c ), cos(3/2*d*x + 3/2*c))) + 5*sin(3/2*d*x + 3/2*c) + 3*sin(5/3*arctan2(sin (3/2*d*x + 3/2*c), cos(3/2*d*x + 3/2*c))) + 30*sin(1/3*arctan2(sin(3/2*d*x + 3/2*c), cos(3/2*d*x + 3/2*c))))/(d*e^(5/2))
Exception generated. \[ \int \frac {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}} \, dx=\text {Exception raised: TypeError} \] Input:
integrate((a+I*a*tan(d*x+c))^(1/2)/(e*sec(d*x+c))^(5/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 TypeError: Bad Argument TypeDone
Time = 1.95 (sec) , antiderivative size = 101, normalized size of antiderivative = 0.83 \[ \int \frac {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}} \, dx=\frac {\sqrt {\frac {e}{\cos \left (c+d\,x\right )}}\,\sqrt {\frac {a\,\left (\cos \left (2\,c+2\,d\,x\right )+1+\sin \left (2\,c+2\,d\,x\right )\,1{}\mathrm {i}\right )}{\cos \left (2\,c+2\,d\,x\right )+1}}\,\left (4\,\sin \left (c+d\,x\right )+4\,\sin \left (3\,c+3\,d\,x\right )-\cos \left (c+d\,x\right )\,29{}\mathrm {i}+\cos \left (3\,c+3\,d\,x\right )\,1{}\mathrm {i}\right )}{30\,d\,e^3} \] Input:
int((a + a*tan(c + d*x)*1i)^(1/2)/(e/cos(c + d*x))^(5/2),x)
Output:
((e/cos(c + d*x))^(1/2)*((a*(cos(2*c + 2*d*x) + sin(2*c + 2*d*x)*1i + 1))/ (cos(2*c + 2*d*x) + 1))^(1/2)*(4*sin(c + d*x) - cos(c + d*x)*29i + cos(3*c + 3*d*x)*1i + 4*sin(3*c + 3*d*x)))/(30*d*e^3)
\[ \int \frac {\sqrt {a+i a \tan (c+d x)}}{(e \sec (c+d x))^{5/2}} \, dx=\frac {\sqrt {e}\, \sqrt {a}\, \left (\int \frac {\sqrt {\sec \left (d x +c \right )}\, \sqrt {\tan \left (d x +c \right ) i +1}}{\sec \left (d x +c \right )^{3}}d x \right )}{e^{3}} \] Input:
int((a+I*a*tan(d*x+c))^(1/2)/(e*sec(d*x+c))^(5/2),x)
Output:
(sqrt(e)*sqrt(a)*int((sqrt(sec(c + d*x))*sqrt(tan(c + d*x)*i + 1))/sec(c + d*x)**3,x))/e**3