\(\int \frac {x^{-1+2 n}}{(a+b x^n)^{3/2} \sqrt {c+d x^n}} \, dx\) [483]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [F]
Fricas [B] (verification not implemented)
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 30, antiderivative size = 91 \[ \int \frac {x^{-1+2 n}}{\left (a+b x^n\right )^{3/2} \sqrt {c+d x^n}} \, dx=\frac {2 a \sqrt {c+d x^n}}{b (b c-a d) n \sqrt {a+b x^n}}+\frac {2 \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x^n}}{\sqrt {b} \sqrt {c+d x^n}}\right )}{b^{3/2} \sqrt {d} n} \] Output:

2*a*(c+d*x^n)^(1/2)/b/(-a*d+b*c)/n/(a+b*x^n)^(1/2)+2*arctanh(d^(1/2)*(a+b* 
x^n)^(1/2)/b^(1/2)/(c+d*x^n)^(1/2))/b^(3/2)/d^(1/2)/n
 

Mathematica [A] (verified)

Time = 0.71 (sec) , antiderivative size = 122, normalized size of antiderivative = 1.34 \[ \int \frac {x^{-1+2 n}}{\left (a+b x^n\right )^{3/2} \sqrt {c+d x^n}} \, dx=\frac {2 \left (\frac {a b \left (c+d x^n\right )}{(b c-a d) \sqrt {a+b x^n}}+\frac {\sqrt {b c-a d} \sqrt {\frac {b \left (c+d x^n\right )}{b c-a d}} \text {arcsinh}\left (\frac {\sqrt {d} \sqrt {a+b x^n}}{\sqrt {b c-a d}}\right )}{\sqrt {d}}\right )}{b^2 n \sqrt {c+d x^n}} \] Input:

Integrate[x^(-1 + 2*n)/((a + b*x^n)^(3/2)*Sqrt[c + d*x^n]),x]
 

Output:

(2*((a*b*(c + d*x^n))/((b*c - a*d)*Sqrt[a + b*x^n]) + (Sqrt[b*c - a*d]*Sqr 
t[(b*(c + d*x^n))/(b*c - a*d)]*ArcSinh[(Sqrt[d]*Sqrt[a + b*x^n])/Sqrt[b*c 
- a*d]])/Sqrt[d]))/(b^2*n*Sqrt[c + d*x^n])
 

Rubi [A] (verified)

Time = 0.37 (sec) , antiderivative size = 89, normalized size of antiderivative = 0.98, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {948, 87, 66, 221}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {x^{2 n-1}}{\left (a+b x^n\right )^{3/2} \sqrt {c+d x^n}} \, dx\)

\(\Big \downarrow \) 948

\(\displaystyle \frac {\int \frac {x^n}{\left (b x^n+a\right )^{3/2} \sqrt {d x^n+c}}dx^n}{n}\)

\(\Big \downarrow \) 87

\(\displaystyle \frac {\frac {\int \frac {1}{\sqrt {b x^n+a} \sqrt {d x^n+c}}dx^n}{b}+\frac {2 a \sqrt {c+d x^n}}{b (b c-a d) \sqrt {a+b x^n}}}{n}\)

\(\Big \downarrow \) 66

\(\displaystyle \frac {\frac {2 \int \frac {1}{b-d x^{2 n}}d\frac {\sqrt {b x^n+a}}{\sqrt {d x^n+c}}}{b}+\frac {2 a \sqrt {c+d x^n}}{b (b c-a d) \sqrt {a+b x^n}}}{n}\)

\(\Big \downarrow \) 221

\(\displaystyle \frac {\frac {2 \text {arctanh}\left (\frac {\sqrt {d} \sqrt {a+b x^n}}{\sqrt {b} \sqrt {c+d x^n}}\right )}{b^{3/2} \sqrt {d}}+\frac {2 a \sqrt {c+d x^n}}{b (b c-a d) \sqrt {a+b x^n}}}{n}\)

Input:

Int[x^(-1 + 2*n)/((a + b*x^n)^(3/2)*Sqrt[c + d*x^n]),x]
 

Output:

((2*a*Sqrt[c + d*x^n])/(b*(b*c - a*d)*Sqrt[a + b*x^n]) + (2*ArcTanh[(Sqrt[ 
d]*Sqrt[a + b*x^n])/(Sqrt[b]*Sqrt[c + d*x^n])])/(b^(3/2)*Sqrt[d]))/n
 

Defintions of rubi rules used

