3.4.69 \(\int \frac {\sinh (a+b x)}{c+d x+e x^2} \, dx\) [369]

3.4.69.1 Optimal result
3.4.69.2 Mathematica [A] (verified)
3.4.69.3 Rubi [A] (verified)
3.4.69.4 Maple [A] (verified)
3.4.69.5 Fricas [B] (verification not implemented)
3.4.69.6 Sympy [F]
3.4.69.7 Maxima [F(-2)]
3.4.69.8 Giac [F]
3.4.69.9 Mupad [F(-1)]

3.4.69.1 Optimal result

Integrand size = 19, antiderivative size = 271 \[ \int \frac {\sinh (a+b x)}{c+d x+e x^2} \, dx=\frac {\text {Chi}\left (\frac {b \left (d-\sqrt {d^2-4 c e}\right )}{2 e}+b x\right ) \sinh \left (a-\frac {b \left (d-\sqrt {d^2-4 c e}\right )}{2 e}\right )}{\sqrt {d^2-4 c e}}-\frac {\text {Chi}\left (\frac {b \left (d+\sqrt {d^2-4 c e}\right )}{2 e}+b x\right ) \sinh \left (a-\frac {b \left (d+\sqrt {d^2-4 c e}\right )}{2 e}\right )}{\sqrt {d^2-4 c e}}+\frac {\cosh \left (a-\frac {b \left (d-\sqrt {d^2-4 c e}\right )}{2 e}\right ) \text {Shi}\left (\frac {b \left (d-\sqrt {d^2-4 c e}\right )}{2 e}+b x\right )}{\sqrt {d^2-4 c e}}-\frac {\cosh \left (a-\frac {b \left (d+\sqrt {d^2-4 c e}\right )}{2 e}\right ) \text {Shi}\left (\frac {b \left (d+\sqrt {d^2-4 c e}\right )}{2 e}+b x\right )}{\sqrt {d^2-4 c e}} \]

output
cosh(a-1/2*b*(d-(-4*c*e+d^2)^(1/2))/e)*Shi(b*x+1/2*b*(d-(-4*c*e+d^2)^(1/2) 
)/e)/(-4*c*e+d^2)^(1/2)-cosh(a-1/2*b*(d+(-4*c*e+d^2)^(1/2))/e)*Shi(b*x+1/2 
*b*(d+(-4*c*e+d^2)^(1/2))/e)/(-4*c*e+d^2)^(1/2)+Chi(b*x+1/2*b*(d-(-4*c*e+d 
^2)^(1/2))/e)*sinh(a-1/2*b*(d-(-4*c*e+d^2)^(1/2))/e)/(-4*c*e+d^2)^(1/2)-Ch 
i(b*x+1/2*b*(d+(-4*c*e+d^2)^(1/2))/e)*sinh(a-1/2*b*(d+(-4*c*e+d^2)^(1/2))/ 
e)/(-4*c*e+d^2)^(1/2)
 
3.4.69.2 Mathematica [A] (verified)

Time = 1.13 (sec) , antiderivative size = 220, normalized size of antiderivative = 0.81 \[ \int \frac {\sinh (a+b x)}{c+d x+e x^2} \, dx=\frac {e^{-a-\frac {b \left (d+\sqrt {d^2-4 c e}\right )}{2 e}} \left (-e^{\frac {b d}{e}} \operatorname {ExpIntegralEi}\left (-\frac {b \left (d-\sqrt {d^2-4 c e}+2 e x\right )}{2 e}\right )+e^{2 a+\frac {b \sqrt {d^2-4 c e}}{e}} \operatorname {ExpIntegralEi}\left (\frac {b \left (d-\sqrt {d^2-4 c e}+2 e x\right )}{2 e}\right )+e^{\frac {b \left (d+\sqrt {d^2-4 c e}\right )}{e}} \operatorname {ExpIntegralEi}\left (-\frac {b \left (d+\sqrt {d^2-4 c e}+2 e x\right )}{2 e}\right )-e^{2 a} \operatorname {ExpIntegralEi}\left (\frac {b \left (d+\sqrt {d^2-4 c e}+2 e x\right )}{2 e}\right )\right )}{2 \sqrt {d^2-4 c e}} \]

input
Integrate[Sinh[a + b*x]/(c + d*x + e*x^2),x]
 
