Optimal. Leaf size=30 \[ -\frac {x}{4}+\frac {1}{8} \sinh (2 x)-\frac {1}{12} \sinh (3 x)+\frac {1}{20} \sinh (5 x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {4440, 2717}
\begin {gather*} -\frac {x}{4}+\frac {1}{8} \sinh (2 x)-\frac {1}{12} \sinh (3 x)+\frac {1}{20} \sinh (5 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2717
Rule 4440
Rubi steps
\begin {align*} \int \cosh \left (\frac {3 x}{2}\right ) \sinh (x) \sinh \left (\frac {5 x}{2}\right ) \, dx &=-\int \left (\frac {1}{4}-\frac {1}{4} \cosh (2 x)+\frac {1}{4} \cosh (3 x)-\frac {1}{4} \cosh (5 x)\right ) \, dx\\ &=-\frac {x}{4}+\frac {1}{4} \int \cosh (2 x) \, dx-\frac {1}{4} \int \cosh (3 x) \, dx+\frac {1}{4} \int \cosh (5 x) \, dx\\ &=-\frac {x}{4}+\frac {1}{8} \sinh (2 x)-\frac {1}{12} \sinh (3 x)+\frac {1}{20} \sinh (5 x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 30, normalized size = 1.00 \begin {gather*} -\frac {x}{4}+\frac {1}{8} \sinh (2 x)-\frac {1}{12} \sinh (3 x)+\frac {1}{20} \sinh (5 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 23, normalized size = 0.77
method | result | size |
default | \(-\frac {x}{4}+\frac {\sinh \left (2 x \right )}{8}-\frac {\sinh \left (3 x \right )}{12}+\frac {\sinh \left (5 x \right )}{20}\) | \(23\) |
risch | \(-\frac {x}{4}+\frac {{\mathrm e}^{5 x}}{40}-\frac {{\mathrm e}^{3 x}}{24}+\frac {{\mathrm e}^{2 x}}{16}-\frac {{\mathrm e}^{-2 x}}{16}+\frac {{\mathrm e}^{-3 x}}{24}-\frac {{\mathrm e}^{-5 x}}{40}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.08, size = 42, normalized size = 1.40 \begin {gather*} -\frac {1}{240} \, {\left (10 \, e^{\left (-2 \, x\right )} - 15 \, e^{\left (-3 \, x\right )} - 6\right )} e^{\left (5 \, x\right )} - \frac {1}{4} \, x - \frac {1}{16} \, e^{\left (-2 \, x\right )} + \frac {1}{24} \, e^{\left (-3 \, x\right )} - \frac {1}{40} \, e^{\left (-5 \, 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. 111 vs.
\(2 (22) = 44\).
time = 0.68, size = 111, normalized size = 3.70 \begin {gather*} 6 \, \cosh \left (\frac {1}{2} \, x\right )^{3} \sinh \left (\frac {1}{2} \, x\right )^{7} + \frac {1}{2} \, \cosh \left (\frac {1}{2} \, x\right ) \sinh \left (\frac {1}{2} \, x\right )^{9} + \frac {1}{10} \, {\left (126 \, \cosh \left (\frac {1}{2} \, x\right )^{5} - 5 \, \cosh \left (\frac {1}{2} \, x\right )\right )} \sinh \left (\frac {1}{2} \, x\right )^{5} + \frac {1}{6} \, {\left (36 \, \cosh \left (\frac {1}{2} \, x\right )^{7} - 10 \, \cosh \left (\frac {1}{2} \, x\right )^{3} + 3 \, \cosh \left (\frac {1}{2} \, x\right )\right )} \sinh \left (\frac {1}{2} \, x\right )^{3} + \frac {1}{2} \, {\left (\cosh \left (\frac {1}{2} \, x\right )^{9} - \cosh \left (\frac {1}{2} \, x\right )^{5} + \cosh \left (\frac {1}{2} \, x\right )^{3}\right )} \sinh \left (\frac {1}{2} \, x\right ) - \frac {1}{4} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 139 vs.
\(2 (22) = 44\).
time = 1.20, size = 139, normalized size = 4.63 \begin {gather*} - \frac {x \sinh {\left (x \right )} \sinh {\left (\frac {3 x}{2} \right )} \cosh {\left (\frac {5 x}{2} \right )}}{4} + \frac {x \sinh {\left (x \right )} \sinh {\left (\frac {5 x}{2} \right )} \cosh {\left (\frac {3 x}{2} \right )}}{4} + \frac {x \sinh {\left (\frac {3 x}{2} \right )} \sinh {\left (\frac {5 x}{2} \right )} \cosh {\left (x \right )}}{4} - \frac {x \cosh {\left (x \right )} \cosh {\left (\frac {3 x}{2} \right )} \cosh {\left (\frac {5 x}{2} \right )}}{4} + \frac {4 \sinh {\left (x \right )} \cosh {\left (\frac {3 x}{2} \right )} \cosh {\left (\frac {5 x}{2} \right )}}{15} - \frac {3 \sinh {\left (\frac {3 x}{2} \right )} \cosh {\left (x \right )} \cosh {\left (\frac {5 x}{2} \right )}}{20} + \frac {\sinh {\left (\frac {5 x}{2} \right )} \cosh {\left (x \right )} \cosh {\left (\frac {3 x}{2} \right )}}{12} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 48 vs.
\(2 (22) = 44\).
time = 1.50, size = 48, normalized size = 1.60 \begin {gather*} \frac {1}{240} \, {\left (137 \, e^{\left (5 \, x\right )} - 15 \, e^{\left (3 \, x\right )} + 10 \, e^{\left (2 \, x\right )} - 6\right )} e^{\left (-5 \, x\right )} - \frac {1}{4} \, x + \frac {1}{40} \, e^{\left (5 \, x\right )} - \frac {1}{24} \, e^{\left (3 \, x\right )} + \frac {1}{16} \, e^{\left (2 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.42, size = 40, normalized size = 1.33 \begin {gather*} \frac {{\mathrm {e}}^{2\,x}}{16}-\frac {{\mathrm {e}}^{-2\,x}}{16}-\frac {x}{4}+\frac {{\mathrm {e}}^{-3\,x}}{24}-\frac {{\mathrm {e}}^{3\,x}}{24}-\frac {{\mathrm {e}}^{-5\,x}}{40}+\frac {{\mathrm {e}}^{5\,x}}{40} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________