![\large \boxed{ {a}^(2) + {b}^(2) = {(a + b)}^(2) - 2ab}](https://img.qammunity.org/2022/formulas/mathematics/high-school/y2m7mcl8az48z8udfye820ybrcz20ckq86.png)
The formula is derived from the (a+b)² which can be expanded as:
![\large \boxed{ {(a + b)}^(2) = {a}^(2) + 2ab + {b}^(2) }](https://img.qammunity.org/2022/formulas/mathematics/high-school/pjewh831dvkq88j2sgxqunb64n9pcqixbj.png)
Now since we only want a²+b² and not 2ab. We can add -2ab after (a+b)² which result in (a+b)²-2ab. This formula is pretty useful it comes to higher maths.
Answer
If this is not what you are looking for then let me know through comment!