Optimal. Leaf size=270 \[ 2 \text {RootSum}\left [\text {$\#$1}^4 \left (-\sqrt {a}\right )+2 \text {$\#$1}^3 a+\text {$\#$1}^3 b-3 \text {$\#$1}^2 \sqrt {a} b-4 \text {$\#$1}^2 a+4 \text {$\#$1} \sqrt {a} b+2 \text {$\#$1} a c+\text {$\#$1} b^2-\text {$\#$1} b c-\sqrt {a} b c+\sqrt {a} c^2-b^2\& ,\frac {\text {$\#$1}^2 \sqrt {a} \log \left (-\text {$\#$1}+\sqrt {a x^2+b x+c}-\sqrt {a} x\right )-\text {$\#$1} b \log \left (-\text {$\#$1}+\sqrt {a x^2+b x+c}-\sqrt {a} x\right )+\sqrt {a} c \log \left (-\text {$\#$1}+\sqrt {a x^2+b x+c}-\sqrt {a} x\right )}{-4 \text {$\#$1}^3 \sqrt {a}+6 \text {$\#$1}^2 a+3 \text {$\#$1}^2 b-6 \text {$\#$1} \sqrt {a} b-8 \text {$\#$1} a+4 \sqrt {a} b+2 a c+b^2-b c}\& \right ] \]
________________________________________________________________________________________
Rubi [F] time = 0.95, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {1}{1-(1+x) \sqrt {c+b x+a x^2}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {1}{1-(1+x) \sqrt {c+b x+a x^2}} \, dx &=\int \left (\frac {1}{1-c-(b+2 c) x-(a+2 b+c) x^2-(2 a+b) x^3-a x^4}+\frac {\sqrt {c+b x+a x^2}}{1-c-(b+2 c) x-(a+2 b+c) x^2-(2 a+b) x^3-a x^4}+\frac {x \sqrt {c+b x+a x^2}}{1-c-(b+2 c) x-(a+2 b+c) x^2-(2 a+b) x^3-a x^4}\right ) \, dx\\ &=\int \frac {1}{1-c-(b+2 c) x-(a+2 b+c) x^2-(2 a+b) x^3-a x^4} \, dx+\int \frac {\sqrt {c+b x+a x^2}}{1-c-(b+2 c) x-(a+2 b+c) x^2-(2 a+b) x^3-a x^4} \, dx+\int \frac {x \sqrt {c+b x+a x^2}}{1-c-(b+2 c) x-(a+2 b+c) x^2-(2 a+b) x^3-a x^4} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.41, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{1-(1+x) \sqrt {c+b x+a x^2}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 1.10, size = 270, normalized size = 1.00 \begin {gather*} 2 \text {RootSum}\left [-b^2-\sqrt {a} b c+\sqrt {a} c^2+4 \sqrt {a} b \text {$\#$1}+b^2 \text {$\#$1}+2 a c \text {$\#$1}-b c \text {$\#$1}-4 a \text {$\#$1}^2-3 \sqrt {a} b \text {$\#$1}^2+2 a \text {$\#$1}^3+b \text {$\#$1}^3-\sqrt {a} \text {$\#$1}^4\&,\frac {\sqrt {a} c \log \left (-\sqrt {a} x+\sqrt {c+b x+a x^2}-\text {$\#$1}\right )-b \log \left (-\sqrt {a} x+\sqrt {c+b x+a x^2}-\text {$\#$1}\right ) \text {$\#$1}+\sqrt {a} \log \left (-\sqrt {a} x+\sqrt {c+b x+a x^2}-\text {$\#$1}\right ) \text {$\#$1}^2}{4 \sqrt {a} b+b^2+2 a c-b c-8 a \text {$\#$1}-6 \sqrt {a} b \text {$\#$1}+6 a \text {$\#$1}^2+3 b \text {$\#$1}^2-4 \sqrt {a} \text {$\#$1}^3}\&\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.27, size = 1540, normalized size = 5.70
method | result | size |
default | \(-\left (\munderset {\textit {\_R} =\RootOf \left (a \,\textit {\_Z}^{4}+\left (2 a +b \right ) \textit {\_Z}^{3}+\left (a +2 b +c \right ) \textit {\_Z}^{2}+\left (b +2 c \right ) \textit {\_Z} +c -1\right )}{\sum }\frac {\ln \left (x -\textit {\_R} \right )}{4 \textit {\_R}^{3} a +6 \textit {\_R}^{2} a +3 \textit {\_R}^{2} b +2 \textit {\_R} a +4 \textit {\_R} b +2 \textit {\_R} c +b +2 c}\right )+\left (\munderset {\textit {\_R} =\RootOf \left (\textit {\_Z}^{8} a -\left (4 a^{\frac {3}{2}}+2 \sqrt {a}\, b \right ) \textit {\_Z}^{7}-\left (-4 a^{2}-10 a b -b^{2}\right ) \textit {\_Z}^{6}-\left (12 a^{\frac {3}{2}} b +4 a^{\frac {3}{2}} c +8 b^{2} \sqrt {a}-2 \sqrt {a}\, b c \right ) \textit {\_Z}^{5}-\left (-8 a^{2} c -13 a \,b^{2}-2 a b c +2 a \,c^{2}-2 b^{3}+2 b^{2} c +16 a^{2}\right ) \textit {\_Z}^{4}-\left (16 a^{\frac {3}{2}} c b -4 a^{\frac {3}{2}} c^{2}-32 a^{\frac {3}{2}} b +6 \sqrt {a}\, b^{3}-4 \sqrt {a}\, c \,b^{2}-2 \sqrt {a}\, c^{2} b \right ) \textit {\_Z}^{3}-\left (-4 a^{2} c^{2}-10 a \,b^{2} c +10 a b \,c^{2}-b^{4}+2 b^{3} c -b^{2} c^{2}+24 a \,b^{2}\right ) \textit {\_Z}^{2}-\left (4 a^{\frac {3}{2}} c^{2} b -4 a^{\frac {3}{2}} c^{3}+2 \sqrt {a}\, c \,b^{3}-4 \sqrt {a}\, c^{2} b^{2}+2 \sqrt {a}\, c^{3} b -8 \sqrt {a}\, b^{3}\right ) \textit {\_Z} +a \,b^{2} c^{2}-2 a b \,c^{3}+a \,c^{4}-b^{4}\right )}{\sum }\frac {\left (b \left (5 a \,\textit {\_R}^{4}+\left (6 a c +b^{2}\right ) \textit {\_R}^{2}+a \,c^{2}\right )-2 \textit {\_R}^{5} a^{\frac {3}{2}}+4 \textit {\_R}^{3} \left (-a^{\frac {3}{2}} c -b^{2} \sqrt {a}\right )+2 c \textit {\_R} \left (-a^{\frac {3}{2}} c -b^{2} \sqrt {a}\right )\right ) \ln \left (\sqrt {a \,x^{2}+b x +c}-\sqrt {a}\, x -\textit {\_R} \right )}{-3 \textit {\_R}^{5} b^{2}-4 \sqrt {a}\, b^{3}-12 a^{2} \textit {\_R}^{5}-2 a^{\frac {3}{2}} c^{3}+2 a^{\frac {3}{2}} c^{2} b +\sqrt {a}\, c \,b^{3}-4 \textit {\_R}^{7} a +32 \textit {\_R}^{3} a^{2}+\sqrt {a}\, c^{3} b +4 \textit {\_R}^{3} a \,c^{2}-4 \textit {\_R}^{3} b^{3}-\textit {\_R} \,b^{4}+14 a^{\frac {3}{2}} \textit {\_R}^{6}-\textit {\_R} \,b^{2} c^{2}+24 a \,b^{2} \textit {\_R} -2 \sqrt {a}\, c^{2} b^{2}-6 a^{\frac {3}{2}} \textit {\_R}^{2} c^{2}+20 \sqrt {a}\, \textit {\_R}^{4} b^{2}+9 \sqrt {a}\, \textit {\_R}^{2} b^{3}-16 a^{2} \textit {\_R}^{3} c +30 a^{\frac {3}{2}} \textit {\_R}^{4} b +10 a^{\frac {3}{2}} \textit {\_R}^{4} c +2 \textit {\_R} \,b^{3} c -30 \textit {\_R}^{5} a b -26 \textit {\_R}^{3} a \,b^{2}-4 a^{2} \textit {\_R} \,c^{2}-48 a^{\frac {3}{2}} \textit {\_R}^{2} b +7 \sqrt {a}\, \textit {\_R}^{6} b -10 \textit {\_R} a \,b^{2} c +10 \textit {\_R} a b \,c^{2}+24 a^{\frac {3}{2}} \textit {\_R}^{2} b c -5 \sqrt {a}\, \textit {\_R}^{4} b c -3 \sqrt {a}\, \textit {\_R}^{2} b \,c^{2}-6 \sqrt {a}\, \textit {\_R}^{2} b^{2} c -4 \textit {\_R}^{3} a b c +4 \textit {\_R}^{3} b^{2} c}\right )-\frac {\munderset {\textit {\_R} =\RootOf \left (\textit {\_Z}^{8} a -\left (4 a^{\frac {3}{2}}+2 \sqrt {a}\, b \right ) \textit {\_Z}^{7}-\left (-4 a^{2}-10 a b -b^{2}\right ) \textit {\_Z}^{6}-\left (12 a^{\frac {3}{2}} b +4 a^{\frac {3}{2}} c +8 b^{2} \sqrt {a}-2 \sqrt {a}\, b c \right ) \textit {\_Z}^{5}-\left (-8 a^{2} c -13 a \,b^{2}-2 a b c +2 a \,c^{2}-2 b^{3}+2 b^{2} c +16 a^{2}\right ) \textit {\_Z}^{4}-\left (16 a^{\frac {3}{2}} c b -4 a^{\frac {3}{2}} c^{2}-32 a^{\frac {3}{2}} b +6 \sqrt {a}\, b^{3}-4 \sqrt {a}\, c \,b^{2}-2 \sqrt {a}\, c^{2} b \right ) \textit {\_Z}^{3}-\left (-4 a^{2} c^{2}-10 a \,b^{2} c +10 a b \,c^{2}-b^{4}+2 b^{3} c -b^{2} c^{2}+24 a \,b^{2}\right ) \textit {\_Z}^{2}-\left (4 a^{\frac {3}{2}} c^{2} b -4 a^{\frac {3}{2}} c^{3}+2 \sqrt {a}\, c \,b^{3}-4 \sqrt {a}\, c^{2} b^{2}+2 \sqrt {a}\, c^{3} b -8 \sqrt {a}\, b^{3}\right ) \textit {\_Z} +a \,b^{2} c^{2}-2 a b \,c^{3}+a \,c^{4}-b^{4}\right )}{\sum }\frac {\left (a \left (-a \,\textit {\_R}^{6}+\left (-a c -b^{2}\right ) \textit {\_R}^{4}+c \left (a c +b^{2}\right ) \textit {\_R}^{2}+a \,c^{3}\right )+2 b \left (\textit {\_R}^{5} a^{\frac {3}{2}}-c^{2} \textit {\_R} \,a^{\frac {3}{2}}\right )\right ) \ln \left (\sqrt {a \,x^{2}+b x +c}-\sqrt {a}\, x -\textit {\_R} \right )}{-3 \textit {\_R}^{5} b^{2}-4 \sqrt {a}\, b^{3}-12 a^{2} \textit {\_R}^{5}-2 a^{\frac {3}{2}} c^{3}+2 a^{\frac {3}{2}} c^{2} b +\sqrt {a}\, c \,b^{3}-4 \textit {\_R}^{7} a +32 \textit {\_R}^{3} a^{2}+\sqrt {a}\, c^{3} b +4 \textit {\_R}^{3} a \,c^{2}-4 \textit {\_R}^{3} b^{3}-\textit {\_R} \,b^{4}+14 a^{\frac {3}{2}} \textit {\_R}^{6}-\textit {\_R} \,b^{2} c^{2}+24 a \,b^{2} \textit {\_R} -2 \sqrt {a}\, c^{2} b^{2}-6 a^{\frac {3}{2}} \textit {\_R}^{2} c^{2}+20 \sqrt {a}\, \textit {\_R}^{4} b^{2}+9 \sqrt {a}\, \textit {\_R}^{2} b^{3}-16 a^{2} \textit {\_R}^{3} c +30 a^{\frac {3}{2}} \textit {\_R}^{4} b +10 a^{\frac {3}{2}} \textit {\_R}^{4} c +2 \textit {\_R} \,b^{3} c -30 \textit {\_R}^{5} a b -26 \textit {\_R}^{3} a \,b^{2}-4 a^{2} \textit {\_R} \,c^{2}-48 a^{\frac {3}{2}} \textit {\_R}^{2} b +7 \sqrt {a}\, \textit {\_R}^{6} b -10 \textit {\_R} a \,b^{2} c +10 \textit {\_R} a b \,c^{2}+24 a^{\frac {3}{2}} \textit {\_R}^{2} b c -5 \sqrt {a}\, \textit {\_R}^{4} b c -3 \sqrt {a}\, \textit {\_R}^{2} b \,c^{2}-6 \sqrt {a}\, \textit {\_R}^{2} b^{2} c -4 \textit {\_R}^{3} a b c +4 \textit {\_R}^{3} b^{2} c}}{a}\) | \(1540\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} -\int \frac {1}{\sqrt {a x^{2} + b x + c} {\left (x + 1\right )} - 1}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int -\frac {1}{\left (x+1\right )\,\sqrt {a\,x^2+b\,x+c}-1} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \frac {1}{x \sqrt {a x^{2} + b x + c} + \sqrt {a x^{2} + b x + c} - 1}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________