I want to prove the following result:
Let $K,$ $X,$ and $Y$ be metric spaces, and assume $K$ is compact. Then, if $F \colon K \times X \to Y$ is a continuous function and $x_0 \in X,$ for each $\varepsilon > 0$ there exists $\delta > 0$ such that whenever $d_X(x,x_0) < \delta,$ $d_Y(F(t,x), F(t,x_0)) < \varepsilon $ for every $t \in K.$
I guess this has something to do with the fact that any continuous function on a compact metric space is uniformly continuous, but I haven't been able to prove it.
Any help will be appreciated.
Let $\epsilon>0$ and fix $x_0\in X.$ For each $(t,x_0)\in K\times X,$ there is a $\delta_t$ (depending on $t$) such that if $(s,x)\in B_K(t,\delta_t)\times B_X(x_0,\delta_t)$, then $d(F(s,x), F(t,x_0))<\epsilon/2.$
But $K$ is compact, and $\{B_K(t,\delta_t):t\in K\}$ is an open cover of $K$, so we may pass to a finite subcover $\{B_K(t_i,\delta_i):1\le i\le n\}.$ Let $\delta=\min \{\delta_i:1\le i\le n\}$.
Now, suppose $d_X(x,x_0)<\delta.$ Of course, all this means is that $x\in B_X(x_0,\delta).$ Let $t\in K$ be arbitrary. Then, $t\in B_K(t_i,\delta_i)$ for some integer $1\le i\le n$ and, because $\delta<\delta_i,$ it follows that $(t,x_0)$ and $(t,x)$ are contained in $B_K(t_i,\delta_i)\times B_X(x_0,\delta_i)$, and therefore $d(F(t,x),F(t_i,x_0))<\epsilon/2$ and $d(F(t,x),F(t_i,x_0))<\epsilon/2.$ It now follows that
$d(F(t,x),F(t,x_0))\le d(F(t,x),F(t_i,x_0))+d(F(t_i,x_0),F(t_i,x))<\epsilon$, as desired.