Is there any particular topic that results such as this are in?:
a^2+b^2=(a+b)^2-2ab
Not really. It's part of general algebraic manipulation, which will turn up in all sorts of situations - in particular, the solution of polynomial equations, factorisation, etc.