Optimal. Leaf size=13 \[ \frac {e^{(m-1) x}}{m-1} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 19, normalized size of antiderivative = 1.46, number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {5648, 2227, 2194} \[ -\frac {e^{-(1-m) x}}{1-m} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2194
Rule 2227
Rule 5648
Rubi steps
\begin {align*} \int \frac {e^{m x}}{\cosh (x)+\sinh (x)} \, dx &=\int e^{-x+m x} \, dx\\ &=\int e^{-(1-m) x} \, dx\\ &=-\frac {e^{-(1-m) x}}{1-m}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 18, normalized size = 1.38 \[ \frac {e^{m x} (\cosh (x)-\sinh (x))}{m-1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {e^{m x}}{\cosh (x)+\sinh (x)} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.97, size = 25, normalized size = 1.92 \[ \frac {\cosh \left (m x\right ) + \sinh \left (m x\right )}{{\left (m - 1\right )} \cosh \relax (x) + {\left (m - 1\right )} \sinh \relax (x)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.58, size = 16, normalized size = 1.23 \[ \frac {e^{\left (m x\right )}}{m e^{x} - e^{x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.14, size = 13, normalized size = 1.00
method | result | size |
risch | \(\frac {{\mathrm e}^{\left (-1+m \right ) x}}{-1+m}\) | \(13\) |
gosper | \(\frac {{\mathrm e}^{m x}}{\left (-1+m \right ) \left (\cosh \relax (x )+\sinh \relax (x )\right )}\) | \(18\) |
default | \(\frac {\sinh \left (\left (-1+m \right ) x \right )}{-1+m}+\frac {\cosh \left (\left (-1+m \right ) x \right )}{-1+m}\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.11, size = 14, normalized size = 1.08 \[ \frac {{\mathrm {e}}^{m\,x-x}}{m-1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.56, size = 32, normalized size = 2.46 \[ \begin {cases} \frac {e^{m x}}{m \sinh {\relax (x )} + m \cosh {\relax (x )} - \sinh {\relax (x )} - \cosh {\relax (x )}} & \text {for}\: m \neq 1 \\\frac {x e^{x}}{\sinh {\relax (x )} + \cosh {\relax (x )}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________