[x]=⌊x⌋=greatest integer ≤x
f(x)=xcos(π(x+[x]))
test x=−1, 0, 1, 2
To find: point(s) of discontinuity
[x] jumps only at integers; x, cos are continuous everywhere
1. f(n+), f(n−)
2. f(n)
3. compare all three
x=n+t (t→0+): [x]=n
cos(π(2n+t))=cos(2πn+πt)=cos(πt)→1
f(n+)=n⋅1=n
x=n−t (t→0+): [x]=n−1
cos(π(2n−1−t))=cos(π+πt)=−cos(πt)→−1
f(n−)=n⋅(−1)=−n
f(n)=ncos(2πn)=n
f(n−)=f(n+)=f(n)⟺−n=n⟺n=0
continuous only at x=0; discontinuous at all other integers
x=−1: disc.;x=0: cont.;x=1: disc.;x=2: disc.
discontinuous at x=−1, 1, 2⇒(1),(3),(4)