👉 In mathematics, a non-convex function is a function that is not convex. A non-convex function is defined as one in which the graph of a function is not a straight line (a convex function) but instead has curvature and/or discontinuities at certain points. Non-convex functions are often used to model situations where there are some constraints or conditions on the behavior of the system, such as in economics, engineering, or physics. They can also be used to model