3.190 \(\int \frac{(d+e x)^2}{\sqrt{a+c x^4}} \, dx\)

Optimal. Leaf size=263 \[ \frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \left (\frac{\sqrt{c} d^2}{\sqrt{a}}+e^2\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 c^{3/4} \sqrt{a+c x^4}}-\frac{\sqrt [4]{a} e^2 \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{c^{3/4} \sqrt{a+c x^4}}+\frac{d e \tanh ^{-1}\left (\frac{\sqrt{c} x^2}{\sqrt{a+c x^4}}\right )}{\sqrt{c}}+\frac{e^2 x \sqrt{a+c x^4}}{\sqrt{c} \left (\sqrt{a}+\sqrt{c} x^2\right )} \]

[Out]

(e^2*x*Sqrt[a + c*x^4])/(Sqrt[c]*(Sqrt[a] + Sqrt[c]*x^2)) + (d*e*ArcTanh[(Sqrt[c
]*x^2)/Sqrt[a + c*x^4]])/Sqrt[c] - (a^(1/4)*e^2*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[(a
+ c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticE[2*ArcTan[(c^(1/4)*x)/a^(1/4)], 1/2
])/(c^(3/4)*Sqrt[a + c*x^4]) + (a^(1/4)*((Sqrt[c]*d^2)/Sqrt[a] + e^2)*(Sqrt[a] +
 Sqrt[c]*x^2)*Sqrt[(a + c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticF[2*ArcTan[(c^
(1/4)*x)/a^(1/4)], 1/2])/(2*c^(3/4)*Sqrt[a + c*x^4])

_______________________________________________________________________________________

Rubi [A]  time = 0.299818, antiderivative size = 263, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 7, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.368 \[ \frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \left (\frac{\sqrt{c} d^2}{\sqrt{a}}+e^2\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 c^{3/4} \sqrt{a+c x^4}}-\frac{\sqrt [4]{a} e^2 \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{c^{3/4} \sqrt{a+c x^4}}+\frac{d e \tanh ^{-1}\left (\frac{\sqrt{c} x^2}{\sqrt{a+c x^4}}\right )}{\sqrt{c}}+\frac{e^2 x \sqrt{a+c x^4}}{\sqrt{c} \left (\sqrt{a}+\sqrt{c} x^2\right )} \]

Antiderivative was successfully verified.

[In]  Int[(d + e*x)^2/Sqrt[a + c*x^4],x]

[Out]

(e^2*x*Sqrt[a + c*x^4])/(Sqrt[c]*(Sqrt[a] + Sqrt[c]*x^2)) + (d*e*ArcTanh[(Sqrt[c
]*x^2)/Sqrt[a + c*x^4]])/Sqrt[c] - (a^(1/4)*e^2*(Sqrt[a] + Sqrt[c]*x^2)*Sqrt[(a
+ c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticE[2*ArcTan[(c^(1/4)*x)/a^(1/4)], 1/2
])/(c^(3/4)*Sqrt[a + c*x^4]) + (a^(1/4)*((Sqrt[c]*d^2)/Sqrt[a] + e^2)*(Sqrt[a] +
 Sqrt[c]*x^2)*Sqrt[(a + c*x^4)/(Sqrt[a] + Sqrt[c]*x^2)^2]*EllipticF[2*ArcTan[(c^
(1/4)*x)/a^(1/4)], 1/2])/(2*c^(3/4)*Sqrt[a + c*x^4])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 33.2493, size = 240, normalized size = 0.91 \[ - \frac{\sqrt [4]{a} e^{2} \sqrt{\frac{a + c x^{4}}{\left (\sqrt{a} + \sqrt{c} x^{2}\right )^{2}}} \left (\sqrt{a} + \sqrt{c} x^{2}\right ) E\left (2 \operatorname{atan}{\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}} \right )}\middle | \frac{1}{2}\right )}{c^{\frac{3}{4}} \sqrt{a + c x^{4}}} + \frac{d e \operatorname{atanh}{\left (\frac{\sqrt{c} x^{2}}{\sqrt{a + c x^{4}}} \right )}}{\sqrt{c}} + \frac{e^{2} x \sqrt{a + c x^{4}}}{\sqrt{c} \left (\sqrt{a} + \sqrt{c} x^{2}\right )} + \frac{\sqrt{\frac{a + c x^{4}}{\left (\sqrt{a} + \sqrt{c} x^{2}\right )^{2}}} \left (\sqrt{a} + \sqrt{c} x^{2}\right ) \left (\sqrt{a} e^{2} + \sqrt{c} d^{2}\right ) F\left (2 \operatorname{atan}{\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}} \right )}\middle | \frac{1}{2}\right )}{2 \sqrt [4]{a} c^{\frac{3}{4}} \sqrt{a + c x^{4}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((e*x+d)**2/(c*x**4+a)**(1/2),x)

[Out]

-a**(1/4)*e**2*sqrt((a + c*x**4)/(sqrt(a) + sqrt(c)*x**2)**2)*(sqrt(a) + sqrt(c)
*x**2)*elliptic_e(2*atan(c**(1/4)*x/a**(1/4)), 1/2)/(c**(3/4)*sqrt(a + c*x**4))
+ d*e*atanh(sqrt(c)*x**2/sqrt(a + c*x**4))/sqrt(c) + e**2*x*sqrt(a + c*x**4)/(sq
rt(c)*(sqrt(a) + sqrt(c)*x**2)) + sqrt((a + c*x**4)/(sqrt(a) + sqrt(c)*x**2)**2)
*(sqrt(a) + sqrt(c)*x**2)*(sqrt(a)*e**2 + sqrt(c)*d**2)*elliptic_f(2*atan(c**(1/
4)*x/a**(1/4)), 1/2)/(2*a**(1/4)*c**(3/4)*sqrt(a + c*x**4))

_______________________________________________________________________________________

Mathematica [C]  time = 0.333624, size = 204, normalized size = 0.78 \[ \frac{-\sqrt{\frac{c x^4}{a}+1} \left (\sqrt{a} e^2+i \sqrt{c} d^2\right ) F\left (\left .i \sinh ^{-1}\left (\sqrt{\frac{i \sqrt{c}}{\sqrt{a}}} x\right )\right |-1\right )+d e \sqrt{\frac{i \sqrt{c}}{\sqrt{a}}} \sqrt{a+c x^4} \tanh ^{-1}\left (\frac{\sqrt{c} x^2}{\sqrt{a+c x^4}}\right )+\sqrt{a} e^2 \sqrt{\frac{c x^4}{a}+1} E\left (\left .i \sinh ^{-1}\left (\sqrt{\frac{i \sqrt{c}}{\sqrt{a}}} x\right )\right |-1\right )}{\sqrt{c} \sqrt{\frac{i \sqrt{c}}{\sqrt{a}}} \sqrt{a+c x^4}} \]

Antiderivative was successfully verified.

[In]  Integrate[(d + e*x)^2/Sqrt[a + c*x^4],x]

[Out]

(Sqrt[(I*Sqrt[c])/Sqrt[a]]*d*e*Sqrt[a + c*x^4]*ArcTanh[(Sqrt[c]*x^2)/Sqrt[a + c*
x^4]] + Sqrt[a]*e^2*Sqrt[1 + (c*x^4)/a]*EllipticE[I*ArcSinh[Sqrt[(I*Sqrt[c])/Sqr
t[a]]*x], -1] - (I*Sqrt[c]*d^2 + Sqrt[a]*e^2)*Sqrt[1 + (c*x^4)/a]*EllipticF[I*Ar
cSinh[Sqrt[(I*Sqrt[c])/Sqrt[a]]*x], -1])/(Sqrt[(I*Sqrt[c])/Sqrt[a]]*Sqrt[c]*Sqrt
[a + c*x^4])

_______________________________________________________________________________________

Maple [C]  time = 0.01, size = 197, normalized size = 0.8 \[{{d}^{2}\sqrt{1-{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{c{x}^{4}+a}}}}+{i{e}^{2}\sqrt{a}\sqrt{1-{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}} \left ({\it EllipticF} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ) -{\it EllipticE} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ) \right ){\frac{1}{\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{c{x}^{4}+a}}}{\frac{1}{\sqrt{c}}}}+{de\ln \left ({x}^{2}\sqrt{c}+\sqrt{c{x}^{4}+a} \right ){\frac{1}{\sqrt{c}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((e*x+d)^2/(c*x^4+a)^(1/2),x)

[Out]

d^2/(I/a^(1/2)*c^(1/2))^(1/2)*(1-I/a^(1/2)*c^(1/2)*x^2)^(1/2)*(1+I/a^(1/2)*c^(1/
2)*x^2)^(1/2)/(c*x^4+a)^(1/2)*EllipticF(x*(I/a^(1/2)*c^(1/2))^(1/2),I)+I*e^2*a^(
1/2)/(I/a^(1/2)*c^(1/2))^(1/2)*(1-I/a^(1/2)*c^(1/2)*x^2)^(1/2)*(1+I/a^(1/2)*c^(1
/2)*x^2)^(1/2)/(c*x^4+a)^(1/2)/c^(1/2)*(EllipticF(x*(I/a^(1/2)*c^(1/2))^(1/2),I)
-EllipticE(x*(I/a^(1/2)*c^(1/2))^(1/2),I))+d*e*ln(x^2*c^(1/2)+(c*x^4+a)^(1/2))/c
^(1/2)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (e x + d\right )}^{2}}{\sqrt{c x^{4} + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)^2/sqrt(c*x^4 + a),x, algorithm="maxima")

[Out]

integrate((e*x + d)^2/sqrt(c*x^4 + a), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{e^{2} x^{2} + 2 \, d e x + d^{2}}{\sqrt{c x^{4} + a}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)^2/sqrt(c*x^4 + a),x, algorithm="fricas")

[Out]

integral((e^2*x^2 + 2*d*e*x + d^2)/sqrt(c*x^4 + a), x)

_______________________________________________________________________________________

Sympy [A]  time = 7.53781, size = 105, normalized size = 0.4 \[ \frac{d e \operatorname{asinh}{\left (\frac{\sqrt{c} x^{2}}{\sqrt{a}} \right )}}{\sqrt{c}} + \frac{d^{2} x \Gamma \left (\frac{1}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{4}, \frac{1}{2} \\ \frac{5}{4} \end{matrix}\middle |{\frac{c x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{5}{4}\right )} + \frac{e^{2} x^{3} \Gamma \left (\frac{3}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{3}{4} \\ \frac{7}{4} \end{matrix}\middle |{\frac{c x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{7}{4}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x+d)**2/(c*x**4+a)**(1/2),x)

[Out]

d*e*asinh(sqrt(c)*x**2/sqrt(a))/sqrt(c) + d**2*x*gamma(1/4)*hyper((1/4, 1/2), (5
/4,), c*x**4*exp_polar(I*pi)/a)/(4*sqrt(a)*gamma(5/4)) + e**2*x**3*gamma(3/4)*hy
per((1/2, 3/4), (7/4,), c*x**4*exp_polar(I*pi)/a)/(4*sqrt(a)*gamma(7/4))

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (e x + d\right )}^{2}}{\sqrt{c x^{4} + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)^2/sqrt(c*x^4 + a),x, algorithm="giac")

[Out]

integrate((e*x + d)^2/sqrt(c*x^4 + a), x)