output
(E^(-a - (b*(d + Sqrt[d^2 - 4*c*e]))/(2*e))*(-(E^((b*d)/e)*ExpIntegralEi[- 
1/2*(b*(d - Sqrt[d^2 - 4*c*e] + 2*e*x))/e]) + E^(2*a + (b*Sqrt[d^2 - 4*c*e 
])/e)*ExpIntegralEi[(b*(d - Sqrt[d^2 - 4*c*e] + 2*e*x))/(2*e)] + E^((b*(d 
+ Sqrt[d^2 - 4*c*e]))/e)*ExpIntegralEi[-1/2*(b*(d + Sqrt[d^2 - 4*c*e] + 2* 
e*x))/e] - E^(2*a)*ExpIntegralEi[(b*(d + Sqrt[d^2 - 4*c*e] + 2*e*x))/(2*e) 
]))/(2*Sqrt[d^2 - 4*c*e])
 
3.4.69.3 Rubi [A] (verified)

Time = 1.01 (sec) , antiderivative size = 271, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {7279, 2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {\sinh (a+b x)}{c+d x+e x^2} \, dx\)

\(\Big \downarrow \) 7279

\(\displaystyle \int \left (\frac {2 e \sinh (a+b x)}{\sqrt {d^2-4 c e} \left (-\sqrt {d^2-4 c e}+d+2 e x\right )}-\frac {2 e \sinh (a+b x)}{\sqrt {d^2-4 c e} \left (\sqrt {d^2-4 c e}+d+2 e x\right )}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {\sinh \left (a-\frac {b \left (d-\sqrt {d^2-4 c e}\right )}{2 e}\right ) \text {Chi}\left (\frac {b \left (d-\sqrt {d^2-4 c e}\right )}{2 e}+b x\right )}{\sqrt {d^2-4 c e}}-\frac {\sinh \left (a-\frac {b \left (\sqrt {d^2-4 c e}+d\right )}{2 e}\right ) \text {Chi}\left (\frac {b \left (d+\sqrt {d^2-4 c e}\right )}{2 e}+b x\right )}{\sqrt {d^2-4 c e}}+\frac {\cosh \left (a-\frac {b \left (d-\sqrt {d^2-4 c e}\right )}{2 e}\right ) \text {Shi}\left (\frac {b \left (d-\sqrt {d^2-4 c e}\right )}{2 e}+b x\right )}{\sqrt {d^2-4 c e}}-\frac {\cosh \left (a-\frac {b \left (\sqrt {d^2-4 c e}+d\right )}{2 e}\right ) \text {Shi}\left (\frac {b \left (d+\sqrt {d^2-4 c e}\right )}{2 e}+b x\right )}{\sqrt {d^2-4 c e}}\)

input
Int[Sinh[a + b*x]/(c + d*x + e*x^2),x]
 
output
(CoshIntegral[(b*(d - Sqrt[d^2 - 4*c*e]))/(2*e) + b*x]*Sinh[a - (b*(d - Sq 
rt[d^2 - 4*c*e]))/(2*e)])/Sqrt[d^2 - 4*c*e] - (CoshIntegral[(b*(d + Sqrt[d 
^2 - 4*c*e]))/(2*e) + b*x]*Sinh[a - (b*(d + Sqrt[d^2 - 4*c*e]))/(2*e)])/Sq 
rt[d^2 - 4*c*e] + (Cosh[a - (b*(d - Sqrt[d^2 - 4*c*e]))/(2*e)]*SinhIntegra 
l[(b*(d - Sqrt[d^2 - 4*c*e]))/(2*e) + b*x])/Sqrt[d^2 - 4*c*e] - (Cosh[a - 
(b*(d + Sqrt[d^2 - 4*c*e]))/(2*e)]*SinhIntegral[(b*(d + Sqrt[d^2 - 4*c*e]) 
)/(2*e) + b*x])/Sqrt[d^2 - 4*c*e]
 

3.4.69.3.1 Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 7279
Int[(u_)/((a_.) + (b_.)*(x_)^(n_.) + (c_.)*(x_)^(n2_.)), x_Symbol] :> With[ 
{v = RationalFunctionExpand[u/(a + b*x^n + c*x^(2*n)), x]}, Int[v, x] /; Su 
mQ[v]] /; FreeQ[{a, b, c}, x] && EqQ[n2, 2*n] && IGtQ[n, 0]
 
3.4.69.4 Maple [A] (verified)

Time = 1.88 (sec) , antiderivative size = 376, normalized size of antiderivative = 1.39

method result size
risch \(-\frac {b \,{\mathrm e}^{\frac {2 a e -b d +\sqrt {-4 b^{2} c e +b^{2} d^{2}}}{2 e}} \operatorname {Ei}_{1}\left (\frac {-2 e \left (b x +a \right )+2 a e -b d +\sqrt {-4 b^{2} c e +b^{2} d^{2}}}{2 e}\right )}{2 \sqrt {-4 b^{2} c e +b^{2} d^{2}}}+\frac {b \,{\mathrm e}^{\frac {2 a e -b d -\sqrt {-4 b^{2} c e +b^{2} d^{2}}}{2 e}} \operatorname {Ei}_{1}\left (-\frac {2 e \left (b x +a \right )-2 a e +b d +\sqrt {-4 b^{2} c e +b^{2} d^{2}}}{2 e}\right )}{2 \sqrt {-4 b^{2} c e +b^{2} d^{2}}}+\frac {b \,{\mathrm e}^{-\frac {2 a e -b d +\sqrt {-4 b^{2} c e +b^{2} d^{2}}}{2 e}} \operatorname {Ei}_{1}\left (-\frac {-2 e \left (b x +a \right )+2 a e -b d +\sqrt {-4 b^{2} c e +b^{2} d^{2}}}{2 e}\right )}{2 \sqrt {-4 b^{2} c e +b^{2} d^{2}}}-\frac {b \,{\mathrm e}^{-\frac {2 a e -b d -\sqrt {-4 b^{2} c e +b^{2} d^{2}}}{2 e}} \operatorname {Ei}_{1}\left (\frac {2 e \left (b x +a \right )-2 a e +b d +\sqrt {-4 b^{2} c e +b^{2} d^{2}}}{2 e}\right )}{2 \sqrt {-4 b^{2} c e +b^{2} d^{2}}}\) \(376\)

input
int(sinh(b*x+a)/(e*x^2+d*x+c),x,method=_RETURNVERBOSE)
 
output
-1/2*b/(-4*b^2*c*e+b^2*d^2)^(1/2)*exp(1/2/e*(2*a*e-b*d+(-4*b^2*c*e+b^2*d^2 
)^(1/2)))*Ei(1,1/2*(-2*e*(b*x+a)+2*a*e-b*d+(-4*b^2*c*e+b^2*d^2)^(1/2))/e)+ 
1/2*b/(-4*b^2*c*e+b^2*d^2)^(1/2)*exp(1/2/e*(2*a*e-b*d-(-4*b^2*c*e+b^2*d^2) 
^(1/2)))*Ei(1,-1/2*(2*e*(b*x+a)-2*a*e+b*d+(-4*b^2*c*e+b^2*d^2)^(1/2))/e)+1 
/2*b/(-4*b^2*c*e+b^2*d^2)^(1/2)*exp(-1/2/e*(2*a*e-b*d+(-4*b^2*c*e+b^2*d^2) 
^(1/2)))*Ei(1,-1/2*(-2*e*(b*x+a)+2*a*e-b*d+(-4*b^2*c*e+b^2*d^2)^(1/2))/e)- 
1/2*b/(-4*b^2*c*e+b^2*d^2)^(1/2)*exp(-1/2/e*(2*a*e-b*d-(-4*b^2*c*e+b^2*d^2 
)^(1/2)))*Ei(1,1/2*(2*e*(b*x+a)-2*a*e+b*d+(-4*b^2*c*e+b^2*d^2)^(1/2))/e)
 
3.4.69.5 Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 671 vs. \(2 (231) = 462\).

Time = 0.29 (sec) , antiderivative size = 671, normalized size of antiderivative = 2.48 \[ \int \frac {\sinh (a+b x)}{c+d x+e x^2} \, dx=-\frac {{\left (e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}} {\rm Ei}\left (\frac {2 \, b e x + b d + e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right ) - e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}} {\rm Ei}\left (-\frac {2 \, b e x + b d + e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right )\right )} \cosh \left (\frac {b d - 2 \, a e + e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right ) - {\left (e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}} {\rm Ei}\left (\frac {2 \, b e x + b d - e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right ) - e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}} {\rm Ei}\left (-\frac {2 \, b e x + b d - e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right )\right )} \cosh \left (-\frac {b d - 2 \, a e - e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right ) - {\left (e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}} {\rm Ei}\left (\frac {2 \, b e x + b d + e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right ) + e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}} {\rm Ei}\left (-\frac {2 \, b e x + b d + e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right )\right )} \sinh \left (\frac {b d - 2 \, a e + e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right ) - {\left (e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}} {\rm Ei}\left (\frac {2 \, b e x + b d - e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right ) + e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}} {\rm Ei}\left (-\frac {2 \, b e x + b d - e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right )\right )} \sinh \left (-\frac {b d - 2 \, a e - e \sqrt {\frac {b^{2} d^{2} - 4 \, b^{2} c e}{e^{2}}}}{2 \, e}\right )}{2 \, {\left (b d^{2} - 4 \, b c e\right )}} \]

