How to prove that $f(x)$=$\left\lfloor { x }^{ 2 } \right\rfloor -\left\lfloor x \right\rfloor ^{ 2 }$ is discontinuous for all integer values of x except only at $x=1$ ?
Ya,even I used intuition at the first go taking some trial values and checking.Then I plotted the graph on wolfram alpha.But if you can think of some other rigorous proof for this one,let me know.Thanks!
$\lfloor x^2 \rfloor$ - $\lfloor x \rfloor ^2$
chose one integer diferent from 1 or -1 let $ \epsilon $ be such that , you ll see why $0<\epsilon<n-\sqrt{n^2-1}$ and $0<\epsilon<\sqrt{n^2+1}-n$
lets show that value in this two close points differ a lot (it cannot be made small how ever we want, sorry for bad engish, i dont know correct terms )
$x_1=n+\epsilon $ , $x_2=n-\epsilon $
$\lfloor (n+\epsilon)^2 \rfloor = \lfloor n^2+2n\epsilon +\epsilon^2 \rfloor =n^2$ when $2n\epsilon +\epsilon^2<1$
$\lfloor n+\epsilon \rfloor ^2 = n^2 $ when $ \epsilon<1$
so $f(x_1)=0$
now $\lfloor (n-\epsilon)^2 \rfloor = \lfloor n^2-2n\epsilon +\epsilon^2 \rfloor =n^2-1$ when $2n\epsilon -\epsilon^2>1$ and $\lfloor (n-\epsilon) \rfloor^2 = (n-1)^2 $ when $\epsilon<1$
so we get $f(x_2)=2n-2$
$\epsilon$ from start satisfies all conditions required (you get them by solving quadriatic non-equations, the ones after 'when' word) so finaly $|f(x_1)-f(x_2)|=|2n-2|$ that means that value of function differs by a lot in some $\epsilon$ interval around integer n , that means f is discontinious in n. i hope you understand whats the idea. :)