For \(0 \le x \le 1,\) let \(f(x) = \max \{ x^2, 2x(1 - x), (1 - x)^2 \}.\) Find the minimum value of \(f(x)\) for \(0 \le x \le 1.\)