Optimal. Leaf size=148 \[ \frac {4 x \sqrt {2+3 x^2}}{3 \sqrt {1+4 x^2}}-\frac {2 \sqrt {2} \sqrt {2+3 x^2} E\left (\tan ^{-1}(2 x)|\frac {5}{8}\right )}{3 \sqrt {\frac {2+3 x^2}{1+4 x^2}} \sqrt {1+4 x^2}}+\frac {\sqrt {2+3 x^2} F\left (\tan ^{-1}(2 x)|\frac {5}{8}\right )}{2 \sqrt {2} \sqrt {\frac {2+3 x^2}{1+4 x^2}} \sqrt {1+4 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 148, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {433, 429, 506,
422} \begin {gather*} \frac {\sqrt {3 x^2+2} F\left (\text {ArcTan}(2 x)\left |\frac {5}{8}\right .\right )}{2 \sqrt {2} \sqrt {\frac {3 x^2+2}{4 x^2+1}} \sqrt {4 x^2+1}}-\frac {2 \sqrt {2} \sqrt {3 x^2+2} E\left (\text {ArcTan}(2 x)\left |\frac {5}{8}\right .\right )}{3 \sqrt {\frac {3 x^2+2}{4 x^2+1}} \sqrt {4 x^2+1}}+\frac {4 \sqrt {3 x^2+2} x}{3 \sqrt {4 x^2+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 422
Rule 429
Rule 433
Rule 506
Rubi steps
\begin {align*} \int \frac {\sqrt {1+4 x^2}}{\sqrt {2+3 x^2}} \, dx &=4 \int \frac {x^2}{\sqrt {2+3 x^2} \sqrt {1+4 x^2}} \, dx+\int \frac {1}{\sqrt {2+3 x^2} \sqrt {1+4 x^2}} \, dx\\ &=\frac {4 x \sqrt {2+3 x^2}}{3 \sqrt {1+4 x^2}}+\frac {\sqrt {2+3 x^2} F\left (\tan ^{-1}(2 x)|\frac {5}{8}\right )}{2 \sqrt {2} \sqrt {\frac {2+3 x^2}{1+4 x^2}} \sqrt {1+4 x^2}}-\frac {4}{3} \int \frac {\sqrt {2+3 x^2}}{\left (1+4 x^2\right )^{3/2}} \, dx\\ &=\frac {4 x \sqrt {2+3 x^2}}{3 \sqrt {1+4 x^2}}-\frac {2 \sqrt {2} \sqrt {2+3 x^2} E\left (\tan ^{-1}(2 x)|\frac {5}{8}\right )}{3 \sqrt {\frac {2+3 x^2}{1+4 x^2}} \sqrt {1+4 x^2}}+\frac {\sqrt {2+3 x^2} F\left (\tan ^{-1}(2 x)|\frac {5}{8}\right )}{2 \sqrt {2} \sqrt {\frac {2+3 x^2}{1+4 x^2}} \sqrt {1+4 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.28, size = 27, normalized size = 0.18 \begin {gather*} -\frac {i E\left (i \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )|\frac {8}{3}\right )}{\sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.07, size = 20, normalized size = 0.14
method | result | size |
default | \(-\frac {i \EllipticE \left (\frac {i x \sqrt {6}}{2}, \frac {2 \sqrt {6}}{3}\right ) \sqrt {3}}{3}\) | \(20\) |
elliptic | \(\frac {\sqrt {\left (3 x^{2}+2\right ) \left (4 x^{2}+1\right )}\, \left (-\frac {i \sqrt {6}\, \sqrt {6 x^{2}+4}\, \sqrt {4 x^{2}+1}\, \EllipticF \left (\frac {i x \sqrt {6}}{2}, \frac {2 \sqrt {6}}{3}\right )}{6 \sqrt {12 x^{4}+11 x^{2}+2}}+\frac {i \sqrt {6}\, \sqrt {6 x^{2}+4}\, \sqrt {4 x^{2}+1}\, \left (\EllipticF \left (\frac {i x \sqrt {6}}{2}, \frac {2 \sqrt {6}}{3}\right )-\EllipticE \left (\frac {i x \sqrt {6}}{2}, \frac {2 \sqrt {6}}{3}\right )\right )}{6 \sqrt {12 x^{4}+11 x^{2}+2}}\right )}{\sqrt {3 x^{2}+2}\, \sqrt {4 x^{2}+1}}\) | \(156\) |
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 [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {4 x^{2} + 1}}{\sqrt {3 x^{2} + 2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {4\,x^2+1}}{\sqrt {3\,x^2+2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________