I'm confused by the a proof of the triangle inequality. I was supposed to prove that a function is a metric, I proved everything else except the triangle inequality.
Define $B(\mathbb{R})$ as the set of all bounded functions. For each $f,g \in B(\mathbb{R})$ define $\mu(f,g)=sup_{x \in \mathbb{R}}${$|f(x)-g(x)|$} .
To show that $sup_{x \in \mathbb{R}}${$|f(x)-g(x)|$} $\leq sup_{x \in \mathbb{R}}${$|f(x)-k(x)|$}$+sup_{x \in \mathbb{R}}${$|k(x)-g(x)|$} where $k(x) \in B(\mathbb{R})$. Why is it sufficient to show that $\forall x \in \mathbb{R}, |f(x)-g(x)| \leq sup_{x \in \mathbb{R}}${$|f(x)-k(x)|$}$+sup_{x \in \mathbb{R}}${$|k(x)-g(x)|$}?
I've witnessed a similar argument here