Optimal. Leaf size=20 \[ \sqrt {x}+\sqrt {1+x}+\sqrt {2+x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.60, antiderivative size = 20, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 65, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.031, Rules used = {12, 6820}
\begin {gather*} \sqrt {x}+\sqrt {x+1}+\sqrt {x+2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 6820
Rubi steps
\begin {align*} \int \frac {\sqrt {x} \sqrt {1+x}+\sqrt {x} \sqrt {2+x}+\sqrt {1+x} \sqrt {2+x}}{2 \sqrt {x} \sqrt {1+x} \sqrt {2+x}} \, dx &=\frac {1}{2} \int \frac {\sqrt {x} \sqrt {1+x}+\sqrt {x} \sqrt {2+x}+\sqrt {1+x} \sqrt {2+x}}{\sqrt {x} \sqrt {1+x} \sqrt {2+x}} \, dx\\ &=\frac {1}{2} \int \left (\frac {1}{\sqrt {x}}+\frac {1}{\sqrt {1+x}}+\frac {1}{\sqrt {2+x}}\right ) \, dx\\ &=\sqrt {x}+\sqrt {1+x}+\sqrt {2+x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 30, normalized size = 1.50 \begin {gather*} \frac {1}{2} \left (2 \sqrt {x}+2 \sqrt {1+x}+2 \sqrt {2+x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.82, size = 14, normalized size = 0.70 \begin {gather*} \sqrt {x}+\sqrt {1+x}+\sqrt {2+x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 15, normalized size = 0.75
method | result | size |
default | \(\sqrt {x}+\sqrt {1+x}+\sqrt {2+x}\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 14, normalized size = 0.70 \begin {gather*} \sqrt {x + 2} + \sqrt {x + 1} + \sqrt {x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 14, normalized size = 0.70 \begin {gather*} \sqrt {x + 2} + \sqrt {x + 1} + \sqrt {x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.26, size = 17, normalized size = 0.85 \begin {gather*} \sqrt {x} + \sqrt {x + 1} + \sqrt {x + 2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] N/A
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.34, size = 14, normalized size = 0.70 \begin {gather*} \sqrt {x+1}+\sqrt {x+2}+\sqrt {x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________