<s>[INST] Compute the minimum value of $ \underline{A}\ \underline{B}\ \underline{C} - (A^2 + B^2 + C^2). $ Let $\underline{A}\ \underline{B}\ \underline{C}$ represent a three-digit base 10 number whose digits are $A$, $B$, and $C$ with $A \ge 1$. Compute the minimum value of $$ \underline{A}\ \underline{B}\ \underline{C} - (A^2 + B^2 + C^2). $$
I simplified the expression given above as $100a-a^2+10b-b^2+c-c^2$. This expression contains three quadratic expressions,namely $100a-a^2$,$10b-b^2$,$c-c^2$. I tried using parabolas of these quadratics and the fact that the maximum value attained by a quadratic equation is in its vertex,so the minimum value should be distant to the vertex of the parabola. I get the answer as 99 but it is wrong. Any help is appreciated.
 [/INST] Your attempts are good; you want to minimize the expression
$$100a-a^2+10b-b^2+c-c^2,$$
which is the sum of three quadratics. It is minimal when the three quadratics
$$100a-a^2,\qquad 10b-b^2,\qquad c-c^2,$$
are minimal. These are parabolas with their maxima at $50$, $5$ and $\tfrac{1}{2}$, respectively. They are minimal when we are as far away from the maximum as possible. This gives us $a=1$, $b=0$ and $c=9$.
</s>