Optimal. Leaf size=57 \[ -\frac{\sqrt{a-c^2 x^2}}{c \sqrt{d-\frac{c^2 d x^2}{a}} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0985449, antiderivative size = 57, 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}}{c \sqrt{d-\frac{c^2 d x^2}{a}} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5157
Rule 5155
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{d-\frac{c^2 d x^2}{a}} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )^2} \, dx &=\frac{\sqrt{a-c^2 x^2} \int \frac{1}{\sqrt{a-c^2 x^2} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )^2} \, dx}{\sqrt{d-\frac{c^2 d x^2}{a}}}\\ &=-\frac{\sqrt{a-c^2 x^2}}{c \sqrt{d-\frac{c^2 d x^2}{a}} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )}\\ \end{align*}
Mathematica [A] time = 0.0259737, size = 57, normalized size = 1. \[ -\frac{\sqrt{a-c^2 x^2}}{c \sqrt{d-\frac{c^2 d x^2}{a}} \tan ^{-1}\left (\frac{c x}{\sqrt{a-c^2 x^2}}\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.672, size = 71, normalized size = 1.3 \begin{align*}{\frac{a}{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 ) ^{-1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.53785, size = 39, normalized size = 0.68 \begin{align*} -\frac{\sqrt{a}}{c \sqrt{d} \arctan \left (c x, \sqrt{-c^{2} x^{2} + a}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.85097, size = 158, normalized size = 2.77 \begin{align*} -\frac{\sqrt{-c^{2} x^{2} + a} a \sqrt{-\frac{c^{2} d x^{2} - a d}{a}}}{{\left (c^{3} d x^{2} - a c d\right )} \arctan \left (\frac{\sqrt{-c^{2} x^{2} + a} c x}{c^{2} x^{2} - a}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{- d \left (-1 + \frac{c^{2} x^{2}}{a}\right )} \operatorname{atan}^{2}{\left (\frac{c x}{\sqrt{a - c^{2} x^{2}}} \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{-\frac{c^{2} d x^{2}}{a} + d} \arctan \left (\frac{c x}{\sqrt{-c^{2} x^{2} + a}}\right )^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]