Question #222789

Evaluate the integral of cos(sqrt(x))dx.


Expert's answer

Let us evaluate the integral ∫cos⁡(x)dx\int\cos(\sqrt x)dx.

Let us use the transformation t=x.t=\sqrt x. Then x=t2,x=t^2, and hence dx=2tdt.dx=2tdt.

It follows that

∫cos⁡(x)dx=2∫tcos⁡tdt\int\cos(\sqrt x)dx=2\int t\cos tdt


∣u=t,dv=cos⁡tdt, du=dt,v=sin⁡t∣|u=t,dv=\cos tdt,\ du=dt, v=\sin t|


=2tsin⁡t−2∫sin⁡tdt=2tsin⁡t+2cos⁡t+C=2t\sin t-2\int \sin t dt=2t\sin t+2\cos t +C


=2xsin⁡(x)+2cos⁡(x)+C.=2\sqrt x\sin (\sqrt x)+2\cos (\sqrt x) +C.



LATEST TUTORIALS
APPROVED BY CLIENTS