3.67 \(\int \frac{a+b x}{\left (2-x^2\right ) \sqrt [4]{-1+x^2}} \, dx\)

Optimal. Leaf size=80 \[ \frac{a \tan ^{-1}\left (\frac{x}{\sqrt{2} \sqrt [4]{x^2-1}}\right )}{2 \sqrt{2}}+\frac{a \tanh ^{-1}\left (\frac{x}{\sqrt{2} \sqrt [4]{x^2-1}}\right )}{2 \sqrt{2}}-b \tan ^{-1}\left (\sqrt [4]{x^2-1}\right )+b \tanh ^{-1}\left (\sqrt [4]{x^2-1}\right ) \]

[Out]

(a*ArcTan[x/(Sqrt[2]*(-1 + x^2)^(1/4))])/(2*Sqrt[2]) - b*ArcTan[(-1 + x^2)^(1/4)
] + (a*ArcTanh[x/(Sqrt[2]*(-1 + x^2)^(1/4))])/(2*Sqrt[2]) + b*ArcTanh[(-1 + x^2)
^(1/4)]

_______________________________________________________________________________________

Rubi [A]  time = 0.118325, antiderivative size = 80, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.292 \[ \frac{a \tan ^{-1}\left (\frac{x}{\sqrt{2} \sqrt [4]{x^2-1}}\right )}{2 \sqrt{2}}+\frac{a \tanh ^{-1}\left (\frac{x}{\sqrt{2} \sqrt [4]{x^2-1}}\right )}{2 \sqrt{2}}-b \tan ^{-1}\left (\sqrt [4]{x^2-1}\right )+b \tanh ^{-1}\left (\sqrt [4]{x^2-1}\right ) \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x)/((2 - x^2)*(-1 + x^2)^(1/4)),x]

[Out]

