Convex combination
Appearance
move to sidebar
hide
![](//upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Convex_combination_illustration.svg/220px-Convex_combination_illustration.svg.png)
Given three points
x
1
,
x
2
,
x
3
{\displaystyle x_{1},x_{2},x_{3}}
![{\displaystyle x_{1},x_{2},x_{3}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/9d4102ba3aa87d8bd353467896b23eae57f4fb06)
in a plane as shown in the figure, the point
P
{\displaystyle P}
![{\displaystyle P}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b4dc73bf40314945ff376bd363916a738548d40a)
is a convex combination of the three points, while
Q
{\displaystyle Q}
![{\displaystyle Q}](https://wikimedia.org/api/rest_v1/media/math/render/svg/8752c7023b4b3286800fe3238271bbca681219ed)
is not. (
Q
{\displaystyle Q}
![{\displaystyle Q}](https://wikimedia.org/api/rest_v1/media/math/render/svg/8752c7023b4b3286800fe3238271bbca681219ed)
is however an affine combination of the three points, as their
affine hull is the entire plane.)
![](//upload.wikimedia.org/wikipedia/commons/thumb/6/69/Convex_combination_1_ord_with_geogebra.gif/220px-Convex_combination_1_ord_with_geogebra.gif)
Convex combination of two points
v
1
,
v
2
∈
R
2
{\displaystyle v_{1},v_{2}\in \mathbb {R} ^{2}}
![{\displaystyle v_{1},v_{2}\in \mathbb {R} ^{2}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/aa24418bd6e9becb26f0e69c2820574a3e14379f)
in a two dimensional vector space
R
2
{\displaystyle \mathbb {R} ^{2}}
![{\displaystyle \mathbb {R} ^{2}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/e150115ab9f63023215109595b76686a1ff890fd)
as animation in
Geogebra with
t
∈
{\displaystyle t\in }
![{\displaystyle t\in }](https://wikimedia.org/api/rest_v1/media/math/render/svg/31a5c18739ff04858eecc8fec2f53912c348e0e5)
and
K
(
t
)
:=
(
1
−
t
)
⋅
v
1
+
t
⋅
v
2
{\displaystyle K(t):=(1-t)\cdot v_{1}+t\cdot v_{2}}
![](//upload.wikimedia.org/wikipedia/commons/thumb/6/62/ConvexCombination-2D.gif/220px-ConvexCombination-2D.gif)
Convex combination of three points
v
0
,
v
1
,
v
2
of
2
-simplex
∈
R
2
{\displaystyle v_{0},v_{1},v_{2}{\text{ of }}2{\text{-simplex}}\in \mathbb {R} ^{2}}
![{\displaystyle v_{0},v_{1},v_{2}{\text{ of }}2{\text{-simplex}}\in \mathbb {R} ^{2}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/efdbfe56f41a48ec29d0526e7392fd33abf73476)
in a two dimensional vector space
R
2
{\displaystyle \mathbb {R} ^{2}}
![{\displaystyle \mathbb {R} ^{2}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/e150115ab9f63023215109595b76686a1ff890fd)
as shown in animation with
α
0
+
α
1
+
α
2
=
1
{\displaystyle \alpha ^{0}+\alpha ^{1}+\alpha ^{2}=1}
![{\displaystyle \alpha ^{0}+\alpha ^{1}+\alpha ^{2}=1}](https://wikimedia.org/api/rest_v1/media/math/render/svg/45145d4e01a6d8b44681d3de2b5e206f15544051)
,
P
(
α
0
,
α
1
,
α
2
)
{\displaystyle P(\alpha ^{0},\alpha ^{1},\alpha ^{2})}
![{\displaystyle P(\alpha ^{0},\alpha ^{1},\alpha ^{2})}](https://wikimedia.org/api/rest_v1/media/math/render/svg/03180aa9f5414117340c50c1e0193ad87cffbb38)
:=
α
0
v
0
+
α
1
v
1
+
α
2
v
2
{\displaystyle :=\alpha ^{0}v_{0}+\alpha ^{1}v_{1}+\alpha ^{2}v_{2}}
![{\displaystyle :=\alpha ^{0}v_{0}+\alpha ^{1}v_{1}+\alpha ^{2}v_{2}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/1a72fb8c2b2603e34d831be97f064a413e7398e5)
. When P is inside of the triangle
α
i
≥
0
{\displaystyle \alpha _{i}\geq 0}
![{\displaystyle \alpha _{i}\geq 0}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b154713ad306687d4dae261b494ec30a9d78c223)
. Otherwise, when P is outside of the triangle, at least one of the
α
i
{\displaystyle \alpha _{i}}
![{\displaystyle \alpha _{i}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/3b1fb627423abe4988b7ed88d4920bf1ec074790)
is negative.
![](//upload.wikimedia.org/wikipedia/commons/thumb/7/7e/ConvexCombination-3D.gif/220px-ConvexCombination-3D.gif)
Convex combination of four points
A
1
,
A
2
,
A
3
,
A
4
∈
R
3
{\displaystyle A_{1},A_{2},A_{3},A_{4}\in \mathbb {R} ^{3}}
![{\displaystyle A_{1},A_{2},A_{3},A_{4}\in \mathbb {R} ^{3}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d43acbb0cebd5be04cd546a3de7588b8a87b09b8)
in a three dimensional vector space
R
3
{\displaystyle \mathbb {R} ^{3}}
![{\displaystyle \mathbb {R} ^{3}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f936ddf584f8f3dd2a0ed08917001b7a404c10b5)
as animation in
Geogebra with
∑
i
=
1
4
α
i
=
1
{\displaystyle \sum _{i=1}^{4}\alpha _{i}=1}
![{\displaystyle \sum _{i=1}^{4}\alpha _{i}=1}](https://wikimedia.org/api/rest_v1/media/math/render/svg/2619b4c75e98b6700f645f64047f4423cca586c8)
and
∑
i
=
1
4
α
i
⋅
A
i
=
P
{\displaystyle \sum _{i=1}^{4}\alpha _{i}\cdot A_{i}=P}
![{\displaystyle \sum _{i=1}^{4}\alpha _{i}\cdot A_{i}=P}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a719ee96ef603bf7fded284fa2bbc68917d0859d)
. When P is inside of the tetrahedron
α
i
>=
0
{\displaystyle \alpha _{i}>=0}
![{\displaystyle \alpha _{i}>=0}](https://wikimedia.org/api/rest_v1/media/math/render/svg/28ed6a8d3c1ebfb49c9c767961df388197405211)
. Otherwise, when P is outside of the tetrahedron, at least one of the
α
i
{\displaystyle \alpha _{i}}
![{\displaystyle \alpha _{i}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/3b1fb627423abe4988b7ed88d4920bf1ec074790)
is negative.
![](//upload.wikimedia.org/wikipedia/commons/thumb/3/37/Convex_combination_1_ord_functions_with_geogebra.gif/220px-Convex_combination_1_ord_functions_with_geogebra.gif)
Convex combination of two functions as vectors in a vector space of functions - visualized in Open Source Geogebra with
=
{\displaystyle =}
![{\displaystyle =}](https://wikimedia.org/api/rest_v1/media/math/render/svg/183bacef4a989104893e2c37017d84af54a1a23f)
and as the first function
f
:
→
R
{\displaystyle f:\to \mathbb {R} }
![{\displaystyle f:\to \mathbb {R} }](https://wikimedia.org/api/rest_v1/media/math/render/svg/b592d102ccd1ba134d401c5b3ea177baaba3ffac)
a polynomial is defined.
f
(
x
)
:=
3
10
⋅
x
2
−
2
{\displaystyle f(x):={\frac {3}{10}}\cdot x^{2}-2}
![{\displaystyle f(x):={\frac {3}{10}}\cdot x^{2}-2}](https://wikimedia.org/api/rest_v1/media/math/render/svg/34fa147f4f5232c61c561a2cc03a28e8a5ef9f3b)
A trigonometric function
g
:
→
R
{\displaystyle g:\to \mathbb {R} }
![{\displaystyle g:\to \mathbb {R} }](https://wikimedia.org/api/rest_v1/media/math/render/svg/8b1d5103d0e36767a27715bcfc57137119294aad)
was chosen as the second function.
g
(
x
)
:=
2
⋅
cos
(
x
)
+
1
{\displaystyle g(x):=2\cdot \cos(x)+1}
![{\displaystyle g(x):=2\cdot \cos(x)+1}](https://wikimedia.org/api/rest_v1/media/math/render/svg/cd3bd06e5b7a3e273ca20c0fb3941b228b92addf)
The figure illustrates the convex combination
K
(
t
)
:=
(
1
−
t
)
⋅
f
+
t
⋅
g
{\displaystyle K(t):=(1-t)\cdot f+t\cdot g}
![{\displaystyle K(t):=(1-t)\cdot f+t\cdot g}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4799ee1d3b2a24ed1c467d0821c5152feb93ff86)
of
f
{\displaystyle f}
![{\displaystyle f}](https://wikimedia.org/api/rest_v1/media/math/render/svg/132e57acb643253e7810ee9702d9581f159a1c61)
and
g
{\displaystyle g}
![{\displaystyle g}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d3556280e66fe2c0d0140df20935a6f057381d77)
as graph in red color.
In convex geometry and vector algebra, a convex combination is a linear combination of points (which can be vectors, scalars, or more generally points in an affine space) where all coefficients are non-negative and sum to 1. In other words, the operation is equivalent to a standard weighted average, but whose weights are expressed as a percent of the total weight, instead of as a fraction of the count of the weights as in a standard weighted average.
Formal definition
More formally, given a finite number of points
x
1
,
x
2
,
…
,
x
n
{\displaystyle x_{1},x_{2},\dots ,x_{n}}
in a real vector space, a convex combination of these points is a point of the form
α
1
x
1
+
α
2
x
2
+
⋯
+
α
n
x
n
{\displaystyle \alpha _{1}x_{1}+\alpha _{2}x_{2}+\cdots +\alpha _{n}x_{n}}
where the real numbers
α
i
{\displaystyle \alpha _{i}}
satisfy
α
i
≥
0
{\displaystyle \alpha _{i}\geq 0}
and
α
1
+
α
2
+
⋯
+
α
n
=
1.
{\displaystyle \alpha _{1}+\alpha _{2}+\cdots +\alpha _{n}=1.}
As a particular example, every convex combination of two points lies on the line segment between the points.
A set is convex if it contains all convex combinations of its points.
The convex hull of a given set of points is identical to the set of all their convex combinations.
There exist subsets of a vector space that are not closed under linear combinations but are closed under convex combinations. For example, the interval
{\displaystyle }
is convex but generates the real-number line under linear combinations. Another example is the convex set of probability distributions, as linear combinations preserve neither nonnegativity nor affinity (i.e., having total integral one).
Other objects
Related constructions
- A conical combination is a linear combination with nonnegative coefficients. When a point
x
{\displaystyle x}
is to be used as the reference origin for defining displacement vectors, then
x
{\displaystyle x}
is a convex combination of
n
{\displaystyle n}
points
x
1
,
x
2
,
…
,
x
n
{\displaystyle x_{1},x_{2},\dots ,x_{n}}
if and only if the zero displacement is a non-trivial conical combination of their
n
{\displaystyle n}
respective displacement vectors relative to
x
{\displaystyle x}
.
- Weighted means are functionally the same as convex combinations, but they use a different notation. The coefficients (weights) in a weighted mean are not required to sum to 1; instead the weighted linear combination is explicitly divided by the sum of the weights.
- Affine combinations are like convex combinations, but the coefficients are not required to be non-negative. Hence affine combinations are defined in vector spaces over any field.
See also
![](//upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Wikiversity_logo_2017.svg/40px-Wikiversity_logo_2017.svg.png)
Wikiversity has learning resources about
Convex combination
References
- ^ a b c d Rockafellar, R. Tyrrell (1970), Convex Analysis, Princeton Mathematical Series, vol. 28, Princeton University Press, Princeton, N.J., pp. 11–12, MR 0274683
External links