Integrand size = 18, antiderivative size = 131 \[ \int (c+d x)^m (a+b \cosh (e+f x)) \, dx=\frac {a (c+d x)^{1+m}}{d (1+m)}+\frac {b e^{e-\frac {c f}{d}} (c+d x)^m \left (-\frac {f (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,-\frac {f (c+d x)}{d}\right )}{2 f}-\frac {b e^{-e+\frac {c f}{d}} (c+d x)^m \left (\frac {f (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,\frac {f (c+d x)}{d}\right )}{2 f} \] Output:
a*(d*x+c)^(1+m)/d/(1+m)+1/2*b*exp(e-c*f/d)*(d*x+c)^m*GAMMA(1+m,-f*(d*x+c)/ d)/f/((-f*(d*x+c)/d)^m)-1/2*b*exp(-e+c*f/d)*(d*x+c)^m*GAMMA(1+m,f*(d*x+c)/ d)/f/((f*(d*x+c)/d)^m)
Time = 0.12 (sec) , antiderivative size = 119, normalized size of antiderivative = 0.91 \[ \int (c+d x)^m (a+b \cosh (e+f x)) \, dx=\frac {1}{2} (c+d x)^m \left (\frac {2 a (c+d x)}{d (1+m)}+\frac {b e^{e-\frac {c f}{d}} \left (-\frac {f (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,-\frac {f (c+d x)}{d}\right )}{f}-\frac {b e^{-e+\frac {c f}{d}} \left (f \left (\frac {c}{d}+x\right )\right )^{-m} \Gamma \left (1+m,\frac {f (c+d x)}{d}\right )}{f}\right ) \] Input:
Integrate[(c + d*x)^m*(a + b*Cosh[e + f*x]),x]
Output:
((c + d*x)^m*((2*a*(c + d*x))/(d*(1 + m)) + (b*E^(e - (c*f)/d)*Gamma[1 + m , -((f*(c + d*x))/d)])/(f*(-((f*(c + d*x))/d))^m) - (b*E^(-e + (c*f)/d)*Ga mma[1 + m, (f*(c + d*x))/d])/(f*(f*(c/d + x))^m)))/2
Time = 0.38 (sec) , antiderivative size = 131, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3042, 3798, 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 (c+d x)^m (a+b \cosh (e+f x)) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int (c+d x)^m \left (a+b \sin \left (i e+i f x+\frac {\pi }{2}\right )\right )dx\) |
\(\Big \downarrow \) 3798 |
\(\displaystyle \int \left (a (c+d x)^m+b (c+d x)^m \cosh (e+f x)\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {a (c+d x)^{m+1}}{d (m+1)}+\frac {b e^{e-\frac {c f}{d}} (c+d x)^m \left (-\frac {f (c+d x)}{d}\right )^{-m} \Gamma \left (m+1,-\frac {f (c+d x)}{d}\right )}{2 f}-\frac {b e^{\frac {c f}{d}-e} (c+d x)^m \left (\frac {f (c+d x)}{d}\right )^{-m} \Gamma \left (m+1,\frac {f (c+d x)}{d}\right )}{2 f}\) |
Input:
Int[(c + d*x)^m*(a + b*Cosh[e + f*x]),x]
Output:
(a*(c + d*x)^(1 + m))/(d*(1 + m)) + (b*E^(e - (c*f)/d)*(c + d*x)^m*Gamma[1 + m, -((f*(c + d*x))/d)])/(2*f*(-((f*(c + d*x))/d))^m) - (b*E^(-e + (c*f) /d)*(c + d*x)^m*Gamma[1 + m, (f*(c + d*x))/d])/(2*f*((f*(c + d*x))/d)^m)
Int[((c_.) + (d_.)*(x_))^(m_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(n_.) , x_Symbol] :> Int[ExpandIntegrand[(c + d*x)^m, (a + b*Sin[e + f*x])^n, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && IGtQ[n, 0] && (EqQ[n, 1] || IGtQ[ m, 0] || NeQ[a^2 - b^2, 0])
\[\int \left (d x +c \right )^{m} \left (a +b \cosh \left (f x +e \right )\right )d x\]
Input:
int((d*x+c)^m*(a+b*cosh(f*x+e)),x)
Output:
int((d*x+c)^m*(a+b*cosh(f*x+e)),x)
Time = 0.08 (sec) , antiderivative size = 249, normalized size of antiderivative = 1.90 \[ \int (c+d x)^m (a+b \cosh (e+f x)) \, dx=-\frac {{\left (b d m + b d\right )} \cosh \left (\frac {d m \log \left (\frac {f}{d}\right ) + d e - c f}{d}\right ) \Gamma \left (m + 1, \frac {d f x + c f}{d}\right ) - {\left (b d m + b d\right )} \cosh \left (\frac {d m \log \left (-\frac {f}{d}\right ) - d e + c f}{d}\right ) \Gamma \left (m + 1, -\frac {d f x + c f}{d}\right ) - {\left (b d m + b d\right )} \Gamma \left (m + 1, \frac {d f x + c f}{d}\right ) \sinh \left (\frac {d m \log \left (\frac {f}{d}\right ) + d e - c f}{d}\right ) + {\left (b d m + b d\right )} \Gamma \left (m + 1, -\frac {d f x + c f}{d}\right ) \sinh \left (\frac {d m \log \left (-\frac {f}{d}\right ) - d e + c f}{d}\right ) - 2 \, {\left (a d f x + a c f\right )} \cosh \left (m \log \left (d x + c\right )\right ) - 2 \, {\left (a d f x + a c f\right )} \sinh \left (m \log \left (d x + c\right )\right )}{2 \, {\left (d f m + d f\right )}} \] Input:
integrate((d*x+c)^m*(a+b*cosh(f*x+e)),x, algorithm="fricas")
Output:
-1/2*((b*d*m + b*d)*cosh((d*m*log(f/d) + d*e - c*f)/d)*gamma(m + 1, (d*f*x + c*f)/d) - (b*d*m + b*d)*cosh((d*m*log(-f/d) - d*e + c*f)/d)*gamma(m + 1 , -(d*f*x + c*f)/d) - (b*d*m + b*d)*gamma(m + 1, (d*f*x + c*f)/d)*sinh((d* m*log(f/d) + d*e - c*f)/d) + (b*d*m + b*d)*gamma(m + 1, -(d*f*x + c*f)/d)* sinh((d*m*log(-f/d) - d*e + c*f)/d) - 2*(a*d*f*x + a*c*f)*cosh(m*log(d*x + c)) - 2*(a*d*f*x + a*c*f)*sinh(m*log(d*x + c)))/(d*f*m + d*f)
Exception generated. \[ \int (c+d x)^m (a+b \cosh (e+f x)) \, dx=\text {Exception raised: TypeError} \] Input:
integrate((d*x+c)**m*(a+b*cosh(f*x+e)),x)
Output:
Exception raised: TypeError >> cannot determine truth value of Relational
Time = 0.09 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.76 \[ \int (c+d x)^m (a+b \cosh (e+f x)) \, dx=-\frac {1}{2} \, {\left (\frac {{\left (d x + c\right )}^{m + 1} e^{\left (-e + \frac {c f}{d}\right )} E_{-m}\left (\frac {{\left (d x + c\right )} f}{d}\right )}{d} + \frac {{\left (d x + c\right )}^{m + 1} e^{\left (e - \frac {c f}{d}\right )} E_{-m}\left (-\frac {{\left (d x + c\right )} f}{d}\right )}{d}\right )} b + \frac {{\left (d x + c\right )}^{m + 1} a}{d {\left (m + 1\right )}} \] Input:
integrate((d*x+c)^m*(a+b*cosh(f*x+e)),x, algorithm="maxima")
Output:
-1/2*((d*x + c)^(m + 1)*e^(-e + c*f/d)*exp_integral_e(-m, (d*x + c)*f/d)/d + (d*x + c)^(m + 1)*e^(e - c*f/d)*exp_integral_e(-m, -(d*x + c)*f/d)/d)*b + (d*x + c)^(m + 1)*a/(d*(m + 1))
\[ \int (c+d x)^m (a+b \cosh (e+f x)) \, dx=\int { {\left (b \cosh \left (f x + e\right ) + a\right )} {\left (d x + c\right )}^{m} \,d x } \] Input:
integrate((d*x+c)^m*(a+b*cosh(f*x+e)),x, algorithm="giac")
Output:
integrate((b*cosh(f*x + e) + a)*(d*x + c)^m, x)
Timed out. \[ \int (c+d x)^m (a+b \cosh (e+f x)) \, dx=\int \left (a+b\,\mathrm {cosh}\left (e+f\,x\right )\right )\,{\left (c+d\,x\right )}^m \,d x \] Input:
int((a + b*cosh(e + f*x))*(c + d*x)^m,x)
Output:
int((a + b*cosh(e + f*x))*(c + d*x)^m, x)
\[ \int (c+d x)^m (a+b \cosh (e+f x)) \, dx=\frac {e^{2 f x +2 e} \left (d x +c \right )^{m} b d m +e^{2 f x +2 e} \left (d x +c \right )^{m} b d +2 e^{f x +e} \left (d x +c \right )^{m} a c f +2 e^{f x +e} \left (d x +c \right )^{m} a d f x -\left (d x +c \right )^{m} b d m -\left (d x +c \right )^{m} b d -e^{f x +2 e} \left (\int \frac {e^{f x} \left (d x +c \right )^{m}}{d x +c}d x \right ) b \,d^{2} m^{2}-e^{f x +2 e} \left (\int \frac {e^{f x} \left (d x +c \right )^{m}}{d x +c}d x \right ) b \,d^{2} m +e^{f x} \left (\int \frac {\left (d x +c \right )^{m}}{e^{f x} c +e^{f x} d x}d x \right ) b \,d^{2} m^{2}+e^{f x} \left (\int \frac {\left (d x +c \right )^{m}}{e^{f x} c +e^{f x} d x}d x \right ) b \,d^{2} m}{2 e^{f x +e} d f \left (m +1\right )} \] Input:
int((d*x+c)^m*(a+b*cosh(f*x+e)),x)
Output:
(e**(2*e + 2*f*x)*(c + d*x)**m*b*d*m + e**(2*e + 2*f*x)*(c + d*x)**m*b*d + 2*e**(e + f*x)*(c + d*x)**m*a*c*f + 2*e**(e + f*x)*(c + d*x)**m*a*d*f*x - (c + d*x)**m*b*d*m - (c + d*x)**m*b*d - e**(2*e + f*x)*int((e**(f*x)*(c + d*x)**m)/(c + d*x),x)*b*d**2*m**2 - e**(2*e + f*x)*int((e**(f*x)*(c + d*x )**m)/(c + d*x),x)*b*d**2*m + e**(f*x)*int((c + d*x)**m/(e**(f*x)*c + e**( f*x)*d*x),x)*b*d**2*m**2 + e**(f*x)*int((c + d*x)**m/(e**(f*x)*c + e**(f*x )*d*x),x)*b*d**2*m)/(2*e**(e + f*x)*d*f*(m + 1))