Three points:
Quadratic equations appear when checking for perfect squares, analyzing algorithm complexity, or solving optimization problems.
Binary search works on any monotonic sequence. Squares are monotonically increasing, so search applies.
Overflow matters. When dealing with squares or products, check if intermediate results fit in your data type.