rule 66
Int[1/(Sqrt[(a_) + (b_.)*(x_)]*Sqrt[(c_) + (d_.)*(x_)]), x_Symbol] :> Simp[ 
2   Subst[Int[1/(b - d*x^2), x], x, Sqrt[a + b*x]/Sqrt[c + d*x]], x] /; Fre 
eQ[{a, b, c, d}, x] &&  !GtQ[c - a*(d/b), 0]
 

rule 87
Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p 
_.), x_] :> Simp[(-(b*e - a*f))*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(f*(p 
+ 1)*(c*f - d*e))), x] - Simp[(a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p 
+ 1)))/(f*(p + 1)*(c*f - d*e))   Int[(c + d*x)^n*(e + f*x)^(p + 1), x], x] 
/; FreeQ[{a, b, c, d, e, f, n}, x] && LtQ[p, -1] && ( !LtQ[n, -1] || Intege 
rQ[p] ||  !(IntegerQ[n] ||  !(EqQ[e, 0] ||  !(EqQ[c, 0] || LtQ[p, n]))))
 

rule 221
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x 
/Rt[-a/b, 2]], x] /; FreeQ[{a, b}, x] && NegQ[a/b]
 

rule 948
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_. 
), x_Symbol] :> Simp[1/n   Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^ 
p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] && NeQ 
[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]
 
Maple [F]

\[\int \frac {x^{-1+2 n}}{\left (a +b \,x^{n}\right )^{\frac {3}{2}} \sqrt {c +d \,x^{n}}}d x\]

Input:

int(x^(-1+2*n)/(a+b*x^n)^(3/2)/(c+d*x^n)^(1/2),x)
 

Output:

int(x^(-1+2*n)/(a+b*x^n)^(3/2)/(c+d*x^n)^(1/2),x)
 

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 198 vs. \(2 (75) = 150\).

Time = 0.19 (sec) , antiderivative size = 408, normalized size of antiderivative = 4.48 \[ \int \frac {x^{-1+2 n}}{\left (a+b x^n\right )^{3/2} \sqrt {c+d x^n}} \, dx=\left [\frac {4 \, \sqrt {b x^{n} + a} \sqrt {d x^{n} + c} a b d + {\left ({\left (b^{2} c - a b d\right )} \sqrt {b d} x^{n} + {\left (a b c - a^{2} d\right )} \sqrt {b d}\right )} \log \left (8 \, b^{2} d^{2} x^{2 \, n} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 4 \, {\left (2 \, \sqrt {b d} b d x^{n} + {\left (b c + a d\right )} \sqrt {b d}\right )} \sqrt {b x^{n} + a} \sqrt {d x^{n} + c} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x^{n}\right )}{2 \, {\left ({\left (b^{4} c d - a b^{3} d^{2}\right )} n x^{n} + {\left (a b^{3} c d - a^{2} b^{2} d^{2}\right )} n\right )}}, \frac {2 \, \sqrt {b x^{n} + a} \sqrt {d x^{n} + c} a b d - {\left ({\left (b^{2} c - a b d\right )} \sqrt {-b d} x^{n} + {\left (a b c - a^{2} d\right )} \sqrt {-b d}\right )} \arctan \left (\frac {{\left (2 \, \sqrt {-b d} b d x^{n} + {\left (b c + a d\right )} \sqrt {-b d}\right )} \sqrt {b x^{n} + a} \sqrt {d x^{n} + c}}{2 \, {\left (b^{2} d^{2} x^{2 \, n} + a b c d + {\left (b^{2} c d + a b d^{2}\right )} x^{n}\right )}}\right )}{{\left (b^{4} c d - a b^{3} d^{2}\right )} n x^{n} + {\left (a b^{3} c d - a^{2} b^{2} d^{2}\right )} n}\right ] \] Input:

integrate(x^(-1+2*n)/(a+b*x^n)^(3/2)/(c+d*x^n)^(1/2),x, algorithm="fricas" 
)
 

Output:

