I've done the problem but I just want to know if I'm on the right track because I've solved many others this way. In other words, is my answer correct?

Determine for which values of the following matrix is invertible :

.

From my memory I think that this holds : A matrix is invertible if and only if its determinant is different from . So I calculated the determinant of the matrix above to be , from which I concluded that the matrix is invertible such that .