Integrand size = 10, antiderivative size = 56 \[ \int x^2 \csc ^{-1}\left (\frac {a}{x}\right ) \, dx=\frac {1}{3} a^3 \sqrt {1-\frac {x^2}{a^2}}-\frac {1}{9} a^3 \left (1-\frac {x^2}{a^2}\right )^{3/2}+\frac {1}{3} x^3 \arcsin \left (\frac {x}{a}\right ) \] Output:
1/3*a^3*(1-x^2/a^2)^(1/2)-1/9*a^3*(1-x^2/a^2)^(3/2)+1/3*x^3*arcsin(x/a)
Time = 0.03 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.75 \[ \int x^2 \csc ^{-1}\left (\frac {a}{x}\right ) \, dx=\frac {1}{9} a \left (2 a^2+x^2\right ) \sqrt {1-\frac {x^2}{a^2}}+\frac {1}{3} x^3 \csc ^{-1}\left (\frac {a}{x}\right ) \] Input:
Integrate[x^2*ArcCsc[a/x],x]
Output:
(a*(2*a^2 + x^2)*Sqrt[1 - x^2/a^2])/9 + (x^3*ArcCsc[a/x])/3
Time = 0.27 (sec) , antiderivative size = 62, normalized size of antiderivative = 1.11, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5788, 5138, 243, 53, 2009}
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 x^2 \csc ^{-1}\left (\frac {a}{x}\right ) \, dx\) |
\(\Big \downarrow \) 5788 |
\(\displaystyle \int x^2 \arcsin \left (\frac {x}{a}\right )dx\) |
\(\Big \downarrow \) 5138 |
\(\displaystyle \frac {1}{3} x^3 \arcsin \left (\frac {x}{a}\right )-\frac {\int \frac {x^3}{\sqrt {1-\frac {x^2}{a^2}}}dx}{3 a}\) |
\(\Big \downarrow \) 243 |
\(\displaystyle \frac {1}{3} x^3 \arcsin \left (\frac {x}{a}\right )-\frac {\int \frac {x^2}{\sqrt {1-\frac {x^2}{a^2}}}dx^2}{6 a}\) |
\(\Big \downarrow \) 53 |
\(\displaystyle \frac {1}{3} x^3 \arcsin \left (\frac {x}{a}\right )-\frac {\int \left (\frac {a^2}{\sqrt {1-\frac {x^2}{a^2}}}-a^2 \sqrt {1-\frac {x^2}{a^2}}\right )dx^2}{6 a}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{3} x^3 \arcsin \left (\frac {x}{a}\right )-\frac {\frac {2}{3} a^4 \left (1-\frac {x^2}{a^2}\right )^{3/2}-2 a^4 \sqrt {1-\frac {x^2}{a^2}}}{6 a}\) |
Input:
Int[x^2*ArcCsc[a/x],x]
Output:
-1/6*(-2*a^4*Sqrt[1 - x^2/a^2] + (2*a^4*(1 - x^2/a^2)^(3/2))/3)/a + (x^3*A rcSin[x/a])/3
Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int [ExpandIntegrand[(a + b*x)^m*(c + d*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0] && LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[1/2 Subst[In t[x^((m - 1)/2)*(a + b*x)^p, x], x, x^2], x] /; FreeQ[{a, b, m, p}, x] && I ntegerQ[(m - 1)/2]
Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*ArcSin[c*x])^n/(d*(m + 1))), x] - Simp[b*c*(n /(d*(m + 1))) Int[(d*x)^(m + 1)*((a + b*ArcSin[c*x])^(n - 1)/Sqrt[1 - c^2 *x^2]), x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] && NeQ[m, -1]
Int[ArcCsc[(c_.)/((a_.) + (b_.)*(x_)^(n_.))]^(m_.)*(u_.), x_Symbol] :> Int[ u*ArcSin[a/c + b*(x^n/c)]^m, x] /; FreeQ[{a, b, c, n, m}, x]
Time = 1.04 (sec) , antiderivative size = 56, normalized size of antiderivative = 1.00
method | result | size |
parts | \(\frac {x^{3} \operatorname {arccsc}\left (\frac {a}{x}\right )}{3}-\frac {-\frac {x^{2} a^{2} \sqrt {1-\frac {x^{2}}{a^{2}}}}{3}-\frac {2 a^{4} \sqrt {1-\frac {x^{2}}{a^{2}}}}{3}}{3 a}\) | \(56\) |
derivativedivides | \(-a^{3} \left (-\frac {x^{3} \operatorname {arccsc}\left (\frac {a}{x}\right )}{3 a^{3}}-\frac {\left (\frac {a^{2}}{x^{2}}-1\right ) \left (\frac {2 a^{2}}{x^{2}}+1\right ) x^{4}}{9 \sqrt {\frac {\left (\frac {a^{2}}{x^{2}}-1\right ) x^{2}}{a^{2}}}\, a^{4}}\right )\) | \(66\) |
default | \(-a^{3} \left (-\frac {x^{3} \operatorname {arccsc}\left (\frac {a}{x}\right )}{3 a^{3}}-\frac {\left (\frac {a^{2}}{x^{2}}-1\right ) \left (\frac {2 a^{2}}{x^{2}}+1\right ) x^{4}}{9 \sqrt {\frac {\left (\frac {a^{2}}{x^{2}}-1\right ) x^{2}}{a^{2}}}\, a^{4}}\right )\) | \(66\) |
Input:
int(x^2*arccsc(a/x),x,method=_RETURNVERBOSE)
Output:
1/3*x^3*arccsc(a/x)-1/3/a*(-1/3*x^2*a^2*(1-x^2/a^2)^(1/2)-2/3*a^4*(1-x^2/a ^2)^(1/2))
Time = 0.12 (sec) , antiderivative size = 39, normalized size of antiderivative = 0.70 \[ \int x^2 \csc ^{-1}\left (\frac {a}{x}\right ) \, dx=\frac {1}{3} \, x^{3} \operatorname {arccsc}\left (\frac {a}{x}\right ) + \frac {1}{9} \, {\left (2 \, a^{2} x + x^{3}\right )} \sqrt {\frac {a^{2} - x^{2}}{x^{2}}} \] Input:
integrate(x^2*arccsc(a/x),x, algorithm="fricas")
Output:
1/3*x^3*arccsc(a/x) + 1/9*(2*a^2*x + x^3)*sqrt((a^2 - x^2)/x^2)
Time = 0.26 (sec) , antiderivative size = 51, normalized size of antiderivative = 0.91 \[ \int x^2 \csc ^{-1}\left (\frac {a}{x}\right ) \, dx=\begin {cases} \frac {2 a^{3} \sqrt {1 - \frac {x^{2}}{a^{2}}}}{9} + \frac {a x^{2} \sqrt {1 - \frac {x^{2}}{a^{2}}}}{9} + \frac {x^{3} \operatorname {acsc}{\left (\frac {a}{x} \right )}}{3} & \text {for}\: a \neq 0 \\\tilde {\infty } x^{3} & \text {otherwise} \end {cases} \] Input:
integrate(x**2*acsc(a/x),x)
Output:
Piecewise((2*a**3*sqrt(1 - x**2/a**2)/9 + a*x**2*sqrt(1 - x**2/a**2)/9 + x **3*acsc(a/x)/3, Ne(a, 0)), (zoo*x**3, True))
Time = 0.13 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.96 \[ \int x^2 \csc ^{-1}\left (\frac {a}{x}\right ) \, dx=\frac {1}{3} \, x^{3} \operatorname {arccsc}\left (\frac {a}{x}\right ) + \frac {2 \, a^{4} \sqrt {-\frac {x^{2}}{a^{2}} + 1} + a^{2} x^{2} \sqrt {-\frac {x^{2}}{a^{2}} + 1}}{9 \, a} \] Input:
integrate(x^2*arccsc(a/x),x, algorithm="maxima")
Output:
1/3*x^3*arccsc(a/x) + 1/9*(2*a^4*sqrt(-x^2/a^2 + 1) + a^2*x^2*sqrt(-x^2/a^ 2 + 1))/a
Time = 0.12 (sec) , antiderivative size = 68, normalized size of antiderivative = 1.21 \[ \int x^2 \csc ^{-1}\left (\frac {a}{x}\right ) \, dx=\frac {1}{3} \, a^{2} x {\left (\frac {x^{2}}{a^{2}} - 1\right )} \arcsin \left (\frac {x}{a}\right ) - \frac {1}{9} \, a^{3} {\left (-\frac {x^{2}}{a^{2}} + 1\right )}^{\frac {3}{2}} + \frac {1}{3} \, a^{2} x \arcsin \left (\frac {x}{a}\right ) + \frac {1}{3} \, a^{3} \sqrt {-\frac {x^{2}}{a^{2}} + 1} \] Input:
integrate(x^2*arccsc(a/x),x, algorithm="giac")
Output:
1/3*a^2*x*(x^2/a^2 - 1)*arcsin(x/a) - 1/9*a^3*(-x^2/a^2 + 1)^(3/2) + 1/3*a ^2*x*arcsin(x/a) + 1/3*a^3*sqrt(-x^2/a^2 + 1)
Timed out. \[ \int x^2 \csc ^{-1}\left (\frac {a}{x}\right ) \, dx=\left \{\begin {array}{cl} \frac {x^3\,\mathrm {asin}\left (\frac {x}{a}\right )}{3}+\frac {\sqrt {a^2-x^2}\,\left (2\,a^2+x^2\right )}{9} & \text {\ if\ \ }0<a\\ \int x^2\,\mathrm {asin}\left (\frac {x}{a}\right ) \,d x & \text {\ if\ \ }\neg 0<a \end {array}\right . \] Input:
int(x^2*asin(x/a),x)
Output:
piecewise(0 < a, (x^3*asin(x/a))/3 + ((a^2 - x^2)^(1/2)*(2*a^2 + x^2))/9, ~0 < a, int(x^2*asin(x/a), x))
\[ \int x^2 \csc ^{-1}\left (\frac {a}{x}\right ) \, dx=\int \mathit {acsc} \left (\frac {a}{x}\right ) x^{2}d x \] Input:
int(x^2*acsc(a/x),x)
Output:
int(acsc(a/x)*x**2,x)