3 ms·
Determinants are never actually used to invert matrices. In fact, I can't think of any computational math that even calculates an inverse matrix. It's both fa
by x0x0 13y ago
Determinants are never actually used to invert matrices. In fact, I can't think of any computational math that even calculates an inverse matrix. It's both faster, lower storage (unless you invert in place?) and far more numerically stable to solve Ax=b by factoring A as LU/chol/maybe QR. Even if you had multiple b you would just save your factorization.
In which bit of math do people actually instantiate an inverse?
- stephencanon 13y ago> In which bit of math do people actually instantiate an inverse? In symbolic computations with very structured matrices, one sometimes constructs explicit inverses. This is an extreme corner case, and never really comes up except in some very simple physical models (in my experience).
- srean 13y ago> In which bit of math do people actually instantiate an inverse? I am assuming you are being rhetorical here. I also think your working hypothesis is that the only use of a matrix inverse is to solve a linear system of equations. Under this hypothesis it does make sense that there is no utility to computing inverses. However, this hypothesis is incorrect. There are tons of cases where you would want to get at the entries of an inverse, but has nothing to do with solving equations. Here area few examples: consider data generated from a multivariate Gaussians. Now you want to know which components are independent of each other. This is given by whether the inverse of the correlation matrix is zero or not. Another example, say you want to minimize a function defined over matrices, but want to minimize it only over the set of positive semi-definite matrices. One way of doing these is to use a barrier function: a function that blows up astronomically when you approach the boundary of your constraint set. For positive definite matrices such a barrier function is the logarithm of the determinant. I could go on...