[1/2*(4*sqrt(b*x^n + a)*sqrt(d*x^n + c)*a*b*d + ((b^2*c - a*b*d)*sqrt(b*d) 
*x^n + (a*b*c - a^2*d)*sqrt(b*d))*log(8*b^2*d^2*x^(2*n) + b^2*c^2 + 6*a*b* 
c*d + a^2*d^2 + 4*(2*sqrt(b*d)*b*d*x^n + (b*c + a*d)*sqrt(b*d))*sqrt(b*x^n 
 + a)*sqrt(d*x^n + c) + 8*(b^2*c*d + a*b*d^2)*x^n))/((b^4*c*d - a*b^3*d^2) 
*n*x^n + (a*b^3*c*d - a^2*b^2*d^2)*n), (2*sqrt(b*x^n + a)*sqrt(d*x^n + c)* 
a*b*d - ((b^2*c - a*b*d)*sqrt(-b*d)*x^n + (a*b*c - a^2*d)*sqrt(-b*d))*arct 
an(1/2*(2*sqrt(-b*d)*b*d*x^n + (b*c + a*d)*sqrt(-b*d))*sqrt(b*x^n + a)*sqr 
t(d*x^n + c)/(b^2*d^2*x^(2*n) + a*b*c*d + (b^2*c*d + a*b*d^2)*x^n)))/((b^4 
*c*d - a*b^3*d^2)*n*x^n + (a*b^3*c*d - a^2*b^2*d^2)*n)]
 

Sympy [F]

\[ \int \frac {x^{-1+2 n}}{\left (a+b x^n\right )^{3/2} \sqrt {c+d x^n}} \, dx=\int \frac {x^{2 n - 1}}{\left (a + b x^{n}\right )^{\frac {3}{2}} \sqrt {c + d x^{n}}}\, dx \] Input:

integrate(x**(-1+2*n)/(a+b*x**n)**(3/2)/(c+d*x**n)**(1/2),x)
 

Output:

Integral(x**(2*n - 1)/((a + b*x**n)**(3/2)*sqrt(c + d*x**n)), x)
 

Maxima [F]

\[ \int \frac {x^{-1+2 n}}{\left (a+b x^n\right )^{3/2} \sqrt {c+d x^n}} \, dx=\int { \frac {x^{2 \, n - 1}}{{\left (b x^{n} + a\right )}^{\frac {3}{2}} \sqrt {d x^{n} + c}} \,d x } \] Input:

integrate(x^(-1+2*n)/(a+b*x^n)^(3/2)/(c+d*x^n)^(1/2),x, algorithm="maxima" 
)
 

Output:

integrate(x^(2*n - 1)/((b*x^n + a)^(3/2)*sqrt(d*x^n + c)), x)
 

Giac [F]

\[ \int \frac {x^{-1+2 n}}{\left (a+b x^n\right )^{3/2} \sqrt {c+d x^n}} \, dx=\int { \frac {x^{2 \, n - 1}}{{\left (b x^{n} + a\right )}^{\frac {3}{2}} \sqrt {d x^{n} + c}} \,d x } \] Input:

integrate(x^(-1+2*n)/(a+b*x^n)^(3/2)/(c+d*x^n)^(1/2),x, algorithm="giac")
 

Output:

integrate(x^(2*n - 1)/((b*x^n + a)^(3/2)*sqrt(d*x^n + c)), x)
                                                                                    
                                                                                    
 

Mupad [F(-1)]

Timed out. \[ \int \frac {x^{-1+2 n}}{\left (a+b x^n\right )^{3/2} \sqrt {c+d x^n}} \, dx=\int \frac {x^{2\,n-1}}{{\left (a+b\,x^n\right )}^{3/2}\,\sqrt {c+d\,x^n}} \,d x \] Input:

int(x^(2*n - 1)/((a + b*x^n)^(3/2)*(c + d*x^n)^(1/2)),x)
 

Output:

int(x^(2*n - 1)/((a + b*x^n)^(3/2)*(c + d*x^n)^(1/2)), x)
 

Reduce [F]

\[ \int \frac {x^{-1+2 n}}{\left (a+b x^n\right )^{3/2} \sqrt {c+d x^n}} \, dx=\int \frac {x^{2 n} \sqrt {x^{n} d +c}\, \sqrt {x^{n} b +a}}{x^{3 n} b^{2} d x +2 x^{2 n} a b d x +x^{2 n} b^{2} c x +x^{n} a^{2} d x +2 x^{n} a b c x +a^{2} c x}d x \] Input:

int(x^(-1+2*n)/(a+b*x^n)^(3/2)/(c+d*x^n)^(1/2),x)
 

Output:

int((x**(2*n)*sqrt(x**n*d + c)*sqrt(x**n*b + a))/(x**(3*n)*b**2*d*x + 2*x* 
*(2*n)*a*b*d*x + x**(2*n)*b**2*c*x + x**n*a**2*d*x + 2*x**n*a*b*c*x + a**2 
*c*x),x)