Nepedia
Back to Discover
Independent Reader
🔢

Metric space

math Maturity 11-13 Next article →

How do we measure how far apart two things are?

Manhattan distance
Manhattan distance

We often think of a straight line. This is the shortest path. But distance can change based on our rules. Imagine a taxi in a city. It must follow streets. It cannot drive through buildings. This is called the taxicab metric.

Minkowski distance examples
Minkowski distance examples

In math, we call these rules metrics. A metric space is a set of points with a metric. The metric is a function that tells us the distance.

There are special rules for a metric. The distance from a point to itself is zero. The distance between two different points is always positive. Also, the distance from A to B is the same as B to A. Finally, a detour cannot be shorter than a direct path. This is called the triangle inequality.

On a sphere, like Earth, distance works differently. We can measure a path along the surface. We can also measure a straight line through the middle. Metrics can even measure how much two strings of text differ. This helps math study many shapes and patterns.

179 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (6)
File:Manhattan distance.svg
Manhattan distance.svg
File:Great-circle distance vs straight line distance.svg
Great-circle distance vs straight line...
File:Minkowski_distance_examples.svg
Minkowski_distance_examples.svg
File:Diameter of a Set.svg
Diameter of a Set.svg
File:Functions between metric spaces.svg
Functions between metric spaces.svg
File:approximate arc length.svg
approximate arc length.svg
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.