# Math Help - Factoring sum of two squares

1. ## Factoring sum of two squares

How would I factor 2(x^2 + y^2) to this x^2 + 2xy + y^2 + x^2 - 2xy + y^2. I know they are equal but I don't see a path to get there.

Thanks for any suggestions.

2. ## Re: Factoring sum of two squares

Originally Posted by nicnicman
How would I factor 2(x^2 + y^2) to this x^2 + 2xy + y^2 + x^2 - 2xy + y^2. I know they are equal but I don't see a path to get there.

Thanks for any suggestions.
Hello nicnicman.

$2(x^2+y^2)=(x^2+y^2)+(x^2+y^2)$, which is the same as $x^2+2xy+y^2+x^2-2xy+y^2$ because 2xy and -2xy cancel each other. I hope you understand.

3. ## Re: Factoring sum of two squares

Yes, I do. Thank you.