If f(x) is continuous and m(x) is the minimum value of f(x) in the closed interval [x,a], then prove that limxam(x)=f(a).

Problem: 

If f(x) is continuous and m(x) is the minimum value of f(x) in the closed interval [x,a], then prove that
limxam(x)=f(a).

Answer: 

It is true that if f(x) is continuous and m(x) is the minimum value of f(x) in the closed interval [x,a], then limxam(x)=f(a).