\(\int \frac {(a+b x^2)^{3/2} (c+d x^2)^2}{e+f x^2} \, dx\) [300]

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

Optimal result

Integrand size = 30, antiderivative size = 282 \[ \int \frac {\left (a+b x^2\right )^{3/2} \left (c+d x^2\right )^2}{e+f x^2} \, dx=\frac {\left (a^2 d^2 f^2-10 a b d f (d e-2 c f)+8 b^2 (d e-c f)^2\right ) x \sqrt {a+b x^2}}{16 b f^3}+\frac {d (7 a d f-6 b (d e-2 c f)) x^3 \sqrt {a+b x^2}}{24 f^2}+\frac {b d^2 x^5 \sqrt {a+b x^2}}{6 f}-\frac {\left (a^3 d^2 f^3+6 a^2 b d f^2 (d e-2 c f)+16 b^3 e (d e-c f)^2-24 a b^2 f (d e-c f)^2\right ) \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{16 b^{3/2} f^4}+\frac {(b e-a f)^{3/2} (d e-c f)^2 \text {arctanh}\left (\frac {\sqrt {b e-a f} x}{\sqrt {e} \sqrt {a+b x^2}}\right )}{\sqrt {e} f^4} \] Output:

1/16*(a^2*d^2*f^2-10*a*b*d*f*(-2*c*f+d*e)+8*b^2*(-c*f+d*e)^2)*x*(b*x^2+a)^ 
(1/2)/b/f^3+1/24*d*(7*a*d*f-6*b*(-2*c*f+d*e))*x^3*(b*x^2+a)^(1/2)/f^2+1/6* 
b*d^2*x^5*(b*x^2+a)^(1/2)/f-1/16*(a^3*d^2*f^3+6*a^2*b*d*f^2*(-2*c*f+d*e)+1 
6*b^3*e*(-c*f+d*e)^2-24*a*b^2*f*(-c*f+d*e)^2)*arctanh(b^(1/2)*x/(b*x^2+a)^ 
(1/2))/b^(3/2)/f^4+(-a*f+b*e)^(3/2)*(-c*f+d*e)^2*arctanh((-a*f+b*e)^(1/2)* 
x/e^(1/2)/(b*x^2+a)^(1/2))/e^(1/2)/f^4
 

Mathematica [A] (verified)

Time = 1.16 (sec) , antiderivative size = 279, normalized size of antiderivative = 0.99 \[ \int \frac {\left (a+b x^2\right )^{3/2} \left (c+d x^2\right )^2}{e+f x^2} \, dx=\frac {\frac {f x \sqrt {a+b x^2} \left (3 a^2 d^2 f^2+2 a b d f \left (-15 d e+30 c f+7 d f x^2\right )+4 b^2 \left (6 c^2 f^2+6 c d f \left (-2 e+f x^2\right )+d^2 \left (6 e^2-3 e f x^2+2 f^2 x^4\right )\right )\right )}{b}-\frac {48 (-b e+a f)^{3/2} (d e-c f)^2 \arctan \left (\frac {-f x \sqrt {a+b x^2}+\sqrt {b} \left (e+f x^2\right )}{\sqrt {e} \sqrt {-b e+a f}}\right )}{\sqrt {e}}+\frac {3 \left (a^3 d^2 f^3+6 a^2 b d f^2 (d e-2 c f)+16 b^3 e (d e-c f)^2-24 a b^2 f (d e-c f)^2\right ) \log \left (-\sqrt {b} x+\sqrt {a+b x^2}\right )}{b^{3/2}}}{48 f^4} \] Input:

Integrate[((a + b*x^2)^(3/2)*(c + d*x^2)^2)/(e + f*x^2),x]
 

Output:

((f*x*Sqrt[a + b*x^2]*(3*a^2*d^2*f^2 + 2*a*b*d*f*(-15*d*e + 30*c*f + 7*d*f 
*x^2) + 4*b^2*(6*c^2*f^2 + 6*c*d*f*(-2*e + f*x^2) + d^2*(6*e^2 - 3*e*f*x^2 
 + 2*f^2*x^4))))/b - (48*(-(b*e) + a*f)^(3/2)*(d*e - c*f)^2*ArcTan[(-(f*x* 
Sqrt[a + b*x^2]) + Sqrt[b]*(e + f*x^2))/(Sqrt[e]*Sqrt[-(b*e) + a*f])])/Sqr 
t[e] + (3*(a^3*d^2*f^3 + 6*a^2*b*d*f^2*(d*e - 2*c*f) + 16*b^3*e*(d*e - c*f 
)^2 - 24*a*b^2*f*(d*e - c*f)^2)*Log[-(Sqrt[b]*x) + Sqrt[a + b*x^2]])/b^(3/ 
2))/(48*f^4)
 

Rubi [A] (verified)

Time = 0.65 (sec) , antiderivative size = 395, normalized size of antiderivative = 1.40, number of steps used = 19, number of rules used = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {420, 318, 299, 211, 224, 219, 420, 299, 211, 224, 219, 403, 25, 398, 224, 219, 291, 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 {\left (a+b x^2\right )^{3/2} \left (c+d x^2\right )^2}{e+f x^2} \, dx\)

\(\Big \downarrow \) 420

\(\displaystyle \frac {b \int \sqrt {b x^2+a} \left (d x^2+c\right )^2dx}{f}-\frac {(b e-a f) \int \frac {\sqrt {b x^2+a} \left (d x^2+c\right )^2}{f x^2+e}dx}{f}\)

\(\Big \downarrow \) 318

\(\displaystyle \frac {b \left (\frac {\int \sqrt {b x^2+a} \left (d (8 b c-3 a d) x^2+c (6 b c-a d)\right )dx}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \int \frac {\sqrt {b x^2+a} \left (d x^2+c\right )^2}{f x^2+e}dx}{f}\)

\(\Big \downarrow \) 299

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

\(\Big \downarrow \) 211

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

\(\Big \downarrow \) 224

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

\(\Big \downarrow \) 219

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \int \frac {\sqrt {b x^2+a} \left (d x^2+c\right )^2}{f x^2+e}dx}{f}\)

