M HYPE SPLASH
// updates

Calculating distance in n dimensions

By Emma Valentine
$\begingroup$

Does this method work up to any spacial dimension? (5d, 10d etc)

p.s. If I'm getting this all fundamentally wrong somehow, please say.

$\endgroup$ 1

1 Answer

$\begingroup$

Essentially yes. What you are looking at is euclidean distance; for instance take two vectors $\hat{j}$ and $\hat{k}$ you would take $||\hat{j}-\hat{k}||$ = $\sqrt{(j_1-k_1)^2+(j_2-k_2)^2}$

This works in nth dimension euclidean space $\sqrt{(j_1-k_1)^2+(j_2-k_2)^2+ ... + (j_n-k_n)^2}$

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy