asked 68.9k views
2 votes

\int\limits^ (1)/(2)_0 x cos( \pi x), dx

1 Answer

4 votes
Set
y=\pi x, so that
\frac{\mathrm dy}\pi=\mathrm dx and the integral is equivalent to


\displaystyle\int_0^(1/2)x\cos\pi x\,\mathrm dx=\frac1{\pi^2}\int_0^(\pi/2)y\cos y\,\mathrm dy

Now integrate by parts, setting


u=y\implies\mathrm du=\mathrm dy

\mathrm dv=\cos y\implies v=\sin y

So you have


\displaystyle\frac1{\pi^2}\int_0^(\pi/2)y\cos y\,\mathrm dy=\frac1{\pi^2}y\sin y\bigg|_(y=0)^(y=\pi/2)-\frac1{\pi^2}\int_0^(\pi/2)\sin y\,\mathrm dy

=\displaystyle(\frac\pi2\sin\frac\pi2-0)/(\pi^2)+\frac1{\pi^2}\cos y\bigg|_(y=0)^(y=\pi/2)

=\displaystyle\frac1{2\pi}+(\cos\frac\pi2-\cos0)/(\pi^2)

=\displaystyle\frac1{2\pi}-\frac1{\pi^2}
answered
User Bunti
by
8.4k points

Related questions

asked May 2, 2021 230k views
Peter Rowell asked May 2, 2021
by Peter Rowell
7.9k points
1 answer
2 votes
230k views
2 answers
0 votes
68.3k views
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.