3.557 \(\int \frac {(F^{\frac {\sqrt {1-a x}}{\sqrt {1+a x}}})^n}{1-a^2 x^2} \, dx\)

Optimal. Leaf size=77 \[ -\frac {F^{-\frac {n \sqrt {1-a x}}{\sqrt {a x+1}}} \left (F^{\frac {\sqrt {1-a x}}{\sqrt {a x+1}}}\right )^n \text {Ei}\left (\frac {n \sqrt {1-a x} \log (F)}{\sqrt {a x+1}}\right )}{a} \]

[Out]

-(F^((-a*x+1)^(1/2)/(a*x+1)^(1/2)))^n*Ei(n*ln(F)*(-a*x+1)^(1/2)/(a*x+1)^(1/2))/a/(F^(n*(-a*x+1)^(1/2)/(a*x+1)^
(1/2)))

________________________________________________________________________________________

Rubi [A]  time = 0.24, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.081, Rules used = {2281, 2291, 2178} \[ -\frac {F^{-\frac {n \sqrt {1-a x}}{\sqrt {a x+1}}} \left (F^{\frac {\sqrt {1-a x}}{\sqrt {a x+1}}}\right )^n \text {Ei}\left (\frac {n \sqrt {1-a x} \log (F)}{\sqrt {a x+1}}\right )}{a} \]

Antiderivative was successfully verified.

[In]

Int[(F^(Sqrt[1 - a*x]/Sqrt[1 + a*x]))^n/(1 - a^2*x^2),x]

[Out]

-(((F^(Sqrt[1 - a*x]/Sqrt[1 + a*x]))^n*ExpIntegralEi[(n*Sqrt[1 - a*x]*Log[F])/Sqrt[1 + a*x]])/(a*F^((n*Sqrt[1
- a*x])/Sqrt[1 + a*x])))

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2281

Int[(u_.)*((a_.)*(F_)^(v_))^(n_), x_Symbol] :> Dist[(a*F^v)^n/F^(n*v), Int[u*F^(n*v), x], x] /; FreeQ[{F, a, n
}, x] &&  !IntegerQ[n]

Rule 2291

Int[((a_.) + (b_.)*(F_)^(((c_.)*Sqrt[(d_.) + (e_.)*(x_)])/Sqrt[(f_.) + (g_.)*(x_)]))^(n_.)/((A_) + (C_.)*(x_)^
2), x_Symbol] :> Dist[(2*e*g)/(C*(e*f - d*g)), Subst[Int[(a + b*F^(c*x))^n/x, x], x, Sqrt[d + e*x]/Sqrt[f + g*
x]], x] /; FreeQ[{a, b, c, d, e, f, g, A, C, F}, x] && EqQ[C*d*f - A*e*g, 0] && EqQ[e*f + d*g, 0] && IGtQ[n, 0
]

Rubi steps

