Optimal. Leaf size=30 \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {a \sin ^2(c+d x)}}{\sqrt {a}}\right )}{\sqrt {a} d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3205, 63, 206} \[ \frac {\tanh ^{-1}\left (\frac {\sqrt {a \sin ^2(c+d x)}}{\sqrt {a}}\right )}{\sqrt {a} d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 206
Rule 3205
Rubi steps
\begin {align*} \int \frac {\tan (c+d x)}{\sqrt {a \sin ^2(c+d x)}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {1}{(1-x) \sqrt {a x}} \, dx,x,\sin ^2(c+d x)\right )}{2 d}\\ &=\frac {\operatorname {Subst}\left (\int \frac {1}{1-\frac {x^2}{a}} \, dx,x,\sqrt {a \sin ^2(c+d x)}\right )}{a d}\\ &=\frac {\tanh ^{-1}\left (\frac {\sqrt {a \sin ^2(c+d x)}}{\sqrt {a}}\right )}{\sqrt {a} d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 31, normalized size = 1.03 \[ \frac {\sin (c+d x) \tanh ^{-1}(\sin (c+d x))}{d \sqrt {a \sin ^2(c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.89, size = 91, normalized size = 3.03 \[ \left [\frac {\sqrt {-a \cos \left (d x + c\right )^{2} + a} \log \left (-\frac {\sin \left (d x + c\right ) + 1}{\sin \left (d x + c\right ) - 1}\right )}{2 \, a d \sin \left (d x + c\right )}, -\frac {\sqrt {-a} \arctan \left (\frac {\sqrt {-a \cos \left (d x + c\right )^{2} + a} \sqrt {-a}}{a}\right )}{a d}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.35, size = 61, normalized size = 2.03 \[ \frac {\frac {\log \left ({\left | \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1 \right |}\right )}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} - \frac {\log \left ({\left | \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - 1 \right |}\right )}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}}{\sqrt {a} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.15, size = 30, normalized size = 1.00 \[ \frac {\sin \left (d x +c \right ) \arctanh \left (\sin \left (d x +c \right )\right )}{\sqrt {a \left (\sin ^{2}\left (d x +c \right )\right )}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.43, size = 76, normalized size = 2.53 \[ \frac {\frac {\left (-1\right )^{2 \, a \sin \left (d x + c\right )} \log \left (-\frac {a \sin \left (d x + c\right )}{\sin \left (d x + c\right ) + 1}\right )}{\sqrt {a}} + \frac {\left (-1\right )^{2 \, a \sin \left (d x + c\right )} \log \left (-\frac {a \sin \left (d x + c\right )}{\sin \left (d x + c\right ) - 1}\right )}{\sqrt {a}}}{2 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {\mathrm {tan}\left (c+d\,x\right )}{\sqrt {a\,{\sin \left (c+d\,x\right )}^2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\tan {\left (c + d x \right )}}{\sqrt {a \sin ^{2}{\left (c + d x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________