Integrand size = 20, antiderivative size = 94 \[ \int \frac {(A+B x) \left (a+b x^2\right )^{3/2}}{x^6} \, dx=-\frac {a B \sqrt {a+b x^2}}{4 x^4}-\frac {5 b B \sqrt {a+b x^2}}{8 x^2}-\frac {A \left (a+b x^2\right )^{5/2}}{5 a x^5}-\frac {3 b^2 B \text {arctanh}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right )}{8 \sqrt {a}} \] Output:
-1/4*a*B*(b*x^2+a)^(1/2)/x^4-5/8*b*B*(b*x^2+a)^(1/2)/x^2-1/5*A*(b*x^2+a)^( 5/2)/a/x^5-3/8*b^2*B*arctanh((b*x^2+a)^(1/2)/a^(1/2))/a^(1/2)
Time = 0.46 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.11 \[ \int \frac {(A+B x) \left (a+b x^2\right )^{3/2}}{x^6} \, dx=-\frac {\frac {\sqrt {a+b x^2} \left (8 A b^2 x^4+2 a^2 (4 A+5 B x)+a b x^2 (16 A+25 B x)\right )}{x^5}+15 \sqrt {a} b^2 B \log (x)-15 \sqrt {a} b^2 B \log \left (-\sqrt {a}+\sqrt {a+b x^2}\right )}{40 a} \] Input:
Integrate[((A + B*x)*(a + b*x^2)^(3/2))/x^6,x]
Output:
-1/40*((Sqrt[a + b*x^2]*(8*A*b^2*x^4 + 2*a^2*(4*A + 5*B*x) + a*b*x^2*(16*A + 25*B*x)))/x^5 + 15*Sqrt[a]*b^2*B*Log[x] - 15*Sqrt[a]*b^2*B*Log[-Sqrt[a] + Sqrt[a + b*x^2]])/a
Time = 0.33 (sec) , antiderivative size = 95, normalized size of antiderivative = 1.01, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {534, 243, 51, 51, 73, 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} (A+B x)}{x^6} \, dx\) |
\(\Big \downarrow \) 534 |
\(\displaystyle B \int \frac {\left (b x^2+a\right )^{3/2}}{x^5}dx-\frac {A \left (a+b x^2\right )^{5/2}}{5 a x^5}\) |
\(\Big \downarrow \) 243 |
\(\displaystyle \frac {1}{2} B \int \frac {\left (b x^2+a\right )^{3/2}}{x^6}dx^2-\frac {A \left (a+b x^2\right )^{5/2}}{5 a x^5}\) |
\(\Big \downarrow \) 51 |
\(\displaystyle \frac {1}{2} B \left (\frac {3}{4} b \int \frac {\sqrt {b x^2+a}}{x^4}dx^2-\frac {\left (a+b x^2\right )^{3/2}}{2 x^4}\right )-\frac {A \left (a+b x^2\right )^{5/2}}{5 a x^5}\) |
\(\Big \downarrow \) 51 |
\(\displaystyle \frac {1}{2} B \left (\frac {3}{4} b \left (\frac {1}{2} b \int \frac {1}{x^2 \sqrt {b x^2+a}}dx^2-\frac {\sqrt {a+b x^2}}{x^2}\right )-\frac {\left (a+b x^2\right )^{3/2}}{2 x^4}\right )-\frac {A \left (a+b x^2\right )^{5/2}}{5 a x^5}\) |
\(\Big \downarrow \) 73 |
\(\displaystyle \frac {1}{2} B \left (\frac {3}{4} b \left (\int \frac {1}{\frac {x^4}{b}-\frac {a}{b}}d\sqrt {b x^2+a}-\frac {\sqrt {a+b x^2}}{x^2}\right )-\frac {\left (a+b x^2\right )^{3/2}}{2 x^4}\right )-\frac {A \left (a+b x^2\right )^{5/2}}{5 a x^5}\) |
\(\Big \downarrow \) 221 |
\(\displaystyle \frac {1}{2} B \left (\frac {3}{4} b \left (-\frac {b \text {arctanh}\left (\frac {\sqrt {a+b x^2}}{\sqrt {a}}\right )}{\sqrt {a}}-\frac {\sqrt {a+b x^2}}{x^2}\right )-\frac {\left (a+b x^2\right )^{3/2}}{2 x^4}\right )-\frac {A \left (a+b x^2\right )^{5/2}}{5 a x^5}\) |
Input:
Int[((A + B*x)*(a + b*x^2)^(3/2))/x^6,x]
Output:
-1/5*(A*(a + b*x^2)^(5/2))/(a*x^5) + (B*(-1/2*(a + b*x^2)^(3/2)/x^4 + (3*b *(-(Sqrt[a + b*x^2]/x^2) - (b*ArcTanh[Sqrt[a + b*x^2]/Sqrt[a]])/Sqrt[a]))/ 4))/2
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[ (a + b*x)^(m + 1)*((c + d*x)^n/(b*(m + 1))), x] - Simp[d*(n/(b*(m + 1))) Int[(a + b*x)^(m + 1)*(c + d*x)^(n - 1), x], x] /; FreeQ[{a, b, c, d, n}, x ] && ILtQ[m, -1] && FractionQ[n] && GtQ[n, 0]
Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[ {p = Denominator[m]}, Simp[p/b Subst[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] && Lt Q[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntL inearQ[a, b, c, d, m, n, x]
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]
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[1/2 Subst[In t[x^((m - 1)/2)*(a + b*x)^p, x], x, x^2], x] /; FreeQ[{a, b, m, p}, x] && I ntegerQ[(m - 1)/2]
Int[(x_)^(m_)*((c_) + (d_.)*(x_))*((a_) + (b_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(-c)*x^(m + 1)*((a + b*x^2)^(p + 1)/(2*a*(p + 1))), x] + Simp[d Int[ x^(m + 1)*(a + b*x^2)^p, x], x] /; FreeQ[{a, b, c, d, m, p}, x] && ILtQ[m, 0] && GtQ[p, -1] && EqQ[m + 2*p + 3, 0]
Time = 0.32 (sec) , antiderivative size = 90, normalized size of antiderivative = 0.96
method | result | size |
risch | \(-\frac {\sqrt {b \,x^{2}+a}\, \left (8 b^{2} A \,x^{4}+25 a b B \,x^{3}+16 a b A \,x^{2}+10 a^{2} B x +8 a^{2} A \right )}{40 x^{5} a}-\frac {3 B \,b^{2} \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {b \,x^{2}+a}}{x}\right )}{8 \sqrt {a}}\) | \(90\) |
default | \(-\frac {A \left (b \,x^{2}+a \right )^{\frac {5}{2}}}{5 a \,x^{5}}+B \left (-\frac {\left (b \,x^{2}+a \right )^{\frac {5}{2}}}{4 a \,x^{4}}+\frac {b \left (-\frac {\left (b \,x^{2}+a \right )^{\frac {5}{2}}}{2 a \,x^{2}}+\frac {3 b \left (\frac {\left (b \,x^{2}+a \right )^{\frac {3}{2}}}{3}+a \left (\sqrt {b \,x^{2}+a}-\sqrt {a}\, \ln \left (\frac {2 a +2 \sqrt {a}\, \sqrt {b \,x^{2}+a}}{x}\right )\right )\right )}{2 a}\right )}{4 a}\right )\) | \(122\) |
Input:
int((B*x+A)*(b*x^2+a)^(3/2)/x^6,x,method=_RETURNVERBOSE)
Output:
-1/40*(b*x^2+a)^(1/2)*(8*A*b^2*x^4+25*B*a*b*x^3+16*A*a*b*x^2+10*B*a^2*x+8* A*a^2)/x^5/a-3/8*B*b^2/a^(1/2)*ln((2*a+2*a^(1/2)*(b*x^2+a)^(1/2))/x)
Time = 0.10 (sec) , antiderivative size = 193, normalized size of antiderivative = 2.05 \[ \int \frac {(A+B x) \left (a+b x^2\right )^{3/2}}{x^6} \, dx=\left [\frac {15 \, B \sqrt {a} b^{2} x^{5} \log \left (-\frac {b x^{2} - 2 \, \sqrt {b x^{2} + a} \sqrt {a} + 2 \, a}{x^{2}}\right ) - 2 \, {\left (8 \, A b^{2} x^{4} + 25 \, B a b x^{3} + 16 \, A a b x^{2} + 10 \, B a^{2} x + 8 \, A a^{2}\right )} \sqrt {b x^{2} + a}}{80 \, a x^{5}}, \frac {15 \, B \sqrt {-a} b^{2} x^{5} \arctan \left (\frac {\sqrt {b x^{2} + a} \sqrt {-a}}{a}\right ) - {\left (8 \, A b^{2} x^{4} + 25 \, B a b x^{3} + 16 \, A a b x^{2} + 10 \, B a^{2} x + 8 \, A a^{2}\right )} \sqrt {b x^{2} + a}}{40 \, a x^{5}}\right ] \] Input:
integrate((B*x+A)*(b*x^2+a)^(3/2)/x^6,x, algorithm="fricas")
Output:
[1/80*(15*B*sqrt(a)*b^2*x^5*log(-(b*x^2 - 2*sqrt(b*x^2 + a)*sqrt(a) + 2*a) /x^2) - 2*(8*A*b^2*x^4 + 25*B*a*b*x^3 + 16*A*a*b*x^2 + 10*B*a^2*x + 8*A*a^ 2)*sqrt(b*x^2 + a))/(a*x^5), 1/40*(15*B*sqrt(-a)*b^2*x^5*arctan(sqrt(b*x^2 + a)*sqrt(-a)/a) - (8*A*b^2*x^4 + 25*B*a*b*x^3 + 16*A*a*b*x^2 + 10*B*a^2* x + 8*A*a^2)*sqrt(b*x^2 + a))/(a*x^5)]
Leaf count of result is larger than twice the leaf count of optimal. 199 vs. \(2 (88) = 176\).
Time = 3.96 (sec) , antiderivative size = 199, normalized size of antiderivative = 2.12 \[ \int \frac {(A+B x) \left (a+b x^2\right )^{3/2}}{x^6} \, dx=- \frac {A a \sqrt {b} \sqrt {\frac {a}{b x^{2}} + 1}}{5 x^{4}} - \frac {2 A b^{\frac {3}{2}} \sqrt {\frac {a}{b x^{2}} + 1}}{5 x^{2}} - \frac {A b^{\frac {5}{2}} \sqrt {\frac {a}{b x^{2}} + 1}}{5 a} - \frac {B a^{2}}{4 \sqrt {b} x^{5} \sqrt {\frac {a}{b x^{2}} + 1}} - \frac {3 B a \sqrt {b}}{8 x^{3} \sqrt {\frac {a}{b x^{2}} + 1}} - \frac {B b^{\frac {3}{2}} \sqrt {\frac {a}{b x^{2}} + 1}}{2 x} - \frac {B b^{\frac {3}{2}}}{8 x \sqrt {\frac {a}{b x^{2}} + 1}} - \frac {3 B b^{2} \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} x} \right )}}{8 \sqrt {a}} \] Input:
integrate((B*x+A)*(b*x**2+a)**(3/2)/x**6,x)
Output:
-A*a*sqrt(b)*sqrt(a/(b*x**2) + 1)/(5*x**4) - 2*A*b**(3/2)*sqrt(a/(b*x**2) + 1)/(5*x**2) - A*b**(5/2)*sqrt(a/(b*x**2) + 1)/(5*a) - B*a**2/(4*sqrt(b)* x**5*sqrt(a/(b*x**2) + 1)) - 3*B*a*sqrt(b)/(8*x**3*sqrt(a/(b*x**2) + 1)) - B*b**(3/2)*sqrt(a/(b*x**2) + 1)/(2*x) - B*b**(3/2)/(8*x*sqrt(a/(b*x**2) + 1)) - 3*B*b**2*asinh(sqrt(a)/(sqrt(b)*x))/(8*sqrt(a))
Time = 0.04 (sec) , antiderivative size = 113, normalized size of antiderivative = 1.20 \[ \int \frac {(A+B x) \left (a+b x^2\right )^{3/2}}{x^6} \, dx=-\frac {3 \, B b^{2} \operatorname {arsinh}\left (\frac {a}{\sqrt {a b} {\left | x \right |}}\right )}{8 \, \sqrt {a}} + \frac {{\left (b x^{2} + a\right )}^{\frac {3}{2}} B b^{2}}{8 \, a^{2}} + \frac {3 \, \sqrt {b x^{2} + a} B b^{2}}{8 \, a} - \frac {{\left (b x^{2} + a\right )}^{\frac {5}{2}} B b}{8 \, a^{2} x^{2}} - \frac {{\left (b x^{2} + a\right )}^{\frac {5}{2}} B}{4 \, a x^{4}} - \frac {{\left (b x^{2} + a\right )}^{\frac {5}{2}} A}{5 \, a x^{5}} \] Input:
integrate((B*x+A)*(b*x^2+a)^(3/2)/x^6,x, algorithm="maxima")
Output:
-3/8*B*b^2*arcsinh(a/(sqrt(a*b)*abs(x)))/sqrt(a) + 1/8*(b*x^2 + a)^(3/2)*B *b^2/a^2 + 3/8*sqrt(b*x^2 + a)*B*b^2/a - 1/8*(b*x^2 + a)^(5/2)*B*b/(a^2*x^ 2) - 1/4*(b*x^2 + a)^(5/2)*B/(a*x^4) - 1/5*(b*x^2 + a)^(5/2)*A/(a*x^5)
Leaf count of result is larger than twice the leaf count of optimal. 232 vs. \(2 (74) = 148\).
Time = 0.13 (sec) , antiderivative size = 232, normalized size of antiderivative = 2.47 \[ \int \frac {(A+B x) \left (a+b x^2\right )^{3/2}}{x^6} \, dx=\frac {3 \, B b^{2} \arctan \left (-\frac {\sqrt {b} x - \sqrt {b x^{2} + a}}{\sqrt {-a}}\right )}{4 \, \sqrt {-a}} + \frac {25 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{9} B b^{2} + 40 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{8} A b^{\frac {5}{2}} - 10 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{7} B a b^{2} + 80 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{4} A a^{2} b^{\frac {5}{2}} + 10 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{3} B a^{3} b^{2} - 25 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )} B a^{4} b^{2} + 8 \, A a^{4} b^{\frac {5}{2}}}{20 \, {\left ({\left (\sqrt {b} x - \sqrt {b x^{2} + a}\right )}^{2} - a\right )}^{5}} \] Input:
integrate((B*x+A)*(b*x^2+a)^(3/2)/x^6,x, algorithm="giac")
Output:
3/4*B*b^2*arctan(-(sqrt(b)*x - sqrt(b*x^2 + a))/sqrt(-a))/sqrt(-a) + 1/20* (25*(sqrt(b)*x - sqrt(b*x^2 + a))^9*B*b^2 + 40*(sqrt(b)*x - sqrt(b*x^2 + a ))^8*A*b^(5/2) - 10*(sqrt(b)*x - sqrt(b*x^2 + a))^7*B*a*b^2 + 80*(sqrt(b)* x - sqrt(b*x^2 + a))^4*A*a^2*b^(5/2) + 10*(sqrt(b)*x - sqrt(b*x^2 + a))^3* B*a^3*b^2 - 25*(sqrt(b)*x - sqrt(b*x^2 + a))*B*a^4*b^2 + 8*A*a^4*b^(5/2))/ ((sqrt(b)*x - sqrt(b*x^2 + a))^2 - a)^5
Time = 10.92 (sec) , antiderivative size = 73, normalized size of antiderivative = 0.78 \[ \int \frac {(A+B x) \left (a+b x^2\right )^{3/2}}{x^6} \, dx=\frac {3\,B\,a\,\sqrt {b\,x^2+a}}{8\,x^4}-\frac {3\,B\,b^2\,\mathrm {atanh}\left (\frac {\sqrt {b\,x^2+a}}{\sqrt {a}}\right )}{8\,\sqrt {a}}-\frac {5\,B\,{\left (b\,x^2+a\right )}^{3/2}}{8\,x^4}-\frac {A\,{\left (b\,x^2+a\right )}^{5/2}}{5\,a\,x^5} \] Input:
int(((a + b*x^2)^(3/2)*(A + B*x))/x^6,x)
Output:
(3*B*a*(a + b*x^2)^(1/2))/(8*x^4) - (3*B*b^2*atanh((a + b*x^2)^(1/2)/a^(1/ 2)))/(8*a^(1/2)) - (5*B*(a + b*x^2)^(3/2))/(8*x^4) - (A*(a + b*x^2)^(5/2)) /(5*a*x^5)
Time = 0.23 (sec) , antiderivative size = 163, normalized size of antiderivative = 1.73 \[ \int \frac {(A+B x) \left (a+b x^2\right )^{3/2}}{x^6} \, dx=\frac {-8 \sqrt {b \,x^{2}+a}\, a^{3}-16 \sqrt {b \,x^{2}+a}\, a^{2} b \,x^{2}-10 \sqrt {b \,x^{2}+a}\, a^{2} b x -8 \sqrt {b \,x^{2}+a}\, a \,b^{2} x^{4}-25 \sqrt {b \,x^{2}+a}\, a \,b^{2} x^{3}+15 \sqrt {a}\, \mathrm {log}\left (\frac {\sqrt {b \,x^{2}+a}-\sqrt {a}+\sqrt {b}\, x}{\sqrt {a}}\right ) b^{3} x^{5}-15 \sqrt {a}\, \mathrm {log}\left (\frac {\sqrt {b \,x^{2}+a}+\sqrt {a}+\sqrt {b}\, x}{\sqrt {a}}\right ) b^{3} x^{5}-8 \sqrt {b}\, a \,b^{2} x^{5}}{40 a \,x^{5}} \] Input:
int((B*x+A)*(b*x^2+a)^(3/2)/x^6,x)
Output:
( - 8*sqrt(a + b*x**2)*a**3 - 16*sqrt(a + b*x**2)*a**2*b*x**2 - 10*sqrt(a + b*x**2)*a**2*b*x - 8*sqrt(a + b*x**2)*a*b**2*x**4 - 25*sqrt(a + b*x**2)* a*b**2*x**3 + 15*sqrt(a)*log((sqrt(a + b*x**2) - sqrt(a) + sqrt(b)*x)/sqrt (a))*b**3*x**5 - 15*sqrt(a)*log((sqrt(a + b*x**2) + sqrt(a) + sqrt(b)*x)/s qrt(a))*b**3*x**5 - 8*sqrt(b)*a*b**2*x**5)/(40*a*x**5)