When using vector notation in coordinate systems (Cartesian coordinates) we see that the magnitude of a vector in two dimensions is equal to the square root of its Y component squared added to its X component squared (Pythagorean theorem).
But the same calculation is done for a three dimensional vector that has X, Y, and Z components.
Is there a triangle that has four sides? (of course not, but how does this right triangle formula work for a calculation that involves more than two dimensions?).
Pythagorean theorem in higher dimensions?
3.3k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail AtThere are 4 best solutions below
On
This is similar to Mr Z.'s answer, but I want to contribute my own version of the figure.
We are visualizing a vector $x = (x_1,x_2,x_3)$. From the Pythagorean theorem, the length $h$ of the line segment shown in blue is $$ h = \sqrt{x_1^2 + x_2^2}. $$ Using the Pythagorean theorem again, we see that the length of $x$ is $$ \|x\| = \sqrt{h^2 + x_3^2} = \sqrt{x_1^2 + x_2^2 + x_3^2}. $$
On
Especially for the purposes of physics, let's not make this more complicated than it has to be. Start with the Pythagorean theorem:
$$h = \sqrt{x^2 + y^2}$$
Now consider the same in three dimensions. Choose at random two of the three vectors, which are by hypothesis both at right angles to the third. Consider the plane those two vectors form, and note that any vector on that plane will likewise be at a right angle to the third. So then add the two vectors, whose lengths are here designated $x$ and $y$, and the length of the vector $h$ you get will be:
$$h = \sqrt{x^2 + y^2}$$
Now, this will be in the same plane as the first two, so it will still be orthogonal to the third vector whose length we'll call $z$. So now add this vector to the third, and the length of the sum will be:
$$r = \sqrt{h^2 + z^2} = \sqrt{\left(\sqrt{x^2+y^2}\right)^2 + z^2} = \sqrt{x^2 + y^2 + z^2}$$
Higher dimensions can be shown by induction.

You can think of it as doing the pythagorean theorem twice. Imagine you have the vector (x,y,z) denoted by the red line in the figure below. The magnitude of the green line is given by
$\sqrt{x^2+y^2}$
and the magnitude of the blue line is $z$. So when you use the pythagorean theorem on the triangle made up of the red, green, and blue lines you get
$\sqrt{\sqrt{x^2+y^2}^2 + z^2} = \sqrt{x^2+y^2+z^2}$