3.132 \(\int \text {Ci}(c+d x) \sin (a+b x) \, dx\)

Optimal. Leaf size=154 \[ \frac {\cos \left (a-\frac {b c}{d}\right ) \text {Ci}\left (x (b-d)+\frac {c (b-d)}{d}\right )}{2 b}-\frac {\cos (a+b x) \text {Ci}(c+d x)}{b}+\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Ci}\left (x (b+d)+\frac {c (b+d)}{d}\right )}{2 b}-\frac {\sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (x (b-d)+\frac {c (b-d)}{d}\right )}{2 b}-\frac {\sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (x (b+d)+\frac {c (b+d)}{d}\right )}{2 b} \]

[Out]

1/2*Ci(c*(b-d)/d+(b-d)*x)*cos(a-b*c/d)/b+1/2*Ci(c*(b+d)/d+(b+d)*x)*cos(a-b*c/d)/b-Ci(d*x+c)*cos(b*x+a)/b-1/2*S
i(c*(b-d)/d+(b-d)*x)*sin(a-b*c/d)/b-1/2*Si(c*(b+d)/d+(b+d)*x)*sin(a-b*c/d)/b

________________________________________________________________________________________

Rubi [A]  time = 0.22, antiderivative size = 154, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 5, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.385, Rules used = {6518, 4429, 3303, 3299, 3302} \[ \frac {\cos \left (a-\frac {b c}{d}\right ) \text {CosIntegral}\left (\frac {c (b-d)}{d}+x (b-d)\right )}{2 b}-\frac {\cos (a+b x) \text {CosIntegral}(c+d x)}{b}+\frac {\cos \left (a-\frac {b c}{d}\right ) \text {CosIntegral}\left (\frac {c (b+d)}{d}+x (b+d)\right )}{2 b}-\frac {\sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (x (b-d)+\frac {c (b-d)}{d}\right )}{2 b}-\frac {\sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (x (b+d)+\frac {c (b+d)}{d}\right )}{2 b} \]

Antiderivative was successfully verified.

[In]

Int[CosIntegral[c + d*x]*Sin[a + b*x],x]

[Out]

(Cos[a - (b*c)/d]*CosIntegral[(c*(b - d))/d + (b - d)*x])/(2*b) - (Cos[a + b*x]*CosIntegral[c + d*x])/b + (Cos
[a - (b*c)/d]*CosIntegral[(c*(b + d))/d + (b + d)*x])/(2*b) - (Sin[a - (b*c)/d]*SinIntegral[(c*(b - d))/d + (b
 - d)*x])/(2*b) - (Sin[a - (b*c)/d]*SinIntegral[(c*(b + d))/d + (b + d)*x])/(2*b)

Rule 3299

Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[SinIntegral[e + f*x]/d, x] /; FreeQ[{c, d,
 e, f}, x] && EqQ[d*e - c*f, 0]

Rule 3302

Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CosIntegral[e - Pi/2 + f*x]/d, x] /; FreeQ
[{c, d, e, f}, x] && EqQ[d*(e - Pi/2) - c*f, 0]

Rule 3303

Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Dist[Cos[(d*e - c*f)/d], Int[Sin[(c*f)/d + f*x]
/(c + d*x), x], x] + Dist[Sin[(d*e - c*f)/d], Int[Cos[(c*f)/d + f*x]/(c + d*x), x], x] /; FreeQ[{c, d, e, f},
x] && NeQ[d*e - c*f, 0]

Rule 4429

Int[Cos[(a_.) + (b_.)*(x_)]^(p_.)*Cos[(c_.) + (d_.)*(x_)]^(q_.)*((e_.) + (f_.)*(x_))^(m_.), x_Symbol] :> Int[E
xpandTrigReduce[(e + f*x)^m, Cos[a + b*x]^p*Cos[c + d*x]^q, x], x] /; FreeQ[{a, b, c, d, e, f}, x] && IGtQ[p,
0] && IGtQ[q, 0] && IntegerQ[m]

Rule 6518

