A non-convex function is a type of mathematical function where the line segment connecting any two points on the graph of the function lies above the graph itself at some point. This means that the function does not satisfy the property of convexity, which can lead to multiple local minima and maxima, making optimization more complex. Non-convex functions are crucial in various fields because they often model real-world problems where simple solutions do not apply.
congrats on reading the definition of non-convex function. now let's actually learn it.