Integrand size = 23, antiderivative size = 23 \[ \int \frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2} \, dx=\text {Int}\left (\frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2},x\right ) \] Output:
Defer(Int)(sec(d*x+c)^2/(a+b*sin(d*x+c)^3)^2,x)
Result contains complex when optimal does not.
Time = 2.53 (sec) , antiderivative size = 845, normalized size of antiderivative = 36.74 \[ \int \frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2} \, dx =\text {Too large to display} \] Input:
Integrate[Sec[c + d*x]^2/(a + b*Sin[c + d*x]^3)^2,x]
Output:
(((-I)*b*RootSum[(-I)*b + (3*I)*b*#1^2 + 8*a*#1^3 - (3*I)*b*#1^4 + I*b*#1^ 6 & , (16*a^2*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)] + 2*b^3*ArcTan[Si n[c + d*x]/(Cos[c + d*x] - #1)] - (8*I)*a^2*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] - I*b^3*Log[1 - 2*Cos[c + d*x]*#1 + #1^2] + (20*I)*a^3*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1 + (16*I)*a*b^2*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1 + 10*a^3*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1 + 8*a*b^2*Lo g[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1 - 120*a^2*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 + 12*b^3*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^2 + (60*I)*a^2*b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 - (6*I)*b^3*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^2 - (20*I)*a^3*ArcTan[Sin[c + d*x]/(Cos[c + d *x] - #1)]*#1^3 - (16*I)*a*b^2*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1 ^3 - 10*a^3*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^3 - 8*a*b^2*Log[1 - 2*Cos [c + d*x]*#1 + #1^2]*#1^3 + 16*a^2*b*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - # 1)]*#1^4 + 2*b^3*ArcTan[Sin[c + d*x]/(Cos[c + d*x] - #1)]*#1^4 - (8*I)*a^2 *b*Log[1 - 2*Cos[c + d*x]*#1 + #1^2]*#1^4 - I*b^3*Log[1 - 2*Cos[c + d*x]*# 1 + #1^2]*#1^4)/(b*#1 - (4*I)*a*#1^2 - 2*b*#1^3 + b*#1^5) & ])/(a*(a^2 - b ^2)^2) + (18*Sin[(c + d*x)/2])/((a + b)^2*(Cos[(c + d*x)/2] - Sin[(c + d*x )/2])) + (18*Sin[(c + d*x)/2])/((a - b)^2*(Cos[(c + d*x)/2] + Sin[(c + d*x )/2])) + (12*b*Cos[c + d*x]*(-2*a^3 - 7*a*b^2 + 3*a*b^2*Cos[2*(c + d*x)] + 2*b*(2*a^2 + b^2)*Sin[c + d*x]))/(a*(a - b)^2*(a + b)^2*(4*a + 3*b*Sin...
Not integrable
Time = 0.22 (sec) , antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {3042, 3707}
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 {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {1}{\cos (c+d x)^2 \left (a+b \sin (c+d x)^3\right )^2}dx\) |
\(\Big \downarrow \) 3707 |
\(\displaystyle \int \frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2}dx\) |
Input:
Int[Sec[c + d*x]^2/(a + b*Sin[c + d*x]^3)^2,x]
Output:
$Aborted
Int[(cos[(e_.) + (f_.)*(x_)]*(d_.))^(m_.)*((a_) + (b_.)*((c_.)*sin[(e_.) + (f_.)*(x_)])^(n_))^(p_.), x_Symbol] :> Unintegrable[(d*Cos[e + f*x])^m*(a + b*(c*Sin[e + f*x])^n)^p, x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x]
Time = 7.60 (sec) , antiderivative size = 398, normalized size of antiderivative = 17.30
method | result | size |
derivativedivides | \(\frac {-\frac {1}{\left (a -b \right )^{2} \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}+\frac {2 b \left (\frac {-\frac {\left (2 a^{2}+b^{2}\right ) b \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}{3 a}+\left (-\frac {a^{2}}{3}+\frac {4 b^{2}}{3}\right ) \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{4}-\frac {4 b \left (a^{2}+2 b^{2}\right ) \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}{3 a}+\left (-\frac {2 a^{2}}{3}-\frac {10 b^{2}}{3}\right ) \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+\frac {\left (2 a^{2}+b^{2}\right ) b \tan \left (\frac {d x}{2}+\frac {c}{2}\right )}{3 a}-\frac {a^{2}}{3}-\frac {2 b^{2}}{3}}{a \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{6}+3 a \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{4}+8 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3} b +3 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} a +a}+\frac {\munderset {\textit {\_R} =\operatorname {RootOf}\left (a \,\textit {\_Z}^{6}+3 a \,\textit {\_Z}^{4}+8 b \,\textit {\_Z}^{3}+3 a \,\textit {\_Z}^{2}+a \right )}{\sum }\frac {\left (b \left (-11 a^{2}+2 b^{2}\right ) \textit {\_R}^{4}+2 a \left (5 a^{2}+4 b^{2}\right ) \textit {\_R}^{3}-54 a^{2} b \,\textit {\_R}^{2}+2 a \left (5 a^{2}+4 b^{2}\right ) \textit {\_R} -11 a^{2} b +2 b^{3}\right ) \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-\textit {\_R} \right )}{\textit {\_R}^{5} a +2 \textit {\_R}^{3} a +4 \textit {\_R}^{2} b +a \textit {\_R}}}{18 a}\right )}{\left (a -b \right )^{2} \left (a +b \right )^{2}}-\frac {1}{\left (a +b \right )^{2} \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}}{d}\) | \(398\) |
default | \(\frac {-\frac {1}{\left (a -b \right )^{2} \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )+1\right )}+\frac {2 b \left (\frac {-\frac {\left (2 a^{2}+b^{2}\right ) b \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}{3 a}+\left (-\frac {a^{2}}{3}+\frac {4 b^{2}}{3}\right ) \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{4}-\frac {4 b \left (a^{2}+2 b^{2}\right ) \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}{3 a}+\left (-\frac {2 a^{2}}{3}-\frac {10 b^{2}}{3}\right ) \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{2}+\frac {\left (2 a^{2}+b^{2}\right ) b \tan \left (\frac {d x}{2}+\frac {c}{2}\right )}{3 a}-\frac {a^{2}}{3}-\frac {2 b^{2}}{3}}{a \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{6}+3 a \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{4}+8 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3} b +3 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{2} a +a}+\frac {\munderset {\textit {\_R} =\operatorname {RootOf}\left (a \,\textit {\_Z}^{6}+3 a \,\textit {\_Z}^{4}+8 b \,\textit {\_Z}^{3}+3 a \,\textit {\_Z}^{2}+a \right )}{\sum }\frac {\left (b \left (-11 a^{2}+2 b^{2}\right ) \textit {\_R}^{4}+2 a \left (5 a^{2}+4 b^{2}\right ) \textit {\_R}^{3}-54 a^{2} b \,\textit {\_R}^{2}+2 a \left (5 a^{2}+4 b^{2}\right ) \textit {\_R} -11 a^{2} b +2 b^{3}\right ) \ln \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-\textit {\_R} \right )}{\textit {\_R}^{5} a +2 \textit {\_R}^{3} a +4 \textit {\_R}^{2} b +a \textit {\_R}}}{18 a}\right )}{\left (a -b \right )^{2} \left (a +b \right )^{2}}-\frac {1}{\left (a +b \right )^{2} \left (\tan \left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}}{d}\) | \(398\) |
risch | \(\text {Expression too large to display}\) | \(5261\) |
Input:
int(sec(d*x+c)^2/(a+b*sin(d*x+c)^3)^2,x,method=_RETURNVERBOSE)
Output:
1/d*(-1/(a-b)^2/(tan(1/2*d*x+1/2*c)+1)+2*b/(a-b)^2/(a+b)^2*((-1/3*(2*a^2+b ^2)*b/a*tan(1/2*d*x+1/2*c)^5+(-1/3*a^2+4/3*b^2)*tan(1/2*d*x+1/2*c)^4-4/3*b *(a^2+2*b^2)/a*tan(1/2*d*x+1/2*c)^3+(-2/3*a^2-10/3*b^2)*tan(1/2*d*x+1/2*c) ^2+1/3*(2*a^2+b^2)*b/a*tan(1/2*d*x+1/2*c)-1/3*a^2-2/3*b^2)/(a*tan(1/2*d*x+ 1/2*c)^6+3*a*tan(1/2*d*x+1/2*c)^4+8*tan(1/2*d*x+1/2*c)^3*b+3*tan(1/2*d*x+1 /2*c)^2*a+a)+1/18/a*sum((b*(-11*a^2+2*b^2)*_R^4+2*a*(5*a^2+4*b^2)*_R^3-54* a^2*b*_R^2+2*a*(5*a^2+4*b^2)*_R-11*a^2*b+2*b^3)/(_R^5*a+2*_R^3*a+4*_R^2*b+ _R*a)*ln(tan(1/2*d*x+1/2*c)-_R),_R=RootOf(_Z^6*a+3*_Z^4*a+8*_Z^3*b+3*_Z^2* a+a)))-1/(a+b)^2/(tan(1/2*d*x+1/2*c)-1))
Result contains higher order function than in optimal. Order 3 vs. order 1.
Time = 40.61 (sec) , antiderivative size = 102913, normalized size of antiderivative = 4474.48 \[ \int \frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2} \, dx=\text {Too large to display} \] Input:
integrate(sec(d*x+c)^2/(a+b*sin(d*x+c)^3)^2,x, algorithm="fricas")
Output:
Too large to include
Timed out. \[ \int \frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2} \, dx=\text {Timed out} \] Input:
integrate(sec(d*x+c)**2/(a+b*sin(d*x+c)**3)**2,x)
Output:
Timed out
Exception generated. \[ \int \frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2} \, dx=\text {Exception raised: RuntimeError} \] Input:
integrate(sec(d*x+c)^2/(a+b*sin(d*x+c)^3)^2,x, algorithm="maxima")
Output:
Exception raised: RuntimeError >> ECL says: THROW: The catch RAT-ERR is un defined.
Not integrable
Time = 3.08 (sec) , antiderivative size = 3, normalized size of antiderivative = 0.13 \[ \int \frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2} \, dx=\int { \frac {\sec \left (d x + c\right )^{2}}{{\left (b \sin \left (d x + c\right )^{3} + a\right )}^{2}} \,d x } \] Input:
integrate(sec(d*x+c)^2/(a+b*sin(d*x+c)^3)^2,x, algorithm="giac")
Output:
sage0*x
Time = 41.90 (sec) , antiderivative size = 3148, normalized size of antiderivative = 136.87 \[ \int \frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2} \, dx=\text {Too large to display} \] Input:
int(1/(cos(c + d*x)^2*(a + b*sin(c + d*x)^3)^2),x)
Output:
symsum(log(5479612416*a^8*b^36 - 180486144*a^6*b^38 - root(5314410*a^16*b^ 4*d^6 - 5314410*a^14*b^6*d^6 - 2657205*a^18*b^2*d^6 + 2657205*a^12*b^8*d^6 - 531441*a^10*b^10*d^6 + 531441*a^20*d^6 + 11514555*a^12*b^4*d^4 + 206671 5*a^14*b^2*d^4 + 1062882*a^10*b^6*d^4 - 295245*a^8*b^8*d^4 + 984150*a^8*b^ 4*d^2 - 98415*a^6*b^6*d^2 + 15625*a^4*b^4 - 2000*a^2*b^6 + 64*b^8, d, k)*( tan(c/2 + (d*x)/2)*(764411904*a^6*b^40 - 27805483008*a^8*b^38 + 4372973568 00*a^10*b^36 - 3672461721600*a^12*b^34 + 19250011791360*a^14*b^32 - 691506 35753472*a^16*b^30 + 180165872001024*a^18*b^28 - 352655758540800*a^20*b^26 + 529923028377600*a^22*b^24 - 618699706859520*a^24*b^22 + 563713761042432 *a^26*b^20 - 399760062234624*a^28*b^18 + 218398602240000*a^30*b^16 - 90108 039168000*a^32*b^14 + 27130620764160*a^34*b^12 - 5617221156864*a^36*b^10 + 713536708608*a^38*b^8 - 41803776000*a^40*b^6) - root(5314410*a^16*b^4*d^6 - 5314410*a^14*b^6*d^6 - 2657205*a^18*b^2*d^6 + 2657205*a^12*b^8*d^6 - 53 1441*a^10*b^10*d^6 + 531441*a^20*d^6 + 11514555*a^12*b^4*d^4 + 2066715*a^1 4*b^2*d^4 + 1062882*a^10*b^6*d^4 - 295245*a^8*b^8*d^4 + 984150*a^8*b^4*d^2 - 98415*a^6*b^6*d^2 + 15625*a^4*b^4 - 2000*a^2*b^6 + 64*b^8, d, k)*(root( 5314410*a^16*b^4*d^6 - 5314410*a^14*b^6*d^6 - 2657205*a^18*b^2*d^6 + 26572 05*a^12*b^8*d^6 - 531441*a^10*b^10*d^6 + 531441*a^20*d^6 + 11514555*a^12*b ^4*d^4 + 2066715*a^14*b^2*d^4 + 1062882*a^10*b^6*d^4 - 295245*a^8*b^8*d^4 + 984150*a^8*b^4*d^2 - 98415*a^6*b^6*d^2 + 15625*a^4*b^4 - 2000*a^2*b^6...
Not integrable
Time = 1.21 (sec) , antiderivative size = 47824, normalized size of antiderivative = 2079.30 \[ \int \frac {\sec ^2(c+d x)}{\left (a+b \sin ^3(c+d x)\right )^2} \, dx =\text {Too large to display} \] Input:
int(sec(d*x+c)^2/(a+b*sin(d*x+c)^3)^2,x)
Output:
(346560*cos(c + d*x)*int(tan((c + d*x)/2)**4/(19*tan((c + d*x)/2)**16*a**6 + 680*tan((c + d*x)/2)**16*a**4*b**2 - 240*tan((c + d*x)/2)**16*a**2*b**4 + 76*tan((c + d*x)/2)**14*a**6 + 2720*tan((c + d*x)/2)**14*a**4*b**2 - 96 0*tan((c + d*x)/2)**14*a**2*b**4 + 304*tan((c + d*x)/2)**13*a**5*b + 10880 *tan((c + d*x)/2)**13*a**3*b**3 - 3840*tan((c + d*x)/2)**13*a*b**5 + 76*ta n((c + d*x)/2)**12*a**6 + 2720*tan((c + d*x)/2)**12*a**4*b**2 - 960*tan((c + d*x)/2)**12*a**2*b**4 + 304*tan((c + d*x)/2)**11*a**5*b + 10880*tan((c + d*x)/2)**11*a**3*b**3 - 3840*tan((c + d*x)/2)**11*a*b**5 - 76*tan((c + d *x)/2)**10*a**6 - 1504*tan((c + d*x)/2)**10*a**4*b**2 + 44480*tan((c + d*x )/2)**10*a**2*b**4 - 15360*tan((c + d*x)/2)**10*b**6 - 608*tan((c + d*x)/2 )**9*a**5*b - 21760*tan((c + d*x)/2)**9*a**3*b**3 + 7680*tan((c + d*x)/2)* *9*a*b**5 - 190*tan((c + d*x)/2)**8*a**6 - 9232*tan((c + d*x)/2)**8*a**4*b **2 - 84640*tan((c + d*x)/2)**8*a**2*b**4 + 30720*tan((c + d*x)/2)**8*b**6 - 608*tan((c + d*x)/2)**7*a**5*b - 21760*tan((c + d*x)/2)**7*a**3*b**3 + 7680*tan((c + d*x)/2)**7*a*b**5 - 76*tan((c + d*x)/2)**6*a**6 - 1504*tan(( c + d*x)/2)**6*a**4*b**2 + 44480*tan((c + d*x)/2)**6*a**2*b**4 - 15360*tan ((c + d*x)/2)**6*b**6 + 304*tan((c + d*x)/2)**5*a**5*b + 10880*tan((c + d* x)/2)**5*a**3*b**3 - 3840*tan((c + d*x)/2)**5*a*b**5 + 76*tan((c + d*x)/2) **4*a**6 + 2720*tan((c + d*x)/2)**4*a**4*b**2 - 960*tan((c + d*x)/2)**4*a* *2*b**4 + 304*tan((c + d*x)/2)**3*a**5*b + 10880*tan((c + d*x)/2)**3*a*...