(a*ArcTan[x/(Sqrt[2]*(-1 + x^2)^(1/4))])/(2*Sqrt[2]) - b*ArcTan[(-1 + x^2)^(1/4)
] + (a*ArcTanh[x/(Sqrt[2]*(-1 + x^2)^(1/4))])/(2*Sqrt[2]) + b*ArcTanh[(-1 + x^2)
^(1/4)]

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 28.6337, size = 178, normalized size = 2.22 \[ - \frac{\sqrt{2} a x \left (1 - i\right ) \Pi \left (i; \operatorname{asin}{\left (\frac{\sqrt{2} \left (1 + i\right ) \sqrt [4]{x^{2} - 1}}{2} \right )}\middle | -1\right )}{2 \sqrt{- i \sqrt{x^{2} - 1} + 1} \sqrt{i \sqrt{x^{2} - 1} + 1}} + \frac{a \sqrt{\frac{x^{2}}{\left (\sqrt{x^{2} - 1} + 1\right )^{2}}} \left (\sqrt{x^{2} - 1} + 1\right ) F\left (2 \operatorname{atan}{\left (\sqrt [4]{x^{2} - 1} \right )}\middle | \frac{1}{2}\right )}{4 x} + \frac{\sqrt{2} a \sqrt{x^{2}} \operatorname{atanh}{\left (\frac{\sqrt{2} \sqrt [4]{x^{2} - 1}}{\sqrt{x^{2}}} \right )}}{4 x} - b \operatorname{atan}{\left (\sqrt [4]{x^{2} - 1} \right )} + b \operatorname{atanh}{\left (\sqrt [4]{x^{2} - 1} \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)/(-x**2+2)/(x**2-1)**(1/4),x)

[Out]

-sqrt(2)*a*x*(1 - I)*elliptic_pi(I, asin(sqrt(2)*(1 + I)*(x**2 - 1)**(1/4)/2), -
1)/(2*sqrt(-I*sqrt(x**2 - 1) + 1)*sqrt(I*sqrt(x**2 - 1) + 1)) + a*sqrt(x**2/(sqr
t(x**2 - 1) + 1)**2)*(sqrt(x**2 - 1) + 1)*elliptic_f(2*atan((x**2 - 1)**(1/4)),
1/2)/(4*x) + sqrt(2)*a*sqrt(x**2)*atanh(sqrt(2)*(x**2 - 1)**(1/4)/sqrt(x**2))/(4
*x) - b*atan((x**2 - 1)**(1/4)) + b*atanh((x**2 - 1)**(1/4))

_______________________________________________________________________________________

Mathematica [C]  time = 0.560316, size = 203, normalized size = 2.54 \[ \frac{2 x \left (-\frac{3 a F_1\left (\frac{1}{2};\frac{1}{4},1;\frac{3}{2};x^2,\frac{x^2}{2}\right )}{x^2 \left (2 F_1\left (\frac{3}{2};\frac{1}{4},2;\frac{5}{2};x^2,\frac{x^2}{2}\right )+F_1\left (\frac{3}{2};\frac{5}{4},1;\frac{5}{2};x^2,\frac{x^2}{2}\right )\right )+6 F_1\left (\frac{1}{2};\frac{1}{4},1;\frac{3}{2};x^2,\frac{x^2}{2}\right )}-\frac{2 b x F_1\left (1;\frac{1}{4},1;2;x^2,\frac{x^2}{2}\right )}{x^2 \left (2 F_1\left (2;\frac{1}{4},2;3;x^2,\frac{x^2}{2}\right )+F_1\left (2;\frac{5}{4},1;3;x^2,\frac{x^2}{2}\right )\right )+8 F_1\left (1;\frac{1}{4},1;2;x^2,\frac{x^2}{2}\right )}\right )}{\left (x^2-2\right ) \sqrt [4]{x^2-1}} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[(a + b*x)/((2 - x^2)*(-1 + x^2)^(1/4)),x]

[Out]

(2*x*((-3*a*AppellF1[1/2, 1/4, 1, 3/2, x^2, x^2/2])/(6*AppellF1[1/2, 1/4, 1, 3/2
, x^2, x^2/2] + x^2*(2*AppellF1[3/2, 1/4, 2, 5/2, x^2, x^2/2] + AppellF1[3/2, 5/
4, 1, 5/2, x^2, x^2/2])) - (2*b*x*AppellF1[1, 1/4, 1, 2, x^2, x^2/2])/(8*AppellF
1[1, 1/4, 1, 2, x^2, x^2/2] + x^2*(2*AppellF1[2, 1/4, 2, 3, x^2, x^2/2] + Appell
F1[2, 5/4, 1, 3, x^2, x^2/2]))))/((-2 + x^2)*(-1 + x^2)^(1/4))

_______________________________________________________________________________________

Maple [F]  time = 0.088, size = 0, normalized size = 0. \[ \int{\frac{bx+a}{-{x}^{2}+2}{\frac{1}{\sqrt [4]{{x}^{2}-1}}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)/(-x^2+2)/(x^2-1)^(1/4),x)

[Out]

int((b*x+a)/(-x^2+2)/(x^2-1)^(1/4),x)

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(b*x + a)/((x^2 - 1)^(1/4)*(x^2 - 2)),x, algorithm="maxima")

[Out]

-integrate((b*x + a)/((x^2 - 1)^(1/4)*(x^2 - 2)), x)

_______________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(b*x + a)/((x^2 - 1)^(1/4)*(x^2 - 2)),x, algorithm="fricas")

[Out]

Timed out

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ - \int \frac{a}{x^{2} \sqrt [4]{x^{2} - 1} - 2 \sqrt [4]{x^{2} - 1}}\, dx - \int \frac{b x}{x^{2} \sqrt [4]{x^{2} - 1} - 2 \sqrt [4]{x^{2} - 1}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)/(-x**2+2)/(x**2-1)**(1/4),x)

[Out]

-Integral(a/(x**2*(x**2 - 1)**(1/4) - 2*(x**2 - 1)**(1/4)), x) - Integral(b*x/(x
**2*(x**2 - 1)**(1/4) - 2*(x**2 - 1)**(1/4)), x)

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(b*x + a)/((x^2 - 1)^(1/4)*(x^2 - 2)),x, algorithm="giac")

[Out]

integrate(-(b*x + a)/((x^2 - 1)^(1/4)*(x^2 - 2)), x)