Integrand size = 14, antiderivative size = 75 \[ \int (c+d x) \cosh ^3(a+b x) \, dx=-\frac {2 d \cosh (a+b x)}{3 b^2}-\frac {d \cosh ^3(a+b x)}{9 b^2}+\frac {2 (c+d x) \sinh (a+b x)}{3 b}+\frac {(c+d x) \cosh ^2(a+b x) \sinh (a+b x)}{3 b} \] Output:
-2/3*d*cosh(b*x+a)/b^2-1/9*d*cosh(b*x+a)^3/b^2+2/3*(d*x+c)*sinh(b*x+a)/b+1 /3*(d*x+c)*cosh(b*x+a)^2*sinh(b*x+a)/b
Time = 0.18 (sec) , antiderivative size = 52, normalized size of antiderivative = 0.69 \[ \int (c+d x) \cosh ^3(a+b x) \, dx=-\frac {27 d \cosh (a+b x)+d \cosh (3 (a+b x))-3 b (c+d x) (9 \sinh (a+b x)+\sinh (3 (a+b x)))}{36 b^2} \] Input:
Integrate[(c + d*x)*Cosh[a + b*x]^3,x]
Output:
-1/36*(27*d*Cosh[a + b*x] + d*Cosh[3*(a + b*x)] - 3*b*(c + d*x)*(9*Sinh[a + b*x] + Sinh[3*(a + b*x)]))/b^2
Time = 0.37 (sec) , antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.571, Rules used = {3042, 3791, 3042, 3777, 26, 3042, 26, 3118}
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 (c+d x) \cosh ^3(a+b x) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int (c+d x) \sin \left (i a+i b x+\frac {\pi }{2}\right )^3dx\) |
\(\Big \downarrow \) 3791 |
\(\displaystyle \frac {2}{3} \int (c+d x) \cosh (a+b x)dx-\frac {d \cosh ^3(a+b x)}{9 b^2}+\frac {(c+d x) \sinh (a+b x) \cosh ^2(a+b x)}{3 b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {2}{3} \int (c+d x) \sin \left (i a+i b x+\frac {\pi }{2}\right )dx-\frac {d \cosh ^3(a+b x)}{9 b^2}+\frac {(c+d x) \sinh (a+b x) \cosh ^2(a+b x)}{3 b}\) |
\(\Big \downarrow \) 3777 |
\(\displaystyle \frac {2}{3} \left (\frac {(c+d x) \sinh (a+b x)}{b}-\frac {i d \int -i \sinh (a+b x)dx}{b}\right )-\frac {d \cosh ^3(a+b x)}{9 b^2}+\frac {(c+d x) \sinh (a+b x) \cosh ^2(a+b x)}{3 b}\) |
\(\Big \downarrow \) 26 |
\(\displaystyle \frac {2}{3} \left (\frac {(c+d x) \sinh (a+b x)}{b}-\frac {d \int \sinh (a+b x)dx}{b}\right )-\frac {d \cosh ^3(a+b x)}{9 b^2}+\frac {(c+d x) \sinh (a+b x) \cosh ^2(a+b x)}{3 b}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {2}{3} \left (\frac {(c+d x) \sinh (a+b x)}{b}-\frac {d \int -i \sin (i a+i b x)dx}{b}\right )-\frac {d \cosh ^3(a+b x)}{9 b^2}+\frac {(c+d x) \sinh (a+b x) \cosh ^2(a+b x)}{3 b}\) |
\(\Big \downarrow \) 26 |
\(\displaystyle \frac {2}{3} \left (\frac {(c+d x) \sinh (a+b x)}{b}+\frac {i d \int \sin (i a+i b x)dx}{b}\right )-\frac {d \cosh ^3(a+b x)}{9 b^2}+\frac {(c+d x) \sinh (a+b x) \cosh ^2(a+b x)}{3 b}\) |
\(\Big \downarrow \) 3118 |
\(\displaystyle \frac {2}{3} \left (\frac {(c+d x) \sinh (a+b x)}{b}-\frac {d \cosh (a+b x)}{b^2}\right )-\frac {d \cosh ^3(a+b x)}{9 b^2}+\frac {(c+d x) \sinh (a+b x) \cosh ^2(a+b x)}{3 b}\) |
Input:
Int[(c + d*x)*Cosh[a + b*x]^3,x]
Output:
-1/9*(d*Cosh[a + b*x]^3)/b^2 + ((c + d*x)*Cosh[a + b*x]^2*Sinh[a + b*x])/( 3*b) + (2*(-((d*Cosh[a + b*x])/b^2) + ((c + d*x)*Sinh[a + b*x])/b))/3
Int[(Complex[0, a_])*(Fx_), x_Symbol] :> Simp[(Complex[Identity[0], a]) I nt[Fx, x], x] /; FreeQ[a, x] && EqQ[a^2, 1]
Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Simp[( -(c + d*x)^m)*(Cos[e + f*x]/f), x] + Simp[d*(m/f) Int[(c + d*x)^(m - 1)*C os[e + f*x], x], x] /; FreeQ[{c, d, e, f}, x] && GtQ[m, 0]
Int[((c_.) + (d_.)*(x_))*((b_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[d*((b*Sin[e + f*x])^n/(f^2*n^2)), x] + (-Simp[b*(c + d*x)*Cos[e + f*x ]*((b*Sin[e + f*x])^(n - 1)/(f*n)), x] + Simp[b^2*((n - 1)/n) Int[(c + d* x)*(b*Sin[e + f*x])^(n - 2), x], x]) /; FreeQ[{b, c, d, e, f}, x] && GtQ[n, 1]
Time = 1.03 (sec) , antiderivative size = 62, normalized size of antiderivative = 0.83
method | result | size |
parallelrisch | \(\frac {3 b \left (d x +c \right ) \sinh \left (3 b x +3 a \right )-d \cosh \left (3 b x +3 a \right )+27 \left (d x +c \right ) b \sinh \left (b x +a \right )-27 \cosh \left (b x +a \right ) d -28 d}{36 b^{2}}\) | \(62\) |
risch | \(\frac {\left (3 d x b +3 c b -d \right ) {\mathrm e}^{3 b x +3 a}}{72 b^{2}}+\frac {3 \left (d x b +c b -d \right ) {\mathrm e}^{b x +a}}{8 b^{2}}-\frac {3 \left (d x b +c b +d \right ) {\mathrm e}^{-b x -a}}{8 b^{2}}-\frac {\left (3 d x b +3 c b +d \right ) {\mathrm e}^{-3 b x -3 a}}{72 b^{2}}\) | \(99\) |
derivativedivides | \(\frac {\frac {d \left (\frac {2 \left (b x +a \right ) \sinh \left (b x +a \right )}{3}+\frac {\left (b x +a \right ) \sinh \left (b x +a \right ) \cosh \left (b x +a \right )^{2}}{3}-\frac {2 \cosh \left (b x +a \right )}{3}-\frac {\cosh \left (b x +a \right )^{3}}{9}\right )}{b}-\frac {d a \left (\frac {2}{3}+\frac {\cosh \left (b x +a \right )^{2}}{3}\right ) \sinh \left (b x +a \right )}{b}+c \left (\frac {2}{3}+\frac {\cosh \left (b x +a \right )^{2}}{3}\right ) \sinh \left (b x +a \right )}{b}\) | \(109\) |
default | \(\frac {\frac {d \left (\frac {2 \left (b x +a \right ) \sinh \left (b x +a \right )}{3}+\frac {\left (b x +a \right ) \sinh \left (b x +a \right ) \cosh \left (b x +a \right )^{2}}{3}-\frac {2 \cosh \left (b x +a \right )}{3}-\frac {\cosh \left (b x +a \right )^{3}}{9}\right )}{b}-\frac {d a \left (\frac {2}{3}+\frac {\cosh \left (b x +a \right )^{2}}{3}\right ) \sinh \left (b x +a \right )}{b}+c \left (\frac {2}{3}+\frac {\cosh \left (b x +a \right )^{2}}{3}\right ) \sinh \left (b x +a \right )}{b}\) | \(109\) |
orering | \(-\frac {4 d \left (5 d^{2} x^{2} b^{2}+10 b^{2} c d x +5 b^{2} c^{2}-2 d^{2}\right ) \cosh \left (b x +a \right )^{3}}{9 b^{4} \left (d x +c \right )^{2}}+\frac {2 \left (5 d^{2} x^{2} b^{2}+10 b^{2} c d x +5 b^{2} c^{2}-4 d^{2}\right ) \left (d \cosh \left (b x +a \right )^{3}+3 \left (d x +c \right ) \cosh \left (b x +a \right )^{2} b \sinh \left (b x +a \right )\right )}{9 b^{4} \left (d x +c \right )^{2}}+\frac {4 d \left (6 d \cosh \left (b x +a \right )^{2} b \sinh \left (b x +a \right )+6 \left (d x +c \right ) \cosh \left (b x +a \right ) b^{2} \sinh \left (b x +a \right )^{2}+3 \left (d x +c \right ) \cosh \left (b x +a \right )^{3} b^{2}\right )}{9 b^{4} \left (d x +c \right )}-\frac {18 d \cosh \left (b x +a \right ) b^{2} \sinh \left (b x +a \right )^{2}+9 d \cosh \left (b x +a \right )^{3} b^{2}+6 \left (d x +c \right ) b^{3} \sinh \left (b x +a \right )^{3}+21 \left (d x +c \right ) \cosh \left (b x +a \right )^{2} b^{3} \sinh \left (b x +a \right )}{9 b^{4}}\) | \(290\) |
Input:
int((d*x+c)*cosh(b*x+a)^3,x,method=_RETURNVERBOSE)
Output:
1/36*(3*b*(d*x+c)*sinh(3*b*x+3*a)-d*cosh(3*b*x+3*a)+27*(d*x+c)*b*sinh(b*x+ a)-27*cosh(b*x+a)*d-28*d)/b^2
Time = 0.08 (sec) , antiderivative size = 95, normalized size of antiderivative = 1.27 \[ \int (c+d x) \cosh ^3(a+b x) \, dx=-\frac {d \cosh \left (b x + a\right )^{3} + 3 \, d \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{2} - 3 \, {\left (b d x + b c\right )} \sinh \left (b x + a\right )^{3} + 27 \, d \cosh \left (b x + a\right ) - 9 \, {\left (3 \, b d x + {\left (b d x + b c\right )} \cosh \left (b x + a\right )^{2} + 3 \, b c\right )} \sinh \left (b x + a\right )}{36 \, b^{2}} \] Input:
integrate((d*x+c)*cosh(b*x+a)^3,x, algorithm="fricas")
Output:
-1/36*(d*cosh(b*x + a)^3 + 3*d*cosh(b*x + a)*sinh(b*x + a)^2 - 3*(b*d*x + b*c)*sinh(b*x + a)^3 + 27*d*cosh(b*x + a) - 9*(3*b*d*x + (b*d*x + b*c)*cos h(b*x + a)^2 + 3*b*c)*sinh(b*x + a))/b^2
Time = 0.25 (sec) , antiderivative size = 126, normalized size of antiderivative = 1.68 \[ \int (c+d x) \cosh ^3(a+b x) \, dx=\begin {cases} - \frac {2 c \sinh ^{3}{\left (a + b x \right )}}{3 b} + \frac {c \sinh {\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{b} - \frac {2 d x \sinh ^{3}{\left (a + b x \right )}}{3 b} + \frac {d x \sinh {\left (a + b x \right )} \cosh ^{2}{\left (a + b x \right )}}{b} + \frac {2 d \sinh ^{2}{\left (a + b x \right )} \cosh {\left (a + b x \right )}}{3 b^{2}} - \frac {7 d \cosh ^{3}{\left (a + b x \right )}}{9 b^{2}} & \text {for}\: b \neq 0 \\\left (c x + \frac {d x^{2}}{2}\right ) \cosh ^{3}{\left (a \right )} & \text {otherwise} \end {cases} \] Input:
integrate((d*x+c)*cosh(b*x+a)**3,x)
Output:
Piecewise((-2*c*sinh(a + b*x)**3/(3*b) + c*sinh(a + b*x)*cosh(a + b*x)**2/ b - 2*d*x*sinh(a + b*x)**3/(3*b) + d*x*sinh(a + b*x)*cosh(a + b*x)**2/b + 2*d*sinh(a + b*x)**2*cosh(a + b*x)/(3*b**2) - 7*d*cosh(a + b*x)**3/(9*b**2 ), Ne(b, 0)), ((c*x + d*x**2/2)*cosh(a)**3, True))
Leaf count of result is larger than twice the leaf count of optimal. 143 vs. \(2 (67) = 134\).
Time = 0.05 (sec) , antiderivative size = 143, normalized size of antiderivative = 1.91 \[ \int (c+d x) \cosh ^3(a+b x) \, dx=\frac {1}{72} \, d {\left (\frac {{\left (3 \, b x e^{\left (3 \, a\right )} - e^{\left (3 \, a\right )}\right )} e^{\left (3 \, b x\right )}}{b^{2}} + \frac {27 \, {\left (b x e^{a} - e^{a}\right )} e^{\left (b x\right )}}{b^{2}} - \frac {27 \, {\left (b x + 1\right )} e^{\left (-b x - a\right )}}{b^{2}} - \frac {{\left (3 \, b x + 1\right )} e^{\left (-3 \, b x - 3 \, a\right )}}{b^{2}}\right )} + \frac {1}{24} \, c {\left (\frac {e^{\left (3 \, b x + 3 \, a\right )}}{b} + \frac {9 \, e^{\left (b x + a\right )}}{b} - \frac {9 \, e^{\left (-b x - a\right )}}{b} - \frac {e^{\left (-3 \, b x - 3 \, a\right )}}{b}\right )} \] Input:
integrate((d*x+c)*cosh(b*x+a)^3,x, algorithm="maxima")
Output:
1/72*d*((3*b*x*e^(3*a) - e^(3*a))*e^(3*b*x)/b^2 + 27*(b*x*e^a - e^a)*e^(b* x)/b^2 - 27*(b*x + 1)*e^(-b*x - a)/b^2 - (3*b*x + 1)*e^(-3*b*x - 3*a)/b^2) + 1/24*c*(e^(3*b*x + 3*a)/b + 9*e^(b*x + a)/b - 9*e^(-b*x - a)/b - e^(-3* b*x - 3*a)/b)
Time = 0.12 (sec) , antiderivative size = 98, normalized size of antiderivative = 1.31 \[ \int (c+d x) \cosh ^3(a+b x) \, dx=\frac {{\left (3 \, b d x + 3 \, b c - d\right )} e^{\left (3 \, b x + 3 \, a\right )}}{72 \, b^{2}} + \frac {3 \, {\left (b d x + b c - d\right )} e^{\left (b x + a\right )}}{8 \, b^{2}} - \frac {3 \, {\left (b d x + b c + d\right )} e^{\left (-b x - a\right )}}{8 \, b^{2}} - \frac {{\left (3 \, b d x + 3 \, b c + d\right )} e^{\left (-3 \, b x - 3 \, a\right )}}{72 \, b^{2}} \] Input:
integrate((d*x+c)*cosh(b*x+a)^3,x, algorithm="giac")
Output:
1/72*(3*b*d*x + 3*b*c - d)*e^(3*b*x + 3*a)/b^2 + 3/8*(b*d*x + b*c - d)*e^( b*x + a)/b^2 - 3/8*(b*d*x + b*c + d)*e^(-b*x - a)/b^2 - 1/72*(3*b*d*x + 3* b*c + d)*e^(-3*b*x - 3*a)/b^2
Time = 0.23 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.03 \[ \int (c+d x) \cosh ^3(a+b x) \, dx=\frac {\frac {3\,c\,\mathrm {sinh}\left (a+b\,x\right )}{4}+\frac {c\,\mathrm {sinh}\left (3\,a+3\,b\,x\right )}{12}+\frac {d\,x\,\mathrm {sinh}\left (3\,a+3\,b\,x\right )}{12}+\frac {3\,d\,x\,\mathrm {sinh}\left (a+b\,x\right )}{4}}{b}-\frac {d\,\mathrm {cosh}\left (3\,a+3\,b\,x\right )}{36\,b^2}-\frac {3\,d\,\mathrm {cosh}\left (a+b\,x\right )}{4\,b^2} \] Input:
int(cosh(a + b*x)^3*(c + d*x),x)
Output:
((3*c*sinh(a + b*x))/4 + (c*sinh(3*a + 3*b*x))/12 + (d*x*sinh(3*a + 3*b*x) )/12 + (3*d*x*sinh(a + b*x))/4)/b - (d*cosh(3*a + 3*b*x))/(36*b^2) - (3*d* cosh(a + b*x))/(4*b^2)
Time = 0.16 (sec) , antiderivative size = 156, normalized size of antiderivative = 2.08 \[ \int (c+d x) \cosh ^3(a+b x) \, dx=\frac {3 e^{6 b x +6 a} b c +3 e^{6 b x +6 a} b d x -e^{6 b x +6 a} d +27 e^{4 b x +4 a} b c +27 e^{4 b x +4 a} b d x -27 e^{4 b x +4 a} d -27 e^{2 b x +2 a} b c -27 e^{2 b x +2 a} b d x -27 e^{2 b x +2 a} d -3 b c -3 b d x -d}{72 e^{3 b x +3 a} b^{2}} \] Input:
int((d*x+c)*cosh(b*x+a)^3,x)
Output:
(3*e**(6*a + 6*b*x)*b*c + 3*e**(6*a + 6*b*x)*b*d*x - e**(6*a + 6*b*x)*d + 27*e**(4*a + 4*b*x)*b*c + 27*e**(4*a + 4*b*x)*b*d*x - 27*e**(4*a + 4*b*x)* d - 27*e**(2*a + 2*b*x)*b*c - 27*e**(2*a + 2*b*x)*b*d*x - 27*e**(2*a + 2*b *x)*d - 3*b*c - 3*b*d*x - d)/(72*e**(3*a + 3*b*x)*b**2)