\(\int \frac {x^3 \csc (x) \sec (x)}{\sqrt {a \sec ^2(x)}} \, dx\) [870]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [B] (verification not implemented)
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 18, antiderivative size = 186 \[ \int \frac {x^3 \csc (x) \sec (x)}{\sqrt {a \sec ^2(x)}} \, dx=-\frac {2 x^3 \text {arctanh}\left (e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {3 i x^2 \operatorname {PolyLog}\left (2,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {3 i x^2 \operatorname {PolyLog}\left (2,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {6 x \operatorname {PolyLog}\left (3,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {6 x \operatorname {PolyLog}\left (3,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {6 i \operatorname {PolyLog}\left (4,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {6 i \operatorname {PolyLog}\left (4,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}} \]

[Out]

-2*x^3*arctanh(exp(I*x))*sec(x)/(a*sec(x)^2)^(1/2)+3*I*x^2*polylog(2,-exp(I*x))*sec(x)/(a*sec(x)^2)^(1/2)-3*I*
x^2*polylog(2,exp(I*x))*sec(x)/(a*sec(x)^2)^(1/2)-6*x*polylog(3,-exp(I*x))*sec(x)/(a*sec(x)^2)^(1/2)+6*x*polyl
og(3,exp(I*x))*sec(x)/(a*sec(x)^2)^(1/2)-6*I*polylog(4,-exp(I*x))*sec(x)/(a*sec(x)^2)^(1/2)+6*I*polylog(4,exp(
I*x))*sec(x)/(a*sec(x)^2)^(1/2)

Rubi [A] (verified)

Time = 0.68 (sec) , antiderivative size = 186, normalized size of antiderivative = 1.00, number of steps used = 10, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6852, 4268, 2611, 6744, 2320, 6724} \[ \int \frac {x^3 \csc (x) \sec (x)}{\sqrt {a \sec ^2(x)}} \, dx=-\frac {2 x^3 \text {arctanh}\left (e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {3 i x^2 \operatorname {PolyLog}\left (2,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {3 i x^2 \operatorname {PolyLog}\left (2,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {6 x \operatorname {PolyLog}\left (3,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {6 x \operatorname {PolyLog}\left (3,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {6 i \operatorname {PolyLog}\left (4,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {6 i \operatorname {PolyLog}\left (4,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}} \]

[In]

Int[(x^3*Csc[x]*Sec[x])/Sqrt[a*Sec[x]^2],x]

[Out]

(-2*x^3*ArcTanh[E^(I*x)]*Sec[x])/Sqrt[a*Sec[x]^2] + ((3*I)*x^2*PolyLog[2, -E^(I*x)]*Sec[x])/Sqrt[a*Sec[x]^2] -
 ((3*I)*x^2*PolyLog[2, E^(I*x)]*Sec[x])/Sqrt[a*Sec[x]^2] - (6*x*PolyLog[3, -E^(I*x)]*Sec[x])/Sqrt[a*Sec[x]^2]
+ (6*x*PolyLog[3, E^(I*x)]*Sec[x])/Sqrt[a*Sec[x]^2] - ((6*I)*PolyLog[4, -E^(I*x)]*Sec[x])/Sqrt[a*Sec[x]^2] + (
(6*I)*PolyLog[4, E^(I*x)]*Sec[x])/Sqrt[a*Sec[x]^2]

Rule 2320

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 2611

Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.)*(x_))^(m_.), x_Symbol] :> Simp[(-(
f + g*x)^m)*(PolyLog[2, (-e)*(F^(c*(a + b*x)))^n]/(b*c*n*Log[F])), x] + Dist[g*(m/(b*c*n*Log[F])), Int[(f + g*
x)^(m - 1)*PolyLog[2, (-e)*(F^(c*(a + b*x)))^n], x], x] /; FreeQ[{F, a, b, c, e, f, g, n}, x] && GtQ[m, 0]

Rule 4268

Int[csc[(e_.) + (f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[-2*(c + d*x)^m*(ArcTanh[E^(I*(e + f*
x))]/f), x] + (-Dist[d*(m/f), Int[(c + d*x)^(m - 1)*Log[1 - E^(I*(e + f*x))], x], x] + Dist[d*(m/f), Int[(c +
d*x)^(m - 1)*Log[1 + E^(I*(e + f*x))], x], x]) /; FreeQ[{c, d, e, f}, x] && IGtQ[m, 0]

Rule 6724

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rule 6744

Int[((e_.) + (f_.)*(x_))^(m_.)*PolyLog[n_, (d_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(p_.)], x_Symbol] :> Simp
[(e + f*x)^m*(PolyLog[n + 1, d*(F^(c*(a + b*x)))^p]/(b*c*p*Log[F])), x] - Dist[f*(m/(b*c*p*Log[F])), Int[(e +
f*x)^(m - 1)*PolyLog[n + 1, d*(F^(c*(a + b*x)))^p], x], x] /; FreeQ[{F, a, b, c, d, e, f, n, p}, x] && GtQ[m,
0]

Rule 6852

Int[(u_.)*((a_.)*(v_)^(m_.))^(p_), x_Symbol] :> Dist[a^IntPart[p]*((a*v^m)^FracPart[p]/v^(m*FracPart[p])), Int
[u*v^(m*p), x], x] /; FreeQ[{a, m, p}, x] &&  !IntegerQ[p] &&  !FreeQ[v, x] &&  !(EqQ[a, 1] && EqQ[m, 1]) &&
!(EqQ[v, x] && EqQ[m, 1])

Rubi steps \begin{align*} \text {integral}& = \frac {\sec (x) \int x^3 \csc (x) \, dx}{\sqrt {a \sec ^2(x)}} \\ & = -\frac {2 x^3 \text {arctanh}\left (e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {(3 \sec (x)) \int x^2 \log \left (1-e^{i x}\right ) \, dx}{\sqrt {a \sec ^2(x)}}+\frac {(3 \sec (x)) \int x^2 \log \left (1+e^{i x}\right ) \, dx}{\sqrt {a \sec ^2(x)}} \\ & = -\frac {2 x^3 \text {arctanh}\left (e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {3 i x^2 \operatorname {PolyLog}\left (2,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {3 i x^2 \operatorname {PolyLog}\left (2,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {(6 i \sec (x)) \int x \operatorname {PolyLog}\left (2,-e^{i x}\right ) \, dx}{\sqrt {a \sec ^2(x)}}+\frac {(6 i \sec (x)) \int x \operatorname {PolyLog}\left (2,e^{i x}\right ) \, dx}{\sqrt {a \sec ^2(x)}} \\ & = -\frac {2 x^3 \text {arctanh}\left (e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {3 i x^2 \operatorname {PolyLog}\left (2,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {3 i x^2 \operatorname {PolyLog}\left (2,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {6 x \operatorname {PolyLog}\left (3,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {6 x \operatorname {PolyLog}\left (3,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {(6 \sec (x)) \int \operatorname {PolyLog}\left (3,-e^{i x}\right ) \, dx}{\sqrt {a \sec ^2(x)}}-\frac {(6 \sec (x)) \int \operatorname {PolyLog}\left (3,e^{i x}\right ) \, dx}{\sqrt {a \sec ^2(x)}} \\ & = -\frac {2 x^3 \text {arctanh}\left (e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {3 i x^2 \operatorname {PolyLog}\left (2,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {3 i x^2 \operatorname {PolyLog}\left (2,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {6 x \operatorname {PolyLog}\left (3,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {6 x \operatorname {PolyLog}\left (3,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {(6 i \sec (x)) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(3,-x)}{x} \, dx,x,e^{i x}\right )}{\sqrt {a \sec ^2(x)}}+\frac {(6 i \sec (x)) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(3,x)}{x} \, dx,x,e^{i x}\right )}{\sqrt {a \sec ^2(x)}} \\ & = -\frac {2 x^3 \text {arctanh}\left (e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {3 i x^2 \operatorname {PolyLog}\left (2,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {3 i x^2 \operatorname {PolyLog}\left (2,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {6 x \operatorname {PolyLog}\left (3,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {6 x \operatorname {PolyLog}\left (3,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}-\frac {6 i \operatorname {PolyLog}\left (4,-e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}}+\frac {6 i \operatorname {PolyLog}\left (4,e^{i x}\right ) \sec (x)}{\sqrt {a \sec ^2(x)}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.13 (sec) , antiderivative size = 147, normalized size of antiderivative = 0.79 \[ \int \frac {x^3 \csc (x) \sec (x)}{\sqrt {a \sec ^2(x)}} \, dx=-\frac {i \left (\pi ^4-2 x^4+8 i x^3 \log \left (1-e^{-i x}\right )-8 i x^3 \log \left (1+e^{i x}\right )-24 x^2 \operatorname {PolyLog}\left (2,e^{-i x}\right )-24 x^2 \operatorname {PolyLog}\left (2,-e^{i x}\right )+48 i x \operatorname {PolyLog}\left (3,e^{-i x}\right )-48 i x \operatorname {PolyLog}\left (3,-e^{i x}\right )+48 \operatorname {PolyLog}\left (4,e^{-i x}\right )+48 \operatorname {PolyLog}\left (4,-e^{i x}\right )\right ) \sec (x)}{8 \sqrt {a \sec ^2(x)}} \]

[In]

Integrate[(x^3*Csc[x]*Sec[x])/Sqrt[a*Sec[x]^2],x]

[Out]

((-1/8*I)*(Pi^4 - 2*x^4 + (8*I)*x^3*Log[1 - E^((-I)*x)] - (8*I)*x^3*Log[1 + E^(I*x)] - 24*x^2*PolyLog[2, E^((-
I)*x)] - 24*x^2*PolyLog[2, -E^(I*x)] + (48*I)*x*PolyLog[3, E^((-I)*x)] - (48*I)*x*PolyLog[3, -E^(I*x)] + 48*Po
lyLog[4, E^((-I)*x)] + 48*PolyLog[4, -E^(I*x)])*Sec[x])/Sqrt[a*Sec[x]^2]

Maple [A] (verified)

Time = 0.94 (sec) , antiderivative size = 137, normalized size of antiderivative = 0.74

method result size
risch \(\frac {2 i {\mathrm e}^{i x} \left (\frac {i x^{3} \ln \left ({\mathrm e}^{i x}+1\right )}{2}+\frac {3 x^{2} \operatorname {polylog}\left (2, -{\mathrm e}^{i x}\right )}{2}+3 i x \operatorname {polylog}\left (3, -{\mathrm e}^{i x}\right )-3 \operatorname {polylog}\left (4, -{\mathrm e}^{i x}\right )-\frac {i x^{3} \ln \left (1-{\mathrm e}^{i x}\right )}{2}-\frac {3 x^{2} \operatorname {polylog}\left (2, {\mathrm e}^{i x}\right )}{2}-3 i x \operatorname {polylog}\left (3, {\mathrm e}^{i x}\right )+3 \operatorname {polylog}\left (4, {\mathrm e}^{i x}\right )\right )}{\sqrt {\frac {a \,{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}\, \left ({\mathrm e}^{2 i x}+1\right )}\) \(137\)

[In]

int(x^3*csc(x)*sec(x)/(a*sec(x)^2)^(1/2),x,method=_RETURNVERBOSE)

[Out]

2*I/(a*exp(2*I*x)/(exp(2*I*x)+1)^2)^(1/2)/(exp(2*I*x)+1)*exp(I*x)*(1/2*I*x^3*ln(exp(I*x)+1)+3/2*x^2*polylog(2,
-exp(I*x))+3*I*x*polylog(3,-exp(I*x))-3*polylog(4,-exp(I*x))-1/2*I*x^3*ln(1-exp(I*x))-3/2*x^2*polylog(2,exp(I*
x))-3*I*x*polylog(3,exp(I*x))+3*polylog(4,exp(I*x)))

Fricas [B] (verification not implemented)

Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 327 vs. \(2 (141) = 282\).

Time = 0.30 (sec) , antiderivative size = 327, normalized size of antiderivative = 1.76 \[ \int \frac {x^3 \csc (x) \sec (x)}{\sqrt {a \sec ^2(x)}} \, dx=\frac {6 \, x \sqrt {\frac {a}{\cos \left (x\right )^{2}}} \cos \left (x\right ) {\rm polylog}\left (3, \cos \left (x\right ) + i \, \sin \left (x\right )\right ) + 6 \, x \sqrt {\frac {a}{\cos \left (x\right )^{2}}} \cos \left (x\right ) {\rm polylog}\left (3, \cos \left (x\right ) - i \, \sin \left (x\right )\right ) - 6 \, x \sqrt {\frac {a}{\cos \left (x\right )^{2}}} \cos \left (x\right ) {\rm polylog}\left (3, -\cos \left (x\right ) + i \, \sin \left (x\right )\right ) - 6 \, x \sqrt {\frac {a}{\cos \left (x\right )^{2}}} \cos \left (x\right ) {\rm polylog}\left (3, -\cos \left (x\right ) - i \, \sin \left (x\right )\right ) + 6 i \, \sqrt {\frac {a}{\cos \left (x\right )^{2}}} \cos \left (x\right ) {\rm polylog}\left (4, \cos \left (x\right ) + i \, \sin \left (x\right )\right ) - 6 i \, \sqrt {\frac {a}{\cos \left (x\right )^{2}}} \cos \left (x\right ) {\rm polylog}\left (4, \cos \left (x\right ) - i \, \sin \left (x\right )\right ) + 6 i \, \sqrt {\frac {a}{\cos \left (x\right )^{2}}} \cos \left (x\right ) {\rm polylog}\left (4, -\cos \left (x\right ) + i \, \sin \left (x\right )\right ) - 6 i \, \sqrt {\frac {a}{\cos \left (x\right )^{2}}} \cos \left (x\right ) {\rm polylog}\left (4, -\cos \left (x\right ) - i \, \sin \left (x\right )\right ) - {\left (x^{3} \cos \left (x\right ) \log \left (\cos \left (x\right ) + i \, \sin \left (x\right ) + 1\right ) + x^{3} \cos \left (x\right ) \log \left (\cos \left (x\right ) - i \, \sin \left (x\right ) + 1\right ) - x^{3} \cos \left (x\right ) \log \left (-\cos \left (x\right ) + i \, \sin \left (x\right ) + 1\right ) - x^{3} \cos \left (x\right ) \log \left (-\cos \left (x\right ) - i \, \sin \left (x\right ) + 1\right ) + 3 i \, x^{2} \cos \left (x\right ) {\rm Li}_2\left (\cos \left (x\right ) + i \, \sin \left (x\right )\right ) - 3 i \, x^{2} \cos \left (x\right ) {\rm Li}_2\left (\cos \left (x\right ) - i \, \sin \left (x\right )\right ) + 3 i \, x^{2} \cos \left (x\right ) {\rm Li}_2\left (-\cos \left (x\right ) + i \, \sin \left (x\right )\right ) - 3 i \, x^{2} \cos \left (x\right ) {\rm Li}_2\left (-\cos \left (x\right ) - i \, \sin \left (x\right )\right )\right )} \sqrt {\frac {a}{\cos \left (x\right )^{2}}}}{2 \, a} \]

[In]

integrate(x^3*csc(x)*sec(x)/(a*sec(x)^2)^(1/2),x, algorithm="fricas")

[Out]

1/2*(6*x*sqrt(a/cos(x)^2)*cos(x)*polylog(3, cos(x) + I*sin(x)) + 6*x*sqrt(a/cos(x)^2)*cos(x)*polylog(3, cos(x)
 - I*sin(x)) - 6*x*sqrt(a/cos(x)^2)*cos(x)*polylog(3, -cos(x) + I*sin(x)) - 6*x*sqrt(a/cos(x)^2)*cos(x)*polylo
g(3, -cos(x) - I*sin(x)) + 6*I*sqrt(a/cos(x)^2)*cos(x)*polylog(4, cos(x) + I*sin(x)) - 6*I*sqrt(a/cos(x)^2)*co
s(x)*polylog(4, cos(x) - I*sin(x)) + 6*I*sqrt(a/cos(x)^2)*cos(x)*polylog(4, -cos(x) + I*sin(x)) - 6*I*sqrt(a/c
os(x)^2)*cos(x)*polylog(4, -cos(x) - I*sin(x)) - (x^3*cos(x)*log(cos(x) + I*sin(x) + 1) + x^3*cos(x)*log(cos(x
) - I*sin(x) + 1) - x^3*cos(x)*log(-cos(x) + I*sin(x) + 1) - x^3*cos(x)*log(-cos(x) - I*sin(x) + 1) + 3*I*x^2*
cos(x)*dilog(cos(x) + I*sin(x)) - 3*I*x^2*cos(x)*dilog(cos(x) - I*sin(x)) + 3*I*x^2*cos(x)*dilog(-cos(x) + I*s
in(x)) - 3*I*x^2*cos(x)*dilog(-cos(x) - I*sin(x)))*sqrt(a/cos(x)^2))/a

Sympy [F]

\[ \int \frac {x^3 \csc (x) \sec (x)}{\sqrt {a \sec ^2(x)}} \, dx=\int \frac {x^{3} \csc {\left (x \right )} \sec {\left (x \right )}}{\sqrt {a \sec ^{2}{\left (x \right )}}}\, dx \]

[In]

integrate(x**3*csc(x)*sec(x)/(a*sec(x)**2)**(1/2),x)

[Out]

Integral(x**3*csc(x)*sec(x)/sqrt(a*sec(x)**2), x)

Maxima [A] (verification not implemented)

none

Time = 0.34 (sec) , antiderivative size = 131, normalized size of antiderivative = 0.70 \[ \int \frac {x^3 \csc (x) \sec (x)}{\sqrt {a \sec ^2(x)}} \, dx=-\frac {2 i \, x^{3} \arctan \left (\sin \left (x\right ), \cos \left (x\right ) + 1\right ) + 2 i \, x^{3} \arctan \left (\sin \left (x\right ), -\cos \left (x\right ) + 1\right ) + x^{3} \log \left (\cos \left (x\right )^{2} + \sin \left (x\right )^{2} + 2 \, \cos \left (x\right ) + 1\right ) - x^{3} \log \left (\cos \left (x\right )^{2} + \sin \left (x\right )^{2} - 2 \, \cos \left (x\right ) + 1\right ) - 6 i \, x^{2} {\rm Li}_2\left (-e^{\left (i \, x\right )}\right ) + 6 i \, x^{2} {\rm Li}_2\left (e^{\left (i \, x\right )}\right ) + 12 \, x {\rm Li}_{3}(-e^{\left (i \, x\right )}) - 12 \, x {\rm Li}_{3}(e^{\left (i \, x\right )}) + 12 i \, {\rm Li}_{4}(-e^{\left (i \, x\right )}) - 12 i \, {\rm Li}_{4}(e^{\left (i \, x\right )})}{2 \, \sqrt {a}} \]

[In]

integrate(x^3*csc(x)*sec(x)/(a*sec(x)^2)^(1/2),x, algorithm="maxima")

[Out]

-1/2*(2*I*x^3*arctan2(sin(x), cos(x) + 1) + 2*I*x^3*arctan2(sin(x), -cos(x) + 1) + x^3*log(cos(x)^2 + sin(x)^2
 + 2*cos(x) + 1) - x^3*log(cos(x)^2 + sin(x)^2 - 2*cos(x) + 1) - 6*I*x^2*dilog(-e^(I*x)) + 6*I*x^2*dilog(e^(I*
x)) + 12*x*polylog(3, -e^(I*x)) - 12*x*polylog(3, e^(I*x)) + 12*I*polylog(4, -e^(I*x)) - 12*I*polylog(4, e^(I*
x)))/sqrt(a)

Giac [F]

\[ \int \frac {x^3 \csc (x) \sec (x)}{\sqrt {a \sec ^2(x)}} \, dx=\int { \frac {x^{3} \csc \left (x\right ) \sec \left (x\right )}{\sqrt {a \sec \left (x\right )^{2}}} \,d x } \]

[In]

integrate(x^3*csc(x)*sec(x)/(a*sec(x)^2)^(1/2),x, algorithm="giac")

[Out]

integrate(x^3*csc(x)*sec(x)/sqrt(a*sec(x)^2), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {x^3 \csc (x) \sec (x)}{\sqrt {a \sec ^2(x)}} \, dx=\int \frac {x^3}{\cos \left (x\right )\,\sin \left (x\right )\,\sqrt {\frac {a}{{\cos \left (x\right )}^2}}} \,d x \]

[In]

int(x^3/(cos(x)*sin(x)*(a/cos(x)^2)^(1/2)),x)

[Out]

int(x^3/(cos(x)*sin(x)*(a/cos(x)^2)^(1/2)), x)