-2 / | | /pi*n*x\ | (x - 1)*cos|------| dx | \ 2 / | / 0
Integral((x - 1)*cos(((pi*n)*x)/2), (x, 0, -2))
// 2 \ || x | || -- for n = 0| || 2 | / // x for n = 0\ || | // x for n = 0\ | || | || // /pi*n*x\ \ | || | | /pi*n*x\ || /pi*n*x\ | || ||-2*cos|------| | | || /pi*n*x\ | | (x - 1)*cos|------| dx = C - |<2*sin|------| | - |< || \ 2 / pi*n | | + x*|<2*sin|------| | | \ 2 / || \ 2 / | ||2*|<-------------- for ---- != 0| | || \ 2 / | | ||------------- otherwise| || || pi*n 2 | | ||------------- otherwise| / \\ pi*n / || || | | \\ pi*n / || \\ 0 otherwise / | ||---------------------------------- otherwise| || pi*n | \\ /
/ 4 4*cos(pi*n) 6*sin(pi*n) |- ------ + ----------- + ----------- for And(n > -oo, n < oo, n != 0) | 2 2 2 2 pi*n < pi *n pi *n | | 4 otherwise \
=
/ 4 4*cos(pi*n) 6*sin(pi*n) |- ------ + ----------- + ----------- for And(n > -oo, n < oo, n != 0) | 2 2 2 2 pi*n < pi *n pi *n | | 4 otherwise \
Piecewise((-4/(pi^2*n^2) + 4*cos(pi*n)/(pi^2*n^2) + 6*sin(pi*n)/(pi*n), (n > -oo)∧(n < oo)∧(Ne(n, 0))), (4, True))
Estos ejemplos se pueden aplicar para introducción de los límites de integración inferior y superior.