pi / | | x*sin(m*x) dx | / -pi
Integral(x*sin(m*x), (x, -pi, pi))
// 0 for m = 0\
|| |
/ || //sin(m*x) \ | // 0 for m = 0\
| || ||-------- for m != 0| | || |
| x*sin(m*x) dx = C - |<-|< m | | + x*|<-cos(m*x) |
| || || | | ||---------- otherwise|
/ || \\ x otherwise / | \\ m /
||------------------------- otherwise|
\\ m /
/2*sin(pi*m) 2*pi*cos(pi*m) |----------- - -------------- for And(m > -oo, m < oo, m != 0) | 2 m < m | | 0 otherwise \
=
/2*sin(pi*m) 2*pi*cos(pi*m) |----------- - -------------- for And(m > -oo, m < oo, m != 0) | 2 m < m | | 0 otherwise \
Piecewise((2*sin(pi*m)/m^2 - 2*pi*cos(pi*m)/m, (m > -oo)∧(m < oo)∧(Ne(m, 0))), (0, True))
Use the examples entering the upper and lower limits of integration.