Integrand size = 17, antiderivative size = 695 \[ \int \frac {x \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx=\frac {\cosh (c+d x)}{3 a b x}-\frac {\cosh (c+d x)}{3 b x \left (a+b x^3\right )}-\frac {(-1)^{2/3} \cosh \left (c+\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{9 a^{4/3} b^{2/3}}+\frac {\sqrt [3]{-1} \cosh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{9 a^{4/3} b^{2/3}}-\frac {\cosh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right )}{9 a^{4/3} b^{2/3}}-\frac {d \text {Chi}\left (\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right ) \sinh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a b}-\frac {d \text {Chi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right ) \sinh \left (c+\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a b}-\frac {d \text {Chi}\left (-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right ) \sinh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{9 a b}+\frac {d \cosh \left (c+\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{9 a b}+\frac {(-1)^{2/3} \sinh \left (c+\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{9 a^{4/3} b^{2/3}}-\frac {d \cosh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right )}{9 a b}-\frac {\sinh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right )}{9 a^{4/3} b^{2/3}}-\frac {d \cosh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right )}{9 a b}+\frac {\sqrt [3]{-1} \sinh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}+d x\right )}{9 a^{4/3} b^{2/3}} \] Output:
1/3*cosh(d*x+c)/a/b/x-1/3*cosh(d*x+c)/b/x/(b*x^3+a)-1/9*(-1)^(2/3)*cosh(c+ (-1)^(1/3)*a^(1/3)*d/b^(1/3))*Chi((-1)^(1/3)*a^(1/3)*d/b^(1/3)-d*x)/a^(4/3 )/b^(2/3)+1/9*(-1)^(1/3)*cosh(c-(-1)^(2/3)*a^(1/3)*d/b^(1/3))*Chi(-(-1)^(2 /3)*a^(1/3)*d/b^(1/3)-d*x)/a^(4/3)/b^(2/3)-1/9*cosh(c-a^(1/3)*d/b^(1/3))*C hi(a^(1/3)*d/b^(1/3)+d*x)/a^(4/3)/b^(2/3)-1/9*d*Chi(a^(1/3)*d/b^(1/3)+d*x) *sinh(c-a^(1/3)*d/b^(1/3))/a/b-1/9*d*Chi((-1)^(1/3)*a^(1/3)*d/b^(1/3)-d*x) *sinh(c+(-1)^(1/3)*a^(1/3)*d/b^(1/3))/a/b-1/9*d*Chi(-(-1)^(2/3)*a^(1/3)*d/ b^(1/3)-d*x)*sinh(c-(-1)^(2/3)*a^(1/3)*d/b^(1/3))/a/b-1/9*d*cosh(c+(-1)^(1 /3)*a^(1/3)*d/b^(1/3))*Shi(-(-1)^(1/3)*a^(1/3)*d/b^(1/3)+d*x)/a/b-1/9*(-1) ^(2/3)*sinh(c+(-1)^(1/3)*a^(1/3)*d/b^(1/3))*Shi(-(-1)^(1/3)*a^(1/3)*d/b^(1 /3)+d*x)/a^(4/3)/b^(2/3)-1/9*d*cosh(c-a^(1/3)*d/b^(1/3))*Shi(a^(1/3)*d/b^( 1/3)+d*x)/a/b-1/9*sinh(c-a^(1/3)*d/b^(1/3))*Shi(a^(1/3)*d/b^(1/3)+d*x)/a^( 4/3)/b^(2/3)-1/9*d*cosh(c-(-1)^(2/3)*a^(1/3)*d/b^(1/3))*Shi((-1)^(2/3)*a^( 1/3)*d/b^(1/3)+d*x)/a/b+1/9*(-1)^(1/3)*sinh(c-(-1)^(2/3)*a^(1/3)*d/b^(1/3) )*Shi((-1)^(2/3)*a^(1/3)*d/b^(1/3)+d*x)/a^(4/3)/b^(2/3)
Result contains higher order function than in optimal. Order 9 vs. order 4 in optimal.
Time = 0.13 (sec) , antiderivative size = 387, normalized size of antiderivative = 0.56 \[ \int \frac {x \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx=\frac {6 b x^2 \cosh (c+d x)+\left (a+b x^3\right ) \text {RootSum}\left [a+b \text {$\#$1}^3\&,\frac {\cosh (c+d \text {$\#$1}) \text {Chi}(d (x-\text {$\#$1}))-\text {Chi}(d (x-\text {$\#$1})) \sinh (c+d \text {$\#$1})-\cosh (c+d \text {$\#$1}) \text {Shi}(d (x-\text {$\#$1}))+\sinh (c+d \text {$\#$1}) \text {Shi}(d (x-\text {$\#$1}))+d \cosh (c+d \text {$\#$1}) \text {Chi}(d (x-\text {$\#$1})) \text {$\#$1}-d \text {Chi}(d (x-\text {$\#$1})) \sinh (c+d \text {$\#$1}) \text {$\#$1}-d \cosh (c+d \text {$\#$1}) \text {Shi}(d (x-\text {$\#$1})) \text {$\#$1}+d \sinh (c+d \text {$\#$1}) \text {Shi}(d (x-\text {$\#$1})) \text {$\#$1}}{\text {$\#$1}}\&\right ]-\left (a+b x^3\right ) \text {RootSum}\left [a+b \text {$\#$1}^3\&,\frac {-\cosh (c+d \text {$\#$1}) \text {Chi}(d (x-\text {$\#$1}))-\text {Chi}(d (x-\text {$\#$1})) \sinh (c+d \text {$\#$1})-\cosh (c+d \text {$\#$1}) \text {Shi}(d (x-\text {$\#$1}))-\sinh (c+d \text {$\#$1}) \text {Shi}(d (x-\text {$\#$1}))+d \cosh (c+d \text {$\#$1}) \text {Chi}(d (x-\text {$\#$1})) \text {$\#$1}+d \text {Chi}(d (x-\text {$\#$1})) \sinh (c+d \text {$\#$1}) \text {$\#$1}+d \cosh (c+d \text {$\#$1}) \text {Shi}(d (x-\text {$\#$1})) \text {$\#$1}+d \sinh (c+d \text {$\#$1}) \text {Shi}(d (x-\text {$\#$1})) \text {$\#$1}}{\text {$\#$1}}\&\right ]}{18 a b \left (a+b x^3\right )} \] Input:
Integrate[(x*Cosh[c + d*x])/(a + b*x^3)^2,x]
Output:
(6*b*x^2*Cosh[c + d*x] + (a + b*x^3)*RootSum[a + b*#1^3 & , (Cosh[c + d*#1 ]*CoshIntegral[d*(x - #1)] - CoshIntegral[d*(x - #1)]*Sinh[c + d*#1] - Cos h[c + d*#1]*SinhIntegral[d*(x - #1)] + Sinh[c + d*#1]*SinhIntegral[d*(x - #1)] + d*Cosh[c + d*#1]*CoshIntegral[d*(x - #1)]*#1 - d*CoshIntegral[d*(x - #1)]*Sinh[c + d*#1]*#1 - d*Cosh[c + d*#1]*SinhIntegral[d*(x - #1)]*#1 + d*Sinh[c + d*#1]*SinhIntegral[d*(x - #1)]*#1)/#1 & ] - (a + b*x^3)*RootSum [a + b*#1^3 & , (-(Cosh[c + d*#1]*CoshIntegral[d*(x - #1)]) - CoshIntegral [d*(x - #1)]*Sinh[c + d*#1] - Cosh[c + d*#1]*SinhIntegral[d*(x - #1)] - Si nh[c + d*#1]*SinhIntegral[d*(x - #1)] + d*Cosh[c + d*#1]*CoshIntegral[d*(x - #1)]*#1 + d*CoshIntegral[d*(x - #1)]*Sinh[c + d*#1]*#1 + d*Cosh[c + d*# 1]*SinhIntegral[d*(x - #1)]*#1 + d*Sinh[c + d*#1]*SinhIntegral[d*(x - #1)] *#1)/#1 & ])/(18*a*b*(a + b*x^3))
Time = 1.98 (sec) , antiderivative size = 725, normalized size of antiderivative = 1.04, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.294, Rules used = {5814, 5815, 2009, 5816, 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 {x \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx\) |
\(\Big \downarrow \) 5814 |
\(\displaystyle \frac {d \int \frac {\sinh (c+d x)}{x \left (b x^3+a\right )}dx}{3 b}-\frac {\int \frac {\cosh (c+d x)}{x^2 \left (b x^3+a\right )}dx}{3 b}-\frac {\cosh (c+d x)}{3 b x \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 5815 |
\(\displaystyle \frac {d \int \left (\frac {\sinh (c+d x)}{a x}-\frac {b x^2 \sinh (c+d x)}{a \left (b x^3+a\right )}\right )dx}{3 b}-\frac {\int \frac {\cosh (c+d x)}{x^2 \left (b x^3+a\right )}dx}{3 b}-\frac {\cosh (c+d x)}{3 b x \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {\int \frac {\cosh (c+d x)}{x^2 \left (b x^3+a\right )}dx}{3 b}+\frac {d \left (-\frac {\sinh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (x d+\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}-\frac {\sinh \left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text {Chi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{3 a}-\frac {\sinh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (-x d-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}+\frac {\cosh \left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text {Shi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{3 a}-\frac {\cosh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (x d+\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}-\frac {\cosh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (x d+\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}+\frac {\sinh (c) \text {Chi}(d x)}{a}+\frac {\cosh (c) \text {Shi}(d x)}{a}\right )}{3 b}-\frac {\cosh (c+d x)}{3 b x \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 5816 |
\(\displaystyle -\frac {\int \left (\frac {\cosh (c+d x)}{a x^2}-\frac {b x \cosh (c+d x)}{a \left (b x^3+a\right )}\right )dx}{3 b}+\frac {d \left (-\frac {\sinh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (x d+\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}-\frac {\sinh \left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text {Chi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{3 a}-\frac {\sinh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (-x d-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}+\frac {\cosh \left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text {Shi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{3 a}-\frac {\cosh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (x d+\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}-\frac {\cosh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (x d+\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}+\frac {\sinh (c) \text {Chi}(d x)}{a}+\frac {\cosh (c) \text {Shi}(d x)}{a}\right )}{3 b}-\frac {\cosh (c+d x)}{3 b x \left (a+b x^3\right )}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\frac {\frac {(-1)^{2/3} \sqrt [3]{b} \cosh \left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text {Chi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{3 a^{4/3}}-\frac {\sqrt [3]{-1} \sqrt [3]{b} \cosh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (-x d-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a^{4/3}}+\frac {\sqrt [3]{b} \cosh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (x d+\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a^{4/3}}-\frac {(-1)^{2/3} \sqrt [3]{b} \sinh \left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text {Shi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{3 a^{4/3}}+\frac {\sqrt [3]{b} \sinh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (x d+\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a^{4/3}}-\frac {\sqrt [3]{-1} \sqrt [3]{b} \sinh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (x d+\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a^{4/3}}+\frac {d \sinh (c) \text {Chi}(d x)}{a}+\frac {d \cosh (c) \text {Shi}(d x)}{a}-\frac {\cosh (c+d x)}{a x}}{3 b}+\frac {d \left (-\frac {\sinh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (x d+\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}-\frac {\sinh \left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text {Chi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{3 a}-\frac {\sinh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Chi}\left (-x d-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}+\frac {\cosh \left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}+c\right ) \text {Shi}\left (\frac {\sqrt [3]{-1} \sqrt [3]{a} d}{\sqrt [3]{b}}-d x\right )}{3 a}-\frac {\cosh \left (c-\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (x d+\frac {\sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}-\frac {\cosh \left (c-\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \text {Shi}\left (x d+\frac {(-1)^{2/3} \sqrt [3]{a} d}{\sqrt [3]{b}}\right )}{3 a}+\frac {\sinh (c) \text {Chi}(d x)}{a}+\frac {\cosh (c) \text {Shi}(d x)}{a}\right )}{3 b}-\frac {\cosh (c+d x)}{3 b x \left (a+b x^3\right )}\) |
Input:
Int[(x*Cosh[c + d*x])/(a + b*x^3)^2,x]
Output:
-1/3*Cosh[c + d*x]/(b*x*(a + b*x^3)) + (d*((CoshIntegral[d*x]*Sinh[c])/a - (CoshIntegral[(a^(1/3)*d)/b^(1/3) + d*x]*Sinh[c - (a^(1/3)*d)/b^(1/3)])/( 3*a) - (CoshIntegral[((-1)^(1/3)*a^(1/3)*d)/b^(1/3) - d*x]*Sinh[c + ((-1)^ (1/3)*a^(1/3)*d)/b^(1/3)])/(3*a) - (CoshIntegral[-(((-1)^(2/3)*a^(1/3)*d)/ b^(1/3)) - d*x]*Sinh[c - ((-1)^(2/3)*a^(1/3)*d)/b^(1/3)])/(3*a) + (Cosh[c] *SinhIntegral[d*x])/a + (Cosh[c + ((-1)^(1/3)*a^(1/3)*d)/b^(1/3)]*SinhInte gral[((-1)^(1/3)*a^(1/3)*d)/b^(1/3) - d*x])/(3*a) - (Cosh[c - (a^(1/3)*d)/ b^(1/3)]*SinhIntegral[(a^(1/3)*d)/b^(1/3) + d*x])/(3*a) - (Cosh[c - ((-1)^ (2/3)*a^(1/3)*d)/b^(1/3)]*SinhIntegral[((-1)^(2/3)*a^(1/3)*d)/b^(1/3) + d* x])/(3*a)))/(3*b) - (-(Cosh[c + d*x]/(a*x)) + ((-1)^(2/3)*b^(1/3)*Cosh[c + ((-1)^(1/3)*a^(1/3)*d)/b^(1/3)]*CoshIntegral[((-1)^(1/3)*a^(1/3)*d)/b^(1/ 3) - d*x])/(3*a^(4/3)) - ((-1)^(1/3)*b^(1/3)*Cosh[c - ((-1)^(2/3)*a^(1/3)* d)/b^(1/3)]*CoshIntegral[-(((-1)^(2/3)*a^(1/3)*d)/b^(1/3)) - d*x])/(3*a^(4 /3)) + (b^(1/3)*Cosh[c - (a^(1/3)*d)/b^(1/3)]*CoshIntegral[(a^(1/3)*d)/b^( 1/3) + d*x])/(3*a^(4/3)) + (d*CoshIntegral[d*x]*Sinh[c])/a + (d*Cosh[c]*Si nhIntegral[d*x])/a - ((-1)^(2/3)*b^(1/3)*Sinh[c + ((-1)^(1/3)*a^(1/3)*d)/b ^(1/3)]*SinhIntegral[((-1)^(1/3)*a^(1/3)*d)/b^(1/3) - d*x])/(3*a^(4/3)) + (b^(1/3)*Sinh[c - (a^(1/3)*d)/b^(1/3)]*SinhIntegral[(a^(1/3)*d)/b^(1/3) + d*x])/(3*a^(4/3)) - ((-1)^(1/3)*b^(1/3)*Sinh[c - ((-1)^(2/3)*a^(1/3)*d)/b^ (1/3)]*SinhIntegral[((-1)^(2/3)*a^(1/3)*d)/b^(1/3) + d*x])/(3*a^(4/3)))...
Int[Cosh[(c_.) + (d_.)*(x_)]*(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Sy mbol] :> Simp[x^(m - n + 1)*(a + b*x^n)^(p + 1)*(Cosh[c + d*x]/(b*n*(p + 1) )), x] + (-Simp[(m - n + 1)/(b*n*(p + 1)) Int[x^(m - n)*(a + b*x^n)^(p + 1)*Cosh[c + d*x], x], x] - Simp[d/(b*n*(p + 1)) Int[x^(m - n + 1)*(a + b* x^n)^(p + 1)*Sinh[c + d*x], x], x]) /; FreeQ[{a, b, c, d}, x] && ILtQ[p, -1 ] && IGtQ[n, 0] && RationalQ[m] && (GtQ[m - n + 1, 0] || GtQ[n, 2])
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*Sinh[(c_.) + (d_.)*(x_)], x_Sy mbol] :> Int[ExpandIntegrand[Sinh[c + d*x], x^m*(a + b*x^n)^p, x], x] /; Fr eeQ[{a, b, c, d}, x] && ILtQ[p, 0] && IntegerQ[m] && IGtQ[n, 0] && (EqQ[n, 2] || EqQ[p, -1])
Int[Cosh[(c_.) + (d_.)*(x_)]*(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Sy mbol] :> Int[ExpandIntegrand[Cosh[c + d*x], x^m*(a + b*x^n)^p, x], x] /; Fr eeQ[{a, b, c, d}, x] && ILtQ[p, 0] && IntegerQ[m] && IGtQ[n, 0] && (EqQ[n, 2] || EqQ[p, -1])
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.83 (sec) , antiderivative size = 395, normalized size of antiderivative = 0.57
method | result | size |
risch | \(\frac {d^{3} {\mathrm e}^{-d x -c} x^{2}}{6 a \left (b \,d^{3} x^{3}+d^{3} a \right )}-\frac {d \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (b \,\textit {\_Z}^{3}-3 c b \,\textit {\_Z}^{2}+3 b \,c^{2} \textit {\_Z} +d^{3} a -b \,c^{3}\right )}{\sum }\frac {\left (\textit {\_R1}^{2}-\textit {\_R1} c +\textit {\_R1} +c \right ) {\mathrm e}^{-\textit {\_R1}} \operatorname {expIntegral}_{1}\left (d x -\textit {\_R1} +c \right )}{\textit {\_R1}^{2}-2 \textit {\_R1} c +c^{2}}\right )}{18 a b}+\frac {d c \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (b \,\textit {\_Z}^{3}-3 c b \,\textit {\_Z}^{2}+3 b \,c^{2} \textit {\_Z} +d^{3} a -b \,c^{3}\right )}{\sum }\frac {\left (\textit {\_R1} -c +2\right ) {\mathrm e}^{-\textit {\_R1}} \operatorname {expIntegral}_{1}\left (d x -\textit {\_R1} +c \right )}{\textit {\_R1}^{2}-2 \textit {\_R1} c +c^{2}}\right )}{18 a b}+\frac {d^{3} {\mathrm e}^{d x +c} x^{2}}{6 a \left (b \,d^{3} x^{3}+d^{3} a \right )}+\frac {d \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (b \,\textit {\_Z}^{3}-3 c b \,\textit {\_Z}^{2}+3 b \,c^{2} \textit {\_Z} +d^{3} a -b \,c^{3}\right )}{\sum }\frac {\left (\textit {\_R1}^{2}-\textit {\_R1} c -\textit {\_R1} -c \right ) {\mathrm e}^{\textit {\_R1}} \operatorname {expIntegral}_{1}\left (-d x +\textit {\_R1} -c \right )}{\textit {\_R1}^{2}-2 \textit {\_R1} c +c^{2}}\right )}{18 a b}-\frac {d c \left (\munderset {\textit {\_R1} =\operatorname {RootOf}\left (b \,\textit {\_Z}^{3}-3 c b \,\textit {\_Z}^{2}+3 b \,c^{2} \textit {\_Z} +d^{3} a -b \,c^{3}\right )}{\sum }\frac {\left (\textit {\_R1} -c -2\right ) {\mathrm e}^{\textit {\_R1}} \operatorname {expIntegral}_{1}\left (-d x +\textit {\_R1} -c \right )}{\textit {\_R1}^{2}-2 \textit {\_R1} c +c^{2}}\right )}{18 a b}\) | \(395\) |
Input:
int(x*cosh(d*x+c)/(b*x^3+a)^2,x,method=_RETURNVERBOSE)
Output:
1/6*d^3*exp(-d*x-c)*x^2/a/(b*d^3*x^3+a*d^3)-1/18*d/a/b*sum((_R1^2-_R1*c+_R 1+c)/(_R1^2-2*_R1*c+c^2)*exp(-_R1)*Ei(1,d*x-_R1+c),_R1=RootOf(_Z^3*b-3*_Z^ 2*b*c+3*_Z*b*c^2+a*d^3-b*c^3))+1/18*d*c/a/b*sum((_R1-c+2)/(_R1^2-2*_R1*c+c ^2)*exp(-_R1)*Ei(1,d*x-_R1+c),_R1=RootOf(_Z^3*b-3*_Z^2*b*c+3*_Z*b*c^2+a*d^ 3-b*c^3))+1/6*d^3*exp(d*x+c)*x^2/a/(b*d^3*x^3+a*d^3)+1/18*d/a/b*sum((_R1^2 -_R1*c-_R1-c)/(_R1^2-2*_R1*c+c^2)*exp(_R1)*Ei(1,-d*x+_R1-c),_R1=RootOf(_Z^ 3*b-3*_Z^2*b*c+3*_Z*b*c^2+a*d^3-b*c^3))-1/18*d*c/a/b*sum((_R1-c-2)/(_R1^2- 2*_R1*c+c^2)*exp(_R1)*Ei(1,-d*x+_R1-c),_R1=RootOf(_Z^3*b-3*_Z^2*b*c+3*_Z*b *c^2+a*d^3-b*c^3))
Leaf count of result is larger than twice the leaf count of optimal. 2135 vs. \(2 (507) = 1014\).
Time = 0.17 (sec) , antiderivative size = 2135, normalized size of antiderivative = 3.07 \[ \int \frac {x \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx=\text {Too large to display} \] Input:
integrate(x*cosh(d*x+c)/(b*x^3+a)^2,x, algorithm="fricas")
Output:
1/36*(12*a*b*d^2*x^2*cosh(d*x + c) - (2*(a*b*d^3*x^3 + a^2*d^3)*cosh(d*x + c)^2 - 2*(a*b*d^3*x^3 + a^2*d^3)*sinh(d*x + c)^2 - (a*d^3/b)^(2/3)*((b^2* x^3 + a*b - sqrt(-3)*(b^2*x^3 + a*b))*cosh(d*x + c)^2 - (b^2*x^3 + a*b - s qrt(-3)*(b^2*x^3 + a*b))*sinh(d*x + c)^2))*Ei(d*x - 1/2*(a*d^3/b)^(1/3)*(s qrt(-3) + 1))*cosh(1/2*(a*d^3/b)^(1/3)*(sqrt(-3) + 1) + c) + (2*(a*b*d^3*x ^3 + a^2*d^3)*cosh(d*x + c)^2 - 2*(a*b*d^3*x^3 + a^2*d^3)*sinh(d*x + c)^2 + (-a*d^3/b)^(2/3)*((b^2*x^3 + a*b - sqrt(-3)*(b^2*x^3 + a*b))*cosh(d*x + c)^2 - (b^2*x^3 + a*b - sqrt(-3)*(b^2*x^3 + a*b))*sinh(d*x + c)^2))*Ei(-d* x - 1/2*(-a*d^3/b)^(1/3)*(sqrt(-3) + 1))*cosh(1/2*(-a*d^3/b)^(1/3)*(sqrt(- 3) + 1) - c) - (2*(a*b*d^3*x^3 + a^2*d^3)*cosh(d*x + c)^2 - 2*(a*b*d^3*x^3 + a^2*d^3)*sinh(d*x + c)^2 - (a*d^3/b)^(2/3)*((b^2*x^3 + a*b + sqrt(-3)*( b^2*x^3 + a*b))*cosh(d*x + c)^2 - (b^2*x^3 + a*b + sqrt(-3)*(b^2*x^3 + a*b ))*sinh(d*x + c)^2))*Ei(d*x + 1/2*(a*d^3/b)^(1/3)*(sqrt(-3) - 1))*cosh(1/2 *(a*d^3/b)^(1/3)*(sqrt(-3) - 1) - c) + (2*(a*b*d^3*x^3 + a^2*d^3)*cosh(d*x + c)^2 - 2*(a*b*d^3*x^3 + a^2*d^3)*sinh(d*x + c)^2 + (-a*d^3/b)^(2/3)*((b ^2*x^3 + a*b + sqrt(-3)*(b^2*x^3 + a*b))*cosh(d*x + c)^2 - (b^2*x^3 + a*b + sqrt(-3)*(b^2*x^3 + a*b))*sinh(d*x + c)^2))*Ei(-d*x + 1/2*(-a*d^3/b)^(1/ 3)*(sqrt(-3) - 1))*cosh(1/2*(-a*d^3/b)^(1/3)*(sqrt(-3) - 1) + c) + 2*((a*b *d^3*x^3 + a^2*d^3)*cosh(d*x + c)^2 - (a*b*d^3*x^3 + a^2*d^3)*sinh(d*x + c )^2 - (-a*d^3/b)^(2/3)*((b^2*x^3 + a*b)*cosh(d*x + c)^2 - (b^2*x^3 + a*...
Timed out. \[ \int \frac {x \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx=\text {Timed out} \] Input:
integrate(x*cosh(d*x+c)/(b*x**3+a)**2,x)
Output:
Timed out
\[ \int \frac {x \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx=\int { \frac {x \cosh \left (d x + c\right )}{{\left (b x^{3} + a\right )}^{2}} \,d x } \] Input:
integrate(x*cosh(d*x+c)/(b*x^3+a)^2,x, algorithm="maxima")
Output:
1/2*(x*e^(d*x + 2*c) - x*e^(-d*x))/(b^2*d*x^6*e^c + 2*a*b*d*x^3*e^c + a^2* d*e^c) + 1/2*integrate((5*b*x^3*e^c - a*e^c)*e^(d*x)/(b^3*d*x^9 + 3*a*b^2* d*x^6 + 3*a^2*b*d*x^3 + a^3*d), x) - 1/2*integrate((5*b*x^3 - a)*e^(-d*x)/ (b^3*d*x^9*e^c + 3*a*b^2*d*x^6*e^c + 3*a^2*b*d*x^3*e^c + a^3*d*e^c), x)
\[ \int \frac {x \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx=\int { \frac {x \cosh \left (d x + c\right )}{{\left (b x^{3} + a\right )}^{2}} \,d x } \] Input:
integrate(x*cosh(d*x+c)/(b*x^3+a)^2,x, algorithm="giac")
Output:
integrate(x*cosh(d*x + c)/(b*x^3 + a)^2, x)
Timed out. \[ \int \frac {x \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx=\int \frac {x\,\mathrm {cosh}\left (c+d\,x\right )}{{\left (b\,x^3+a\right )}^2} \,d x \] Input:
int((x*cosh(c + d*x))/(a + b*x^3)^2,x)
Output:
int((x*cosh(c + d*x))/(a + b*x^3)^2, x)
\[ \int \frac {x \cosh (c+d x)}{\left (a+b x^3\right )^2} \, dx=\int \frac {\cosh \left (d x +c \right ) x}{b^{2} x^{6}+2 a b \,x^{3}+a^{2}}d x \] Input:
int(x*cosh(d*x+c)/(b*x^3+a)^2,x)
Output:
int((cosh(c + d*x)*x)/(a**2 + 2*a*b*x**3 + b**2*x**6),x)