3.30.82 \(\int \frac {(d+c x^2) (a x+\sqrt {-b+a^2 x^2})^{5/4}}{(-b+a^2 x^2)^{3/2}} \, dx\) [2982]

3.30.82.1 Optimal result
3.30.82.2 Mathematica [B] (warning: unable to verify)
3.30.82.3 Rubi [B] (verified)
3.30.82.4 Maple [F]
3.30.82.5 Fricas [C] (verification not implemented)
3.30.82.6 Sympy [F]
3.30.82.7 Maxima [F]
3.30.82.8 Giac [F(-1)]
3.30.82.9 Mupad [F(-1)]

3.30.82.1 Optimal result

Integrand size = 46, antiderivative size = 384 \[ \int \frac {\left (d+c x^2\right ) \left (a x+\sqrt {-b+a^2 x^2}\right )^{5/4}}{\left (-b+a^2 x^2\right )^{3/2}} \, dx=\frac {\sqrt {-b+a^2 x^2} \left (-9 b^{9/8} c-5 a^2 \sqrt [8]{b} d+4 a^2 \sqrt [8]{b} c x^2\right ) \sqrt [4]{\frac {a x+\sqrt {-b+a^2 x^2}}{\sqrt {b}}}}{5 a^3 \left (-\sqrt {b}+a x\right ) \left (\sqrt {b}+a x\right )}+\frac {4 \sqrt [8]{b} c x \sqrt [4]{\frac {a x}{\sqrt {b}}+\frac {\sqrt {-b+a^2 x^2}}{\sqrt {b}}}}{5 a^2}-\frac {5 \left (b c+a^2 d\right ) \arctan \left (\sqrt [4]{\frac {a x+\sqrt {-b+a^2 x^2}}{\sqrt {b}}}\right )}{2 a^3 b^{3/8}}-\frac {5 \left (b c+a^2 d\right ) \text {arctanh}\left (\sqrt [4]{\frac {a x+\sqrt {-b+a^2 x^2}}{\sqrt {b}}}\right )}{2 a^3 b^{3/8}}-\frac {5 (-1)^{3/4} \left (b c+a^2 d\right ) \text {arctanh}\left (\sqrt [4]{-1} \sqrt [4]{\frac {a x+\sqrt {-b+a^2 x^2}}{\sqrt {b}}}\right )}{2 a^3 b^{3/8}}-\frac {5 \sqrt [4]{-1} \left (b c+a^2 d\right ) \text {arctanh}\left ((-1)^{3/4} \sqrt [4]{\frac {a x+\sqrt {-b+a^2 x^2}}{\sqrt {b}}}\right )}{2 a^3 b^{3/8}} \]

output
1/5*(a^2*x^2-b)^(1/2)*(-9*b^(9/8)*c-5*a^2*b^(1/8)*d+4*a^2*b^(1/8)*c*x^2)*( 
(a*x+(a^2*x^2-b)^(1/2))/b^(1/2))^(1/4)/a^3/(-b^(1/2)+a*x)/(b^(1/2)+a*x)+4/ 
5*b^(1/8)*c*x*(a*x/b^(1/2)+(a^2*x^2-b)^(1/2)/b^(1/2))^(1/4)/a^2-5/2*(a^2*d 
+b*c)*arctan(((a*x+(a^2*x^2-b)^(1/2))/b^(1/2))^(1/4))/a^3/b^(3/8)-5/2*(a^2 
*d+b*c)*arctanh(((a*x+(a^2*x^2-b)^(1/2))/b^(1/2))^(1/4))/a^3/b^(3/8)-5/2*( 
-1)^(3/4)*(a^2*d+b*c)*arctanh((-1)^(1/4)*((a*x+(a^2*x^2-b)^(1/2))/b^(1/2)) 
^(1/4))/a^3/b^(3/8)-5/2*(-1)^(1/4)*(a^2*d+b*c)*arctanh((-1)^(3/4)*((a*x+(a 
^2*x^2-b)^(1/2))/b^(1/2))^(1/4))/a^3/b^(3/8)
 
3.30.82.2 Mathematica [B] (warning: unable to verify)

Leaf count is larger than twice the leaf count of optimal. \(13171\) vs. \(2(384)=768\).

