The following is a question of Metric Spaces by O'Searcoid (pg 19)
Suppose $X$ is a set and $d:X×X→\mathbb{R}$. Show that $d$ is a metric on $X$ if, and only if, for all $a,b,z ∈ X$, the two conditions $d(a,b) = 0 ⇔ a = b$ and $d(a, b) ≤ d(z, a) + d(z, b)$ are both satisfied.
The the first direction seems easy to demonstrate.
If $d$ is a metric, the first condition holds by definition, and by applying symmetric, the second condition follows from the triangle inequality.
The converse statement, however, is presenting some difficulties.
From what I can see, I must now demonstrate the the two conditions imply that $d$ is positive for all $ a \ne b$ and that $d$ is symmetric.
Suppose $d$ is not symmetric. Then this contradicts the first statements, since $d(a,b) \ne d(b,a)$ and if $a=b$, than $d(a,b) = 0$ but $d(b,a) \ne 0$. This also implies the triangle inequality by applying symmetry on the second condition in the question.
What I cannot figure out is how to demonstrate $d(a,b) \ge 0$. If we allow $d$ to be negative, I do not see how this may lead to a contradiction of these statements.
One thing I thought of was, suppose $d(a,b) = 0$. Then this implies that $0 ≤ d(z, a) + d(z, b)$ and so these distance functions with $z$ must be positive. We could form any "intermediary" distance function we please regardless of the left-hand-side distance function. Thus in order to solve the triangle inequalities for all $a$ given $d(a,a)$ we require each $d$ to be positive.
Is my reasoning valid?