The function f(x)=[x]cos(((2x−1)2)π), (where [.] denotes the greatest integer function) is discontinuous at
x=n2,nϵI−{1}
Case 1 : when n is an integer.
limx→n+f(x)=ncos[(n−12)π]
limx→n−f(x)=(n−1)cos[(n−12)π]
The limit exists as cos[(n−12)π] is always zero. [∵cos(2m+1)π2=0, mϵI]
∴f(x) is continuous at all xϵI.
Case 2 : when n is not an integer
limx→n+f(x)=[n]cos[(n−12)π]
limx→n−f(x)=[n]cos[(n−12)π]
Since, left-hand limit is equal to right-hand limit, the function is continous.
Hence, the function is continuous everywhere.