\(\Big \downarrow \) 420

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \int \sqrt {b x^2+a} \left (d x^2+c\right )dx}{f}-\frac {(d e-c f) \int \frac {\sqrt {b x^2+a} \left (d x^2+c\right )}{f x^2+e}dx}{f}\right )}{f}\)

\(\Big \downarrow \) 299

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {(4 b c-a d) \int \sqrt {b x^2+a}dx}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \int \frac {\sqrt {b x^2+a} \left (d x^2+c\right )}{f x^2+e}dx}{f}\right )}{f}\)

\(\Big \downarrow \) 211

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {(4 b c-a d) \left (\frac {1}{2} a \int \frac {1}{\sqrt {b x^2+a}}dx+\frac {1}{2} x \sqrt {a+b x^2}\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \int \frac {\sqrt {b x^2+a} \left (d x^2+c\right )}{f x^2+e}dx}{f}\right )}{f}\)

\(\Big \downarrow \) 224

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {(4 b c-a d) \left (\frac {1}{2} a \int \frac {1}{1-\frac {b x^2}{b x^2+a}}d\frac {x}{\sqrt {b x^2+a}}+\frac {1}{2} x \sqrt {a+b x^2}\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \int \frac {\sqrt {b x^2+a} \left (d x^2+c\right )}{f x^2+e}dx}{f}\right )}{f}\)

\(\Big \downarrow \) 219

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {\left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) (4 b c-a d)}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \int \frac {\sqrt {b x^2+a} \left (d x^2+c\right )}{f x^2+e}dx}{f}\right )}{f}\)

\(\Big \downarrow \) 403

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {\left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) (4 b c-a d)}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \left (\frac {\int -\frac {(2 b d e-2 b c f-a d f) x^2+a (d e-2 c f)}{\sqrt {b x^2+a} \left (f x^2+e\right )}dx}{2 f}+\frac {d x \sqrt {a+b x^2}}{2 f}\right )}{f}\right )}{f}\)

\(\Big \downarrow \) 25

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {\left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) (4 b c-a d)}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \left (\frac {d x \sqrt {a+b x^2}}{2 f}-\frac {\int \frac {(2 b d e-2 b c f-a d f) x^2+a (d e-2 c f)}{\sqrt {b x^2+a} \left (f x^2+e\right )}dx}{2 f}\right )}{f}\right )}{f}\)

