For a quadratic equation ax^2 + bx + c = 0 to have equal roots, the discriminant D = b^2 - 4ac must be 0. Here, k^2 - 4(2)(2) = 0, so k^2 = 16, which means k = +/- 4.
The condition for a quadratic equation to have equal roots is that its discriminant equals zero. For the equation 2 x squared + k x + 2 = 0, the discriminant is k squared - 4(2)(2), which is k squared - 16. Setting this equal to zero gives k squared = 16, so the value of k is plus or minus 4.