Question
Question: $f(x)$ be a real values function defined on the interval [-2, 2] as follows $\qquad \begin{cases} ...
f(x) be a real values function defined on the interval [-2, 2] as follows
⎩⎨⎧1if−2≤x≤−1f(x)={x+2if−1<x<11−xif1≤x≤2
then number of solutions of the equation {f(x)}=21 is, (where {f(x)}→ denotes fractional part of f(x))

3
Solution
The equation to solve is {f(x)}=21, where {y} denotes the fractional part of y. The expression {y}=21 implies that y must be of the form n+21 for some integer n. So, we need to find the values of x for which f(x)=n+21 for some integer n.
We analyze the function f(x) in each of its defined intervals:
Case 1: −2≤x≤−1 In this interval, f(x)=1. We need {f(x)}={1}=0. Since 0=21, there are no solutions in this interval.
Case 2: −1<x<1 In this interval, f(x)=x+2. As x ranges from −1 (exclusive) to 1 (exclusive): When x→−1+, f(x)→(−1+2)+=1+. When x→1−, f(x)→(1+2)−=3−. So, the range of f(x) in this interval is (1,3).
We need f(x)=n+21 where n is an integer and 1<f(x)<3. Possible values for n:
- If n=1, f(x)=1+21=23. This value lies in (1,3). Setting x+2=23⟹x=23−2=−21. This value x=−21 is within the interval (−1,1). So, x=−21 is a solution.
- If n=2, f(x)=2+21=25. This value lies in (1,3). Setting x+2=25⟹x=25−2=21. This value x=21 is within the interval (−1,1). So, x=21 is a solution.
- For any other integer n (e.g., n=0⟹f(x)=1/2, or n=3⟹f(x)=7/2), n+21 would not fall within the range (1,3).
Thus, there are 2 solutions in the interval (−1,1).
Case 3: 1≤x≤2 In this interval, f(x)=1−x. As x ranges from 1 (inclusive) to 2 (inclusive): When x=1, f(x)=1−1=0. When x=2, f(x)=1−2=−1. So, the range of f(x) in this interval is [−1,0].
We need f(x)=n+21 where n is an integer and −1≤f(x)≤0. Possible values for n:
- If n=−1, f(x)=−1+21=−21. This value lies in [−1,0]. Setting 1−x=−21⟹x=1+21=23. This value x=23 is within the interval [1,2]. So, x=23 is a solution.
- For any other integer n (e.g., n=0⟹f(x)=1/2, or n=−2⟹f(x)=−3/2), n+21 would not fall within the range [−1,0].
Thus, there is 1 solution in the interval [1,2].
Total Number of Solutions: Summing the solutions from all intervals: 0+2+1=3. The solutions are x=−21, x=21, and x=23.