For a quadratic equation ax^2 + bx + c = 0 to have equal roots, its discriminant (b^2 - 4ac) must equal zero. Substituting a = 2, b = -k, and c = k gives the equation (-k)^2 - 4(2)(k) = 0, which simplifies to k^2 - 8k = 0. Factoring this as k(k - 8) = 0 yields the values k = 0 and k = 8.