Optimal. Leaf size=54 \[ 4 \sqrt [4]{x}-2 \sqrt [4]{6} \tan ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{6}}\right )-2 \sqrt [4]{6} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{6}}\right )+5 \log (6-x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 6, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.462, Rules used = {1845, 266, 327,
218, 212, 209} \begin {gather*} -2 \sqrt [4]{6} \text {ArcTan}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{6}}\right )+4 \sqrt [4]{x}+5 \log (6-x)-2 \sqrt [4]{6} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{6}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 218
Rule 266
Rule 327
Rule 1845
Rubi steps
\begin {align*} \int \frac {5+\sqrt [4]{x}}{-6+x} \, dx &=4 \text {Subst}\left (\int \frac {x^3 (5+x)}{-6+x^4} \, dx,x,\sqrt [4]{x}\right )\\ &=4 \text {Subst}\left (\int \left (\frac {5 x^3}{-6+x^4}+\frac {x^4}{-6+x^4}\right ) \, dx,x,\sqrt [4]{x}\right )\\ &=4 \text {Subst}\left (\int \frac {x^4}{-6+x^4} \, dx,x,\sqrt [4]{x}\right )+20 \text {Subst}\left (\int \frac {x^3}{-6+x^4} \, dx,x,\sqrt [4]{x}\right )\\ &=4 \sqrt [4]{x}+5 \log (6-x)+24 \text {Subst}\left (\int \frac {1}{-6+x^4} \, dx,x,\sqrt [4]{x}\right )\\ &=4 \sqrt [4]{x}+5 \log (6-x)-\left (2 \sqrt {6}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {6}-x^2} \, dx,x,\sqrt [4]{x}\right )-\left (2 \sqrt {6}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {6}+x^2} \, dx,x,\sqrt [4]{x}\right )\\ &=4 \sqrt [4]{x}-2 \sqrt [4]{6} \tan ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{6}}\right )-2 \sqrt [4]{6} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{6}}\right )+5 \log (6-x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 52, normalized size = 0.96 \begin {gather*} 4 \sqrt [4]{x}-2 \sqrt [4]{6} \tan ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{6}}\right )-2 \sqrt [4]{6} \tanh ^{-1}\left (\frac {\sqrt [4]{x}}{\sqrt [4]{6}}\right )+5 \log (-6+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 5.08, size = 50, normalized size = 0.93
method | result | size |
derivativedivides | \(4 x^{\frac {1}{4}}-6^{\frac {1}{4}} \left (\ln \left (\frac {x^{\frac {1}{4}}+6^{\frac {1}{4}}}{x^{\frac {1}{4}}-6^{\frac {1}{4}}}\right )+2 \arctan \left (\frac {x^{\frac {1}{4}} 6^{\frac {3}{4}}}{6}\right )\right )+5 \ln \left (-6+x \right )\) | \(50\) |
default | \(4 x^{\frac {1}{4}}-6^{\frac {1}{4}} \left (\ln \left (\frac {x^{\frac {1}{4}}+6^{\frac {1}{4}}}{x^{\frac {1}{4}}-6^{\frac {1}{4}}}\right )+2 \arctan \left (\frac {x^{\frac {1}{4}} 6^{\frac {3}{4}}}{6}\right )\right )+5 \ln \left (-6+x \right )\) | \(50\) |
meijerg | \(5 \ln \left (1-\frac {x}{6}\right )-6^{\frac {1}{4}} \left (-1\right )^{\frac {3}{4}} \left (\frac {2 \,8^{\frac {1}{4}} 3^{\frac {3}{4}} x^{\frac {1}{4}} \left (-1\right )^{\frac {1}{4}}}{3}+\left (-1\right )^{\frac {1}{4}} \left (\ln \left (1-\frac {x^{\frac {1}{4}} 6^{\frac {3}{4}}}{6}\right )-\ln \left (1+\frac {x^{\frac {1}{4}} 6^{\frac {3}{4}}}{6}\right )-2 \arctan \left (\frac {x^{\frac {1}{4}} 6^{\frac {3}{4}}}{6}\right )\right )\right )\) | \(73\) |
trager | \(\text {Expression too large to display}\) | \(3981\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 67, normalized size = 1.24 \begin {gather*} -2 \cdot 6^{\frac {1}{4}} \arctan \left (\frac {1}{6} \cdot 6^{\frac {3}{4}} x^{\frac {1}{4}}\right ) + 6^{\frac {1}{4}} \log \left (-\frac {6^{\frac {1}{4}} - x^{\frac {1}{4}}}{6^{\frac {1}{4}} + x^{\frac {1}{4}}}\right ) + 4 \, x^{\frac {1}{4}} + 5 \, \log \left (\sqrt {6} + \sqrt {x}\right ) + 5 \, \log \left (-\sqrt {6} + \sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 86 vs.
\(2 (42) = 84\).
time = 0.40, size = 86, normalized size = 1.59 \begin {gather*} -{\left (6^{\frac {1}{4}} - 5\right )} \log \left (2 \cdot 6^{\frac {1}{4}} + 2 \, x^{\frac {1}{4}}\right ) + {\left (6^{\frac {1}{4}} + 5\right )} \log \left (-2 \cdot 6^{\frac {1}{4}} + 2 \, x^{\frac {1}{4}}\right ) + 4 \cdot 6^{\frac {1}{4}} \arctan \left (\frac {1}{6} \cdot 6^{\frac {3}{4}} \sqrt {\sqrt {6} + \sqrt {x}} - \frac {1}{6} \cdot 6^{\frac {3}{4}} x^{\frac {1}{4}}\right ) + 4 \, x^{\frac {1}{4}} + 5 \, \log \left (4 \, \sqrt {6} + 4 \, \sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.64, size = 100, normalized size = 1.85 \begin {gather*} 4 \sqrt [4]{x} + \sqrt [4]{6} \log {\left (\sqrt [4]{x} - \sqrt [4]{6} \right )} + 5 \log {\left (\sqrt [4]{x} - \sqrt [4]{6} \right )} - \sqrt [4]{6} \log {\left (\sqrt [4]{x} + \sqrt [4]{6} \right )} + 5 \log {\left (\sqrt [4]{x} + \sqrt [4]{6} \right )} + 5 \log {\left (\sqrt {x} + \sqrt {6} \right )} - 2 \cdot \sqrt [4]{6} \operatorname {atan}{\left (\frac {6^{\frac {3}{4}} \sqrt [4]{x}}{6} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.32, size = 55, normalized size = 1.02 \begin {gather*} -2 \cdot 6^{\frac {1}{4}} \arctan \left (\frac {1}{6} \cdot 6^{\frac {3}{4}} x^{\frac {1}{4}}\right ) - 6^{\frac {1}{4}} \log \left (6^{\frac {1}{4}} + x^{\frac {1}{4}}\right ) + 6^{\frac {1}{4}} \log \left ({\left | -6^{\frac {1}{4}} + x^{\frac {1}{4}} \right |}\right ) + 4 \, x^{\frac {1}{4}} + 5 \, \log \left ({\left | x - 6 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 162, normalized size = 3.00 \begin {gather*} \ln \left (11520\,x^{1/4}-\left (6^{1/4}+5\right )\,\left (2304\,x^{1/4}-2304\,6^{1/4}+11520\right )+57600\right )\,\left (6^{1/4}+5\right )-\ln \left (\left (6^{1/4}-5\right )\,\left (2304\,6^{1/4}+2304\,x^{1/4}+11520\right )+11520\,x^{1/4}+57600\right )\,\left (6^{1/4}-5\right )-\ln \left (11520\,x^{1/4}+\left (\sqrt {-\sqrt {6}}-5\right )\,\left (2304\,\sqrt {-\sqrt {6}}+2304\,x^{1/4}+11520\right )+57600\right )\,\left (\sqrt {-\sqrt {6}}-5\right )+\ln \left (11520\,x^{1/4}-\left (\sqrt {-\sqrt {6}}+5\right )\,\left (2304\,x^{1/4}-2304\,\sqrt {-\sqrt {6}}+11520\right )+57600\right )\,\left (\sqrt {-\sqrt {6}}+5\right )+4\,x^{1/4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________