answersLogoWhite

0

You need to define a metric on the space first.

The most common metric is the Euclidean distance. In a plane this is the length of the straight line between two points. The shortest distance can either be measured or, in coordinate geometry, it can be calculated from the coordinates of the two points.

In n dimensional space, if (a1, a2, a3, ... , an ) and (b1, b2, b3, ... , bn ) are the coordinates of two points a and b, then the distance d, between them is given by:

d2 = (a1 - b1)2 + (a2 - b2)2 + (a3 - b3)2 + ... + (an - bn)2.

However, there are other metrics that might be used. An important one, which is easy to understand is the taxicab or Manhattan metric. Here the distance between two points is measured by the number of "blocks" that have to be traversed in two orthogonal (mutually perpendicular) directions. The grid of Manhattan's avenues and streets being an obvious real-life example of this metric in action. The Euclidean distance is useless unless you are prepared to drill through buildings!

For non-planar surfaces, there are other more complicated answers.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you find the distance between 5 cities?

First, you have to specify what cities you want to find the distance between, and then you can find the distance between each one, and finally add all the distance together, to give you the total.


How do you find the distance formula?

the distance is d=rt distance = rate times time.


Where can you find answers to the distance formula?

d=rt Distance=Rate (Speed) x Time This equation can be used to find Distance, Rate, and Time.


Equation to find speed?

Speed = (Distance)/(Time to cover the distance)


How do you find braking distance when given velocity and reaction distance?

Decrease ..


How do you find time when you know the distance and the velocity?

distance/velocity = time


How to find acceleration when given distance and time?

To find acceleration when given distance and time, you can use the formula: acceleration 2 (distance / time2). Simply divide the distance by the square of the time to calculate the acceleration.


How do you find distance in the formula work equals force times distance?

To find distance in the work formula, you can rearrange the formula to distance equals work divided by force. This allows you to calculate the distance by dividing the work done by the force applied.


How do you find the distance of a stair case?

To find the distance of a staircase, multiply the number of steps by the depth of each step. This will give you the total horizontal distance covered by the staircase.


How to find distance traveled by a vehicle?

Speed = Distance / Time So Distance = Speed x Time


How do you find a midpoint of coordinates?

how do you find distance between points


How do you find the minimum distance between two targets?

The perpendicular distance is the shortest.