# Proving that a limit of a convex functions is convex

How can i prove that a limit of a convex functions is convex. (a convergent sequence)

I knew that, If a sequence of convex continuous functions defined on a compact subset D of Rⁿ is convergent, then the limit function is convex on D. I do not know how to show this at all.

-
Dear sss, Welcome to math.SE. since you are a new user, we wanted to let you know a few things about the site. In order to get the best possible answers, it is helpful if you say what your thoughts on the problem are so far; this will prevent people from telling you things you already know, and help them write their answers at an appropriate level. Further, it would be better if you could typeset your problem so that it is easy for people to read. Kindly look here meta.math.stackexchange.com/questions/5020/… for more details on typesetting. – user17762 Oct 30 '12 at 20:57

Hint: If $f_n\to f$ pointwise then $$f_n(\lambda a+(1-\lambda) b)\to f(\lambda a+(1-\lambda) b)$$ and $$\lambda f_n(a)+(1-\lambda)f_n(b)\to \lambda f(a)+(1-\lambda)f(b).$$