I want to understand why do we have to define a function on convex set before we define concavity or convexity.
https://mjo.osborne.economics.utoronto.ca/index.php/tutorial/index/1/CVN/t#d:CvxSet
I am reading this and I dont understand why they explained convex sets before explaining concavity and convexity.