Convex Optimisation

How to determine whether the graph is convex or not? I did not understand at 1:49…Please explain

Hey @settingsingh,
Proving a function convex is a bit complicated task.
Let’s talk about |x| mod(x) function. We know that this function is not continuous at point x=0. So this cannot be a convex function.
On other hand, believe on the fact that x2 function is a convex function bcoz it is continuous everywhere ( satisfies other conditions as well ). That’s why in linear regression case we converted the function into squared function. In our course, we will see convex function which are convex downward function (something like x2 ). So if any function is like that , we would call that a convex function.
To read more about convex function refer this blog

Thanks :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.