In oeconomics one often handles with indifferene curves on $\mathbb R^2$. Given an individual preference of two goods the indifference curves is the set of points, who have the same euclidean distance to the individual preference. Usually this is a circle. However sometimes you prefere one good over another. Image you prefer good 1 (on the $x$-Axis) twice over good 2. This results in an ellipical-shaped indifference curve. Here is a picture of the given scenario.
In my example the individual preference is at the center (10,10). The individual wont prefer $(15,10)$ over $(10,20)$ or $(5,10)$ and $(10,0)$ and vice versa. He is indifferent to those options. How can I define a metric, so that each point has the same distance to the center (which is the understanding of being indifference in oeconomics in this scenario). Because on the euclidean metric the distance of $(15,10)$ is of course less to the center, than the distance from $(10,20)$ to the center.
The ellipse through the given points is described by: $$ x^2 + \frac 14 y^2 - 20x - 5y = -100.$$

The "deformed" distance $d'$ is given by the formula $$d'( (x_1,y_1),(x_2, y_2)) = d( (x_1, \frac{1}{2} y_1),(x_2, \frac{1}{2} y_2) )$$ where $d$ is the standard euclidean distance.