This relationship generalizes to dimensions, as we can easily show:
If , then and the Pythagorean Theorem holds in dimensions. If, on the other hand, we assume the Pythagorean Theorem holds, then since all norms are positive unless or is zero, we must have . Finally, if or is zero, the result holds trivially.
Note that we also have an alternate version of the Pythagorean theorem: