# Related to orthogonality

In one of my hw problems we are asked to prove this:

|X + Y|^2 + |X - Y|^2 = 2|X|^2 + 2|Y|^2

It seems quite simple: I just expanded both of them (cancelled 2(X dot Y) terms) and came up with the expression on the right. Is there something I am missing or is it really that simple?

Thanks !

Hurkyl
Staff Emeritus