Answer: x=23+2n,n∈Z.
Since a−[a]={a}, where {a} is the fractional part of a, we can rewrite our equation in the following way:
cosπx=[2{x}−21].
Obviously, 0≤2{x}<1 for every real x. Consider two cases:
1) Let 0≤2{x}<21. Then −21≤2{x}−21<0, and thus [2{x}−21]=−1. So in this case we get the equation cosπx=−1. The solutions of this equation are x=1+2k,k∈Z. But for such x we have that {2x}={21+k}=21, which contradicts our assumption. So, we obtain that there are no solutions in this case.
2) Let 21≤2{x}<1. Then 0≤2{x}−21<21, which implies that [2{x}−21]=0. So, in this case our equation reduces to the equation cosπx=0. The solutions for this equation are x=21+k, k∈Z. For such x we have:
{2x21={41+k21={41,43,k=2n,k=2n+1.
So, for 21≤2{x}<1 we should take k=1+2n, n∈Z. Therefore, x=23+2n, n∈Z.