Linear combination of points where all coefficients are non-negative and sum to 1
Given three points in a plane as shown in the figure, the point is a convex combination of the three points, while is not. ( is however an affine combination of the three points, as their affine hull is the entire plane.)Convex combination of two points in a two dimensional vector space as animation in Geogebra with and Convex combination of three points in a two dimensional vector space as shown in animation with , . When P is inside of the triangle . Otherwise, when P is outside of the triangle, at least one of the is negative.