When I compute the determinant analytically in Mathematica, I do it with
Det[{{a, b}, {c, d}}]
which gives the output
-b c + a d
I would like to see this formula even if the determinant is zero as
Det[{{a, b}, {-a, -b}}]
which yields the output
0
instead of something like
-b (-a) + a (-b)
This is just a small example, but my matrices are a little larger, and I need to figure out analytically why some determinants are zero and some are not.
Any ideas?