1. Home
  2. Explore
  3. Mathematics
  4. Introduction to Metric Spaces

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Metric Spaces

  • 49Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Metric Foundations

What two ingredients are required to define a metric space?

49 questions

  1. 1

    What two ingredients are required to define a metric space?

    Model answer

    A metric space consists of a set MMM and a real-valued distance function DDD that takes two elements of MMM as inputs.

    Explanation

    The elements of MMM can be numbers, points, or completely different objects, such as markers.

  2. 2

    State the positivity property of a metric.

    Model answer

    For all X,Y∈MX,Y\in MX,Y∈M, the distance satisfies D(X,Y)≥0D(X,Y)\ge 0D(X,Y)≥0.

    Explanation

    Distances cannot be negative.

  3. 3

    State the non-degeneracy property of a metric.

    Model answer

    D(X,Y)=0D(X,Y)=0D(X,Y)=0 if and only if X=YX=YX=Y.

    Explanation

    This property ensures that distinct elements have positive distance and are not collapsed together.

  4. 4

    Why is non-degeneracy described as distinguishing between distinct objects?

    Model answer

    Because it prevents two different elements from having distance zero; only an element and itself can have zero distance.

    Explanation

    Without non-degeneracy, the distance function could fail to distinguish different elements.

  5. 5

    State the symmetry property of a metric.

    Model answer

    For all X,Y∈MX,Y\in MX,Y∈M, D(X,Y)=D(Y,X)D(X,Y)=D(Y,X)D(X,Y)=D(Y,X).

    Explanation

    The distance from one element to another is the same in either direction.

  6. 6

    State the triangle inequality for a metric.

    Model answer

    For all X,Y,Z∈MX,Y,Z\in MX,Y,Z∈M, D(X,Y)≤D(X,Z)+D(Z,Y)D(X,Y)\le D(X,Z)+D(Z,Y)D(X,Y)≤D(X,Z)+D(Z,Y).

    Explanation

    Traveling directly from XXX to YYY cannot be longer than traveling through an intermediate point ZZZ.

  7. 7

    Explain geometrically why the Euclidean distance satisfies the triangle inequality.

    Model answer

    The straight-line segment from XXX to YYY is no longer than the two segments from XXX to ZZZ and from ZZZ to YYY combined.

    Explanation

    The three points form a triangle, and one side cannot exceed the sum of the other two sides.

  8. 8

    Why is a metric space considered a very general type of domain?

    Model answer

    The requirements are minimal: the domain only needs to be a set equipped with a function satisfying four distance properties.

    Explanation

    The elements do not need to be numbers or vectors; they can be arbitrary objects.

  9. 9

    What are the four properties that a distance function must satisfy to be a metric?

    Model answer

    The properties are positivity, non-degeneracy, symmetry, and the triangle inequality.

    Explanation

    Together, these conditions define a valid metric.

  10. 10

    Define the discrete metric on a set MMM.

    Model answer

    The discrete metric is D(X,Y)=0D(X,Y)=0D(X,Y)=0 when X=YX=YX=Y and D(X,Y)=1D(X,Y)=1D(X,Y)=1 when X≠YX\ne YX=Y.

    Explanation

    Thus, every pair of distinct elements has the same distance, namely 111.

  11. 11

    What values can the discrete metric take?

    Model answer

    It can take only the values 000 and 111.

    Explanation

    The value is 000 for identical elements and 111 for distinct elements.

  12. 12

    Why does the discrete metric satisfy positivity?

    Model answer

    Its only possible outputs are 000 and 111, and neither value is negative.

    Explanation

    Positivity follows immediately from the definition.

  13. 13

    Why does the discrete metric satisfy non-degeneracy?

    Model answer

    The distance is 000 exactly when the two elements are the same.

    Explanation

    This directly matches the if-and-only-if requirement for non-degeneracy.

  14. 14

    Why does the discrete metric satisfy symmetry?

    Model answer

    If X=YX=YX=Y, both D(X,Y)D(X,Y)D(X,Y) and D(Y,X)D(Y,X)D(Y,X) equal 000; if X≠YX\ne YX=Y, both equal 111.

    Explanation

    Reversing the order does not change whether the elements are equal.

  15. 15

    What possible values can occur on the two sides of the triangle inequality for the discrete metric?

    Model answer

    The left side is either 000 or 111, while the right side is one of 000, 111, or 222.

    Explanation

    The right side is a sum of two terms, each of which is either 000 or 111.

  16. 16

    In the discrete metric, what is the only possible situation in which the triangle inequality could fail?

    Model answer

    It could fail only if D(X,Y)=1D(X,Y)=1D(X,Y)=1 while D(X,Z)+D(Z,Y)=0D(X,Z)+D(Z,Y)=0D(X,Z)+D(Z,Y)=0.

    Explanation

    The left side would then be strictly greater than the right side.

  17. 17

    Why is the potential failure case for the discrete metric impossible?

    Model answer

    If D(X,Z)+D(Z,Y)=0D(X,Z)+D(Z,Y)=0D(X,Z)+D(Z,Y)=0, then both distances are zero, so X=ZX=ZX=Z and Z=YZ=YZ=Y, which implies X=YX=YX=Y and therefore D(X,Y)=0D(X,Y)=0D(X,Y)=0, a contradiction.

    Explanation

    Thus, the only possible failure scenario cannot occur, so the triangle inequality holds.

  18. 18

    What is the unit circle centered at an element PPP in a discrete metric space?

    Model answer

    It is the set of all elements other than PPP.

    Explanation

    Every element distinct from PPP has discrete distance 111 from PPP.

  19. 19

    What is the circle of radius 222 centered at an element in a discrete metric space?

    Model answer

    It is the empty set.

    Explanation

    The discrete metric has no distances equal to 222.

  20. 20

    What is the closed disc of radius 111 centered at an element in a discrete metric space?

    Model answer

    It is the entire set MMM.

    Explanation

    Every element has distance either 000 or 111 from the center, so every element satisfies the condition D(X,P)≤1D(X,P)\le 1D(X,P)≤1.

  21. 21

    How does the discrete metric illustrate that geometry depends on the metric?

    Model answer

    Objects such as circles and discs have shapes determined by the distance function, so they can look very different from their Euclidean counterparts.

    Explanation

    In the discrete metric, a unit circle contains every point except its center, while a radius-222 circle is empty.

  22. 22

    What is the taxi cab, or Manhattan, metric on R2\mathbb{R}^2R2?

    Model answer

    For points U=(U1,U2)U=(U_1,U_2)U=(U1​,U2​) and V=(V1,V2)V=(V_1,V_2)V=(V1​,V2​), it is D(U,V)=∣U1−V1∣+∣U2−V2∣D(U,V)=|U_1-V_1|+|U_2-V_2|D(U,V)=∣U1​−V1​∣+∣U2​−V2​∣.

    Explanation

    The distance is the horizontal separation plus the vertical separation.

  23. 23

    Compute the taxi cab distance between (−3,1)(-3,1)(−3,1) and (2,3)(2,3)(2,3).

    Model answer

    The distance is ∣−3−2∣+∣1−3∣=5+2=7|-3-2|+|1-3|=5+2=7∣−3−2∣+∣1−3∣=5+2=7.

    Explanation

    The horizontal difference is 555 and the vertical difference is 222. Together they give 777 blocks.

  24. 24

    How does taxi cab distance differ from Euclidean distance?

    Model answer

    Taxi cab distance adds coordinate-wise horizontal and vertical changes, whereas Euclidean distance measures the length of the straight-line segment between the points.

    Explanation

    Taxi cab distance models movement along city streets rather than direct movement through the plane.

  25. 25

    Why is the taxi cab metric named after taxis in a city?

    Model answer

    It measures how many horizontal and vertical blocks a taxi must travel when it cannot pass directly through buildings.

    Explanation

    The distance corresponds to movement along a city grid.

  26. 26

    Why is the taxi cab metric always nonnegative?

    Model answer

    Each term ∣Ui−Vi∣|U_i-V_i|∣Ui​−Vi​∣ is nonnegative, so their sum is nonnegative.

    Explanation

    Positivity follows directly from the nonnegativity of absolute values.

  27. 27

    Explain why the taxi cab metric is non-degenerate.

    Model answer

    The distance from a point to itself is 000, and if ∣U1−V1∣+∣U2−V2∣=0|U_1-V_1|+|U_2-V_2|=0∣U1​−V1​∣+∣U2​−V2​∣=0, both absolute values must be zero, implying U1=V1U_1=V_1U1​=V1​ and U2=V2U_2=V_2U2​=V2​.

    Explanation

    Therefore, the distance is zero if and only if the two points are identical.

  28. 28

    Why does the taxi cab metric satisfy symmetry?

    Model answer

    Because ∣Vi−Ui∣=∣Ui−Vi∣|V_i-U_i|=|U_i-V_i|∣Vi​−Ui​∣=∣Ui​−Vi​∣ for each coordinate, so D(V,U)=D(U,V)D(V,U)=D(U,V)D(V,U)=D(U,V).

    Explanation

    Absolute value is unchanged when the order of subtraction is reversed.

  29. 29

    How is the triangle inequality proved for the taxi cab metric?

    Model answer

    Apply the real-number triangle inequality to each coordinate difference and add the results: ∣Ui−Vi∣≤∣Ui−Wi∣+∣Wi−Vi∣|U_i-V_i|\le |U_i-W_i|+|W_i-V_i|∣Ui​−Vi​∣≤∣Ui​−Wi​∣+∣Wi​−Vi​∣.

    Explanation

    Grouping the resulting terms gives D(U,V)≤D(U,W)+D(W,V)D(U,V)\le D(U,W)+D(W,V)D(U,V)≤D(U,W)+D(W,V).

  30. 30

    Why does taking a detour not shorten a taxi cab journey?

    Model answer

    Moving away from the required horizontal or vertical direction adds blocks to the route, so the direct coordinate-wise route is no longer than any detour.

    Explanation

    This is the geometric interpretation of the triangle inequality.

  31. 31

    When is there a unique shortest path between two points under the taxi cab metric?

    Model answer

    There is a unique shortest path when the points lie on the same street, so movement occurs in only one coordinate direction.

    Explanation

    If both horizontal and vertical movement are needed, the movements can be arranged in multiple orders.

  32. 32

    Why can there be multiple shortest paths between two points under the taxi cab metric?

    Model answer

    When both coordinate differences are nonzero, one can interleave the required horizontal and vertical movements in different orders without increasing the total distance.

    Explanation

    For example, one may move east first, north first, or alternate between the two directions.

  33. 33

    How does this compare with shortest paths in Euclidean space?

    Model answer

    In Euclidean space, two points have one straight-line shortest path, whereas the taxi cab metric can have many shortest paths.

    Explanation

    The difference comes from the allowed kinds of movement and the definition of distance.

  34. 34

    What shape is the circle of radius 222 centered at the origin under the taxi cab metric?

    Model answer

    It is a diamond, consisting of all points satisfying ∣x∣+∣y∣=2|x|+|y|=2∣x∣+∣y∣=2.

    Explanation

    The four line segments arise from distributing a total coordinate distance of 222 among the horizontal and vertical directions.

  35. 35

    Why does the taxi cab circle contain points with fractional coordinates?

    Model answer

    The space is all of R2\mathbb{R}^2R2, not merely a grid of integer points, so any real coordinate values satisfying the distance equation are allowed.

    Explanation

    Points such as (1.5,0.5)(1.5,0.5)(1.5,0.5) and (0.5,1.5)(0.5,1.5)(0.5,1.5) lie on the radius-222 circle.

  36. 36

    What does the diamond shape of a taxi cab circle demonstrate?

    Model answer

    It demonstrates that the shape of a circle depends on the chosen metric rather than being universally Euclidean.

    Explanation

    The same plane has diamond-shaped circles under the taxi cab metric and round circles under the Euclidean metric.

  37. 37

    How is a metric constructed from a norm on a vector space VVV?

    Model answer

    Define D(V,W)=∥V−W∥D(V,W)=\|V-W\|D(V,W)=∥V−W∥ for vectors V,W∈VV,W\in VV,W∈V.

    Explanation

    The set is the collection of vectors in the normed vector space, and the norm of their difference serves as the distance.

  38. 38

    Why is the norm-induced distance nonnegative?

    Model answer

    Because norms are nonnegative, so D(V,W)=∥V−W∥≥0D(V,W)=\|V-W\|\ge 0D(V,W)=∥V−W∥≥0.

    Explanation

    Metric positivity is inherited directly from norm positivity.

  39. 39

    Prove non-degeneracy for the norm-induced metric.

    Model answer

    D(V,W)=0D(V,W)=0D(V,W)=0 if and only if ∥V−W∥=0\|V-W\|=0∥V−W∥=0, which holds if and only if V−W=0V-W=\mathbf{0}V−W=0, and therefore if and only if V=WV=WV=W.

    Explanation

    The argument uses the norm's non-degeneracy and the vector-space operation of adding WWW to both sides.

  40. 40

    Which norm property is used to prove symmetry of the norm-induced metric?

    Model answer

    The norm's absolute homogeneity, or multiplicativity with respect to scalars, is used together with vector addition.

    Explanation

    Since W−V=−(V−W)W-V=-(V-W)W−V=−(V−W), ∥W−V∥=∥−1 (V−W)∥=∣−1∣ ∥V−W∥=∥V−W∥\|W-V\|=\|-1\,(V-W)\|=|-1|\,\|V-W\|=\|V-W\|∥W−V∥=∥−1(V−W)∥=∣−1∣∥V−W∥=∥V−W∥.

  41. 41

    Show algebraically that the norm-induced metric is symmetric.

    Model answer

    Since W−V=−1 (V−W)W-V=-1\,(V-W)W−V=−1(V−W), D(W,V)=∥W−V∥=∣−1∣ ∥V−W∥=D(V,W)D(W,V)=\|W-V\|=|-1|\,\|V-W\|=D(V,W)D(W,V)=∥W−V∥=∣−1∣∥V−W∥=D(V,W).

    Explanation

    The equality uses scalar multiplicativity of the norm and the fact that ∣−1∣=1|-1|=1∣−1∣=1.

  42. 42

    How is the triangle inequality proved for the norm-induced metric?

    Model answer

    Write V−W=(V−U)+(U−W)V-W=(V-U)+(U-W)V−W=(V−U)+(U−W) and apply the norm triangle inequality to obtain D(V,W)≤D(V,U)+D(U,W)D(V,W)\le D(V,U)+D(U,W)D(V,W)≤D(V,U)+D(U,W).

    Explanation

    The metric triangle inequality follows immediately from the corresponding property of the norm.

  43. 43

    Summarize how each metric property is inherited from a norm.

    Model answer

    Metric positivity comes from norm positivity, non-degeneracy from norm non-degeneracy, symmetry from norm multiplicativity, and the metric triangle inequality from the norm triangle inequality.

    Explanation

    These inherited properties show that every norm induces a metric.

  44. 44

    Why does working with a normed vector space allow one to recognize the induced function as a metric without checking every property again?

    Model answer

    The norm already satisfies the properties needed to establish all four metric axioms for D(V,W)=∥V−W∥D(V,W)=\|V-W\|D(V,W)=∥V−W∥.

    Explanation

    The general proof applies to every normed vector space.

  45. 45

    What is the relationship among inner products, norms, and metrics described in the lecture?

    Model answer

    An inner product can induce a norm, and a norm can induce a metric.

    Explanation

    The direction of implication is inner product →\rightarrow→ norm →\rightarrow→ metric.

  46. 46

    Why can a general metric space not necessarily be used to define a norm?

    Model answer

    A norm requires vector-space structure, including an origin, vector addition, and scalar multiplication, which a general metric space may not have.

    Explanation

    For example, a set of markers with the discrete metric is not a vector space.

  47. 47

    Why can the discrete metric on a set of markers not induce a normed vector space?

    Model answer

    The markers do not come with an origin, vector addition, or scalar multiplication, so they do not form a vector space on which a norm could be defined.

    Explanation

    Having a metric alone does not supply the algebraic structure required for a norm.

  48. 48

    Does a normed vector space have only one possible metric?

    Model answer

    No. The norm-induced metric is one valid choice, but another metric, such as the discrete metric, may also be defined on the same underlying set.

    Explanation

    The induced metric is not necessarily unique.

  49. 49

    What distinction must be made between a metric space and a normed vector space?

    Model answer

    A metric space requires only a set and a metric, while a normed vector space additionally requires vector-space operations and a norm compatible with them.

    Explanation

    Thus, every normed vector space produces a metric space, but not every metric space is a normed vector space.

1 of 49
Question 1 of 49

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent