Drawing circles with different distance functions

Click For Summary
SUMMARY

This discussion focuses on drawing unit circles in the context of three different distance functions: taxicab distance (d_t), Euclidean distance (d_e), and max distance (d_s). The Euclidean distance results in a standard circle defined by the equation x² + y² = 1, centered at (0, 0). The taxicab distance produces a square shape with vertices at (1, 0), (0, 1), (-1, 0), and (0, -1), represented by the equation |x| + |y| = 1. The max distance results in a square aligned with the axes, defined by max(|x|, |y|) = 1, with line segments forming the edges of the square.

PREREQUISITES
  • Understanding of distance functions in mathematics
  • Familiarity with coordinate geometry in \(\mathbb{R}^2\)
  • Knowledge of basic algebraic equations
  • Ability to visualize geometric shapes based on equations
NEXT STEPS
  • Study the properties of taxicab geometry and its applications
  • Explore the implications of max distance in optimization problems
  • Learn about other distance metrics such as Minkowski distance
  • Investigate the graphical representation of different distance functions
USEFUL FOR

Students of mathematics, educators teaching geometry, and anyone interested in understanding different distance metrics and their geometric representations.

Lee33
Messages
156
Reaction score
0

Homework Statement



In ##\mathbb{R}^2##, draw a unit circle for taxicab distance ##(d_t)##, euclidean distance ##(d_e)##, and max distance ##(d_s)##.

Homework Equations



##d_e = \sqrt{(x -x_1)-(y-y_1)}##
##d_s = \text{max}\{|x-x_1|,|y-y_1|\}##
##d_t=|x-x_1|+|y-y_1|##

The Attempt at a Solution



Euclidean distance is the most familiar one. It will just be our everyday unit circle.

For taxicab, will the unit circle be a shape of a square?

For max distance I am not so sure about to.
 
Physics news on Phys.org
Try a simple example like [itex](x_1, y_1)= (0, 0)[/itex] and the distance is 1.

Then with the Euclidean distance you have [itex]\sqrt{x^2+ y^2}= 1[/itex] which is the same as [itex]x^2+ y^2= 1[/itex]. Yes, that is a circle with center at (0, 0) and radius 1..

With the taxicab metric, that is |x|+ |y|= 1. If x and y are both positive it is x+ y= 1 which is the line segment from (1, 0) to (0, 1). If x is negative and y is positive, it is -x+ y= 1 which is the line segment from (0, 1) to (-1, 0). If x and y are both negative, it is -x- y= 1 which is the line segment from (-1, 0) to (0, -1). Finally, if x is positive and y is negative, it is x- y= 1 which is the line segment from (0, -1) to (1, 0). Yes, that is a square with its diagonals horizontal and vertical.

With the max distance it is max(|x|,|y|)= 1. If x and y are both positive and x< y that is |y|= y= 1 which is the horizontal line segment from (0, 1) to (1, 1). If x and y are both positive and y< x, that is |x|= x= 1 which is that vertical line segment from (1, 0) to (1, 1). You check the other quadrants:

If x is negative and y is positive and x< y ... If y< x ...
 
  • Like
Likes   Reactions: 1 person
Thanks for the help!
 

Similar threads

Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K