\(\Big \downarrow \) 398

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {\left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) (4 b c-a d)}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \left (\frac {d x \sqrt {a+b x^2}}{2 f}-\frac {\frac {(-a d f-2 b c f+2 b d e) \int \frac {1}{\sqrt {b x^2+a}}dx}{f}-\frac {2 (b e-a f) (d e-c f) \int \frac {1}{\sqrt {b x^2+a} \left (f x^2+e\right )}dx}{f}}{2 f}\right )}{f}\right )}{f}\)

\(\Big \downarrow \) 224

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {\left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) (4 b c-a d)}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \left (\frac {d x \sqrt {a+b x^2}}{2 f}-\frac {\frac {(-a d f-2 b c f+2 b d e) \int \frac {1}{1-\frac {b x^2}{b x^2+a}}d\frac {x}{\sqrt {b x^2+a}}}{f}-\frac {2 (b e-a f) (d e-c f) \int \frac {1}{\sqrt {b x^2+a} \left (f x^2+e\right )}dx}{f}}{2 f}\right )}{f}\right )}{f}\)

\(\Big \downarrow \) 219

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {\left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) (4 b c-a d)}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \left (\frac {d x \sqrt {a+b x^2}}{2 f}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right ) (-a d f-2 b c f+2 b d e)}{\sqrt {b} f}-\frac {2 (b e-a f) (d e-c f) \int \frac {1}{\sqrt {b x^2+a} \left (f x^2+e\right )}dx}{f}}{2 f}\right )}{f}\right )}{f}\)

\(\Big \downarrow \) 291

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {\left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) (4 b c-a d)}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \left (\frac {d x \sqrt {a+b x^2}}{2 f}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right ) (-a d f-2 b c f+2 b d e)}{\sqrt {b} f}-\frac {2 (b e-a f) (d e-c f) \int \frac {1}{e-\frac {(b e-a f) x^2}{b x^2+a}}d\frac {x}{\sqrt {b x^2+a}}}{f}}{2 f}\right )}{f}\right )}{f}\)

\(\Big \downarrow \) 221

\(\displaystyle \frac {b \left (\frac {\frac {3 \left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) \left (a^2 d^2-4 a b c d+8 b^2 c^2\right )}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2} (8 b c-3 a d)}{4 b}}{6 b}+\frac {d x \left (a+b x^2\right )^{3/2} \left (c+d x^2\right )}{6 b}\right )}{f}-\frac {(b e-a f) \left (\frac {d \left (\frac {\left (\frac {a \text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{2 \sqrt {b}}+\frac {1}{2} x \sqrt {a+b x^2}\right ) (4 b c-a d)}{4 b}+\frac {d x \left (a+b x^2\right )^{3/2}}{4 b}\right )}{f}-\frac {(d e-c f) \left (\frac {d x \sqrt {a+b x^2}}{2 f}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right ) (-a d f-2 b c f+2 b d e)}{\sqrt {b} f}-\frac {2 \sqrt {b e-a f} (d e-c f) \text {arctanh}\left (\frac {x \sqrt {b e-a f}}{\sqrt {e} \sqrt {a+b x^2}}\right )}{\sqrt {e} f}}{2 f}\right )}{f}\right )}{f}\)

Input:

Int[((a + b*x^2)^(3/2)*(c + d*x^2)^2)/(e + f*x^2),x]
 

Output:

