Why it helps—and what it cannot promise
For a convex objective, any local minimum is global. This makes optimisation easier to reason about, though a minimum may still be non-unique and an algorithm may converge slowly. Many deep-learning objectives are non-convex; gradient methods can still find useful solutions, but convex guarantees do not apply. See gradients and Hessians.
A learning rate controls update size, not convexity. On a simple quadratic, too large a step can oscillate or diverge even though the objective is convex.
Test convexity and understand the guarantee
For one variable, a nonnegative second derivative throughout an interval implies convexity there. For a twice-differentiable multivariable function, a positive-semidefinite Hessian throughout a convex domain is a sufficient test. For f(x)=x², f″=2, so every chord lies above the bowl and any local minimum is global. By contrast, a function with multiple dips can have local minima that are not global.
Convexity is a property of both the objective and its domain. A convex objective on a non-convex feasible set does not automatically give the same global guarantee. Even when the problem is convex, the minimum can be non-unique, lie at a boundary, or be difficult for a poor algorithm to reach. Gradient descent can diverge on a convex quadratic if its step size is too large. Convexity gives a landscape guarantee; it does not guarantee that a particular numerical procedure succeeds. Constrained problems introduce additional conditions; see Lagrange multipliers.
Try this above
Compare a bowl-shaped curve with a curve that has multiple dips. Move the optimiser step size and observe convergence separately from the shape of the objective.
For a convex differentiable function, the tangent at x lies below the function everywhere in its domain: f(y)≥f(x)+∇f(x)·(y−x). This gives a supporting lower bound that helps prove optimality. If ∇f(x)=0, then f(y)≥f(x) for all y, so x is a global minimiser. For a non-convex objective, zero gradient alone gives no such guarantee. This distinction is why a stationary point check is enough in some convex problems but only a candidate check in general optimisation.
For a convex differentiable function, a point with zero gradient is a global minimum, but a boundary-constrained optimum may have a nonzero gradient pointing outside the feasible set. This is why constraints require additional conditions such as Lagrange multipliers or KKT conditions. A convex function may also have a flat valley of multiple minimisers. Separate the geometry of the objective from the geometry of the feasible set before applying an optimisation guarantee.