input
integrate(sinh(b*x+a)/(e*x^2+d*x+c),x, algorithm="fricas")
 
output
-1/2*((e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2)*Ei(1/2*(2*b*e*x + b*d + e*sqrt((b 
^2*d^2 - 4*b^2*c*e)/e^2))/e) - e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2)*Ei(-1/2*( 
2*b*e*x + b*d + e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2))/e))*cosh(1/2*(b*d - 2*a 
*e + e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2))/e) - (e*sqrt((b^2*d^2 - 4*b^2*c*e) 
/e^2)*Ei(1/2*(2*b*e*x + b*d - e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2))/e) - e*sq 
rt((b^2*d^2 - 4*b^2*c*e)/e^2)*Ei(-1/2*(2*b*e*x + b*d - e*sqrt((b^2*d^2 - 4 
*b^2*c*e)/e^2))/e))*cosh(-1/2*(b*d - 2*a*e - e*sqrt((b^2*d^2 - 4*b^2*c*e)/ 
e^2))/e) - (e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2)*Ei(1/2*(2*b*e*x + b*d + e*sq 
rt((b^2*d^2 - 4*b^2*c*e)/e^2))/e) + e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2)*Ei(- 
1/2*(2*b*e*x + b*d + e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2))/e))*sinh(1/2*(b*d 
- 2*a*e + e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2))/e) - (e*sqrt((b^2*d^2 - 4*b^2 
*c*e)/e^2)*Ei(1/2*(2*b*e*x + b*d - e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2))/e) + 
 e*sqrt((b^2*d^2 - 4*b^2*c*e)/e^2)*Ei(-1/2*(2*b*e*x + b*d - e*sqrt((b^2*d^ 
2 - 4*b^2*c*e)/e^2))/e))*sinh(-1/2*(b*d - 2*a*e - e*sqrt((b^2*d^2 - 4*b^2* 
c*e)/e^2))/e))/(b*d^2 - 4*b*c*e)
 
