Drag either slider to move vector e between c and d. Because α + β = 1, the tip of e always stays on the dashed line connecting the two vector tips.
A convex combination of two vectors c and d is a vector e = αc + βd, where α and β are both at least 0 and α + β = 1. Geometrically, the tip of e always lies somewhere on the straight line segment joining the tips of c and d.
Drag either slider and the other adjusts so they still sum to 1. When α = 1, e is exactly c. When β = 1, e is exactly d. Anything in between moves e smoothly along the line. This idea is used in computer graphics to blend colours, interpolate positions and define shapes.
On the AQA specification, convex combinations appear within the vectors topic, alongside vector addition, scalar multiplication and the dot product.
Vectors and convex combinations, AQA 7517.
Browse all free Computer Science resources →
Want one-to-one help with this topic? I'm Damian Biasone, a qualified Computer Science teacher with 20 years' experience, tutoring GCSE and A-Level students online.
AQA A-Level (7517) tuition