Integrand size = 8, antiderivative size = 95 \[ \int x \operatorname {FresnelC}(a+b x) \, dx=-\frac {a^2 \operatorname {FresnelC}(a+b x)}{2 b^2}+\frac {1}{2} x^2 \operatorname {FresnelC}(a+b x)+\frac {\operatorname {FresnelS}(a+b x)}{2 b^2 \pi }+\frac {a \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{b^2 \pi }-\frac {(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{2 b^2 \pi } \] Output:
-1/2*a^2*FresnelC(b*x+a)/b^2+1/2*x^2*FresnelC(b*x+a)+1/2*FresnelS(b*x+a)/b ^2/Pi+a*sin(1/2*Pi*(b*x+a)^2)/b^2/Pi-1/2*(b*x+a)*sin(1/2*Pi*(b*x+a)^2)/b^2 /Pi
Time = 0.10 (sec) , antiderivative size = 59, normalized size of antiderivative = 0.62 \[ \int x \operatorname {FresnelC}(a+b x) \, dx=\frac {\left (-a^2 \pi +b^2 \pi x^2\right ) \operatorname {FresnelC}(a+b x)+\operatorname {FresnelS}(a+b x)+(a-b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{2 b^2 \pi } \] Input:
Integrate[x*FresnelC[a + b*x],x]
Output:
((-(a^2*Pi) + b^2*Pi*x^2)*FresnelC[a + b*x] + FresnelS[a + b*x] + (a - b*x )*Sin[(Pi*(a + b*x)^2)/2])/(2*b^2*Pi)
Time = 0.30 (sec) , antiderivative size = 84, normalized size of antiderivative = 0.88, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {6983, 3915, 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 x \operatorname {FresnelC}(a+b x) \, dx\) |
\(\Big \downarrow \) 6983 |
\(\displaystyle \frac {1}{2} x^2 \operatorname {FresnelC}(a+b x)-\frac {1}{2} b \int x^2 \cos \left (\frac {1}{2} \pi (a+b x)^2\right )dx\) |
\(\Big \downarrow \) 3915 |
\(\displaystyle \frac {1}{2} x^2 \operatorname {FresnelC}(a+b x)-\frac {\int \left (\cos \left (\frac {1}{2} \pi (a+b x)^2\right ) a^2-2 (a+b x) \cos \left (\frac {1}{2} \pi (a+b x)^2\right ) a+(a+b x)^2 \cos \left (\frac {1}{2} \pi (a+b x)^2\right )\right )d(a+b x)}{2 b^2}\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle \frac {1}{2} x^2 \operatorname {FresnelC}(a+b x)-\frac {a^2 \operatorname {FresnelC}(a+b x)-\frac {\operatorname {FresnelS}(a+b x)}{\pi }-\frac {2 a \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{\pi }+\frac {(a+b x) \sin \left (\frac {1}{2} \pi (a+b x)^2\right )}{\pi }}{2 b^2}\) |
Input:
Int[x*FresnelC[a + b*x],x]
Output:
(x^2*FresnelC[a + b*x])/2 - (a^2*FresnelC[a + b*x] - FresnelS[a + b*x]/Pi - (2*a*Sin[(Pi*(a + b*x)^2)/2])/Pi + ((a + b*x)*Sin[(Pi*(a + b*x)^2)/2])/P i)/(2*b^2)
Int[((a_.) + Cos[(c_.) + (d_.)*((e_.) + (f_.)*(x_))^(n_)]*(b_.))^(p_.)*((g_ .) + (h_.)*(x_))^(m_.), x_Symbol] :> Module[{k = If[FractionQ[n], Denominat or[n], 1]}, Simp[k/f^(m + 1) Subst[Int[ExpandIntegrand[(a + b*Cos[c + d*x ^(k*n)])^p, x^(k - 1)*(f*g - e*h + h*x^k)^m, x], x], x, (e + f*x)^(1/k)], x ]] /; FreeQ[{a, b, c, d, e, f, g, h}, x] && IGtQ[p, 0] && IGtQ[m, 0]
Int[FresnelC[(a_.) + (b_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> S imp[(c + d*x)^(m + 1)*(FresnelC[a + b*x]/(d*(m + 1))), x] - Simp[b/(d*(m + 1)) Int[(c + d*x)^(m + 1)*Cos[(Pi/2)*(a + b*x)^2], x], x] /; FreeQ[{a, b, c, d}, x] && IGtQ[m, 0]
Time = 0.54 (sec) , antiderivative size = 79, normalized size of antiderivative = 0.83
method | result | size |
derivativedivides | \(\frac {\operatorname {FresnelC}\left (b x +a \right ) \left (\frac {\left (b x +a \right )^{2}}{2}-\left (b x +a \right ) a \right )+\frac {a \sin \left (\frac {\pi \left (b x +a \right )^{2}}{2}\right )}{\pi }-\frac {\left (b x +a \right ) \sin \left (\frac {\pi \left (b x +a \right )^{2}}{2}\right )}{2 \pi }+\frac {\operatorname {FresnelS}\left (b x +a \right )}{2 \pi }}{b^{2}}\) | \(79\) |
default | \(\frac {\operatorname {FresnelC}\left (b x +a \right ) \left (\frac {\left (b x +a \right )^{2}}{2}-\left (b x +a \right ) a \right )+\frac {a \sin \left (\frac {\pi \left (b x +a \right )^{2}}{2}\right )}{\pi }-\frac {\left (b x +a \right ) \sin \left (\frac {\pi \left (b x +a \right )^{2}}{2}\right )}{2 \pi }+\frac {\operatorname {FresnelS}\left (b x +a \right )}{2 \pi }}{b^{2}}\) | \(79\) |
parts | \(\frac {x^{2} \operatorname {FresnelC}\left (b x +a \right )}{2}-\frac {b \left (\frac {x \sin \left (\frac {1}{2} b^{2} \pi \,x^{2}+\pi a b x +\frac {1}{2} \pi \,a^{2}\right )}{b^{2} \pi }-\frac {a \left (\frac {\sin \left (\frac {1}{2} b^{2} \pi \,x^{2}+\pi a b x +\frac {1}{2} \pi \,a^{2}\right )}{b^{2} \pi }-\frac {\sqrt {\pi }\, a \,\operatorname {FresnelC}\left (\frac {b^{2} \pi x +\pi b a}{\sqrt {\pi }\, \sqrt {b^{2} \pi }}\right )}{b \sqrt {b^{2} \pi }}\right )}{b}-\frac {\operatorname {FresnelS}\left (\frac {b^{2} \pi x +\pi b a}{\sqrt {\pi }\, \sqrt {b^{2} \pi }}\right )}{b^{2} \sqrt {\pi }\, \sqrt {b^{2} \pi }}\right )}{2}\) | \(166\) |
Input:
int(x*FresnelC(b*x+a),x,method=_RETURNVERBOSE)
Output:
1/b^2*(FresnelC(b*x+a)*(1/2*(b*x+a)^2-(b*x+a)*a)+a/Pi*sin(1/2*Pi*(b*x+a)^2 )-1/2/Pi*(b*x+a)*sin(1/2*Pi*(b*x+a)^2)+1/2/Pi*FresnelS(b*x+a))
Time = 0.09 (sec) , antiderivative size = 104, normalized size of antiderivative = 1.09 \[ \int x \operatorname {FresnelC}(a+b x) \, dx=\frac {\pi b^{3} x^{2} \operatorname {C}\left (b x + a\right ) - \pi a^{2} \sqrt {b^{2}} \operatorname {C}\left (\frac {\sqrt {b^{2}} {\left (b x + a\right )}}{b}\right ) - {\left (b^{2} x - a b\right )} \sin \left (\frac {1}{2} \, \pi b^{2} x^{2} + \pi a b x + \frac {1}{2} \, \pi a^{2}\right ) + \sqrt {b^{2}} \operatorname {S}\left (\frac {\sqrt {b^{2}} {\left (b x + a\right )}}{b}\right )}{2 \, \pi b^{3}} \] Input:
integrate(x*fresnel_cos(b*x+a),x, algorithm="fricas")
Output:
1/2*(pi*b^3*x^2*fresnel_cos(b*x + a) - pi*a^2*sqrt(b^2)*fresnel_cos(sqrt(b ^2)*(b*x + a)/b) - (b^2*x - a*b)*sin(1/2*pi*b^2*x^2 + pi*a*b*x + 1/2*pi*a^ 2) + sqrt(b^2)*fresnel_sin(sqrt(b^2)*(b*x + a)/b))/(pi*b^3)
\[ \int x \operatorname {FresnelC}(a+b x) \, dx=\int x C\left (a + b x\right )\, dx \] Input:
integrate(x*fresnelc(b*x+a),x)
Output:
Integral(x*fresnelc(a + b*x), x)
Result contains complex when optimal does not.
Time = 0.55 (sec) , antiderivative size = 311, normalized size of antiderivative = 3.27 \[ \int x \operatorname {FresnelC}(a+b x) \, dx=\frac {1}{2} \, x^{2} \operatorname {C}\left (b x + a\right ) + \frac {{\left (8 \, {\left (-i \, \pi e^{\left (\frac {1}{2} i \, \pi b^{2} x^{2} + i \, \pi a b x + \frac {1}{2} i \, \pi a^{2}\right )} + i \, \pi e^{\left (-\frac {1}{2} i \, \pi b^{2} x^{2} - i \, \pi a b x - \frac {1}{2} i \, \pi a^{2}\right )}\right )} a b x + 8 \, {\left (-i \, \pi e^{\left (\frac {1}{2} i \, \pi b^{2} x^{2} + i \, \pi a b x + \frac {1}{2} i \, \pi a^{2}\right )} + i \, \pi e^{\left (-\frac {1}{2} i \, \pi b^{2} x^{2} - i \, \pi a b x - \frac {1}{2} i \, \pi a^{2}\right )}\right )} a^{2} - \sqrt {2 \, \pi b^{2} x^{2} + 4 \, \pi a b x + 2 \, \pi a^{2}} {\left ({\left (-\left (i - 1\right ) \, \sqrt {2} \pi ^{\frac {3}{2}} {\left (\operatorname {erf}\left (\sqrt {\frac {1}{2} i \, \pi b^{2} x^{2} + i \, \pi a b x + \frac {1}{2} i \, \pi a^{2}}\right ) - 1\right )} + \left (i + 1\right ) \, \sqrt {2} \pi ^{\frac {3}{2}} {\left (\operatorname {erf}\left (\sqrt {-\frac {1}{2} i \, \pi b^{2} x^{2} - i \, \pi a b x - \frac {1}{2} i \, \pi a^{2}}\right ) - 1\right )}\right )} a^{2} + \left (2 i + 2\right ) \, \sqrt {2} \Gamma \left (\frac {3}{2}, \frac {1}{2} i \, \pi b^{2} x^{2} + i \, \pi a b x + \frac {1}{2} i \, \pi a^{2}\right ) - \left (2 i - 2\right ) \, \sqrt {2} \Gamma \left (\frac {3}{2}, -\frac {1}{2} i \, \pi b^{2} x^{2} - i \, \pi a b x - \frac {1}{2} i \, \pi a^{2}\right )\right )}\right )} b}{16 \, {\left (\pi ^{2} b^{4} x + \pi ^{2} a b^{3}\right )}} \] Input:
integrate(x*fresnel_cos(b*x+a),x, algorithm="maxima")
Output:
1/2*x^2*fresnel_cos(b*x + a) + 1/16*(8*(-I*pi*e^(1/2*I*pi*b^2*x^2 + I*pi*a *b*x + 1/2*I*pi*a^2) + I*pi*e^(-1/2*I*pi*b^2*x^2 - I*pi*a*b*x - 1/2*I*pi*a ^2))*a*b*x + 8*(-I*pi*e^(1/2*I*pi*b^2*x^2 + I*pi*a*b*x + 1/2*I*pi*a^2) + I *pi*e^(-1/2*I*pi*b^2*x^2 - I*pi*a*b*x - 1/2*I*pi*a^2))*a^2 - sqrt(2*pi*b^2 *x^2 + 4*pi*a*b*x + 2*pi*a^2)*((-(I - 1)*sqrt(2)*pi^(3/2)*(erf(sqrt(1/2*I* pi*b^2*x^2 + I*pi*a*b*x + 1/2*I*pi*a^2)) - 1) + (I + 1)*sqrt(2)*pi^(3/2)*( erf(sqrt(-1/2*I*pi*b^2*x^2 - I*pi*a*b*x - 1/2*I*pi*a^2)) - 1))*a^2 + (2*I + 2)*sqrt(2)*gamma(3/2, 1/2*I*pi*b^2*x^2 + I*pi*a*b*x + 1/2*I*pi*a^2) - (2 *I - 2)*sqrt(2)*gamma(3/2, -1/2*I*pi*b^2*x^2 - I*pi*a*b*x - 1/2*I*pi*a^2)) )*b/(pi^2*b^4*x + pi^2*a*b^3)
\[ \int x \operatorname {FresnelC}(a+b x) \, dx=\int { x \operatorname {C}\left (b x + a\right ) \,d x } \] Input:
integrate(x*fresnel_cos(b*x+a),x, algorithm="giac")
Output:
integrate(x*fresnel_cos(b*x + a), x)
Timed out. \[ \int x \operatorname {FresnelC}(a+b x) \, dx=\int x\,\mathrm {FresnelC}\left (a+b\,x\right ) \,d x \] Input:
int(x*FresnelC(a + b*x),x)
Output:
int(x*FresnelC(a + b*x), x)
\[ \int x \operatorname {FresnelC}(a+b x) \, dx=\int x \,\mathrm {FresnelC}\left (b x +a \right )d x \] Input:
int(x*FresnelC(b*x+a),x)
Output:
int(x*FresnelC(b*x+a),x)