Integrand size = 14, antiderivative size = 127 \[ \int (c+d x)^m \sin (a+b x) \, dx=-\frac {e^{i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (-\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,-\frac {i b (c+d x)}{d}\right )}{2 b}-\frac {e^{-i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,\frac {i b (c+d x)}{d}\right )}{2 b} \] Output:
-1/2*exp(I*(a-b*c/d))*(d*x+c)^m*GAMMA(1+m,-I*b*(d*x+c)/d)/b/((-I*b*(d*x+c) /d)^m)-1/2*(d*x+c)^m*GAMMA(1+m,I*b*(d*x+c)/d)/b/exp(I*(a-b*c/d))/((I*b*(d* x+c)/d)^m)
Time = 0.05 (sec) , antiderivative size = 121, normalized size of antiderivative = 0.95 \[ \int (c+d x)^m \sin (a+b x) \, dx=\frac {e^{-\frac {i (b c+a d)}{d}} (c+d x)^m \left (-e^{2 i a} \left (-\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,-\frac {i b (c+d x)}{d}\right )-e^{\frac {2 i b c}{d}} \left (\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (1+m,\frac {i b (c+d x)}{d}\right )\right )}{2 b} \] Input:
Integrate[(c + d*x)^m*Sin[a + b*x],x]
Output:
((c + d*x)^m*(-((E^((2*I)*a)*Gamma[1 + m, ((-I)*b*(c + d*x))/d])/(((-I)*b* (c + d*x))/d)^m) - (E^(((2*I)*b*c)/d)*Gamma[1 + m, (I*b*(c + d*x))/d])/((I *b*(c + d*x))/d)^m))/(2*b*E^((I*(b*c + a*d))/d))
Time = 0.31 (sec) , antiderivative size = 127, 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.214, Rules used = {3042, 3789, 2612}
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 \sin (a+b x) (c+d x)^m \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \sin (a+b x) (c+d x)^mdx\) |
\(\Big \downarrow \) 3789 |
\(\displaystyle \frac {1}{2} i \int e^{-i (a+b x)} (c+d x)^mdx-\frac {1}{2} i \int e^{i (a+b x)} (c+d x)^mdx\) |
\(\Big \downarrow \) 2612 |
\(\displaystyle -\frac {e^{i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (-\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (m+1,-\frac {i b (c+d x)}{d}\right )}{2 b}-\frac {e^{-i \left (a-\frac {b c}{d}\right )} (c+d x)^m \left (\frac {i b (c+d x)}{d}\right )^{-m} \Gamma \left (m+1,\frac {i b (c+d x)}{d}\right )}{2 b}\) |
Input:
Int[(c + d*x)^m*Sin[a + b*x],x]
Output:
-1/2*(E^(I*(a - (b*c)/d))*(c + d*x)^m*Gamma[1 + m, ((-I)*b*(c + d*x))/d])/ (b*(((-I)*b*(c + d*x))/d)^m) - ((c + d*x)^m*Gamma[1 + m, (I*b*(c + d*x))/d ])/(2*b*E^(I*(a - (b*c)/d))*((I*b*(c + d*x))/d)^m)
Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> Simp[(-F^(g*(e - c*(f/d))))*((c + d*x)^FracPart[m]/(d*((-f)*g*(Log[F]/d) )^(IntPart[m] + 1)*((-f)*g*Log[F]*((c + d*x)/d))^FracPart[m]))*Gamma[m + 1, ((-f)*g*(Log[F]/d))*(c + d*x)], x] /; FreeQ[{F, c, d, e, f, g, m}, x] && !IntegerQ[m]
Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Simp[I /2 Int[(c + d*x)^m/E^(I*(e + f*x)), x], x] - Simp[I/2 Int[(c + d*x)^m*E ^(I*(e + f*x)), x], x] /; FreeQ[{c, d, e, f, m}, x]
\[\int \left (d x +c \right )^{m} \sin \left (b x +a \right )d x\]
Input:
int((d*x+c)^m*sin(b*x+a),x)
Output:
int((d*x+c)^m*sin(b*x+a),x)
Time = 0.08 (sec) , antiderivative size = 94, normalized size of antiderivative = 0.74 \[ \int (c+d x)^m \sin (a+b x) \, dx=-\frac {e^{\left (-\frac {d m \log \left (\frac {i \, b}{d}\right ) - i \, b c + i \, a d}{d}\right )} \Gamma \left (m + 1, \frac {i \, b d x + i \, b c}{d}\right ) + e^{\left (-\frac {d m \log \left (-\frac {i \, b}{d}\right ) + i \, b c - i \, a d}{d}\right )} \Gamma \left (m + 1, \frac {-i \, b d x - i \, b c}{d}\right )}{2 \, b} \] Input:
integrate((d*x+c)^m*sin(b*x+a),x, algorithm="fricas")
Output:
-1/2*(e^(-(d*m*log(I*b/d) - I*b*c + I*a*d)/d)*gamma(m + 1, (I*b*d*x + I*b* c)/d) + e^(-(d*m*log(-I*b/d) + I*b*c - I*a*d)/d)*gamma(m + 1, (-I*b*d*x - I*b*c)/d))/b
\[ \int (c+d x)^m \sin (a+b x) \, dx=\int \left (c + d x\right )^{m} \sin {\left (a + b x \right )}\, dx \] Input:
integrate((d*x+c)**m*sin(b*x+a),x)
Output:
Integral((c + d*x)**m*sin(a + b*x), x)
\[ \int (c+d x)^m \sin (a+b x) \, dx=\int { {\left (d x + c\right )}^{m} \sin \left (b x + a\right ) \,d x } \] Input:
integrate((d*x+c)^m*sin(b*x+a),x, algorithm="maxima")
Output:
integrate((d*x + c)^m*sin(b*x + a), x)
\[ \int (c+d x)^m \sin (a+b x) \, dx=\int { {\left (d x + c\right )}^{m} \sin \left (b x + a\right ) \,d x } \] Input:
integrate((d*x+c)^m*sin(b*x+a),x, algorithm="giac")
Output:
integrate((d*x + c)^m*sin(b*x + a), x)
Timed out. \[ \int (c+d x)^m \sin (a+b x) \, dx=\int \sin \left (a+b\,x\right )\,{\left (c+d\,x\right )}^m \,d x \] Input:
int(sin(a + b*x)*(c + d*x)^m,x)
Output:
int(sin(a + b*x)*(c + d*x)^m, x)
\[ \int (c+d x)^m \sin (a+b x) \, dx =\text {Too large to display} \] Input:
int((d*x+c)^m*sin(b*x+a),x)
Output:
((c + d*x)**m*tan((a + b*x)/2)**2*b*c*m + (c + d*x)**m*tan((a + b*x)/2)**2 *b*d*m*x + 2*(c + d*x)**m*tan((a + b*x)/2)*d*m**2 + 2*(c + d*x)**m*tan((a + b*x)/2)*d*m - (c + d*x)**m*b*c*m - 2*(c + d*x)**m*b*c + (c + d*x)**m*b*d *m*x - 2*int(((c + d*x)**m*tan((a + b*x)/2))/(tan((a + b*x)/2)**2*c + tan( (a + b*x)/2)**2*d*x + c + d*x),x)*tan((a + b*x)/2)**2*d**2*m**3 - 2*int((( c + d*x)**m*tan((a + b*x)/2))/(tan((a + b*x)/2)**2*c + tan((a + b*x)/2)**2 *d*x + c + d*x),x)*tan((a + b*x)/2)**2*d**2*m**2 - 2*int(((c + d*x)**m*tan ((a + b*x)/2))/(tan((a + b*x)/2)**2*c + tan((a + b*x)/2)**2*d*x + c + d*x) ,x)*d**2*m**3 - 2*int(((c + d*x)**m*tan((a + b*x)/2))/(tan((a + b*x)/2)**2 *c + tan((a + b*x)/2)**2*d*x + c + d*x),x)*d**2*m**2 - 2*int(((c + d*x)**m *x)/(tan((a + b*x)/2)**2*c + tan((a + b*x)/2)**2*d*x + c + d*x),x)*tan((a + b*x)/2)**2*b*d**2*m**2 - 2*int(((c + d*x)**m*x)/(tan((a + b*x)/2)**2*c + tan((a + b*x)/2)**2*d*x + c + d*x),x)*tan((a + b*x)/2)**2*b*d**2*m - 2*in t(((c + d*x)**m*x)/(tan((a + b*x)/2)**2*c + tan((a + b*x)/2)**2*d*x + c + d*x),x)*b*d**2*m**2 - 2*int(((c + d*x)**m*x)/(tan((a + b*x)/2)**2*c + tan( (a + b*x)/2)**2*d*x + c + d*x),x)*b*d**2*m)/(b**2*c*(tan((a + b*x)/2)**2*m + tan((a + b*x)/2)**2 + m + 1))