Let be a positive integer. In terms of , find the number of roots of where .
Notation:
denotes the
floor function
.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
{x²}={x}²
Let , x=I+f . (Where I is integral and f is fractional part of x respectively)
{I²+2If+f²}={f²}
Therefore, if 2If is an integer then the equation satisfies,
Now let's count all x which are not integers (we will count them later.).
For 1<x<2 I=1 So, 2f should be an integer. So there is only one solution.
Similarly for 2<x<3 there are 3 solution.
For 3<x<4 the will be 5 solutions.
And so on..
So for 1<x<n. (Excluding all integers)
There will be (n-1)² solutions.
Also every integer value of x satisfies the equation so the are n solutions for 1≤x≤n.(only integers)
So total no. of solutions for 1≤x≤n are
(n-1)²+n=n²-n+1