Optimal. Leaf size=9 \[ \frac {1}{\sqrt {1+\frac {1}{x^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 9, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {25, 267}
\begin {gather*} \frac {1}{\sqrt {\frac {1}{x^2}+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 25
Rule 267
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {1+\frac {1}{x^2}} x \left (1+x^2\right )} \, dx &=\int \frac {1}{\left (1+\frac {1}{x^2}\right )^{3/2} x^3} \, dx\\ &=\frac {1}{\sqrt {1+\frac {1}{x^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(20\) vs. \(2(9)=18\).
time = 0.00, size = 20, normalized size = 2.22 \begin {gather*} \frac {\sqrt {1+\frac {1}{x^2}} x^2}{1+x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.42, size = 12, normalized size = 1.33
method | result | size |
gosper | \(\frac {1}{\sqrt {\frac {x^{2}+1}{x^{2}}}}\) | \(12\) |
default | \(\frac {1}{\sqrt {\frac {x^{2}+1}{x^{2}}}}\) | \(12\) |
risch | \(\frac {1}{\sqrt {\frac {x^{2}+1}{x^{2}}}}\) | \(12\) |
trager | \(\frac {x^{2} \sqrt {-\frac {-x^{2}-1}{x^{2}}}}{x^{2}+1}\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 28 vs.
\(2 (7) = 14\).
time = 0.35, size = 28, normalized size = 3.11 \begin {gather*} \frac {x^{2} \sqrt {\frac {x^{2} + 1}{x^{2}}} + x^{2} + 1}{x^{2} + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.57, size = 10, normalized size = 1.11 \begin {gather*} \frac {1}{\sqrt {1 + \frac {1}{x^{2}}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.71, size = 13, normalized size = 1.44 \begin {gather*} \frac {x}{\sqrt {x^{2} + 1} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.10, size = 18, normalized size = 2.00 \begin {gather*} \frac {x^2\,\sqrt {\frac {1}{x^2}+1}}{x^2+1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________