For a function to be convex it should have a convex domain besides the first-order, second-order conditions. Why do we need that the domain of the function should also be convex?
Edit:
What I am trying to say is that its possible for a function to be convex on a non-convex domain. Here is a link: link
Then why add the convexity condition specifically???