3.135 \(\int \frac{\tan ^{-1}(\frac{c x}{\sqrt{a-c^2 x^2}})^2}{\sqrt{d-\frac{c^2 d x^2}{a}}} \, dx\)

Optimal. Leaf size=59 \[ \frac{\sqrt{a-c^2 x^2} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )^3}{3 c \sqrt{d-\frac{c^2 d x^2}{a}}} \]

[Out]

(Sqrt[a - c^2*x^2]*ArcTan[(c*x)/Sqrt[a - c^2*x^2]]^3)/(3*c*Sqrt[d - (c^2*d*x^2)/a])

________________________________________________________________________________________

Rubi [A]  time = 0.0981454, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 39, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.051, Rules used = {5157, 5155} \[ \frac{\sqrt{a-c^2 x^2} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )^3}{3 c \sqrt{d-\frac{c^2 d x^2}{a}}} \]

Antiderivative was successfully verified.

[In]

Int[ArcTan[(c*x)/Sqrt[a - c^2*x^2]]^2/Sqrt[d - (c^2*d*x^2)/a],x]

[Out]

(Sqrt[a - c^2*x^2]*ArcTan[(c*x)/Sqrt[a - c^2*x^2]]^3)/(3*c*Sqrt[d - (c^2*d*x^2)/a])

Rule 5157

Int[ArcTan[((c_.)*(x_))/Sqrt[(a_.) + (b_.)*(x_)^2]]^(m_.)/Sqrt[(d_.) + (e_.)*(x_)^2], x_Symbol] :> Dist[Sqrt[a
 + b*x^2]/Sqrt[d + e*x^2], Int[ArcTan[(c*x)/Sqrt[a + b*x^2]]^m/Sqrt[a + b*x^2], x], x] /; FreeQ[{a, b, c, d, e
, m}, x] && EqQ[b + c^2, 0] && EqQ[b*d - a*e, 0]

Rule 5155

Int[ArcTan[((c_.)*(x_))/Sqrt[(a_.) + (b_.)*(x_)^2]]^(m_.)/Sqrt[(a_.) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcTan
[(c*x)/Sqrt[a + b*x^2]]^(m + 1)/(c*(m + 1)), x] /; FreeQ[{a, b, c, m}, x] && EqQ[b + c^2, 0] && NeQ[m, -1]

Rubi steps

\begin{align*} \int \frac{\tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )^2}{\sqrt{d-\frac{c^2 d x^2}{a}}} \, dx &=\frac{\sqrt{a-c^2 x^2} \int \frac{\tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )^2}{\sqrt{a-c^2 x^2}} \, dx}{\sqrt{d-\frac{c^2 d x^2}{a}}}\\ &=\frac{\sqrt{a-c^2 x^2} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )^3}{3 c \sqrt{d-\frac{c^2 d x^2}{a}}}\\ \end{align*}

Mathematica [A]  time = 0.0302251, size = 59, normalized size = 1. \[ \frac{\sqrt{a-c^2 x^2} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )^3}{3 c \sqrt{d-\frac{c^2 d x^2}{a}}} \]

Antiderivative was successfully verified.

[In]

Integrate[ArcTan[(c*x)/Sqrt[a - c^2*x^2]]^2/Sqrt[d - (c^2*d*x^2)/a],x]

[Out]

(Sqrt[a - c^2*x^2]*ArcTan[(c*x)/Sqrt[a - c^2*x^2]]^3)/(3*c*Sqrt[d - (c^2*d*x^2)/a])

________________________________________________________________________________________

Maple [A]  time = 0.68, size = 72, normalized size = 1.2 \begin{align*} -{\frac{a}{3\,d \left ({c}^{2}{x}^{2}-a \right ) c}\sqrt{-{\frac{d \left ({c}^{2}{x}^{2}-a \right ) }{a}}}\sqrt{-{c}^{2}{x}^{2}+a} \left ( \arctan \left ({cx{\frac{1}{\sqrt{-{c}^{2}{x}^{2}+a}}}} \right ) \right ) ^{3}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arctan(c*x/(-c^2*x^2+a)^(1/2))^2/(d-c^2*d*x^2/a)^(1/2),x)

[Out]

-1/3*(-d*(c^2*x^2-a)/a)^(1/2)*(-c^2*x^2+a)^(1/2)/d/(c^2*x^2-a)/c*arctan(c*x/(-c^2*x^2+a)^(1/2))^3*a

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arctan(c*x/(-c^2*x^2+a)^(1/2))^2/(d-c^2*d*x^2/a)^(1/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{a \sqrt{-\frac{c^{2} d x^{2} - a d}{a}} \arctan \left (\frac{\sqrt{-c^{2} x^{2} + a} c x}{c^{2} x^{2} - a}\right )^{2}}{c^{2} d x^{2} - a d}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arctan(c*x/(-c^2*x^2+a)^(1/2))^2/(d-c^2*d*x^2/a)^(1/2),x, algorithm="fricas")

[Out]

integral(-a*sqrt(-(c^2*d*x^2 - a*d)/a)*arctan(sqrt(-c^2*x^2 + a)*c*x/(c^2*x^2 - a))^2/(c^2*d*x^2 - a*d), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{atan}^{2}{\left (\frac{c x}{\sqrt{a - c^{2} x^{2}}} \right )}}{\sqrt{- d \left (-1 + \frac{c^{2} x^{2}}{a}\right )}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(atan(c*x/(-c**2*x**2+a)**(1/2))**2/(d-c**2*d*x**2/a)**(1/2),x)

[Out]

Integral(atan(c*x/sqrt(a - c**2*x**2))**2/sqrt(-d*(-1 + c**2*x**2/a)), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\arctan \left (\frac{c x}{\sqrt{-c^{2} x^{2} + a}}\right )^{2}}{\sqrt{-\frac{c^{2} d x^{2}}{a} + d}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arctan(c*x/(-c^2*x^2+a)^(1/2))^2/(d-c^2*d*x^2/a)^(1/2),x, algorithm="giac")

[Out]

integrate(arctan(c*x/sqrt(-c^2*x^2 + a))^2/sqrt(-c^2*d*x^2/a + d), x)