\[r = r_0 + (r_1 - r_0) \cdot \alpha_1\]

Alpha Compositing is a very in-depth, interactive exposition by the legendary Bartosz Ciechanowski.