To start I want to say, this is for homework. Please don't give me the answer, I'm just looking for a little help.
Let $\mathbb{P}_1[-1,1] = \{f:[-1,1] \to \mathbb{R}: f(t)=a+bt\}$. I need to show that the function defined by:
$d(f,g) = \text{sup} \{|f(t)-g(t)|: -1 \leq t \leq 1\}$
is a metric. I have already done the easy parts of showing it's symmetric, and that is always non-negative, but I'm not sure how to approach the last part.
Thank you for your help.