Time = 40.29 (sec) , antiderivative size = 13171, normalized size of antiderivative = 34.30 \[ \int \frac {\left (d+c x^2\right ) \left (a x+\sqrt {-b+a^2 x^2}\right )^{5/4}}{\left (-b+a^2 x^2\right )^{3/2}} \, dx=\text {Result too large to show} \]

input
Integrate[((d + c*x^2)*(a*x + Sqrt[-b + a^2*x^2])^(5/4))/(-b + a^2*x^2)^(3 
/2),x]
 
output
Result too large to show
 
3.30.82.3 Rubi [B] (verified)

Leaf count is larger than twice the leaf count of optimal. \(869\) vs. \(2(384)=768\).

Time = 1.94 (sec) , antiderivative size = 869, normalized size of antiderivative = 2.26, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {7293, 2009}

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 {\left (\sqrt {a^2 x^2-b}+a x\right )^{5/4} \left (c x^2+d\right )}{\left (a^2 x^2-b\right )^{3/2}} \, dx\)

\(\Big \downarrow \) 7293

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

\(\Big \downarrow \) 2009

\(\displaystyle \frac {4 c \left (a x+\sqrt {a^2 x^2-b}\right )^{5/4}}{5 a^3}+\frac {2 b c \left (a x+\sqrt {a^2 x^2-b}\right )^{5/4}}{a^3 \left (b-\left (a x+\sqrt {a^2 x^2-b}\right )^2\right )}+\frac {2 d \left (a x+\sqrt {a^2 x^2-b}\right )^{5/4}}{a \left (b-\left (a x+\sqrt {a^2 x^2-b}\right )^2\right )}-\frac {5 b^{5/8} c \arctan \left (\frac {\sqrt [4]{a x+\sqrt {a^2 x^2-b}}}{\sqrt [8]{b}}\right )}{2 a^3}-\frac {5 d \arctan \left (\frac {\sqrt [4]{a x+\sqrt {a^2 x^2-b}}}{\sqrt [8]{b}}\right )}{2 a b^{3/8}}-\frac {5 b^{5/8} c \arctan \left (1-\frac {\sqrt {2} \sqrt [4]{a x+\sqrt {a^2 x^2-b}}}{\sqrt [8]{b}}\right )}{2 \sqrt {2} a^3}-\frac {5 d \arctan \left (1-\frac {\sqrt {2} \sqrt [4]{a x+\sqrt {a^2 x^2-b}}}{\sqrt [8]{b}}\right )}{2 \sqrt {2} a b^{3/8}}+\frac {5 b^{5/8} c \arctan \left (\frac {\sqrt {2} \sqrt [4]{a x+\sqrt {a^2 x^2-b}}}{\sqrt [8]{b}}+1\right )}{2 \sqrt {2} a^3}+\frac {5 d \arctan \left (\frac {\sqrt {2} \sqrt [4]{a x+\sqrt {a^2 x^2-b}}}{\sqrt [8]{b}}+1\right )}{2 \sqrt {2} a b^{3/8}}-\frac {5 b^{5/8} c \text {arctanh}\left (\frac {\sqrt [4]{a x+\sqrt {a^2 x^2-b}}}{\sqrt [8]{b}}\right )}{2 a^3}-\frac {5 d \text {arctanh}\left (\frac {\sqrt [4]{a x+\sqrt {a^2 x^2-b}}}{\sqrt [8]{b}}\right )}{2 a b^{3/8}}-\frac {5 b^{5/8} c \log \left (\sqrt {a x+\sqrt {a^2 x^2-b}}-\sqrt {2} \sqrt [8]{b} \sqrt [4]{a x+\sqrt {a^2 x^2-b}}+\sqrt [4]{b}\right )}{4 \sqrt {2} a^3}-\frac {5 d \log \left (\sqrt {a x+\sqrt {a^2 x^2-b}}-\sqrt {2} \sqrt [8]{b} \sqrt [4]{a x+\sqrt {a^2 x^2-b}}+\sqrt [4]{b}\right )}{4 \sqrt {2} a b^{3/8}}+\frac {5 b^{5/8} c \log \left (\sqrt {a x+\sqrt {a^2 x^2-b}}+\sqrt {2} \sqrt [8]{b} \sqrt [4]{a x+\sqrt {a^2 x^2-b}}+\sqrt [4]{b}\right )}{4 \sqrt {2} a^3}+\frac {5 d \log \left (\sqrt {a x+\sqrt {a^2 x^2-b}}+\sqrt {2} \sqrt [8]{b} \sqrt [4]{a x+\sqrt {a^2 x^2-b}}+\sqrt [4]{b}\right )}{4 \sqrt {2} a b^{3/8}}\)

