Optimal. Leaf size=75 \[ \frac {e F^{c (a+b x)} \cosh (d+e x)}{e^2-b^2 c^2 \log ^2(F)}-\frac {b c F^{c (a+b x)} \log (F) \sinh (d+e x)}{e^2-b^2 c^2 \log ^2(F)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {5582}
\begin {gather*} \frac {e \cosh (d+e x) F^{c (a+b x)}}{e^2-b^2 c^2 \log ^2(F)}-\frac {b c \log (F) \sinh (d+e x) F^{c (a+b x)}}{e^2-b^2 c^2 \log ^2(F)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 5582
Rubi steps
\begin {align*} \int F^{c (a+b x)} \sinh (d+e x) \, dx &=\frac {e F^{c (a+b x)} \cosh (d+e x)}{e^2-b^2 c^2 \log ^2(F)}-\frac {b c F^{c (a+b x)} \log (F) \sinh (d+e x)}{e^2-b^2 c^2 \log ^2(F)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 50, normalized size = 0.67 \begin {gather*} \frac {F^{c (a+b x)} (e \cosh (d+e x)-b c \log (F) \sinh (d+e x))}{(e-b c \log (F)) (e+b c \log (F))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 77, normalized size = 1.03
method | result | size |
risch | \(\frac {\left (\ln \left (F \right ) b c \,{\mathrm e}^{2 e x +2 d}-b c \ln \left (F \right )-e \,{\mathrm e}^{2 e x +2 d}-e \right ) {\mathrm e}^{-e x -d} F^{c \left (b x +a \right )}}{2 \left (b c \ln \left (F \right )-e \right ) \left (e +b c \ln \left (F \right )\right )}\) | \(77\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 67, normalized size = 0.89 \begin {gather*} \frac {F^{a c} e^{\left (b c x \log \left (F\right ) + x e + d\right )}}{2 \, {\left (b c \log \left (F\right ) + e\right )}} - \frac {F^{a c} e^{\left (b c x \log \left (F\right ) - x e\right )}}{2 \, {\left (b c e^{d} \log \left (F\right ) - e^{\left (d + 1\right )}\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. 376 vs.
\(2 (78) = 156\).
time = 0.39, size = 376, normalized size = 5.01 \begin {gather*} -\frac {{\left ({\left (\cosh \left (1\right ) + \sinh \left (1\right )\right )} \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right )^{2} - {\left (b c \log \left (F\right ) - \cosh \left (1\right ) - \sinh \left (1\right )\right )} \sinh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right )^{2} - {\left (b c \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right )^{2} - b c\right )} \log \left (F\right ) - 2 \, {\left (b c \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right ) \log \left (F\right ) - {\left (\cosh \left (1\right ) + \sinh \left (1\right )\right )} \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right )\right )} \sinh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right ) + \cosh \left (1\right ) + \sinh \left (1\right )\right )} \cosh \left ({\left (b c x + a c\right )} \log \left (F\right )\right ) + {\left ({\left (\cosh \left (1\right ) + \sinh \left (1\right )\right )} \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right )^{2} - {\left (b c \log \left (F\right ) - \cosh \left (1\right ) - \sinh \left (1\right )\right )} \sinh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right )^{2} - {\left (b c \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right )^{2} - b c\right )} \log \left (F\right ) - 2 \, {\left (b c \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right ) \log \left (F\right ) - {\left (\cosh \left (1\right ) + \sinh \left (1\right )\right )} \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right )\right )} \sinh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right ) + \cosh \left (1\right ) + \sinh \left (1\right )\right )} \sinh \left ({\left (b c x + a c\right )} \log \left (F\right )\right )}{2 \, {\left (b^{2} c^{2} \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right ) \log \left (F\right )^{2} - {\left (\cosh \left (1\right )^{2} + 2 \, \cosh \left (1\right ) \sinh \left (1\right ) + \sinh \left (1\right )^{2}\right )} \cosh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right ) + {\left (b^{2} c^{2} \log \left (F\right )^{2} - \cosh \left (1\right )^{2} - 2 \, \cosh \left (1\right ) \sinh \left (1\right ) - \sinh \left (1\right )^{2}\right )} \sinh \left (x \cosh \left (1\right ) + x \sinh \left (1\right ) + d\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 2.47, size = 416, normalized size = 5.55 \begin {gather*} \begin {cases} \frac {\left (-1\right )^{a c} \left (-1\right )^{- \frac {i e x}{\pi }} x \sinh {\left (d + e x \right )}}{2} - \frac {\left (-1\right )^{a c} \left (-1\right )^{- \frac {i e x}{\pi }} x \cosh {\left (d + e x \right )}}{2} + \frac {\left (-1\right )^{a c} \left (-1\right )^{- \frac {i e x}{\pi }} \cosh {\left (d + e x \right )}}{2 e} & \text {for}\: F = -1 \wedge b = - \frac {i e}{\pi c} \\x \sinh {\left (d \right )} & \text {for}\: F = 1 \wedge e = 0 \\\frac {b c \left (e^{- \frac {e}{b c}}\right )^{a c} \left (e^{- \frac {e}{b c}}\right )^{b c x} \log {\left (e^{- \frac {e}{b c}} \right )} \sinh {\left (d + e x \right )}}{b^{2} c^{2} \log {\left (e^{- \frac {e}{b c}} \right )}^{2} - e^{2}} - \frac {e \left (e^{- \frac {e}{b c}}\right )^{a c} \left (e^{- \frac {e}{b c}}\right )^{b c x} \cosh {\left (d + e x \right )}}{b^{2} c^{2} \log {\left (e^{- \frac {e}{b c}} \right )}^{2} - e^{2}} & \text {for}\: F = e^{- \frac {e}{b c}} \\\frac {b c \left (e^{\frac {e}{b c}}\right )^{a c} \left (e^{\frac {e}{b c}}\right )^{b c x} \log {\left (e^{\frac {e}{b c}} \right )} \sinh {\left (d + e x \right )}}{b^{2} c^{2} \log {\left (e^{\frac {e}{b c}} \right )}^{2} - e^{2}} - \frac {e \left (e^{\frac {e}{b c}}\right )^{a c} \left (e^{\frac {e}{b c}}\right )^{b c x} \cosh {\left (d + e x \right )}}{b^{2} c^{2} \log {\left (e^{\frac {e}{b c}} \right )}^{2} - e^{2}} & \text {for}\: F = e^{\frac {e}{b c}} \\\frac {F^{a c} F^{b c x} b c \log {\left (F \right )} \sinh {\left (d + e x \right )}}{b^{2} c^{2} \log {\left (F \right )}^{2} - e^{2}} - \frac {F^{a c} F^{b c x} e \cosh {\left (d + e x \right )}}{b^{2} c^{2} \log {\left (F \right )}^{2} - e^{2}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] Result contains complex when optimal does not.
time = 0.43, size = 598, normalized size = 7.97 \begin {gather*} {\left (\frac {2 \, {\left (b c \log \left ({\left | F \right |}\right ) + e\right )} \cos \left (-\frac {1}{2} \, \pi b c x \mathrm {sgn}\left (F\right ) + \frac {1}{2} \, \pi b c x - \frac {1}{2} \, \pi a c \mathrm {sgn}\left (F\right ) + \frac {1}{2} \, \pi a c\right )}{{\left (\pi b c \mathrm {sgn}\left (F\right ) - \pi b c\right )}^{2} + 4 \, {\left (b c \log \left ({\left | F \right |}\right ) + e\right )}^{2}} - \frac {{\left (\pi b c \mathrm {sgn}\left (F\right ) - \pi b c\right )} \sin \left (-\frac {1}{2} \, \pi b c x \mathrm {sgn}\left (F\right ) + \frac {1}{2} \, \pi b c x - \frac {1}{2} \, \pi a c \mathrm {sgn}\left (F\right ) + \frac {1}{2} \, \pi a c\right )}{{\left (\pi b c \mathrm {sgn}\left (F\right ) - \pi b c\right )}^{2} + 4 \, {\left (b c \log \left ({\left | F \right |}\right ) + e\right )}^{2}}\right )} e^{\left (a c \log \left ({\left | F \right |}\right ) + {\left (b c \log \left ({\left | F \right |}\right ) + e\right )} x + d\right )} + \frac {1}{2} i \, {\left (\frac {i \, e^{\left (\frac {1}{2} i \, \pi b c x \mathrm {sgn}\left (F\right ) - \frac {1}{2} i \, \pi b c x + \frac {1}{2} i \, \pi a c \mathrm {sgn}\left (F\right ) - \frac {1}{2} i \, \pi a c\right )}}{i \, \pi b c \mathrm {sgn}\left (F\right ) - i \, \pi b c + 2 \, b c \log \left ({\left | F \right |}\right ) + 2 \, e} - \frac {i \, e^{\left (-\frac {1}{2} i \, \pi b c x \mathrm {sgn}\left (F\right ) + \frac {1}{2} i \, \pi b c x - \frac {1}{2} i \, \pi a c \mathrm {sgn}\left (F\right ) + \frac {1}{2} i \, \pi a c\right )}}{-i \, \pi b c \mathrm {sgn}\left (F\right ) + i \, \pi b c + 2 \, b c \log \left ({\left | F \right |}\right ) + 2 \, e}\right )} e^{\left (a c \log \left ({\left | F \right |}\right ) + {\left (b c \log \left ({\left | F \right |}\right ) + e\right )} x + d\right )} - {\left (\frac {2 \, {\left (b c \log \left ({\left | F \right |}\right ) - e\right )} \cos \left (-\frac {1}{2} \, \pi b c x \mathrm {sgn}\left (F\right ) + \frac {1}{2} \, \pi b c x - \frac {1}{2} \, \pi a c \mathrm {sgn}\left (F\right ) + \frac {1}{2} \, \pi a c\right )}{{\left (\pi b c \mathrm {sgn}\left (F\right ) - \pi b c\right )}^{2} + 4 \, {\left (b c \log \left ({\left | F \right |}\right ) - e\right )}^{2}} - \frac {{\left (\pi b c \mathrm {sgn}\left (F\right ) - \pi b c\right )} \sin \left (-\frac {1}{2} \, \pi b c x \mathrm {sgn}\left (F\right ) + \frac {1}{2} \, \pi b c x - \frac {1}{2} \, \pi a c \mathrm {sgn}\left (F\right ) + \frac {1}{2} \, \pi a c\right )}{{\left (\pi b c \mathrm {sgn}\left (F\right ) - \pi b c\right )}^{2} + 4 \, {\left (b c \log \left ({\left | F \right |}\right ) - e\right )}^{2}}\right )} e^{\left (a c \log \left ({\left | F \right |}\right ) + {\left (b c \log \left ({\left | F \right |}\right ) - e\right )} x - d\right )} + \frac {1}{2} i \, {\left (-\frac {i \, e^{\left (\frac {1}{2} i \, \pi b c x \mathrm {sgn}\left (F\right ) - \frac {1}{2} i \, \pi b c x + \frac {1}{2} i \, \pi a c \mathrm {sgn}\left (F\right ) - \frac {1}{2} i \, \pi a c\right )}}{i \, \pi b c \mathrm {sgn}\left (F\right ) - i \, \pi b c + 2 \, b c \log \left ({\left | F \right |}\right ) - 2 \, e} + \frac {i \, e^{\left (-\frac {1}{2} i \, \pi b c x \mathrm {sgn}\left (F\right ) + \frac {1}{2} i \, \pi b c x - \frac {1}{2} i \, \pi a c \mathrm {sgn}\left (F\right ) + \frac {1}{2} i \, \pi a c\right )}}{-i \, \pi b c \mathrm {sgn}\left (F\right ) + i \, \pi b c + 2 \, b c \log \left ({\left | F \right |}\right ) - 2 \, e}\right )} e^{\left (a c \log \left ({\left | F \right |}\right ) + {\left (b c \log \left ({\left | F \right |}\right ) - e\right )} x - d\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.66, size = 73, normalized size = 0.97 \begin {gather*} \frac {F^{a\,c+b\,c\,x}\,{\mathrm {e}}^{-d-e\,x}\,\left (e+e\,{\mathrm {e}}^{2\,d+2\,e\,x}+b\,c\,\ln \left (F\right )-b\,c\,{\mathrm {e}}^{2\,d+2\,e\,x}\,\ln \left (F\right )\right )}{2\,\left (e^2-b^2\,c^2\,{\ln \left (F\right )}^2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________