(b*((d*x*(a + b*x^2)^(3/2)*(c + d*x^2))/(6*b) + ((d*(8*b*c - 3*a*d)*x*(a + 
 b*x^2)^(3/2))/(4*b) + (3*(8*b^2*c^2 - 4*a*b*c*d + a^2*d^2)*((x*Sqrt[a + b 
*x^2])/2 + (a*ArcTanh[(Sqrt[b]*x)/Sqrt[a + b*x^2]])/(2*Sqrt[b])))/(4*b))/( 
6*b)))/f - ((b*e - a*f)*((d*((d*x*(a + b*x^2)^(3/2))/(4*b) + ((4*b*c - a*d 
)*((x*Sqrt[a + b*x^2])/2 + (a*ArcTanh[(Sqrt[b]*x)/Sqrt[a + b*x^2]])/(2*Sqr 
t[b])))/(4*b)))/f - ((d*e - c*f)*((d*x*Sqrt[a + b*x^2])/(2*f) - (((2*b*d*e 
 - 2*b*c*f - a*d*f)*ArcTanh[(Sqrt[b]*x)/Sqrt[a + b*x^2]])/(Sqrt[b]*f) - (2 
*Sqrt[b*e - a*f]*(d*e - c*f)*ArcTanh[(Sqrt[b*e - a*f]*x)/(Sqrt[e]*Sqrt[a + 
 b*x^2])])/(Sqrt[e]*f))/(2*f)))/f))/f
 

Defintions of rubi rules used

rule 25
Int[-(Fx_), x_Symbol] :> Simp[Identity[-1]   Int[Fx, x], x]
 

rule 211
Int[((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[x*((a + b*x^2)^p/(2*p + 1 
)), x] + Simp[2*a*(p/(2*p + 1))   Int[(a + b*x^2)^(p - 1), x], x] /; FreeQ[ 
{a, b}, x] && GtQ[p, 0] && (IntegerQ[4*p] || IntegerQ[6*p])
 

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

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 224
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], 
x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b}, x] &&  !GtQ[a, 0]
 

