Optimal. Leaf size=24 \[ \sqrt {b^2-c^2} x+c \cosh (x)+b \sinh (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2717, 2718}
\begin {gather*} x \sqrt {b^2-c^2}+b \sinh (x)+c \cosh (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2717
Rule 2718
Rubi steps
\begin {align*} \int \left (\sqrt {b^2-c^2}+b \cosh (x)+c \sinh (x)\right ) \, dx &=\sqrt {b^2-c^2} x+b \int \cosh (x) \, dx+c \int \sinh (x) \, dx\\ &=\sqrt {b^2-c^2} x+c \cosh (x)+b \sinh (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 24, normalized size = 1.00 \begin {gather*} \sqrt {b^2-c^2} x+c \cosh (x)+b \sinh (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.46, size = 23, normalized size = 0.96
method | result | size |
default | \(c \cosh \left (x \right )+b \sinh \left (x \right )+x \sqrt {b^{2}-c^{2}}\) | \(23\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 22, normalized size = 0.92 \begin {gather*} c \cosh \left (x\right ) + b \sinh \left (x\right ) + \sqrt {b^{2} - c^{2}} x \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. 61 vs.
\(2 (22) = 44\).
time = 0.36, size = 61, normalized size = 2.54 \begin {gather*} \frac {{\left (b + c\right )} \cosh \left (x\right )^{2} + 2 \, {\left (b + c\right )} \cosh \left (x\right ) \sinh \left (x\right ) + {\left (b + c\right )} \sinh \left (x\right )^{2} + 2 \, \sqrt {b^{2} - c^{2}} {\left (x \cosh \left (x\right ) + x \sinh \left (x\right )\right )} - b + c}{2 \, {\left (\cosh \left (x\right ) + \sinh \left (x\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 20, normalized size = 0.83 \begin {gather*} b \sinh {\left (x \right )} + c \cosh {\left (x \right )} + x \sqrt {b^{2} - c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 36, normalized size = 1.50 \begin {gather*} \frac {1}{2} \, c {\left (e^{\left (-x\right )} + e^{x}\right )} - \frac {1}{2} \, b {\left (e^{\left (-x\right )} - e^{x}\right )} + \sqrt {b^{2} - c^{2}} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 22, normalized size = 0.92 \begin {gather*} x\,\sqrt {b^2-c^2}+c\,\mathrm {cosh}\left (x\right )+b\,\mathrm {sinh}\left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________