Optimal. Leaf size=58 \[ -\frac {\text {Chi}\left (\frac {2 \sqrt {1-a x}}{\sqrt {a x+1}}\right )}{2 a}-\frac {\log \left (\frac {\sqrt {1-a x}}{\sqrt {a x+1}}\right )}{2 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {6681, 3312, 3301} \[ -\frac {\text {Chi}\left (\frac {2 \sqrt {1-a x}}{\sqrt {a x+1}}\right )}{2 a}-\frac {\log \left (\frac {\sqrt {1-a x}}{\sqrt {a x+1}}\right )}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3301
Rule 3312
Rule 6681
Rubi steps
\begin {align*} \int \frac {\cosh ^2\left (\frac {\sqrt {1-a x}}{\sqrt {1+a x}}\right )}{1-a^2 x^2} \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {\cosh ^2(x)}{x} \, dx,x,\frac {\sqrt {1-a x}}{\sqrt {1+a x}}\right )}{a}\\ &=-\frac {\operatorname {Subst}\left (\int \left (\frac {1}{2 x}+\frac {\cosh (2 x)}{2 x}\right ) \, dx,x,\frac {\sqrt {1-a x}}{\sqrt {1+a x}}\right )}{a}\\ &=-\frac {\log \left (\frac {\sqrt {1-a x}}{\sqrt {1+a x}}\right )}{2 a}-\frac {\operatorname {Subst}\left (\int \frac {\cosh (2 x)}{x} \, dx,x,\frac {\sqrt {1-a x}}{\sqrt {1+a x}}\right )}{2 a}\\ &=-\frac {\text {Chi}\left (\frac {2 \sqrt {1-a x}}{\sqrt {1+a x}}\right )}{2 a}-\frac {\log \left (\frac {\sqrt {1-a x}}{\sqrt {1+a x}}\right )}{2 a}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 57, normalized size = 0.98 \[ -\frac {\text {Chi}\left (\frac {2 \sqrt {1-a x}}{\sqrt {a x+1}}\right )}{2 a}-\frac {\log (1-a x)}{4 a}+\frac {\log (a x+1)}{4 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.92, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {\cosh \left (\frac {\sqrt {-a x + 1}}{\sqrt {a x + 1}}\right )^{2}}{a^{2} x^{2} - 1}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int -\frac {\cosh \left (\frac {\sqrt {-a x + 1}}{\sqrt {a x + 1}}\right )^{2}}{a^{2} x^{2} - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.35, size = 0, normalized size = 0.00 \[ \int \frac {\cosh ^{2}\left (\frac {\sqrt {-a x +1}}{\sqrt {a x +1}}\right )}{-a^{2} x^{2}+1}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\log \left (a x + 1\right )}{4 \, a} - \frac {\log \left (a x - 1\right )}{4 \, a} - \frac {1}{4} \, \int \frac {e^{\left (\frac {2 \, \sqrt {-a x + 1}}{\sqrt {a x + 1}}\right )}}{a^{2} x^{2} - 1}\,{d x} - \frac {1}{4} \, \int \frac {e^{\left (-\frac {2 \, \sqrt {-a x + 1}}{\sqrt {a x + 1}}\right )}}{a^{2} x^{2} - 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ -\int \frac {{\mathrm {cosh}\left (\frac {\sqrt {1-a\,x}}{\sqrt {a\,x+1}}\right )}^2}{a^2\,x^2-1} \,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 {\cosh ^{2}{\left (\frac {\sqrt {- a x + 1}}{\sqrt {a x + 1}} \right )}}{a^{2} x^{2} - 1}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________