Optimal. Leaf size=97 \[ -\frac {399}{736 (1-x)^2}-\frac {1843}{4416 (1-x)}+\frac {19 (39+44 x)}{276 (1-x)^2 \left (3+5 x+4 x^2\right )}+\frac {114437 \tan ^{-1}\left (\frac {5+8 x}{\sqrt {23}}\right )}{52992 \sqrt {23}}+\frac {209 \log (1-x)}{2304}-\frac {209 \log \left (3+5 x+4 x^2\right )}{4608} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 97, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {12, 836, 814,
648, 632, 210, 642} \begin {gather*} \frac {19 (44 x+39)}{276 (1-x)^2 \left (4 x^2+5 x+3\right )}-\frac {209 \log \left (4 x^2+5 x+3\right )}{4608}-\frac {1843}{4416 (1-x)}-\frac {399}{736 (1-x)^2}+\frac {209 \log (1-x)}{2304}+\frac {114437 \tan ^{-1}\left (\frac {8 x+5}{\sqrt {23}}\right )}{52992 \sqrt {23}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 210
Rule 632
Rule 642
Rule 648
Rule 814
Rule 836
Rubi steps
\begin {align*} \int \frac {19 x}{(-1+x)^3 \left (3+5 x+4 x^2\right )^2} \, dx &=19 \int \frac {x}{(-1+x)^3 \left (3+5 x+4 x^2\right )^2} \, dx\\ &=\frac {19 (39+44 x)}{276 (1-x)^2 \left (3+5 x+4 x^2\right )}+\frac {19}{276} \int \frac {57+132 x}{(-1+x)^3 \left (3+5 x+4 x^2\right )} \, dx\\ &=\frac {19 (39+44 x)}{276 (1-x)^2 \left (3+5 x+4 x^2\right )}+\frac {19}{276} \int \left (\frac {63}{4 (-1+x)^3}-\frac {97}{16 (-1+x)^2}+\frac {253}{192 (-1+x)}+\frac {2379-1012 x}{192 \left (3+5 x+4 x^2\right )}\right ) \, dx\\ &=-\frac {399}{736 (1-x)^2}-\frac {1843}{4416 (1-x)}+\frac {19 (39+44 x)}{276 (1-x)^2 \left (3+5 x+4 x^2\right )}+\frac {209 \log (1-x)}{2304}+\frac {19 \int \frac {2379-1012 x}{3+5 x+4 x^2} \, dx}{52992}\\ &=-\frac {399}{736 (1-x)^2}-\frac {1843}{4416 (1-x)}+\frac {19 (39+44 x)}{276 (1-x)^2 \left (3+5 x+4 x^2\right )}+\frac {209 \log (1-x)}{2304}-\frac {209 \int \frac {5+8 x}{3+5 x+4 x^2} \, dx}{4608}+\frac {114437 \int \frac {1}{3+5 x+4 x^2} \, dx}{105984}\\ &=-\frac {399}{736 (1-x)^2}-\frac {1843}{4416 (1-x)}+\frac {19 (39+44 x)}{276 (1-x)^2 \left (3+5 x+4 x^2\right )}+\frac {209 \log (1-x)}{2304}-\frac {209 \log \left (3+5 x+4 x^2\right )}{4608}-\frac {114437 \text {Subst}\left (\int \frac {1}{-23-x^2} \, dx,x,5+8 x\right )}{52992}\\ &=-\frac {399}{736 (1-x)^2}-\frac {1843}{4416 (1-x)}+\frac {19 (39+44 x)}{276 (1-x)^2 \left (3+5 x+4 x^2\right )}+\frac {114437 \tan ^{-1}\left (\frac {5+8 x}{\sqrt {23}}\right )}{52992 \sqrt {23}}+\frac {209 \log (1-x)}{2304}-\frac {209 \log \left (3+5 x+4 x^2\right )}{4608}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 78, normalized size = 0.80 \begin {gather*} \frac {19 \left (-\frac {25392}{(-1+x)^2}+\frac {59248}{-1+x}+\frac {184 (975+2204 x)}{3+5 x+4 x^2}+36138 \sqrt {23} \tan ^{-1}\left (\frac {5+8 x}{\sqrt {23}}\right )+34914 \log (1-x)-17457 \log \left (3+5 x+4 x^2\right )\right )}{7312896} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 2.46, size = 90, normalized size = 0.93 \begin {gather*} \frac {19 \left (24840+66240 x+224664 x^2-214176 x^3+\left (-3+x+3 x^2+3 x^3-4 x^4\right ) \left (-5819 \text {Log}\left [\frac {3}{4}+\frac {5 x}{4}+x^2\right ]+11638 \text {Log}\left [-1+x\right ]+12046 \sqrt {23} \text {ArcTan}\left [\frac {\sqrt {23} \left (5+8 x\right )}{23}\right ]\right )\right )}{-7312896+2437632 x+7312896 x^2+7312896 x^3-9750528 x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.19, size = 68, normalized size = 0.70
method | result | size |
default | \(-\frac {19 \left (-\frac {2204 x}{23}-\frac {975}{23}\right )}{6912 \left (x^{2}+\frac {5}{4} x +\frac {3}{4}\right )}-\frac {209 \ln \left (4 x^{2}+5 x +3\right )}{4608}+\frac {114437 \arctan \left (\frac {\left (5+8 x \right ) \sqrt {23}}{23}\right ) \sqrt {23}}{1218816}-\frac {19}{288 \left (-1+x \right )^{2}}+\frac {133}{864 \left (-1+x \right )}+\frac {209 \ln \left (-1+x \right )}{2304}\) | \(68\) |
risch | \(\frac {\frac {1843}{1104} x^{3}-\frac {7733}{4416} x^{2}-\frac {95}{184} x -\frac {285}{1472}}{\left (-1+x \right )^{2} \left (4 x^{2}+5 x +3\right )}-\frac {209 \ln \left (64 x^{2}+80 x +48\right )}{4608}+\frac {114437 \arctan \left (\frac {\left (5+8 x \right ) \sqrt {23}}{23}\right ) \sqrt {23}}{1218816}+\frac {209 \ln \left (-1+x \right )}{2304}\) | \(71\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.34, size = 75, normalized size = 0.77 \begin {gather*} \frac {114437}{1218816} \, \sqrt {23} \arctan \left (\frac {1}{23} \, \sqrt {23} {\left (8 \, x + 5\right )}\right ) + \frac {19 \, {\left (388 \, x^{3} - 407 \, x^{2} - 120 \, x - 45\right )}}{4416 \, {\left (4 \, x^{4} - 3 \, x^{3} - 3 \, x^{2} - x + 3\right )}} - \frac {209}{4608} \, \log \left (4 \, x^{2} + 5 \, x + 3\right ) + \frac {209}{2304} \, \log \left (x - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 134, normalized size = 1.38 \begin {gather*} \frac {19 \, {\left (214176 \, x^{3} + 12046 \, \sqrt {23} {\left (4 \, x^{4} - 3 \, x^{3} - 3 \, x^{2} - x + 3\right )} \arctan \left (\frac {1}{23} \, \sqrt {23} {\left (8 \, x + 5\right )}\right ) - 224664 \, x^{2} - 5819 \, {\left (4 \, x^{4} - 3 \, x^{3} - 3 \, x^{2} - x + 3\right )} \log \left (4 \, x^{2} + 5 \, x + 3\right ) + 11638 \, {\left (4 \, x^{4} - 3 \, x^{3} - 3 \, x^{2} - x + 3\right )} \log \left (x - 1\right ) - 66240 \, x - 24840\right )}}{2437632 \, {\left (4 \, x^{4} - 3 \, x^{3} - 3 \, x^{2} - x + 3\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.12, size = 88, normalized size = 0.91 \begin {gather*} \frac {19 \cdot \left (388 x^{3} - 407 x^{2} - 120 x - 45\right )}{17664 x^{4} - 13248 x^{3} - 13248 x^{2} - 4416 x + 13248} + \frac {209 \log {\left (x - 1 \right )}}{2304} - \frac {209 \log {\left (x^{2} + \frac {5 x}{4} + \frac {3}{4} \right )}}{4608} + \frac {114437 \sqrt {23} \operatorname {atan}{\left (\frac {8 \sqrt {23} x}{23} + \frac {5 \sqrt {23}}{23} \right )}}{1218816} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 88, normalized size = 0.91 \begin {gather*} 19 \left (-\frac {11}{4608} \ln \left (4 x^{2}+5 x+3\right )+\frac {6023 \arctan \left (\frac {8 x+5}{\sqrt {23}}\right )}{52992 \sqrt {23}}+\frac {11}{2304} \ln \left |x-1\right |+\frac {\frac {1}{52992} \left (4656 x^{3}-4884 x^{2}-1440 x-540\right )}{\left (x-1\right )^{2} \left (4 x^{2}+5 x+3\right )}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.24, size = 84, normalized size = 0.87 \begin {gather*} \frac {209\,\ln \left (x-1\right )}{2304}+\frac {-\frac {1843\,x^3}{4416}+\frac {7733\,x^2}{17664}+\frac {95\,x}{736}+\frac {285}{5888}}{-x^4+\frac {3\,x^3}{4}+\frac {3\,x^2}{4}+\frac {x}{4}-\frac {3}{4}}-\ln \left (x+\frac {5}{8}-\frac {\sqrt {23}\,1{}\mathrm {i}}{8}\right )\,\left (\frac {209}{4608}+\frac {\sqrt {23}\,114437{}\mathrm {i}}{2437632}\right )+\ln \left (x+\frac {5}{8}+\frac {\sqrt {23}\,1{}\mathrm {i}}{8}\right )\,\left (-\frac {209}{4608}+\frac {\sqrt {23}\,114437{}\mathrm {i}}{2437632}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________