I was studying neighbourhood methods from Overholt's book of Analytic Number theory(P No 42). There to estimate $Q(x)=\sum_{n \leq x}\mu^2(n)$ they have used a statement that
$$\sum_{j^2\leq x} \mu(j)\left[\frac x {j^2}\right]=x\sum_{j\leq \sqrt x}\frac {\mu(j)} {j^2}+ O(\sqrt x).$$
I am not getting this statement as $[\frac x {j^2}]=\frac x {j^2}-\{\frac x {j^2}\}$ and $\{\frac x {j^2}\}\leq 1$. Can I get something from here?
Since $[x]=x-\{x\}$, we have $[x]=x+O(1)$, and so $$ \sum_{j^2\leq x} \mu(j)\left[\frac x {j^2}\right]= \sum_{j^2\leq x} \mu(j) \left(\frac{x}{j^2} + O(1) \right) =\sum_{j^2\leq x} \mu(j) \frac{x}{j^2} + O(\sqrt{x}) = x \sum_{j \le \sqrt{x}} \frac{\mu(j)}{j^2} +O(\sqrt{x}). $$