I am beginner to greatest integer and fractional part functions, and I just came across this problem:
$$ 2x+3[x]-4\{-x\}=4,$$
where $[x]$ and $\{x\}$ are the greatest integer and the fractional part functions, respectively.
What I have tried is taken $[x] = x $ as $ x-1≤[x]≤x$ but no ideas for fractional part of $x$. However, I know that $ \{x\} = x-[x]$.
How do I proceed further?
By inspection, $x$ cannot be integer. Write $x:=i+f$ where $i$ is integer and $0<f<1$. The equation becomes
$$2(i+f)+3i-4(1-f)=4$$
or
$$5i+6f=8.$$
Eliminating $f$,
$$0<8-5i<6$$ and there is a single solution$$\color{green}{i=1,f=\frac12}.$$