input
Int[((d + c*x^2)*(a*x + Sqrt[-b + a^2*x^2])^(5/4))/(-b + a^2*x^2)^(3/2),x]
 
output
(4*c*(a*x + Sqrt[-b + a^2*x^2])^(5/4))/(5*a^3) + (2*b*c*(a*x + Sqrt[-b + a 
^2*x^2])^(5/4))/(a^3*(b - (a*x + Sqrt[-b + a^2*x^2])^2)) + (2*d*(a*x + Sqr 
t[-b + a^2*x^2])^(5/4))/(a*(b - (a*x + Sqrt[-b + a^2*x^2])^2)) - (5*b^(5/8 
)*c*ArcTan[(a*x + Sqrt[-b + a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x + Sqrt[-b + a^2*x^2]]])/(4*Sqrt[2]*a*b^(3/8))
 

3.30.82.3.1 Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 7293
Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v] 
]
 
3.30.82.4 Maple [F]

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

input
int((c*x^2+d)*(a*x+(a^2*x^2-b)^(1/2))^(5/4)/(a^2*x^2-b)^(3/2),x)
 
output
int((c*x^2+d)*(a*x+(a^2*x^2-b)^(1/2))^(5/4)/(a^2*x^2-b)^(3/2),x)
 
3.30.82.5 Fricas [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.30 (sec) , antiderivative size = 2872, normalized size of antiderivative = 7.48 \[ \int \frac {\left (d+c x^2\right ) \left (a x+\sqrt {-b+a^2 x^2}\right )^{5/4}}{\left (-b+a^2 x^2\right )^{3/2}} \, dx=\text {Too large to display} \]

input
integrate((c*x^2+d)*(a*x+(a^2*x^2-b)^(1/2))^(5/4)/(a^2*x^2-b)^(3/2),x, alg 
orithm="fricas")
 
output
-1/40*(25*sqrt(2)*(-(I + 1)*a^5*x^2 + (I + 1)*a^3*b)*((a^16*d^8 + 8*a^14*b 
*c*d^7 + 28*a^12*b^2*c^2*d^6 + 56*a^10*b^3*c^3*d^5 + 70*a^8*b^4*c^4*d^4 + 
56*a^6*b^5*c^5*d^3 + 28*a^4*b^6*c^6*d^2 + 8*a^2*b^7*c^7*d + b^8*c^8)/(a^24 
*b^3))^(1/8)*log((3125/2*I + 3125/2)*sqrt(2)*a^15*b^2*((a^16*d^8 + 8*a^14* 
b*c*d^7 + 28*a^12*b^2*c^2*d^6 + 56*a^10*b^3*c^3*d^5 + 70*a^8*b^4*c^4*d^4 + 
 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8 + 8*a^14*b...
 
3.30.82.6 Sympy [F]

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

input
integrate((c*x**2+d)*(a*x+(a**2*x**2-b)**(1/2))**(5/4)/(a**2*x**2-b)**(3/2 
),x)
 
output
Integral((a*x + sqrt(a**2*x**2 - b))**(5/4)*(c*x**2 + d)/(a**2*x**2 - b)** 
(3/2), x)
 
3.30.82.7 Maxima [F]

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

input
integrate((c*x^2+d)*(a*x+(a^2*x^2-b)^(1/2))^(5/4)/(a^2*x^2-b)^(3/2),x, alg 
orithm="maxima")
 
output
integrate((c*x^2 + d)*(a*x + sqrt(a^2*x^2 - b))^(5/4)/(a^2*x^2 - b)^(3/2), 
 x)
 
3.30.82.8 Giac [F(-1)]

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

input
integrate((c*x^2+d)*(a*x+(a^2*x^2-b)^(1/2))^(5/4)/(a^2*x^2-b)^(3/2),x, alg 
orithm="giac")
 
output
Timed out
 
3.30.82.9 Mupad [F(-1)]

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

input
int(((a*x + (a^2*x^2 - b)^(1/2))^(5/4)*(d + c*x^2))/(a^2*x^2 - b)^(3/2),x)
 
output
int(((a*x + (a^2*x^2 - b)^(1/2))^(5/4)*(d + c*x^2))/(a^2*x^2 - b)^(3/2), x 
)