I want to find the pivots of a simple matrix a = {{2, -1, -1}, {-1, 2, -1}, {-1, -1, 2 + c}} using
RowReduce[a]//MatrixForm
To my surprise, it returns an identity matrix, which doesn't appear to be right. Does anyone know how to get all the correct pivots? Thanks much!