\begin {align*} \int \frac {\left (F^{\frac {\sqrt {1-a x}}{\sqrt {1+a x}}}\right )^n}{1-a^2 x^2} \, dx &=\left (F^{-\frac {n \sqrt {1-a x}}{\sqrt {1+a x}}} \left (F^{\frac {\sqrt {1-a x}}{\sqrt {1+a x}}}\right )^n\right ) \int \frac {F^{\frac {n \sqrt {1-a x}}{\sqrt {1+a x}}}}{1-a^2 x^2} \, dx\\ &=-\frac {\left (F^{-\frac {n \sqrt {1-a x}}{\sqrt {1+a x}}} \left (F^{\frac {\sqrt {1-a x}}{\sqrt {1+a x}}}\right )^n\right ) \operatorname {Subst}\left (\int \frac {F^{n x}}{x} \, dx,x,\frac {\sqrt {1-a x}}{\sqrt {1+a x}}\right )}{a}\\ &=-\frac {F^{-\frac {n \sqrt {1-a x}}{\sqrt {1+a x}}} \left (F^{\frac {\sqrt {1-a x}}{\sqrt {1+a x}}}\right )^n \text {Ei}\left (\frac {n \sqrt {1-a x} \log (F)}{\sqrt {1+a x}}\right )}{a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.32, size = 77, normalized size = 1.00 \[ -\frac {F^{-\frac {n \sqrt {1-a x}}{\sqrt {a x+1}}} \left (F^{\frac {\sqrt {1-a x}}{\sqrt {a x+1}}}\right )^n \text {Ei}\left (\frac {n \sqrt {1-a x} \log (F)}{\sqrt {a x+1}}\right )}{a} \]

Antiderivative was successfully verified.

[In]

Integrate[(F^(Sqrt[1 - a*x]/Sqrt[1 + a*x]))^n/(1 - a^2*x^2),x]

[Out]

-(((F^(Sqrt[1 - a*x]/Sqrt[1 + a*x]))^n*ExpIntegralEi[(n*Sqrt[1 - a*x]*Log[F])/Sqrt[1 + a*x]])/(a*F^((n*Sqrt[1
- a*x])/Sqrt[1 + a*x])))

________________________________________________________________________________________

fricas [A]  time = 0.73, size = 25, normalized size = 0.32 \[ -\frac {{\rm Ei}\left (\frac {\sqrt {-a x + 1} n \log \relax (F)}{\sqrt {a x + 1}}\right )}{a} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((F^((-a*x+1)^(1/2)/(a*x+1)^(1/2)))^n/(-a^2*x^2+1),x, algorithm="fricas")

[Out]

-Ei(sqrt(-a*x + 1)*n*log(F)/sqrt(a*x + 1))/a

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int -\frac {{\left (F^{\frac {\sqrt {-a x + 1}}{\sqrt {a x + 1}}}\right )}^{n}}{a^{2} x^{2} - 1}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((F^((-a*x+1)^(1/2)/(a*x+1)^(1/2)))^n/(-a^2*x^2+1),x, algorithm="giac")

[Out]

integrate(-(F^(sqrt(-a*x + 1)/sqrt(a*x + 1)))^n/(a^2*x^2 - 1), x)

________________________________________________________________________________________

maple [F]  time = 0.11, size = 0, normalized size = 0.00 \[ \int \frac {\left (F^{\frac {\sqrt {-a x +1}}{\sqrt {a x +1}}}\right )^{n}}{-a^{2} x^{2}+1}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((F^((-a*x+1)^(1/2)/(a*x+1)^(1/2)))^n/(-a^2*x^2+1),x)

[Out]

int((F^((-a*x+1)^(1/2)/(a*x+1)^(1/2)))^n/(-a^2*x^2+1),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ -\int \frac {{\left (F^{\frac {\sqrt {-a x + 1}}{\sqrt {a x + 1}}}\right )}^{n}}{a^{2} x^{2} - 1}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((F^((-a*x+1)^(1/2)/(a*x+1)^(1/2)))^n/(-a^2*x^2+1),x, algorithm="maxima")

[Out]

-integrate((F^(sqrt(-a*x + 1)/sqrt(a*x + 1)))^n/(a^2*x^2 - 1), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int -\frac {{\left (F^{\frac {\sqrt {1-a\,x}}{\sqrt {a\,x+1}}}\right )}^n}{a^2\,x^2-1} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(F^((1 - a*x)^(1/2)/(a*x + 1)^(1/2)))^n/(a^2*x^2 - 1),x)

[Out]

int(-(F^((1 - a*x)^(1/2)/(a*x + 1)^(1/2)))^n/(a^2*x^2 - 1), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ - \int \frac {\left (F^{\frac {\sqrt {- a x + 1}}{\sqrt {a x + 1}}}\right )^{n}}{a^{2} x^{2} - 1}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((F**((-a*x+1)**(1/2)/(a*x+1)**(1/2)))**n/(-a**2*x**2+1),x)

[Out]

-Integral((F**(sqrt(-a*x + 1)/sqrt(a*x + 1)))**n/(a**2*x**2 - 1), x)

________________________________________________________________________________________