Integrand size = 18, antiderivative size = 131 \[ \int (c+d x)^m (a+a \cosh (e+f x)) \, dx=\frac {a (c+d x)^{1+m}}{d (1+m)}+\frac {a 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 {a 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*a*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*a*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.22 (sec) , antiderivative size = 189, normalized size of antiderivative = 1.44 \[ \int (c+d x)^m (a+a \cosh (e+f x)) \, dx=-\frac {a e^{-e-\frac {c f}{d}} (c+d x)^m \left (-\frac {f^2 (c+d x)^2}{d^2}\right )^{-m} (1+\cosh (e+f x)) \left (-2 e^{e+\frac {c f}{d}} f (c+d x) \left (-\frac {f^2 (c+d x)^2}{d^2}\right )^m-d e^{2 e} (1+m) \left (f \left (\frac {c}{d}+x\right )\right )^m \Gamma \left (1+m,-\frac {f (c+d x)}{d}\right )+d e^{\frac {2 c f}{d}} (1+m) \left (-\frac {f (c+d x)}{d}\right )^m \Gamma \left (1+m,\frac {f (c+d x)}{d}\right )\right ) \text {sech}^2\left (\frac {1}{2} (e+f x)\right )}{4 d f (1+m)} \] Input:
Integrate[(c + d*x)^m*(a + a*Cosh[e + f*x]),x]
Output:
-1/4*(a*E^(-e - (c*f)/d)*(c + d*x)^m*(1 + Cosh[e + f*x])*(-2*E^(e + (c*f)/ d)*f*(c + d*x)*(-((f^2*(c + d*x)^2)/d^2))^m - d*E^(2*e)*(1 + m)*(f*(c/d + x))^m*Gamma[1 + m, -((f*(c + d*x))/d)] + d*E^((2*c*f)/d)*(1 + m)*(-((f*(c + d*x))/d))^m*Gamma[1 + m, (f*(c + d*x))/d])*Sech[(e + f*x)/2]^2)/(d*f*(1 + m)*(-((f^2*(c + d*x)^2)/d^2))^m)
Time = 0.45 (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 \cosh (e+f x)+a) \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int (c+d x)^m \left (a+a \sin \left (i e+i f x+\frac {\pi }{2}\right )\right )dx\) |
\(\Big \downarrow \) 3798 |
\(\displaystyle \int \left (a (c+d x)^m \cosh (e+f x)+a (c+d x)^m\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {a 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 {a 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}+\frac {a (c+d x)^{m+1}}{d (m+1)}\) |
Input:
Int[(c + d*x)^m*(a + a*Cosh[e + f*x]),x]
Output:
(a*(c + d*x)^(1 + m))/(d*(1 + m)) + (a*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) - (a*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 +a \cosh \left (f x +e \right )\right )d x\]
Input:
int((d*x+c)^m*(a+a*cosh(f*x+e)),x)
Output:
int((d*x+c)^m*(a+a*cosh(f*x+e)),x)
Time = 0.09 (sec) , antiderivative size = 249, normalized size of antiderivative = 1.90 \[ \int (c+d x)^m (a+a \cosh (e+f x)) \, dx=-\frac {{\left (a d m + a 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 (a d m + a 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 (a d m + a 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 (a d m + a 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+a*cosh(f*x+e)),x, algorithm="fricas")
Output:
-1/2*((a*d*m + a*d)*cosh((d*m*log(f/d) + d*e - c*f)/d)*gamma(m + 1, (d*f*x + c*f)/d) - (a*d*m + a*d)*cosh((d*m*log(-f/d) - d*e + c*f)/d)*gamma(m + 1 , -(d*f*x + c*f)/d) - (a*d*m + a*d)*gamma(m + 1, (d*f*x + c*f)/d)*sinh((d* m*log(f/d) + d*e - c*f)/d) + (a*d*m + a*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+a \cosh (e+f x)) \, dx=\text {Exception raised: TypeError} \] Input:
integrate((d*x+c)**m*(a+a*cosh(f*x+e)),x)
Output:
Exception raised: TypeError >> cannot determine truth value of Relational
Time = 0.08 (sec) , antiderivative size = 100, normalized size of antiderivative = 0.76 \[ \int (c+d x)^m (a+a \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 )} a + \frac {{\left (d x + c\right )}^{m + 1} a}{d {\left (m + 1\right )}} \] Input:
integrate((d*x+c)^m*(a+a*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)*a + (d*x + c)^(m + 1)*a/(d*(m + 1))
\[ \int (c+d x)^m (a+a \cosh (e+f x)) \, dx=\int { {\left (a \cosh \left (f x + e\right ) + a\right )} {\left (d x + c\right )}^{m} \,d x } \] Input:
integrate((d*x+c)^m*(a+a*cosh(f*x+e)),x, algorithm="giac")
Output:
integrate((a*cosh(f*x + e) + a)*(d*x + c)^m, x)
Timed out. \[ \int (c+d x)^m (a+a \cosh (e+f x)) \, dx=\int \left (a+a\,\mathrm {cosh}\left (e+f\,x\right )\right )\,{\left (c+d\,x\right )}^m \,d x \] Input:
int((a + a*cosh(e + f*x))*(c + d*x)^m,x)
Output:
int((a + a*cosh(e + f*x))*(c + d*x)^m, x)
\[ \int (c+d x)^m (a+a \cosh (e+f x)) \, dx=\frac {a \left (e^{2 f x +2 e} \left (d x +c \right )^{m} d m +e^{2 f x +2 e} \left (d x +c \right )^{m} d +2 e^{f x +e} \left (d x +c \right )^{m} c f +2 e^{f x +e} \left (d x +c \right )^{m} d f x -\left (d x +c \right )^{m} d m -\left (d x +c \right )^{m} d -e^{f x +2 e} \left (\int \frac {e^{f x} \left (d x +c \right )^{m}}{d x +c}d x \right ) 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 ) 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 ) 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 ) d^{2} m \right )}{2 e^{f x +e} d f \left (m +1\right )} \] Input:
int((d*x+c)^m*(a+a*cosh(f*x+e)),x)
Output:
(a*(e**(2*e + 2*f*x)*(c + d*x)**m*d*m + e**(2*e + 2*f*x)*(c + d*x)**m*d + 2*e**(e + f*x)*(c + d*x)**m*c*f + 2*e**(e + f*x)*(c + d*x)**m*d*f*x - (c + d*x)**m*d*m - (c + d*x)**m*d - e**(2*e + f*x)*int((e**(f*x)*(c + d*x)**m) /(c + d*x),x)*d**2*m**2 - e**(2*e + f*x)*int((e**(f*x)*(c + d*x)**m)/(c + d*x),x)*d**2*m + e**(f*x)*int((c + d*x)**m/(e**(f*x)*c + e**(f*x)*d*x),x)* d**2*m**2 + e**(f*x)*int((c + d*x)**m/(e**(f*x)*c + e**(f*x)*d*x),x)*d**2* m))/(2*e**(e + f*x)*d*f*(m + 1))