Integrand size = 27, antiderivative size = 81 \[ \int \frac {(5-x) (3+2 x)^{5/2}}{2+5 x+3 x^2} \, dx=\frac {526}{27} \sqrt {3+2 x}+\frac {62}{27} (3+2 x)^{3/2}-\frac {2}{15} (3+2 x)^{5/2}+12 \text {arctanh}\left (\sqrt {3+2 x}\right )-\frac {850}{27} \sqrt {\frac {5}{3}} \text {arctanh}\left (\sqrt {\frac {3}{5}} \sqrt {3+2 x}\right ) \] Output:
526/27*(3+2*x)^(1/2)+62/27*(3+2*x)^(3/2)-2/15*(3+2*x)^(5/2)+12*arctanh((3+ 2*x)^(1/2))-850/81*15^(1/2)*arctanh(1/5*15^(1/2)*(3+2*x)^(1/2))
Time = 0.13 (sec) , antiderivative size = 64, normalized size of antiderivative = 0.79 \[ \int \frac {(5-x) (3+2 x)^{5/2}}{2+5 x+3 x^2} \, dx=12 \text {arctanh}\left (\sqrt {3+2 x}\right )-\frac {2}{405} \left (3 \sqrt {3+2 x} \left (-1699-202 x+36 x^2\right )+2125 \sqrt {15} \text {arctanh}\left (\sqrt {\frac {3}{5}} \sqrt {3+2 x}\right )\right ) \] Input:
Integrate[((5 - x)*(3 + 2*x)^(5/2))/(2 + 5*x + 3*x^2),x]
Output:
12*ArcTanh[Sqrt[3 + 2*x]] - (2*(3*Sqrt[3 + 2*x]*(-1699 - 202*x + 36*x^2) + 2125*Sqrt[15]*ArcTanh[Sqrt[3/5]*Sqrt[3 + 2*x]]))/405
Time = 0.47 (sec) , antiderivative size = 94, normalized size of antiderivative = 1.16, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.259, Rules used = {1196, 1196, 1196, 1197, 25, 1480, 220}
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 {(5-x) (2 x+3)^{5/2}}{3 x^2+5 x+2} \, dx\) |
\(\Big \downarrow \) 1196 |
\(\displaystyle \frac {1}{3} \int \frac {(2 x+3)^{3/2} (31 x+49)}{3 x^2+5 x+2}dx-\frac {2}{15} (2 x+3)^{5/2}\) |
\(\Big \downarrow \) 1196 |
\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \int \frac {\sqrt {2 x+3} (263 x+317)}{3 x^2+5 x+2}dx+\frac {62}{9} (2 x+3)^{3/2}\right )-\frac {2}{15} (2 x+3)^{5/2}\) |
\(\Big \downarrow \) 1196 |
\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\frac {1}{3} \int \frac {1639 x+1801}{\sqrt {2 x+3} \left (3 x^2+5 x+2\right )}dx+\frac {526}{3} \sqrt {2 x+3}\right )+\frac {62}{9} (2 x+3)^{3/2}\right )-\frac {2}{15} (2 x+3)^{5/2}\) |
\(\Big \downarrow \) 1197 |
\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\frac {2}{3} \int -\frac {1315-1639 (2 x+3)}{3 (2 x+3)^2-8 (2 x+3)+5}d\sqrt {2 x+3}+\frac {526}{3} \sqrt {2 x+3}\right )+\frac {62}{9} (2 x+3)^{3/2}\right )-\frac {2}{15} (2 x+3)^{5/2}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\frac {526}{3} \sqrt {2 x+3}-\frac {2}{3} \int \frac {1315-1639 (2 x+3)}{3 (2 x+3)^2-8 (2 x+3)+5}d\sqrt {2 x+3}\right )+\frac {62}{9} (2 x+3)^{3/2}\right )-\frac {2}{15} (2 x+3)^{5/2}\) |
\(\Big \downarrow \) 1480 |
\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\frac {2}{3} \left (2125 \int \frac {1}{3 (2 x+3)-5}d\sqrt {2 x+3}-486 \int \frac {1}{3 (2 x+3)-3}d\sqrt {2 x+3}\right )+\frac {526}{3} \sqrt {2 x+3}\right )+\frac {62}{9} (2 x+3)^{3/2}\right )-\frac {2}{15} (2 x+3)^{5/2}\) |
\(\Big \downarrow \) 220 |
\(\displaystyle \frac {1}{3} \left (\frac {1}{3} \left (\frac {2}{3} \left (162 \text {arctanh}\left (\sqrt {2 x+3}\right )-425 \sqrt {\frac {5}{3}} \text {arctanh}\left (\sqrt {\frac {3}{5}} \sqrt {2 x+3}\right )\right )+\frac {526}{3} \sqrt {2 x+3}\right )+\frac {62}{9} (2 x+3)^{3/2}\right )-\frac {2}{15} (2 x+3)^{5/2}\) |
Input:
Int[((5 - x)*(3 + 2*x)^(5/2))/(2 + 5*x + 3*x^2),x]
Output:
(-2*(3 + 2*x)^(5/2))/15 + ((62*(3 + 2*x)^(3/2))/9 + ((526*Sqrt[3 + 2*x])/3 + (2*(162*ArcTanh[Sqrt[3 + 2*x]] - 425*Sqrt[5/3]*ArcTanh[Sqrt[3/5]*Sqrt[3 + 2*x]]))/3)/3)/3
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[b, 2])^(- 1))*ArcTanh[Rt[b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && NegQ[a/b] && (LtQ[a, 0] || GtQ[b, 0])
Int[(((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_)))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[g*((d + e*x)^m/(c*m)), x] + Simp[1/c Int [(d + e*x)^(m - 1)*(Simp[c*d*f - a*e*g + (g*c*d - b*e*g + c*e*f)*x, x]/(a + b*x + c*x^2)), x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && FractionQ[m] & & GtQ[m, 0]
Int[((f_.) + (g_.)*(x_))/(Sqrt[(d_.) + (e_.)*(x_)]*((a_.) + (b_.)*(x_) + (c _.)*(x_)^2)), x_Symbol] :> Simp[2 Subst[Int[(e*f - d*g + g*x^2)/(c*d^2 - b*d*e + a*e^2 - (2*c*d - b*e)*x^2 + c*x^4), x], x, Sqrt[d + e*x]], x] /; Fr eeQ[{a, b, c, d, e, f, g}, x]
Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] : > With[{q = Rt[b^2 - 4*a*c, 2]}, Simp[(e/2 + (2*c*d - b*e)/(2*q)) Int[1/( b/2 - q/2 + c*x^2), x], x] + Simp[(e/2 - (2*c*d - b*e)/(2*q)) Int[1/(b/2 + q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^2 - 4*a*c]
Time = 1.45 (sec) , antiderivative size = 63, normalized size of antiderivative = 0.78
method | result | size |
risch | \(-\frac {2 \left (36 x^{2}-202 x -1699\right ) \sqrt {2 x +3}}{135}+6 \ln \left (\sqrt {2 x +3}+1\right )-6 \ln \left (\sqrt {2 x +3}-1\right )-\frac {850 \sqrt {15}\, \operatorname {arctanh}\left (\frac {\sqrt {15}\, \sqrt {2 x +3}}{5}\right )}{81}\) | \(63\) |
pseudoelliptic | \(-\frac {850 \sqrt {15}\, \operatorname {arctanh}\left (\frac {\sqrt {15}\, \sqrt {2 x +3}}{5}\right )}{81}-6 \ln \left (\sqrt {2 x +3}-1\right )+6 \ln \left (\sqrt {2 x +3}+1\right )+\frac {2 \left (-36 x^{2}+202 x +1699\right ) \sqrt {2 x +3}}{135}\) | \(63\) |
derivativedivides | \(-\frac {2 \left (2 x +3\right )^{\frac {5}{2}}}{15}+\frac {62 \left (2 x +3\right )^{\frac {3}{2}}}{27}+\frac {526 \sqrt {2 x +3}}{27}+6 \ln \left (\sqrt {2 x +3}+1\right )-6 \ln \left (\sqrt {2 x +3}-1\right )-\frac {850 \sqrt {15}\, \operatorname {arctanh}\left (\frac {\sqrt {15}\, \sqrt {2 x +3}}{5}\right )}{81}\) | \(71\) |
default | \(-\frac {2 \left (2 x +3\right )^{\frac {5}{2}}}{15}+\frac {62 \left (2 x +3\right )^{\frac {3}{2}}}{27}+\frac {526 \sqrt {2 x +3}}{27}+6 \ln \left (\sqrt {2 x +3}+1\right )-6 \ln \left (\sqrt {2 x +3}-1\right )-\frac {850 \sqrt {15}\, \operatorname {arctanh}\left (\frac {\sqrt {15}\, \sqrt {2 x +3}}{5}\right )}{81}\) | \(71\) |
trager | \(\left (-\frac {8}{15} x^{2}+\frac {404}{135} x +\frac {3398}{135}\right ) \sqrt {2 x +3}+\frac {425 \operatorname {RootOf}\left (\textit {\_Z}^{2}-15\right ) \ln \left (\frac {-3 \operatorname {RootOf}\left (\textit {\_Z}^{2}-15\right ) x +15 \sqrt {2 x +3}-7 \operatorname {RootOf}\left (\textit {\_Z}^{2}-15\right )}{3 x +2}\right )}{81}+6 \ln \left (\frac {\sqrt {2 x +3}+2+x}{x +1}\right )\) | \(83\) |
Input:
int((5-x)*(2*x+3)^(5/2)/(3*x^2+5*x+2),x,method=_RETURNVERBOSE)
Output:
-2/135*(36*x^2-202*x-1699)*(2*x+3)^(1/2)+6*ln((2*x+3)^(1/2)+1)-6*ln((2*x+3 )^(1/2)-1)-850/81*15^(1/2)*arctanh(1/5*15^(1/2)*(2*x+3)^(1/2))
Time = 0.09 (sec) , antiderivative size = 76, normalized size of antiderivative = 0.94 \[ \int \frac {(5-x) (3+2 x)^{5/2}}{2+5 x+3 x^2} \, dx=-\frac {2}{135} \, {\left (36 \, x^{2} - 202 \, x - 1699\right )} \sqrt {2 \, x + 3} + \frac {425}{27} \, \sqrt {\frac {5}{3}} \log \left (-\frac {3 \, \sqrt {\frac {5}{3}} \sqrt {2 \, x + 3} - 3 \, x - 7}{3 \, x + 2}\right ) + 6 \, \log \left (\sqrt {2 \, x + 3} + 1\right ) - 6 \, \log \left (\sqrt {2 \, x + 3} - 1\right ) \] Input:
integrate((5-x)*(3+2*x)^(5/2)/(3*x^2+5*x+2),x, algorithm="fricas")
Output:
-2/135*(36*x^2 - 202*x - 1699)*sqrt(2*x + 3) + 425/27*sqrt(5/3)*log(-(3*sq rt(5/3)*sqrt(2*x + 3) - 3*x - 7)/(3*x + 2)) + 6*log(sqrt(2*x + 3) + 1) - 6 *log(sqrt(2*x + 3) - 1)
Time = 2.66 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.28 \[ \int \frac {(5-x) (3+2 x)^{5/2}}{2+5 x+3 x^2} \, dx=- \frac {2 \left (2 x + 3\right )^{\frac {5}{2}}}{15} + \frac {62 \left (2 x + 3\right )^{\frac {3}{2}}}{27} + \frac {526 \sqrt {2 x + 3}}{27} + \frac {425 \sqrt {15} \left (\log {\left (\sqrt {2 x + 3} - \frac {\sqrt {15}}{3} \right )} - \log {\left (\sqrt {2 x + 3} + \frac {\sqrt {15}}{3} \right )}\right )}{81} - 6 \log {\left (\sqrt {2 x + 3} - 1 \right )} + 6 \log {\left (\sqrt {2 x + 3} + 1 \right )} \] Input:
integrate((5-x)*(3+2*x)**(5/2)/(3*x**2+5*x+2),x)
Output:
-2*(2*x + 3)**(5/2)/15 + 62*(2*x + 3)**(3/2)/27 + 526*sqrt(2*x + 3)/27 + 4 25*sqrt(15)*(log(sqrt(2*x + 3) - sqrt(15)/3) - log(sqrt(2*x + 3) + sqrt(15 )/3))/81 - 6*log(sqrt(2*x + 3) - 1) + 6*log(sqrt(2*x + 3) + 1)
Time = 0.12 (sec) , antiderivative size = 88, normalized size of antiderivative = 1.09 \[ \int \frac {(5-x) (3+2 x)^{5/2}}{2+5 x+3 x^2} \, dx=-\frac {2}{15} \, {\left (2 \, x + 3\right )}^{\frac {5}{2}} + \frac {62}{27} \, {\left (2 \, x + 3\right )}^{\frac {3}{2}} + \frac {425}{81} \, \sqrt {15} \log \left (-\frac {\sqrt {15} - 3 \, \sqrt {2 \, x + 3}}{\sqrt {15} + 3 \, \sqrt {2 \, x + 3}}\right ) + \frac {526}{27} \, \sqrt {2 \, x + 3} + 6 \, \log \left (\sqrt {2 \, x + 3} + 1\right ) - 6 \, \log \left (\sqrt {2 \, x + 3} - 1\right ) \] Input:
integrate((5-x)*(3+2*x)^(5/2)/(3*x^2+5*x+2),x, algorithm="maxima")
Output:
-2/15*(2*x + 3)^(5/2) + 62/27*(2*x + 3)^(3/2) + 425/81*sqrt(15)*log(-(sqrt (15) - 3*sqrt(2*x + 3))/(sqrt(15) + 3*sqrt(2*x + 3))) + 526/27*sqrt(2*x + 3) + 6*log(sqrt(2*x + 3) + 1) - 6*log(sqrt(2*x + 3) - 1)
Time = 0.21 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.14 \[ \int \frac {(5-x) (3+2 x)^{5/2}}{2+5 x+3 x^2} \, dx=-\frac {2}{15} \, {\left (2 \, x + 3\right )}^{\frac {5}{2}} + \frac {62}{27} \, {\left (2 \, x + 3\right )}^{\frac {3}{2}} + \frac {425}{81} \, \sqrt {15} \log \left (\frac {{\left | -2 \, \sqrt {15} + 6 \, \sqrt {2 \, x + 3} \right |}}{2 \, {\left (\sqrt {15} + 3 \, \sqrt {2 \, x + 3}\right )}}\right ) + \frac {526}{27} \, \sqrt {2 \, x + 3} + 6 \, \log \left (\sqrt {2 \, x + 3} + 1\right ) - 6 \, \log \left ({\left | \sqrt {2 \, x + 3} - 1 \right |}\right ) \] Input:
integrate((5-x)*(3+2*x)^(5/2)/(3*x^2+5*x+2),x, algorithm="giac")
Output:
-2/15*(2*x + 3)^(5/2) + 62/27*(2*x + 3)^(3/2) + 425/81*sqrt(15)*log(1/2*ab s(-2*sqrt(15) + 6*sqrt(2*x + 3))/(sqrt(15) + 3*sqrt(2*x + 3))) + 526/27*sq rt(2*x + 3) + 6*log(sqrt(2*x + 3) + 1) - 6*log(abs(sqrt(2*x + 3) - 1))
Time = 11.45 (sec) , antiderivative size = 62, normalized size of antiderivative = 0.77 \[ \int \frac {(5-x) (3+2 x)^{5/2}}{2+5 x+3 x^2} \, dx=\frac {526\,\sqrt {2\,x+3}}{27}+\frac {62\,{\left (2\,x+3\right )}^{3/2}}{27}-\frac {2\,{\left (2\,x+3\right )}^{5/2}}{15}-\mathrm {atan}\left (\sqrt {2\,x+3}\,1{}\mathrm {i}\right )\,12{}\mathrm {i}+\frac {\sqrt {15}\,\mathrm {atan}\left (\frac {\sqrt {15}\,\sqrt {2\,x+3}\,1{}\mathrm {i}}{5}\right )\,850{}\mathrm {i}}{81} \] Input:
int(-((2*x + 3)^(5/2)*(x - 5))/(5*x + 3*x^2 + 2),x)
Output:
(15^(1/2)*atan((15^(1/2)*(2*x + 3)^(1/2)*1i)/5)*850i)/81 - atan((2*x + 3)^ (1/2)*1i)*12i + (526*(2*x + 3)^(1/2))/27 + (62*(2*x + 3)^(3/2))/27 - (2*(2 *x + 3)^(5/2))/15
Time = 0.25 (sec) , antiderivative size = 85, normalized size of antiderivative = 1.05 \[ \int \frac {(5-x) (3+2 x)^{5/2}}{2+5 x+3 x^2} \, dx=-\frac {8 \sqrt {2 x +3}\, x^{2}}{15}+\frac {404 \sqrt {2 x +3}\, x}{135}+\frac {3398 \sqrt {2 x +3}}{135}+\frac {425 \sqrt {15}\, \mathrm {log}\left (3 \sqrt {2 x +3}-\sqrt {15}\right )}{81}-\frac {425 \sqrt {15}\, \mathrm {log}\left (3 \sqrt {2 x +3}+\sqrt {15}\right )}{81}-6 \,\mathrm {log}\left (\sqrt {2 x +3}-1\right )+6 \,\mathrm {log}\left (\sqrt {2 x +3}+1\right ) \] Input:
int((5-x)*(3+2*x)^(5/2)/(3*x^2+5*x+2),x)
Output:
( - 216*sqrt(2*x + 3)*x**2 + 1212*sqrt(2*x + 3)*x + 10194*sqrt(2*x + 3) + 2125*sqrt(15)*log(3*sqrt(2*x + 3) - sqrt(15)) - 2125*sqrt(15)*log(3*sqrt(2 *x + 3) + sqrt(15)) - 2430*log(sqrt(2*x + 3) - 1) + 2430*log(sqrt(2*x + 3) + 1))/405