Let the number be x.
The square of the number is x2.
Let f(x) = x − x2. Now, we need to find the value of x for which f(x) is maximum.
f(x) = x − x2
Differentiating both sides with respect to x, we get
For maxima or minima,
Now,
So, is the point of local maximum of f(x). Therefore, f(x) is maximum when .
Thus, the number that exceeds its square by the greatest amount is .
The number that exceeds its square by the greatest amount is .