Integrand size = 28, antiderivative size = 127 \[ \int \frac {\sqrt {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx=-\frac {\left (\frac {1}{4}+\frac {i}{4}\right ) \text {arctanh}\left (\frac {(1+i) \sqrt {a} \sqrt {\tan (c+d x)}}{\sqrt {a+i a \tan (c+d x)}}\right )}{a^{3/2} d}+\frac {\tan ^{\frac {3}{2}}(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}}+\frac {i \sqrt {\tan (c+d x)}}{2 a d \sqrt {a+i a \tan (c+d x)}} \] Output:
(-1/4-1/4*I)*arctanh((1+I)*a^(1/2)*tan(d*x+c)^(1/2)/(a+I*a*tan(d*x+c))^(1/ 2))/a^(3/2)/d+1/3*tan(d*x+c)^(3/2)/d/(a+I*a*tan(d*x+c))^(3/2)+1/2*I*tan(d* x+c)^(1/2)/a/d/(a+I*a*tan(d*x+c))^(1/2)
Time = 0.64 (sec) , antiderivative size = 129, normalized size of antiderivative = 1.02 \[ \int \frac {\sqrt {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx=\frac {-3 \sqrt {2} \text {arctanh}\left (\frac {\sqrt {2} \sqrt {i a \tan (c+d x)}}{\sqrt {a+i a \tan (c+d x)}}\right ) \sqrt {i a \tan (c+d x)}+\frac {2 \tan (c+d x) (-3 i+\tan (c+d x)) \sqrt {a+i a \tan (c+d x)}}{(-i+\tan (c+d x))^2}}{12 a^2 d \sqrt {\tan (c+d x)}} \] Input:
Integrate[Sqrt[Tan[c + d*x]]/(a + I*a*Tan[c + d*x])^(3/2),x]
Output:
(-3*Sqrt[2]*ArcTanh[(Sqrt[2]*Sqrt[I*a*Tan[c + d*x]])/Sqrt[a + I*a*Tan[c + d*x]]]*Sqrt[I*a*Tan[c + d*x]] + (2*Tan[c + d*x]*(-3*I + Tan[c + d*x])*Sqrt [a + I*a*Tan[c + d*x]])/(-I + Tan[c + d*x])^2)/(12*a^2*d*Sqrt[Tan[c + d*x] ])
Time = 0.55 (sec) , antiderivative size = 130, normalized size of antiderivative = 1.02, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3042, 4030, 3042, 4029, 3042, 4027, 218}
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 {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {\sqrt {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}}dx\) |
\(\Big \downarrow \) 4030 |
\(\displaystyle \frac {\int \frac {\sqrt {\tan (c+d x)}}{\sqrt {i \tan (c+d x) a+a}}dx}{2 a}+\frac {\tan ^{\frac {3}{2}}(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\int \frac {\sqrt {\tan (c+d x)}}{\sqrt {i \tan (c+d x) a+a}}dx}{2 a}+\frac {\tan ^{\frac {3}{2}}(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}}\) |
\(\Big \downarrow \) 4029 |
\(\displaystyle \frac {\frac {i \sqrt {\tan (c+d x)}}{d \sqrt {a+i a \tan (c+d x)}}-\frac {i \int \frac {\sqrt {i \tan (c+d x) a+a}}{\sqrt {\tan (c+d x)}}dx}{2 a}}{2 a}+\frac {\tan ^{\frac {3}{2}}(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\frac {i \sqrt {\tan (c+d x)}}{d \sqrt {a+i a \tan (c+d x)}}-\frac {i \int \frac {\sqrt {i \tan (c+d x) a+a}}{\sqrt {\tan (c+d x)}}dx}{2 a}}{2 a}+\frac {\tan ^{\frac {3}{2}}(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}}\) |
\(\Big \downarrow \) 4027 |
\(\displaystyle \frac {\frac {i \sqrt {\tan (c+d x)}}{d \sqrt {a+i a \tan (c+d x)}}-\frac {a \int \frac {1}{-\frac {2 \tan (c+d x) a^2}{i \tan (c+d x) a+a}-i a}d\frac {\sqrt {\tan (c+d x)}}{\sqrt {i \tan (c+d x) a+a}}}{d}}{2 a}+\frac {\tan ^{\frac {3}{2}}(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}}\) |
\(\Big \downarrow \) 218 |
\(\displaystyle \frac {\frac {i \sqrt {\tan (c+d x)}}{d \sqrt {a+i a \tan (c+d x)}}-\frac {\left (\frac {1}{2}+\frac {i}{2}\right ) \text {arctanh}\left (\frac {(1+i) \sqrt {a} \sqrt {\tan (c+d x)}}{\sqrt {a+i a \tan (c+d x)}}\right )}{\sqrt {a} d}}{2 a}+\frac {\tan ^{\frac {3}{2}}(c+d x)}{3 d (a+i a \tan (c+d x))^{3/2}}\) |
Input:
Int[Sqrt[Tan[c + d*x]]/(a + I*a*Tan[c + d*x])^(3/2),x]
Output:
Tan[c + d*x]^(3/2)/(3*d*(a + I*a*Tan[c + d*x])^(3/2)) + (((-1/2 - I/2)*Arc Tanh[((1 + I)*Sqrt[a]*Sqrt[Tan[c + d*x]])/Sqrt[a + I*a*Tan[c + d*x]]])/(Sq rt[a]*d) + (I*Sqrt[Tan[c + d*x]])/(d*Sqrt[a + I*a*Tan[c + d*x]]))/(2*a)
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/R t[a/b, 2]], x] /; FreeQ[{a, b}, x] && PosQ[a/b]
Int[Sqrt[(a_) + (b_.)*tan[(e_.) + (f_.)*(x_)]]/Sqrt[(c_.) + (d_.)*tan[(e_.) + (f_.)*(x_)]], x_Symbol] :> Simp[-2*a*(b/f) Subst[Int[1/(a*c - b*d - 2* a^2*x^2), x], x, Sqrt[c + d*Tan[e + f*x]]/Sqrt[a + b*Tan[e + f*x]]], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 + b^2, 0] && N eQ[c^2 + d^2, 0]
Int[((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*tan[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[a*(a + b*Tan[e + f*x])^m*((c + d*Tan[e + f*x])^n/(2*b*f*m)), x] - Simp[(a*c - b*d)/(2*b^2) Int[(a + b*Tan[e + f *x])^(m + 1)*(c + d*Tan[e + f*x])^(n - 1), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 + b^2, 0] && NeQ[c^2 + d^2, 0] && Eq Q[m + n, 0] && LeQ[m, -2^(-1)]
Int[((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*tan[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[a*(a + b*Tan[e + f*x])^m*((c + d*Tan[e + f*x])^(n + 1)/(2*f*m*(b*c - a*d))), x] + Simp[1/(2*a) Int[(a + b*Tan[e + f*x])^(m + 1)*(c + d*Tan[e + f*x])^n, x], x] /; FreeQ[{a, b, c, d, e, f} , x] && NeQ[b*c - a*d, 0] && EqQ[a^2 + b^2, 0] && NeQ[c^2 + d^2, 0] && EqQ[ m + n + 1, 0] && LtQ[m, -1]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 458 vs. \(2 (99 ) = 198\).
Time = 1.55 (sec) , antiderivative size = 459, normalized size of antiderivative = 3.61
method | result | size |
derivativedivides | \(-\frac {\sqrt {\tan \left (d x +c \right )}\, \sqrt {a \left (1+i \tan \left (d x +c \right )\right )}\, \left (9 i \sqrt {2}\, \ln \left (\frac {2 \sqrt {2}\, \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}-i a +3 a \tan \left (d x +c \right )}{\tan \left (d x +c \right )+i}\right ) a \tan \left (d x +c \right )^{2}-3 \ln \left (\frac {2 \sqrt {2}\, \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}-i a +3 a \tan \left (d x +c \right )}{\tan \left (d x +c \right )+i}\right ) \sqrt {2}\, a \tan \left (d x +c \right )^{3}+4 \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}\, \sqrt {-i a}\, \tan \left (d x +c \right )^{2}-3 i \sqrt {2}\, \ln \left (\frac {2 \sqrt {2}\, \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}-i a +3 a \tan \left (d x +c \right )}{\tan \left (d x +c \right )+i}\right ) a +9 \sqrt {2}\, \ln \left (\frac {2 \sqrt {2}\, \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}-i a +3 a \tan \left (d x +c \right )}{\tan \left (d x +c \right )+i}\right ) a \tan \left (d x +c \right )-16 i \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}\, \tan \left (d x +c \right )-12 \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}\, \sqrt {-i a}\right )}{24 d \,a^{2} \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}\, \left (-\tan \left (d x +c \right )+i\right )^{3} \sqrt {-i a}}\) | \(459\) |
default | \(-\frac {\sqrt {\tan \left (d x +c \right )}\, \sqrt {a \left (1+i \tan \left (d x +c \right )\right )}\, \left (9 i \sqrt {2}\, \ln \left (\frac {2 \sqrt {2}\, \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}-i a +3 a \tan \left (d x +c \right )}{\tan \left (d x +c \right )+i}\right ) a \tan \left (d x +c \right )^{2}-3 \ln \left (\frac {2 \sqrt {2}\, \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}-i a +3 a \tan \left (d x +c \right )}{\tan \left (d x +c \right )+i}\right ) \sqrt {2}\, a \tan \left (d x +c \right )^{3}+4 \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}\, \sqrt {-i a}\, \tan \left (d x +c \right )^{2}-3 i \sqrt {2}\, \ln \left (\frac {2 \sqrt {2}\, \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}-i a +3 a \tan \left (d x +c \right )}{\tan \left (d x +c \right )+i}\right ) a +9 \sqrt {2}\, \ln \left (\frac {2 \sqrt {2}\, \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}-i a +3 a \tan \left (d x +c \right )}{\tan \left (d x +c \right )+i}\right ) a \tan \left (d x +c \right )-16 i \sqrt {-i a}\, \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}\, \tan \left (d x +c \right )-12 \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}\, \sqrt {-i a}\right )}{24 d \,a^{2} \sqrt {a \tan \left (d x +c \right ) \left (1+i \tan \left (d x +c \right )\right )}\, \left (-\tan \left (d x +c \right )+i\right )^{3} \sqrt {-i a}}\) | \(459\) |
Input:
int(tan(d*x+c)^(1/2)/(a+I*a*tan(d*x+c))^(3/2),x,method=_RETURNVERBOSE)
Output:
-1/24/d*tan(d*x+c)^(1/2)*(a*(1+I*tan(d*x+c)))^(1/2)/a^2*(9*I*2^(1/2)*ln((2 *2^(1/2)*(-I*a)^(1/2)*(a*tan(d*x+c)*(1+I*tan(d*x+c)))^(1/2)-I*a+3*a*tan(d* x+c))/(tan(d*x+c)+I))*a*tan(d*x+c)^2-3*ln((2*2^(1/2)*(-I*a)^(1/2)*(a*tan(d *x+c)*(1+I*tan(d*x+c)))^(1/2)-I*a+3*a*tan(d*x+c))/(tan(d*x+c)+I))*2^(1/2)* a*tan(d*x+c)^3+4*(a*tan(d*x+c)*(1+I*tan(d*x+c)))^(1/2)*(-I*a)^(1/2)*tan(d* x+c)^2-3*I*2^(1/2)*ln((2*2^(1/2)*(-I*a)^(1/2)*(a*tan(d*x+c)*(1+I*tan(d*x+c )))^(1/2)-I*a+3*a*tan(d*x+c))/(tan(d*x+c)+I))*a+9*2^(1/2)*ln((2*2^(1/2)*(- I*a)^(1/2)*(a*tan(d*x+c)*(1+I*tan(d*x+c)))^(1/2)-I*a+3*a*tan(d*x+c))/(tan( d*x+c)+I))*a*tan(d*x+c)-16*I*(a*tan(d*x+c)*(1+I*tan(d*x+c)))^(1/2)*(-I*a)^ (1/2)*tan(d*x+c)-12*(a*tan(d*x+c)*(1+I*tan(d*x+c)))^(1/2)*(-I*a)^(1/2))/(a *tan(d*x+c)*(1+I*tan(d*x+c)))^(1/2)/(-tan(d*x+c)+I)^3/(-I*a)^(1/2)
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 320 vs. \(2 (91) = 182\).
Time = 0.11 (sec) , antiderivative size = 320, normalized size of antiderivative = 2.52 \[ \int \frac {\sqrt {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx=\frac {{\left (3 \, a^{2} d \sqrt {\frac {i}{2 \, a^{3} d^{2}}} e^{\left (3 i \, d x + 3 i \, c\right )} \log \left (\frac {1}{2} i \, a^{2} d \sqrt {\frac {i}{2 \, a^{3} d^{2}}} e^{\left (i \, d x + i \, c\right )} + \frac {1}{4} \, \sqrt {2} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} \sqrt {\frac {-i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} {\left (e^{\left (2 i \, d x + 2 i \, c\right )} + 1\right )}\right ) - 3 \, a^{2} d \sqrt {\frac {i}{2 \, a^{3} d^{2}}} e^{\left (3 i \, d x + 3 i \, c\right )} \log \left (-\frac {1}{2} i \, a^{2} d \sqrt {\frac {i}{2 \, a^{3} d^{2}}} e^{\left (i \, d x + i \, c\right )} + \frac {1}{4} \, \sqrt {2} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} \sqrt {\frac {-i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} {\left (e^{\left (2 i \, d x + 2 i \, c\right )} + 1\right )}\right ) + \sqrt {2} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} \sqrt {\frac {-i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} {\left (2 i \, e^{\left (4 i \, d x + 4 i \, c\right )} + 3 i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i\right )}\right )} e^{\left (-3 i \, d x - 3 i \, c\right )}}{12 \, a^{2} d} \] Input:
integrate(tan(d*x+c)^(1/2)/(a+I*a*tan(d*x+c))^(3/2),x, algorithm="fricas")
Output:
1/12*(3*a^2*d*sqrt(1/2*I/(a^3*d^2))*e^(3*I*d*x + 3*I*c)*log(1/2*I*a^2*d*sq rt(1/2*I/(a^3*d^2))*e^(I*d*x + I*c) + 1/4*sqrt(2)*sqrt(a/(e^(2*I*d*x + 2*I *c) + 1))*sqrt((-I*e^(2*I*d*x + 2*I*c) + I)/(e^(2*I*d*x + 2*I*c) + 1))*(e^ (2*I*d*x + 2*I*c) + 1)) - 3*a^2*d*sqrt(1/2*I/(a^3*d^2))*e^(3*I*d*x + 3*I*c )*log(-1/2*I*a^2*d*sqrt(1/2*I/(a^3*d^2))*e^(I*d*x + I*c) + 1/4*sqrt(2)*sqr t(a/(e^(2*I*d*x + 2*I*c) + 1))*sqrt((-I*e^(2*I*d*x + 2*I*c) + I)/(e^(2*I*d *x + 2*I*c) + 1))*(e^(2*I*d*x + 2*I*c) + 1)) + sqrt(2)*sqrt(a/(e^(2*I*d*x + 2*I*c) + 1))*sqrt((-I*e^(2*I*d*x + 2*I*c) + I)/(e^(2*I*d*x + 2*I*c) + 1) )*(2*I*e^(4*I*d*x + 4*I*c) + 3*I*e^(2*I*d*x + 2*I*c) + I))*e^(-3*I*d*x - 3 *I*c)/(a^2*d)
\[ \int \frac {\sqrt {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx=\int \frac {\sqrt {\tan {\left (c + d x \right )}}}{\left (i a \left (\tan {\left (c + d x \right )} - i\right )\right )^{\frac {3}{2}}}\, dx \] Input:
integrate(tan(d*x+c)**(1/2)/(a+I*a*tan(d*x+c))**(3/2),x)
Output:
Integral(sqrt(tan(c + d*x))/(I*a*(tan(c + d*x) - I))**(3/2), x)
Exception generated. \[ \int \frac {\sqrt {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx=\text {Exception raised: RuntimeError} \] Input:
integrate(tan(d*x+c)^(1/2)/(a+I*a*tan(d*x+c))^(3/2),x, algorithm="maxima")
Output:
Exception raised: RuntimeError >> ECL says: THROW: The catch RAT-ERR is un defined.
Exception generated. \[ \int \frac {\sqrt {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx=\text {Exception raised: TypeError} \] Input:
integrate(tan(d*x+c)^(1/2)/(a+I*a*tan(d*x+c))^(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 TypeError: Bad Argument TypeDone
Timed out. \[ \int \frac {\sqrt {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx=\int \frac {\sqrt {\mathrm {tan}\left (c+d\,x\right )}}{{\left (a+a\,\mathrm {tan}\left (c+d\,x\right )\,1{}\mathrm {i}\right )}^{3/2}} \,d x \] Input:
int(tan(c + d*x)^(1/2)/(a + a*tan(c + d*x)*1i)^(3/2),x)
Output:
int(tan(c + d*x)^(1/2)/(a + a*tan(c + d*x)*1i)^(3/2), x)
\[ \int \frac {\sqrt {\tan (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx=\frac {\sqrt {a}\, \left (2 \sqrt {\tan \left (d x +c \right )}\, \sqrt {\tan \left (d x +c \right ) i +1}\, \tan \left (d x +c \right )+\sqrt {\tan \left (d x +c \right )}\, \sqrt {\tan \left (d x +c \right ) i +1}\, i -36 \left (\int \frac {\sqrt {\tan \left (d x +c \right )}\, \sqrt {\tan \left (d x +c \right ) i +1}\, \tan \left (d x +c \right )}{8 \tan \left (d x +c \right )^{3} i +8 \tan \left (d x +c \right )^{2}+8 \tan \left (d x +c \right ) i +8}d x \right ) \tan \left (d x +c \right )^{2} d i -36 \left (\int \frac {\sqrt {\tan \left (d x +c \right )}\, \sqrt {\tan \left (d x +c \right ) i +1}\, \tan \left (d x +c \right )}{8 \tan \left (d x +c \right )^{3} i +8 \tan \left (d x +c \right )^{2}+8 \tan \left (d x +c \right ) i +8}d x \right ) d i -4 \left (\int \frac {\sqrt {\tan \left (d x +c \right )}\, \sqrt {\tan \left (d x +c \right ) i +1}}{8 \tan \left (d x +c \right )^{4} i +8 \tan \left (d x +c \right )^{3}+8 \tan \left (d x +c \right )^{2} i +8 \tan \left (d x +c \right )}d x \right ) \tan \left (d x +c \right )^{2} d i -4 \left (\int \frac {\sqrt {\tan \left (d x +c \right )}\, \sqrt {\tan \left (d x +c \right ) i +1}}{8 \tan \left (d x +c \right )^{4} i +8 \tan \left (d x +c \right )^{3}+8 \tan \left (d x +c \right )^{2} i +8 \tan \left (d x +c \right )}d x \right ) d i \right )}{2 a^{2} d \left (\tan \left (d x +c \right )^{2}+1\right )} \] Input:
int(tan(d*x+c)^(1/2)/(a+I*a*tan(d*x+c))^(3/2),x)
Output:
(sqrt(a)*(2*sqrt(tan(c + d*x))*sqrt(tan(c + d*x)*i + 1)*tan(c + d*x) + sqr t(tan(c + d*x))*sqrt(tan(c + d*x)*i + 1)*i - 36*int((sqrt(tan(c + d*x))*sq rt(tan(c + d*x)*i + 1)*tan(c + d*x))/(8*tan(c + d*x)**3*i + 8*tan(c + d*x) **2 + 8*tan(c + d*x)*i + 8),x)*tan(c + d*x)**2*d*i - 36*int((sqrt(tan(c + d*x))*sqrt(tan(c + d*x)*i + 1)*tan(c + d*x))/(8*tan(c + d*x)**3*i + 8*tan( c + d*x)**2 + 8*tan(c + d*x)*i + 8),x)*d*i - 4*int((sqrt(tan(c + d*x))*sqr t(tan(c + d*x)*i + 1))/(8*tan(c + d*x)**4*i + 8*tan(c + d*x)**3 + 8*tan(c + d*x)**2*i + 8*tan(c + d*x)),x)*tan(c + d*x)**2*d*i - 4*int((sqrt(tan(c + d*x))*sqrt(tan(c + d*x)*i + 1))/(8*tan(c + d*x)**4*i + 8*tan(c + d*x)**3 + 8*tan(c + d*x)**2*i + 8*tan(c + d*x)),x)*d*i))/(2*a**2*d*(tan(c + d*x)** 2 + 1))