Int[CosIntegral[(c_.) + (d_.)*(x_)]*Sin[(a_.) + (b_.)*(x_)], x_Symbol] :> -Simp[(Cos[a + b*x]*CosIntegral[c +
d*x])/b, x] + Dist[d/b, Int[(Cos[a + b*x]*Cos[c + d*x])/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x]

Rubi steps

\begin {align*} \int \text {Ci}(c+d x) \sin (a+b x) \, dx &=-\frac {\cos (a+b x) \text {Ci}(c+d x)}{b}+\frac {d \int \frac {\cos (a+b x) \cos (c+d x)}{c+d x} \, dx}{b}\\ &=-\frac {\cos (a+b x) \text {Ci}(c+d x)}{b}+\frac {d \int \left (\frac {\cos (a-c+(b-d) x)}{2 (c+d x)}+\frac {\cos (a+c+(b+d) x)}{2 (c+d x)}\right ) \, dx}{b}\\ &=-\frac {\cos (a+b x) \text {Ci}(c+d x)}{b}+\frac {d \int \frac {\cos (a-c+(b-d) x)}{c+d x} \, dx}{2 b}+\frac {d \int \frac {\cos (a+c+(b+d) x)}{c+d x} \, dx}{2 b}\\ &=-\frac {\cos (a+b x) \text {Ci}(c+d x)}{b}+\frac {\left (d \cos \left (a-\frac {b c}{d}\right )\right ) \int \frac {\cos \left (\frac {c (b-d)}{d}+(b-d) x\right )}{c+d x} \, dx}{2 b}+\frac {\left (d \cos \left (a-\frac {b c}{d}\right )\right ) \int \frac {\cos \left (\frac {c (b+d)}{d}+(b+d) x\right )}{c+d x} \, dx}{2 b}-\frac {\left (d \sin \left (a-\frac {b c}{d}\right )\right ) \int \frac {\sin \left (\frac {c (b-d)}{d}+(b-d) x\right )}{c+d x} \, dx}{2 b}-\frac {\left (d \sin \left (a-\frac {b c}{d}\right )\right ) \int \frac {\sin \left (\frac {c (b+d)}{d}+(b+d) x\right )}{c+d x} \, dx}{2 b}\\ &=\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Ci}\left (\frac {c (b-d)}{d}+(b-d) x\right )}{2 b}-\frac {\cos (a+b x) \text {Ci}(c+d x)}{b}+\frac {\cos \left (a-\frac {b c}{d}\right ) \text {Ci}\left (\frac {c (b+d)}{d}+(b+d) x\right )}{2 b}-\frac {\sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b-d)}{d}+(b-d) x\right )}{2 b}-\frac {\sin \left (a-\frac {b c}{d}\right ) \text {Si}\left (\frac {c (b+d)}{d}+(b+d) x\right )}{2 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 1.51, size = 144, normalized size = 0.94 \[ \frac {-4 \cos (a+b x) \text {Ci}(c+d x)+\left (\text {Ei}\left (-\frac {i (b-d) (c+d x)}{d}\right )+\text {Ei}\left (-\frac {i (b+d) (c+d x)}{d}\right )\right ) \left (\cos \left (a-\frac {b c}{d}\right )-i \sin \left (a-\frac {b c}{d}\right )\right )+\left (\text {Ei}\left (\frac {i (b-d) (c+d x)}{d}\right )+\text {Ei}\left (\frac {i (b+d) (c+d x)}{d}\right )\right ) \left (\cos \left (a-\frac {b c}{d}\right )+i \sin \left (a-\frac {b c}{d}\right )\right )}{4 b} \]

Antiderivative was successfully verified.

[In]

Integrate[CosIntegral[c + d*x]*Sin[a + b*x],x]

[Out]

(-4*Cos[a + b*x]*CosIntegral[c + d*x] + (ExpIntegralEi[((-I)*(b - d)*(c + d*x))/d] + ExpIntegralEi[((-I)*(b +
d)*(c + d*x))/d])*(Cos[a - (b*c)/d] - I*Sin[a - (b*c)/d]) + (ExpIntegralEi[(I*(b - d)*(c + d*x))/d] + ExpInteg
ralEi[(I*(b + d)*(c + d*x))/d])*(Cos[a - (b*c)/d] + I*Sin[a - (b*c)/d]))/(4*b)

________________________________________________________________________________________

fricas [F]  time = 0.78, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\operatorname {Ci}\left (d x + c\right ) \sin \left (b x + a\right ), x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(Ci(d*x+c)*sin(b*x+a),x, algorithm="fricas")

[Out]

integral(cos_integral(d*x + c)*sin(b*x + a), x)

________________________________________________________________________________________

giac [C]  time = 0.64, size = 9213, normalized size = 59.82 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(Ci(d*x+c)*sin(b*x+a),x, algorithm="giac")

[Out]

1/4*(real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c
*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(-b*x + d*x + c - b*c
/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/
2*(b*c - c*d)/d)^2 - 2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^
2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*
a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*sin_integral((b*d*x - d^
2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
- 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*
d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*imag_part(cos_i
ntegral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
- c*d)/d)^2 - 2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/
2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)
^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*imag_part(cos_integral(b*x + d*x +
 c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*ima
g_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*
tan(1/2*(b*c - c*d)/d)^2 + 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*
a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - real_part(cos_integral(b*x - d*x - c + b*c/d))*ta
n(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - real_part(cos_integral(-b*x + d*x + c - b*c
/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + real_part(cos_integral(-b*x - d*x -
c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*real_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) +
4*real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/
d)^2*tan(1/2*(b*c - c*d)/d) - real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2
*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1
/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1
/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*real_part(cos_integral(
-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)
^2 + real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c
 - c*d)/d)^2 - real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*ta
n(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c
*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1
/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*
c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(-b*x + d*x + c - b*c
/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(-b*x - d*
x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*imag_part(cos_integ
ral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*imag_part(cos
_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 4*sin_in
tegral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*ima
g_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 +
 2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)
/d)^2 - 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c
*d)/d)^2 + 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b
*c + c*d)/d)^2 - 2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2 + 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*
tan(1/2*(b*c + c*d)/d)^2 - 2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1
/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/
2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan
(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)
^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2
*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*
tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*imag_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*imag_part(cos_integral(-b*x
 + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 4*sin_integral((b*
d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 2*imag_part
(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 2*ima
g_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2
+ 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)
^2 - 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c
*d)/d)^2 + 2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(
b*c - c*d)/d)^2 - 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c - c*d)/d)^2 - 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)
/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*
(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*t
an(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*t
an(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*sin_integral((b*d*x + d^2*x + b*c + c*
d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 2*imag_part(cos_integral(b*x + d*
x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*imag_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*sin_integr
al((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + 2*ima
g_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)
^2 - 2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*
c - c*d)/d)^2 + 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(
1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^
2 - real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - real_part(cos_i
ntegral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 - real_part(cos_integral(-b*x - d*x
 - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + 4*real_part(cos_integral(b*x + d*x + c + b*c/d))*ta
n(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*real_part(cos_integral(-b*x - d*x - c - b*c/d
))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + real_part(cos_integral(b*x + d*x + c + b*c
/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a
+ 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan
(1/2*(b*c + c*d)/d)^2 + real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*
d)/d)^2 - real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - real_
part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - real_part(cos_integr
al(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 - real_part(cos_integral(-b*x - d*x
- c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + 4*real_part(cos_integral(b*x - d*x - c + b*c/d))
*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*real_part(cos_integral(-b*x + d*x + c - b*
c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*real_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*real_part(cos_integral(-b*x +
 d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - real_part(cos_integral
(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(b*x - d*x - c
+ b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(
1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)
^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c
 - c*d)/d)^2 + real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 +
real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_
integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + 4*real_part(cos_integral(b*x
 + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*real_part(cos_inte
gral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - real_part(c
os_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral
(b*x - d*x - c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(-b*x + d*x
 + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(-b*x - d*x - c - b*c
/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 - 2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(
1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) + 2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a + 1/2*c)^2*t
an(1/2*a - 1/2*c) - 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c) - 2*
imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 + 2*imag_part(cos_integ
ral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 4*sin_integral((b*d*x + d^2*x + b*c + c
*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*a - 1/2*c)^2 - 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1
/2*(b*c + c*d)/d) - 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)
+ 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) - 2*imag_part(c
os_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 4*sin_integral((b*d*x + d^2
*x + b*c + c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d) + 2*imag_part(cos_integral(b*x + d*x + c + b*c/
d))*tan(1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a
+ 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*(
b*c + c*d)/d)^2 - 2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2
 + 2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 - 4*sin_integ
ral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*(b*c + c*d)/d)^2 + 2*imag_part(cos_integral(b*x
- d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*imag_part(cos_integral(-b*x + d*x + c - b*
c/d))*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a +
1/2*c)^2*tan(1/2*(b*c - c*d)/d) - 2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/
2*(b*c - c*d)/d) + 2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/
d) - 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d) + 2*imag_part(c
os_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*imag_part(cos_integral
(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) + 4*sin_integral((b*d*x - d^2*x + b*
c - c*d)/d)*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d) - 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))
*tan(1/2*a + 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*imag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1
/2*c)*tan(1/2*(b*c - c*d)/d)^2 - 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*a + 1/2*c)*tan(1/2*(b*c
 - c*d)/d)^2 + 2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 -
2*imag_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 4*sin_integral
((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d)^2 + 2*imag_part(cos_integral(b*x + d
*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - 2*imag_part(cos_integral(-b*x - d*x - c - b
*c/d))*tan(1/2*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 + 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2
*(b*c + c*d)/d)*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c)^2
 + real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a + 1/2*c)^2 + real_part(cos_integral(-b*x + d*x + c
 - b*c/d))*tan(1/2*a + 1/2*c)^2 - real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)^2 + real_
part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a - 1/2*c)^2 - real_part(cos_integral(b*x - d*x - c + b*c/d)
)*tan(1/2*a - 1/2*c)^2 - real_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)^2 + real_part(cos_
integral(-b*x - d*x - c - b*c/d))*tan(1/2*a - 1/2*c)^2 + 4*real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(
1/2*a + 1/2*c)*tan(1/2*(b*c + c*d)/d) + 4*real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c)*t
an(1/2*(b*c + c*d)/d) - real_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2 + real_part(co
s_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c + c*d)/d)^2 + real_part(cos_integral(-b*x + d*x + c - b*c/d))*
tan(1/2*(b*c + c*d)/d)^2 - real_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d)^2 + 4*real_p
art(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + 4*real_part(cos_integral(
-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c)*tan(1/2*(b*c - c*d)/d) + real_part(cos_integral(b*x + d*x + c + b*
c/d))*tan(1/2*(b*c - c*d)/d)^2 - real_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c - c*d)/d)^2 - rea
l_part(cos_integral(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c - c*d)/d)^2 + real_part(cos_integral(-b*x - d*x - c
- b*c/d))*tan(1/2*(b*c - c*d)/d)^2 - 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*a + 1/2*c) + 2*i
mag_part(cos_integral(-b*x - d*x - c - b*c/d))*tan(1/2*a + 1/2*c) - 4*sin_integral((b*d*x + d^2*x + b*c + c*d)
/d)*tan(1/2*a + 1/2*c) - 2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*a - 1/2*c) + 2*imag_part(cos
_integral(-b*x + d*x + c - b*c/d))*tan(1/2*a - 1/2*c) - 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*
a - 1/2*c) + 2*imag_part(cos_integral(b*x + d*x + c + b*c/d))*tan(1/2*(b*c + c*d)/d) - 2*imag_part(cos_integra
l(-b*x - d*x - c - b*c/d))*tan(1/2*(b*c + c*d)/d) + 4*sin_integral((b*d*x + d^2*x + b*c + c*d)/d)*tan(1/2*(b*c
 + c*d)/d) + 2*imag_part(cos_integral(b*x - d*x - c + b*c/d))*tan(1/2*(b*c - c*d)/d) - 2*imag_part(cos_integra
l(-b*x + d*x + c - b*c/d))*tan(1/2*(b*c - c*d)/d) + 4*sin_integral((b*d*x - d^2*x + b*c - c*d)/d)*tan(1/2*(b*c
 - c*d)/d) + real_part(cos_integral(b*x + d*x + c + b*c/d)) + real_part(cos_integral(b*x - d*x - c + b*c/d)) +
 real_part(cos_integral(-b*x + d*x + c - b*c/d)) + real_part(cos_integral(-b*x - d*x - c - b*c/d)))*d/(b*d*tan
(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*d*tan(1/2*a + 1/2
*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*d*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2*tan(1/2*(b
*c - c*d)/d)^2 + b*d*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*d*tan(1/2*a -
1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*d*tan(1/2*a + 1/2*c)^2*tan(1/2*a - 1/2*c)^2 + b
*d*tan(1/2*a + 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*d*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c + c*d)/d)^2 + b*d*tan
(1/2*a + 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*d*tan(1/2*a - 1/2*c)^2*tan(1/2*(b*c - c*d)/d)^2 + b*d*tan(1/2*(
b*c + c*d)/d)^2*tan(1/2*(b*c - c*d)/d)^2 + b*d*tan(1/2*a + 1/2*c)^2 + b*d*tan(1/2*a - 1/2*c)^2 + b*d*tan(1/2*(
b*c + c*d)/d)^2 + b*d*tan(1/2*(b*c - c*d)/d)^2 + b*d) - cos(b*x + a)*cos_integral(d*x + c)/b

________________________________________________________________________________________

maple [A]  time = 0.03, size = 280, normalized size = 1.82 \[ \frac {-\frac {\Ci \left (d x +c \right ) d \cos \left (\frac {b \left (d x +c \right )}{d}+\frac {a d -b c}{d}\right )}{b}+\frac {d \left (\frac {d \left (\frac {\Si \left (\frac {\left (b -d \right ) \left (d x +c \right )}{d}+\frac {a d -b c}{d}+\frac {-a d +b c}{d}\right ) \sin \left (\frac {-a d +b c}{d}\right )}{d}+\frac {\Ci \left (\frac {\left (b -d \right ) \left (d x +c \right )}{d}+\frac {a d -b c}{d}+\frac {-a d +b c}{d}\right ) \cos \left (\frac {-a d +b c}{d}\right )}{d}\right )}{2}+\frac {d \left (\frac {\Si \left (\frac {\left (b +d \right ) \left (d x +c \right )}{d}+\frac {a d -b c}{d}+\frac {-a d +b c}{d}\right ) \sin \left (\frac {-a d +b c}{d}\right )}{d}+\frac {\Ci \left (\frac {\left (b +d \right ) \left (d x +c \right )}{d}+\frac {a d -b c}{d}+\frac {-a d +b c}{d}\right ) \cos \left (\frac {-a d +b c}{d}\right )}{d}\right )}{2}\right )}{b}}{d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(Ci(d*x+c)*sin(b*x+a),x)

[Out]

(-Ci(d*x+c)/b*d*cos(b/d*(d*x+c)+(a*d-b*c)/d)+1/b*d*(1/2*d*(Si((b-d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*sin((-
a*d+b*c)/d)/d+Ci((b-d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*cos((-a*d+b*c)/d)/d)+1/2*d*(Si((b+d)/d*(d*x+c)+(a*d
-b*c)/d+(-a*d+b*c)/d)*sin((-a*d+b*c)/d)/d+Ci((b+d)/d*(d*x+c)+(a*d-b*c)/d+(-a*d+b*c)/d)*cos((-a*d+b*c)/d)/d)))/
d

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int {\rm Ci}\left (d x + c\right ) \sin \left (b x + a\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(Ci(d*x+c)*sin(b*x+a),x, algorithm="maxima")

[Out]

integrate(Ci(d*x + c)*sin(b*x + a), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \mathrm {cosint}\left (c+d\,x\right )\,\sin \left (a+b\,x\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cosint(c + d*x)*sin(a + b*x),x)

[Out]

int(cosint(c + d*x)*sin(a + b*x), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sin {\left (a + b x \right )} \operatorname {Ci}{\left (c + d x \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(Ci(d*x+c)*sin(b*x+a),x)

[Out]

Integral(sin(a + b*x)*Ci(c + d*x), x)

________________________________________________________________________________________