rule 291
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*((c_) + (d_.)*(x_)^2)), x_Symbol] :> Subst 
[Int[1/(c - (b*c - a*d)*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a, b, c, 
d}, x] && NeQ[b*c - a*d, 0]
 

rule 299
Int[((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2), x_Symbol] :> Simp[d*x 
*((a + b*x^2)^(p + 1)/(b*(2*p + 3))), x] - Simp[(a*d - b*c*(2*p + 3))/(b*(2 
*p + 3))   Int[(a + b*x^2)^p, x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - 
 a*d, 0] && NeQ[2*p + 3, 0]
 

rule 318
Int[((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_), x_Symbol] :> Sim 
p[d*x*(a + b*x^2)^(p + 1)*((c + d*x^2)^(q - 1)/(b*(2*(p + q) + 1))), x] + S 
imp[1/(b*(2*(p + q) + 1))   Int[(a + b*x^2)^p*(c + d*x^2)^(q - 2)*Simp[c*(b 
*c*(2*(p + q) + 1) - a*d) + d*(b*c*(2*(p + 2*q - 1) + 1) - a*d*(2*(q - 1) + 
 1))*x^2, x], x], x] /; FreeQ[{a, b, c, d, p}, x] && NeQ[b*c - a*d, 0] && G 
tQ[q, 1] && NeQ[2*(p + q) + 1, 0] &&  !IGtQ[p, 1] && IntBinomialQ[a, b, c, 
d, 2, p, q, x]
 

rule 398
Int[((e_) + (f_.)*(x_)^2)/(((a_) + (b_.)*(x_)^2)*Sqrt[(c_) + (d_.)*(x_)^2]) 
, x_Symbol] :> Simp[f/b   Int[1/Sqrt[c + d*x^2], x], x] + Simp[(b*e - a*f)/ 
b   Int[1/((a + b*x^2)*Sqrt[c + d*x^2]), x], x] /; FreeQ[{a, b, c, d, e, f} 
, x]
 

rule 403
Int[((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.)*((e_) + (f_.)*( 
x_)^2), x_Symbol] :> Simp[f*x*(a + b*x^2)^(p + 1)*((c + d*x^2)^q/(b*(2*(p + 
 q + 1) + 1))), x] + Simp[1/(b*(2*(p + q + 1) + 1))   Int[(a + b*x^2)^p*(c 
+ d*x^2)^(q - 1)*Simp[c*(b*e - a*f + b*e*2*(p + q + 1)) + (d*(b*e - a*f) + 
f*2*q*(b*c - a*d) + b*d*e*2*(p + q + 1))*x^2, x], x], x] /; FreeQ[{a, b, c, 
 d, e, f, p}, x] && GtQ[q, 0] && NeQ[2*(p + q + 1) + 1, 0]
 

rule 420
Int[(((c_) + (d_.)*(x_)^2)^(q_)*((e_) + (f_.)*(x_)^2)^(r_))/((a_) + (b_.)*( 
x_)^2), x_Symbol] :> Simp[d/b   Int[(c + d*x^2)^(q - 1)*(e + f*x^2)^r, x], 
x] + Simp[(b*c - a*d)/b   Int[(c + d*x^2)^(q - 1)*((e + f*x^2)^r/(a + b*x^2 
)), x], x] /; FreeQ[{a, b, c, d, e, f, r}, x] && GtQ[q, 1]
 
Maple [A] (verified)

Time = 1.16 (sec) , antiderivative size = 291, normalized size of antiderivative = 1.03

method result size
pseudoelliptic \(\frac {-2 b^{\frac {5}{2}} \left (-a f +b e \right )^{2} \left (c f -d e \right )^{2} \arctan \left (\frac {e \sqrt {b \,x^{2}+a}}{x \sqrt {\left (a f -b e \right ) e}}\right )+\left (-\frac {\left (16 b^{3} d^{2} e^{3}-24 \left (a d +\frac {4 b c}{3}\right ) d \,b^{2} f \,e^{2}+6 b \,f^{2} \left (a^{2} d^{2}+8 a b c d +\frac {8}{3} b^{2} c^{2}\right ) e +a \,f^{3} \left (a^{2} d^{2}-12 a b c d -24 b^{2} c^{2}\right )\right ) b \,\operatorname {arctanh}\left (\frac {\sqrt {b \,x^{2}+a}}{x \sqrt {b}}\right )}{8}+b^{\frac {3}{2}} \left (b^{2} d^{2} e^{2}-\frac {5 d b f \left (\frac {2 \left (x^{2} d +4 c \right ) b}{5}+a d \right ) e}{4}+\frac {\left (8 \left (\frac {1}{3} d^{2} x^{4}+c d \,x^{2}+c^{2}\right ) b^{2}+20 a d \left (\frac {7 x^{2} d}{30}+c \right ) b +a^{2} d^{2}\right ) f^{2}}{8}\right ) \sqrt {b \,x^{2}+a}\, x f \right ) \sqrt {\left (a f -b e \right ) e}}{2 \sqrt {\left (a f -b e \right ) e}\, b^{\frac {5}{2}} f^{4}}\) \(291\)
risch \(\frac {x \left (8 f^{2} x^{4} b^{2} d^{2}+14 a b \,d^{2} f^{2} x^{2}+24 b^{2} c d \,f^{2} x^{2}-12 b^{2} d^{2} e f \,x^{2}+3 a^{2} d^{2} f^{2}+60 a b c d \,f^{2}-30 a b \,d^{2} e f +24 b^{2} c^{2} f^{2}-48 b^{2} c d e f +24 b^{2} d^{2} e^{2}\right ) \sqrt {b \,x^{2}+a}}{48 b \,f^{3}}-\frac {\frac {\left (a^{3} d^{2} f^{3}-12 a^{2} b c d \,f^{3}+6 a^{2} b \,d^{2} e \,f^{2}-24 a \,b^{2} c^{2} f^{3}+48 a \,b^{2} c d e \,f^{2}-24 a \,b^{2} d^{2} e^{2} f +16 b^{3} c^{2} e \,f^{2}-32 b^{3} c d \,e^{2} f +16 b^{3} d^{2} e^{3}\right ) \ln \left (\sqrt {b}\, x +\sqrt {b \,x^{2}+a}\right )}{f \sqrt {b}}+\frac {8 b \left (a^{2} c^{2} f^{4}-2 a^{2} c d e \,f^{3}+a^{2} d^{2} e^{2} f^{2}-2 a b \,c^{2} e \,f^{3}+4 a b c d \,e^{2} f^{2}-2 a b \,d^{2} e^{3} f +b^{2} c^{2} e^{2} f^{2}-2 b^{2} c d \,e^{3} f +b^{2} d^{2} e^{4}\right ) \ln \left (\frac {\frac {2 a f -2 b e}{f}+\frac {2 b \sqrt {-e f}\, \left (x -\frac {\sqrt {-e f}}{f}\right )}{f}+2 \sqrt {\frac {a f -b e}{f}}\, \sqrt {\left (x -\frac {\sqrt {-e f}}{f}\right )^{2} b +\frac {2 b \sqrt {-e f}\, \left (x -\frac {\sqrt {-e f}}{f}\right )}{f}+\frac {a f -b e}{f}}}{x -\frac {\sqrt {-e f}}{f}}\right )}{\sqrt {-e f}\, f \sqrt {\frac {a f -b e}{f}}}-\frac {8 b \left (a^{2} c^{2} f^{4}-2 a^{2} c d e \,f^{3}+a^{2} d^{2} e^{2} f^{2}-2 a b \,c^{2} e \,f^{3}+4 a b c d \,e^{2} f^{2}-2 a b \,d^{2} e^{3} f +b^{2} c^{2} e^{2} f^{2}-2 b^{2} c d \,e^{3} f +b^{2} d^{2} e^{4}\right ) \ln \left (\frac {\frac {2 a f -2 b e}{f}-\frac {2 b \sqrt {-e f}\, \left (x +\frac {\sqrt {-e f}}{f}\right )}{f}+2 \sqrt {\frac {a f -b e}{f}}\, \sqrt {\left (x +\frac {\sqrt {-e f}}{f}\right )^{2} b -\frac {2 b \sqrt {-e f}\, \left (x +\frac {\sqrt {-e f}}{f}\right )}{f}+\frac {a f -b e}{f}}}{x +\frac {\sqrt {-e f}}{f}}\right )}{\sqrt {-e f}\, f \sqrt {\frac {a f -b e}{f}}}}{16 f^{3} b}\) \(784\)
default \(\text {Expression too large to display}\) \(1467\)

Input:

int((b*x^2+a)^(3/2)*(d*x^2+c)^2/(f*x^2+e),x,method=_RETURNVERBOSE)
 

Output:

1/2*(-2*b^(5/2)*(-a*f+b*e)^2*(c*f-d*e)^2*arctan(e*(b*x^2+a)^(1/2)/x/((a*f- 
b*e)*e)^(1/2))+(-1/8*(16*b^3*d^2*e^3-24*(a*d+4/3*b*c)*d*b^2*f*e^2+6*b*f^2* 
(a^2*d^2+8*a*b*c*d+8/3*b^2*c^2)*e+a*f^3*(a^2*d^2-12*a*b*c*d-24*b^2*c^2))*b 
*arctanh((b*x^2+a)^(1/2)/x/b^(1/2))+b^(3/2)*(b^2*d^2*e^2-5/4*d*b*f*(2/5*(d 
*x^2+4*c)*b+a*d)*e+1/8*(8*(1/3*d^2*x^4+c*d*x^2+c^2)*b^2+20*a*d*(7/30*x^2*d 
+c)*b+a^2*d^2)*f^2)*(b*x^2+a)^(1/2)*x*f)*((a*f-b*e)*e)^(1/2))/((a*f-b*e)*e 
)^(1/2)/b^(5/2)/f^4
 

Fricas [A] (verification not implemented)

Time = 97.36 (sec) , antiderivative size = 1801, normalized size of antiderivative = 6.39 \[ \int \frac {\left (a+b x^2\right )^{3/2} \left (c+d x^2\right )^2}{e+f x^2} \, dx=\text {Too large to display} \] Input:

integrate((b*x^2+a)^(3/2)*(d*x^2+c)^2/(f*x^2+e),x, algorithm="fricas")
 

Output:

[1/96*(3*(16*b^3*d^2*e^3 - 8*(4*b^3*c*d + 3*a*b^2*d^2)*e^2*f + 2*(8*b^3*c^ 
2 + 24*a*b^2*c*d + 3*a^2*b*d^2)*e*f^2 - (24*a*b^2*c^2 + 12*a^2*b*c*d - a^3 
*d^2)*f^3)*sqrt(b)*log(-2*b*x^2 + 2*sqrt(b*x^2 + a)*sqrt(b)*x - a) - 24*(b 
^3*d^2*e^3 - a*b^2*c^2*f^3 - (2*b^3*c*d + a*b^2*d^2)*e^2*f + (b^3*c^2 + 2* 
a*b^2*c*d)*e*f^2)*sqrt((b*e - a*f)/e)*log(((8*b^2*e^2 - 8*a*b*e*f + a^2*f^ 
2)*x^4 + a^2*e^2 + 2*(4*a*b*e^2 - 3*a^2*e*f)*x^2 - 4*(a*e^2*x + (2*b*e^2 - 
 a*e*f)*x^3)*sqrt(b*x^2 + a)*sqrt((b*e - a*f)/e))/(f^2*x^4 + 2*e*f*x^2 + e 
^2)) + 2*(8*b^3*d^2*f^3*x^5 - 2*(6*b^3*d^2*e*f^2 - (12*b^3*c*d + 7*a*b^2*d 
^2)*f^3)*x^3 + 3*(8*b^3*d^2*e^2*f - 2*(8*b^3*c*d + 5*a*b^2*d^2)*e*f^2 + (8 
*b^3*c^2 + 20*a*b^2*c*d + a^2*b*d^2)*f^3)*x)*sqrt(b*x^2 + a))/(b^2*f^4), 1 
/48*(3*(16*b^3*d^2*e^3 - 8*(4*b^3*c*d + 3*a*b^2*d^2)*e^2*f + 2*(8*b^3*c^2 
+ 24*a*b^2*c*d + 3*a^2*b*d^2)*e*f^2 - (24*a*b^2*c^2 + 12*a^2*b*c*d - a^3*d 
^2)*f^3)*sqrt(-b)*arctan(sqrt(-b)*x/sqrt(b*x^2 + a)) - 12*(b^3*d^2*e^3 - a 
*b^2*c^2*f^3 - (2*b^3*c*d + a*b^2*d^2)*e^2*f + (b^3*c^2 + 2*a*b^2*c*d)*e*f 
^2)*sqrt((b*e - a*f)/e)*log(((8*b^2*e^2 - 8*a*b*e*f + a^2*f^2)*x^4 + a^2*e 
^2 + 2*(4*a*b*e^2 - 3*a^2*e*f)*x^2 - 4*(a*e^2*x + (2*b*e^2 - a*e*f)*x^3)*s 
qrt(b*x^2 + a)*sqrt((b*e - a*f)/e))/(f^2*x^4 + 2*e*f*x^2 + e^2)) + (8*b^3* 
d^2*f^3*x^5 - 2*(6*b^3*d^2*e*f^2 - (12*b^3*c*d + 7*a*b^2*d^2)*f^3)*x^3 + 3 
*(8*b^3*d^2*e^2*f - 2*(8*b^3*c*d + 5*a*b^2*d^2)*e*f^2 + (8*b^3*c^2 + 20*a* 
b^2*c*d + a^2*b*d^2)*f^3)*x)*sqrt(b*x^2 + a))/(b^2*f^4), -1/96*(48*(b^3...
 

Sympy [F]

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

integrate((b*x**2+a)**(3/2)*(d*x**2+c)**2/(f*x**2+e),x)
 

Output:

Integral((a + b*x**2)**(3/2)*(c + d*x**2)**2/(e + f*x**2), x)
 

Maxima [F(-2)]

Exception generated. \[ \int \frac {\left (a+b x^2\right )^{3/2} \left (c+d x^2\right )^2}{e+f x^2} \, dx=\text {Exception raised: ValueError} \] Input:

integrate((b*x^2+a)^(3/2)*(d*x^2+c)^2/(f*x^2+e),x, algorithm="maxima")
 

Output:

Exception raised: ValueError >> Computation failed since Maxima requested 
additional constraints; using the 'assume' command before evaluation *may* 
 help (example of legal syntax is 'assume(e>0)', see `assume?` for more de 
tails)Is e
 

Giac [F(-2)]

Exception generated. \[ \int \frac {\left (a+b x^2\right )^{3/2} \left (c+d x^2\right )^2}{e+f x^2} \, dx=\text {Exception raised: TypeError} \] Input:

integrate((b*x^2+a)^(3/2)*(d*x^2+c)^2/(f*x^2+e),x, algorithm="giac")
 

Output:

Exception raised: TypeError >> an error occurred running a Giac command:IN 
PUT:sage2:=int(sage0,sageVARx):;OUTPUT:index.cc index_m i_lex_is_greater E 
rror: Bad Argument Value
 

Mupad [F(-1)]

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

int(((a + b*x^2)^(3/2)*(c + d*x^2)^2)/(e + f*x^2),x)
 

Output:

int(((a + b*x^2)^(3/2)*(c + d*x^2)^2)/(e + f*x^2), x)
 

Reduce [B] (verification not implemented)

Time = 0.22 (sec) , antiderivative size = 1271, normalized size of antiderivative = 4.51 \[ \int \frac {\left (a+b x^2\right )^{3/2} \left (c+d x^2\right )^2}{e+f x^2} \, dx =\text {Too large to display} \] Input:

int((b*x^2+a)^(3/2)*(d*x^2+c)^2/(f*x^2+e),x)
 

Output:

( - 48*sqrt(e)*sqrt(a*f - b*e)*atan((sqrt(a*f - b*e) - sqrt(f)*sqrt(a + b* 
x**2) - sqrt(f)*sqrt(b)*x)/(sqrt(e)*sqrt(b)))*a*b**2*c**2*f**3 + 96*sqrt(e 
)*sqrt(a*f - b*e)*atan((sqrt(a*f - b*e) - sqrt(f)*sqrt(a + b*x**2) - sqrt( 
f)*sqrt(b)*x)/(sqrt(e)*sqrt(b)))*a*b**2*c*d*e*f**2 - 48*sqrt(e)*sqrt(a*f - 
 b*e)*atan((sqrt(a*f - b*e) - sqrt(f)*sqrt(a + b*x**2) - sqrt(f)*sqrt(b)*x 
)/(sqrt(e)*sqrt(b)))*a*b**2*d**2*e**2*f + 48*sqrt(e)*sqrt(a*f - b*e)*atan( 
(sqrt(a*f - b*e) - sqrt(f)*sqrt(a + b*x**2) - sqrt(f)*sqrt(b)*x)/(sqrt(e)* 
sqrt(b)))*b**3*c**2*e*f**2 - 96*sqrt(e)*sqrt(a*f - b*e)*atan((sqrt(a*f - b 
*e) - sqrt(f)*sqrt(a + b*x**2) - sqrt(f)*sqrt(b)*x)/(sqrt(e)*sqrt(b)))*b** 
3*c*d*e**2*f + 48*sqrt(e)*sqrt(a*f - b*e)*atan((sqrt(a*f - b*e) - sqrt(f)* 
sqrt(a + b*x**2) - sqrt(f)*sqrt(b)*x)/(sqrt(e)*sqrt(b)))*b**3*d**2*e**3 - 
48*sqrt(e)*sqrt(a*f - b*e)*atan((sqrt(a*f - b*e) + sqrt(f)*sqrt(a + b*x**2 
) + sqrt(f)*sqrt(b)*x)/(sqrt(e)*sqrt(b)))*a*b**2*c**2*f**3 + 96*sqrt(e)*sq 
rt(a*f - b*e)*atan((sqrt(a*f - b*e) + sqrt(f)*sqrt(a + b*x**2) + sqrt(f)*s 
qrt(b)*x)/(sqrt(e)*sqrt(b)))*a*b**2*c*d*e*f**2 - 48*sqrt(e)*sqrt(a*f - b*e 
)*atan((sqrt(a*f - b*e) + sqrt(f)*sqrt(a + b*x**2) + sqrt(f)*sqrt(b)*x)/(s 
qrt(e)*sqrt(b)))*a*b**2*d**2*e**2*f + 48*sqrt(e)*sqrt(a*f - b*e)*atan((sqr 
t(a*f - b*e) + sqrt(f)*sqrt(a + b*x**2) + sqrt(f)*sqrt(b)*x)/(sqrt(e)*sqrt 
(b)))*b**3*c**2*e*f**2 - 96*sqrt(e)*sqrt(a*f - b*e)*atan((sqrt(a*f - b*e) 
+ sqrt(f)*sqrt(a + b*x**2) + sqrt(f)*sqrt(b)*x)/(sqrt(e)*sqrt(b)))*b**3...