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