Integrand size = 16, antiderivative size = 213 \[ \int \frac {\sinh (a+b x)}{c+d x^2} \, dx=-\frac {\text {Chi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}+b x\right ) \sinh \left (a-\frac {b \sqrt {-c}}{\sqrt {d}}\right )}{2 \sqrt {-c} \sqrt {d}}+\frac {\text {Chi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}-b x\right ) \sinh \left (a+\frac {b \sqrt {-c}}{\sqrt {d}}\right )}{2 \sqrt {-c} \sqrt {d}}-\frac {\cosh \left (a+\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \text {Shi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}-b x\right )}{2 \sqrt {-c} \sqrt {d}}-\frac {\cosh \left (a-\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \text {Shi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}+b x\right )}{2 \sqrt {-c} \sqrt {d}} \]
[Out]
Time = 0.41 (sec) , antiderivative size = 213, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5388, 3384, 3379, 3382} \[ \int \frac {\sinh (a+b x)}{c+d x^2} \, dx=-\frac {\sinh \left (a-\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \text {Chi}\left (x b+\frac {\sqrt {-c} b}{\sqrt {d}}\right )}{2 \sqrt {-c} \sqrt {d}}+\frac {\sinh \left (a+\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \text {Chi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}-b x\right )}{2 \sqrt {-c} \sqrt {d}}-\frac {\cosh \left (a+\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \text {Shi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}-b x\right )}{2 \sqrt {-c} \sqrt {d}}-\frac {\cosh \left (a-\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \text {Shi}\left (x b+\frac {\sqrt {-c} b}{\sqrt {d}}\right )}{2 \sqrt {-c} \sqrt {d}} \]
[In]
[Out]
Rule 3379
Rule 3382
Rule 3384
Rule 5388
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {\sqrt {-c} \sinh (a+b x)}{2 c \left (\sqrt {-c}-\sqrt {d} x\right )}+\frac {\sqrt {-c} \sinh (a+b x)}{2 c \left (\sqrt {-c}+\sqrt {d} x\right )}\right ) \, dx \\ & = -\frac {\int \frac {\sinh (a+b x)}{\sqrt {-c}-\sqrt {d} x} \, dx}{2 \sqrt {-c}}-\frac {\int \frac {\sinh (a+b x)}{\sqrt {-c}+\sqrt {d} x} \, dx}{2 \sqrt {-c}} \\ & = -\frac {\cosh \left (a-\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \int \frac {\sinh \left (\frac {b \sqrt {-c}}{\sqrt {d}}+b x\right )}{\sqrt {-c}+\sqrt {d} x} \, dx}{2 \sqrt {-c}}+\frac {\cosh \left (a+\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \int \frac {\sinh \left (\frac {b \sqrt {-c}}{\sqrt {d}}-b x\right )}{\sqrt {-c}-\sqrt {d} x} \, dx}{2 \sqrt {-c}}-\frac {\sinh \left (a-\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \int \frac {\cosh \left (\frac {b \sqrt {-c}}{\sqrt {d}}+b x\right )}{\sqrt {-c}+\sqrt {d} x} \, dx}{2 \sqrt {-c}}-\frac {\sinh \left (a+\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \int \frac {\cosh \left (\frac {b \sqrt {-c}}{\sqrt {d}}-b x\right )}{\sqrt {-c}-\sqrt {d} x} \, dx}{2 \sqrt {-c}} \\ & = -\frac {\text {Chi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}+b x\right ) \sinh \left (a-\frac {b \sqrt {-c}}{\sqrt {d}}\right )}{2 \sqrt {-c} \sqrt {d}}+\frac {\text {Chi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}-b x\right ) \sinh \left (a+\frac {b \sqrt {-c}}{\sqrt {d}}\right )}{2 \sqrt {-c} \sqrt {d}}-\frac {\cosh \left (a+\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \text {Shi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}-b x\right )}{2 \sqrt {-c} \sqrt {d}}-\frac {\cosh \left (a-\frac {b \sqrt {-c}}{\sqrt {d}}\right ) \text {Shi}\left (\frac {b \sqrt {-c}}{\sqrt {d}}+b x\right )}{2 \sqrt {-c} \sqrt {d}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.55 (sec) , antiderivative size = 167, normalized size of antiderivative = 0.78 \[ \int \frac {\sinh (a+b x)}{c+d x^2} \, dx=-\frac {i e^{-a-\frac {i b \sqrt {c}}{\sqrt {d}}} \left (e^{2 a+\frac {2 i b \sqrt {c}}{\sqrt {d}}} \operatorname {ExpIntegralEi}\left (b \left (-\frac {i \sqrt {c}}{\sqrt {d}}+x\right )\right )-e^{2 a} \operatorname {ExpIntegralEi}\left (b \left (\frac {i \sqrt {c}}{\sqrt {d}}+x\right )\right )+e^{\frac {2 i b \sqrt {c}}{\sqrt {d}}} \operatorname {ExpIntegralEi}\left (-\frac {i b \sqrt {c}}{\sqrt {d}}-b x\right )-\operatorname {ExpIntegralEi}\left (\frac {i b \sqrt {c}}{\sqrt {d}}-b x\right )\right )}{4 \sqrt {c} \sqrt {d}} \]
[In]
[Out]
Time = 0.80 (sec) , antiderivative size = 212, normalized size of antiderivative = 1.00
method | result | size |
risch | \(-\frac {{\mathrm e}^{-\frac {-b \sqrt {-c d}+a d}{d}} \operatorname {Ei}_{1}\left (\frac {b \sqrt {-c d}+d \left (b x +a \right )-a d}{d}\right )}{4 \sqrt {-c d}}-\frac {{\mathrm e}^{\frac {b \sqrt {-c d}+a d}{d}} \operatorname {Ei}_{1}\left (\frac {b \sqrt {-c d}-d \left (b x +a \right )+a d}{d}\right )}{4 \sqrt {-c d}}+\frac {{\mathrm e}^{\frac {-b \sqrt {-c d}+a d}{d}} \operatorname {Ei}_{1}\left (-\frac {b \sqrt {-c d}+d \left (b x +a \right )-a d}{d}\right )}{4 \sqrt {-c d}}+\frac {{\mathrm e}^{-\frac {b \sqrt {-c d}+a d}{d}} \operatorname {Ei}_{1}\left (-\frac {b \sqrt {-c d}-d \left (b x +a \right )+a d}{d}\right )}{4 \sqrt {-c d}}\) | \(212\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 316 vs. \(2 (157) = 314\).
Time = 0.30 (sec) , antiderivative size = 316, normalized size of antiderivative = 1.48 \[ \int \frac {\sinh (a+b x)}{c+d x^2} \, dx=-\frac {{\left (\sqrt {-\frac {b^{2} c}{d}} {\rm Ei}\left (b x - \sqrt {-\frac {b^{2} c}{d}}\right ) - \sqrt {-\frac {b^{2} c}{d}} {\rm Ei}\left (-b x + \sqrt {-\frac {b^{2} c}{d}}\right )\right )} \cosh \left (a + \sqrt {-\frac {b^{2} c}{d}}\right ) - {\left (\sqrt {-\frac {b^{2} c}{d}} {\rm Ei}\left (b x + \sqrt {-\frac {b^{2} c}{d}}\right ) - \sqrt {-\frac {b^{2} c}{d}} {\rm Ei}\left (-b x - \sqrt {-\frac {b^{2} c}{d}}\right )\right )} \cosh \left (-a + \sqrt {-\frac {b^{2} c}{d}}\right ) + {\left (\sqrt {-\frac {b^{2} c}{d}} {\rm Ei}\left (b x - \sqrt {-\frac {b^{2} c}{d}}\right ) + \sqrt {-\frac {b^{2} c}{d}} {\rm Ei}\left (-b x + \sqrt {-\frac {b^{2} c}{d}}\right )\right )} \sinh \left (a + \sqrt {-\frac {b^{2} c}{d}}\right ) + {\left (\sqrt {-\frac {b^{2} c}{d}} {\rm Ei}\left (b x + \sqrt {-\frac {b^{2} c}{d}}\right ) + \sqrt {-\frac {b^{2} c}{d}} {\rm Ei}\left (-b x - \sqrt {-\frac {b^{2} c}{d}}\right )\right )} \sinh \left (-a + \sqrt {-\frac {b^{2} c}{d}}\right )}{4 \, b c} \]
[In]
[Out]
\[ \int \frac {\sinh (a+b x)}{c+d x^2} \, dx=\int \frac {\sinh {\left (a + b x \right )}}{c + d x^{2}}\, dx \]
[In]
[Out]
\[ \int \frac {\sinh (a+b x)}{c+d x^2} \, dx=\int { \frac {\sinh \left (b x + a\right )}{d x^{2} + c} \,d x } \]
[In]
[Out]
\[ \int \frac {\sinh (a+b x)}{c+d x^2} \, dx=\int { \frac {\sinh \left (b x + a\right )}{d x^{2} + c} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sinh (a+b x)}{c+d x^2} \, dx=\int \frac {\mathrm {sinh}\left (a+b\,x\right )}{d\,x^2+c} \,d x \]
[In]
[Out]