Three points are collinear if the area of the triangle formed by them is zero.
Using the determinant formula:
\[
\frac{1}{2} \left| x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2) \right| = 0.
\]
Substituting values:
\[
\frac{1}{2} \left| 1(0 - b) + 0(b - 2) + a(2 - 0) \right| = 0.
\]
\[
\left| -b + 2a \right| = 0.
\]
\[
b = 2a.
\]