3.4.69.6 Sympy [F]

\[ \int \frac {\sinh (a+b x)}{c+d x+e x^2} \, dx=\int \frac {\sinh {\left (a + b x \right )}}{c + d x + e x^{2}}\, dx \]

input
integrate(sinh(b*x+a)/(e*x**2+d*x+c),x)
 
output
Integral(sinh(a + b*x)/(c + d*x + e*x**2), x)
 
3.4.69.7 Maxima [F(-2)]

Exception generated. \[ \int \frac {\sinh (a+b x)}{c+d x+e x^2} \, dx=\text {Exception raised: ValueError} \]

input
integrate(sinh(b*x+a)/(e*x^2+d*x+c),x, algorithm="maxima")
 
output
Exception raised: ValueError >> Computation failed since Maxima requested 
additional constraints; using the 'assume' command before evaluation *may* 
 help (example of legal syntax is 'assume(4*c*e-d^2>0)', see `assume?` for 
 more deta
 
3.4.69.8 Giac [F]

\[ \int \frac {\sinh (a+b x)}{c+d x+e x^2} \, dx=\int { \frac {\sinh \left (b x + a\right )}{e x^{2} + d x + c} \,d x } \]

input
integrate(sinh(b*x+a)/(e*x^2+d*x+c),x, algorithm="giac")
 
output
integrate(sinh(b*x + a)/(e*x^2 + d*x + c), x)
 
3.4.69.9 Mupad [F(-1)]

Timed out. \[ \int \frac {\sinh (a+b x)}{c+d x+e x^2} \, dx=\int \frac {\mathrm {sinh}\left (a+b\,x\right )}{e\,x^2+d\,x+c} \,d x \]

input
int(sinh(a + b*x)/(c + d*x + e*x^2),x)
 
output
int(sinh(a + b*x)/(c + d*x + e*x^2), x)