# For the mathematically inclined:  Why Determinants?

**URL:** <https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216>\
**Category:** Factual Questions\
**Created:** [May 15, 2002, 5:25pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216 "2002-05-15T17:25:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spectre\_of\_Pithecanthropus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/spectre_of_pithecanthropus/32/12343_2.png) [@Spectre\_of\_Pithecanthropus](https://boards.straightdope.com/u/Spectre_of_Pithecanthropus)\
**Post date:** [May 15, 2002, 5:25pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/1 "2002-05-15T17:25:01Z")

</div>

Lately I’ve been perusing an old college algebra text, as part of an effort to beef up my math skills, and I’ve come across Determinants. It appears that a Determinant is a way of representing a sum of products taken from the diagonals of a square grid of numbers. But what does that buy you? It seems just as difficult to evaluate such a sum in determinant form as it would be in any other way. Why are determinants used? What real world phenomena are they used to model?

---

<div class="post-metadata">

**Author:** ![Lockz](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@Lockz](https://boards.straightdope.com/u/Lockz)\
**Post date:** [May 15, 2002, 5:43pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/2 "2002-05-15T17:43:35Z")

</div>

Determinants are used to check whether or not a matrix is invertible. If a matrix is invertible, then the determinant != 0, and vice versa. I think they have something to do with eigenvectors & eigenspaces, but I’m not sure, I want to put algebra OUT of my head now! 🙂

---

<div class="post-metadata">

**Author:** ![zut](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zut/32/2875_2.png) [@zut](https://boards.straightdope.com/u/zut)\
**Post date:** [May 15, 2002, 6:00pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/3 "2002-05-15T18:00:20Z")

</div>

One thing I used determinants for in my dissertation was to find natural frequencies of a vibrating system. Without going into too much detail, the partial differential equations and associated boundary conditions that model the dynamic behavior of a vibrating system can be formulated into a matrix. This matrix includes a frequency variable. The values of frequency that make the matrix singular are natural frequencies that solve the original PDEs. A singular matrix has a determinant of zero. So solving this problem computationally (which was what I did) just involves using a search algorithm to find frequency values that set the determinant to zero.

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [May 15, 2002, 6:35pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/4 "2002-05-15T18:35:09Z")

</div>

One very important thing to note is that the _definition_ of a determinant is _not_ how you _compute_ it. Based on what you said, it’s also possible you saw one or more other definitions that are really, really bad ways of computing it. In Real Life people use things like LUD matrix decomposition which is _significantly_ faster. (Strassen, Pan and others have even sped that up.)

A _huge_ number of properties about matrices follows from their determinant and/or determinants of submatrices, e.g., positive definite. Just knowing that det(AB) = det(A)det(B) is a Big Help. My fave:

Eigenvalues and Eigenvectors: Given matrix A, vector x and constant _L_ if

Ax = _L_x

then _L_ is an Eigenvalue and and x and Eigenvector of A.

Note that if you take the determinant of (A-I_L_) you get a polynomial in _L_ whose roots are Eigenvalues. Now, Eignevalues are then in turn useful for determining the behavior of simple mechanical systems, electronic circuits, etc. (Which is why the previous posters are so keen on them.)

The determinant can be contrasted with the _permament_ which is defined the same but with all +signs, no negatives. There is no known efficient way to compute the permament. If you can prove that an efficient way does/does not exist, you will be instantly world famous and get your name on the front page of the New York Times.

The question “What good are determinants?” is akin to asking “What good are negative numbers?” Trust us, they have an incredible number of applications.

---

<div class="post-metadata">

**Author:** ![Spectre\_of\_Pithecanthropus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/spectre_of_pithecanthropus/32/12343_2.png) [@Spectre\_of\_Pithecanthropus](https://boards.straightdope.com/u/Spectre_of_Pithecanthropus)\
**Post date:** [May 15, 2002, 6:52pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/5 "2002-05-15T18:52:00Z")

</div>

Having just poked around the web I do find that there are many real-world applications, as intriguing as they are mysterious to me at the moment.

It motivates me to persevere.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [May 16, 2002, 11:30pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/6 "2002-05-16T23:30:04Z")

</div>

Another place in which the determinant shows up is in the change-of-variables formula for multivariable integrals. The word you’re looking for is Jacobians, if you’re interested in searching.

---

<div class="post-metadata">

**Author:** ![shimmery](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@shimmery](https://boards.straightdope.com/u/shimmery)\
**Post date:** [May 17, 2002, 1:52am UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/7 "2002-05-17T01:52:22Z")

</div>

Also, in my algebra class, we used matrices to evaluate systems of equations that had three variables - there is some rule or another that tells you how to work this but I can’t recall exactly what its name is right now.

---

<div class="post-metadata">

**Author:** ![shimmery](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@shimmery](https://boards.straightdope.com/u/shimmery)\
**Post date:** [May 17, 2002, 1:53am UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/8 "2002-05-17T01:53:49Z")

</div>

Of course it comes to me the second I hit the “submit” button-  
Cramer’s rule! (possibly with a K)

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [May 17, 2002, 2:00am UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/9 "2002-05-17T02:00:40Z")

</div>

Do NOT ever use, learn or teach Cramer’s rule. It is so horribly inefficient it causes permanent brain damage to any who have seen it and are not aware of how Really Rotten of An Algorithm it is.

(It is quintic, while any intelligent method for inverses is cubic or less. I can’t imagine how even an idiot comes up with a method worse than quartic.)

---

<div class="post-metadata">

**Author:** ![Ring](https://avatars.discourse-cdn.com/v4/letter/r/6a8cbe/32.png) [@Ring](https://boards.straightdope.com/u/Ring)\
**Post date:** [May 17, 2002, 3:49am UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/10 "2002-05-17T03:49:21Z")

</div>

The only way to really understand the usefulness of matrices and determinants is to study Linear Algebra. This is a pretty abstract subject, but it is amazing how powerful and magical it can be.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [May 17, 2002, 6:12am UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/11 "2002-05-17T06:12:07Z")

</div>

Lots of good responses so far, and there are many more. Here’s a quick one that may be easy to grasp, off the top of my head. Taking a determinant can tell you whether a system of vectors is linearly dependent.

There’s a type of transformation in the complex plane called something, though I don’t remember what. It looks like f(z) = az+b&nbsp;/&nbsp;cz+d. It turns out that the quantity ad-bc is immensely useful in describing this transformation, and behaves much like the determinant of a 2×2.

Eigenvectors and eigenvalues are also very useful in quantum mechanics.

And 3×3’s are a handy way to help you take the cross product, but this use for determinants is incidental.

---

<div class="post-metadata">

**Author:** ![hawthorne](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@hawthorne](https://boards.straightdope.com/u/hawthorne)\
**Post date:** [May 17, 2002, 2:19pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/12 "2002-05-17T14:19:48Z")

</div>

Matrix inversion has already been mentioned, so here’s another practical application. Where I work we have big models of economies (around 6 million equations). To solve these equations we linearise them and put them into a big matrix. Inverting the matrix gives an approximation to the solution which can be then found by extrapolation. In an economic model such matrices tend to be _very_ sparse (have lots of zero elements) so singular matrices (matrices that cannot be inverted) are a common hazard. Understanding why a matrix is singular helps you to play with the model to get a solution - for example by changing a few zeros to tiny numners.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [May 17, 2002, 7:03pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/13 "2002-05-17T19:03:26Z")

</div>

Möbius transformations are what **Achernar** is thinking of.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [May 17, 2002, 7:07pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/14 "2002-05-17T19:07:29Z")

</div>

Waitaminute, what does Cramer’s rule have to do with computing inverses? The way I learned it, you use it to solve systems of equations. For a system of n equations in n variables, you need to compute the determinants of n + 1 matrices, each of which is (n - 1) x (n - 1). I’m not sure exactly how long computing the determinant takes, but it’s hard to imagine that this algorithm is quintic.

---

<div class="post-metadata">

**Author:** ![Spectre\_of\_Pithecanthropus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/spectre_of_pithecanthropus/32/12343_2.png) [@Spectre\_of\_Pithecanthropus](https://boards.straightdope.com/u/Spectre_of_Pithecanthropus)\
**Post date:** [May 17, 2002, 7:17pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/15 "2002-05-17T19:17:02Z")

</div>

My algebra text introduced second-order determinants as a method for solving systems of two equations in two variables, or third order determinants for three-equation systems in three variables. Assuming this principle can be extended to any number of variables and equations, I suppose yet another application would be that you could easily represent, in a computer, a much larger matrix than you could hope to handle manually, so in effect you can set up a program to solve horrendously large linear systems.

---

<div class="post-metadata">

**Author:** ![Spectre\_of\_Pithecanthropus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/spectre_of_pithecanthropus/32/12343_2.png) [@Spectre\_of\_Pithecanthropus](https://boards.straightdope.com/u/Spectre_of_Pithecanthropus)\
**Post date:** [May 17, 2002, 7:37pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/16 "2002-05-17T19:37:29Z")

</div>

> [@](#):
>
> \*Originally posted by Ring \*  
> \*\*The only way to really understand the usefulness of matrices and determinants is to study Linear Algebra. This is a pretty abstract subject, but it is amazing how powerful and magical it can be. \*\*

I’ll say. Last time I took the GRE I had spent a few weeks brushing up on rudimentary linear algebra–lots of 2-equation systems in two variables. As you might expect, it seemed like half of the math section on the test comprised equations of just this type. I was able to increase my math score by about 200 points…amazing AND powerful, all right! 🙂

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [May 17, 2002, 11:37pm UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/17 "2002-05-17T23:37:48Z")

</div>

> [@](#):
>
> \*Originally posted by ftg \*  
> \*\*Do NOT ever use, learn or teach Cramer’s rule. It is so horribly inefficient it causes permanent brain damage to any who have seen it and are not aware of how Really Rotten of An Algorithm it is.
> 
> (It is quintic, while any intelligent method for inverses is cubic or less. I can’t imagine how even an idiot comes up with a method worse than quartic.) \*\*

Actually, this is a bit strong. There are certain theoretical purposes for which Cramer’s rule is important. Actually, it is not so much Cramer’s rule as the computation by minors that explains Cramer’s rule. But as a computational device it is dreadful. Why was it taught? Well, when I was a student, computation just wasn’t something we worried about.

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [May 18, 2002, 4:11am UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/18 "2002-05-18T04:11:30Z")

</div>

I’ve seen Cramer’s rule used to find inverses. In the form I’ve seen that takes n^2 determinants of (n-1)x(n-1) matrices (plus one for the det. of the whole matrix). Since the overwhelming majority of students only get the “and this is how it _can_ be done” part, they don’t know how bad it is. I can’t tell you how many times a Math student has wandered into my office explaining they are supposed to write a some matrix code and I see that it’s based on Cramer’s rule. It really does cause brain damage.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [May 18, 2002, 4:18am UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/19 "2002-05-18T04:18:36Z")

</div>

I’ve never seen that use of Cramer’s rule. So is finding determinants cubic? I looked on the web for a running time, but couldn’t find anything.

---

<div class="post-metadata">

**Author:** ![Achernar](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Achernar](https://boards.straightdope.com/u/Achernar)\
**Post date:** [May 18, 2002, 4:22am UTC](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216/20 "2002-05-18T04:22:57Z")

</div>

I have to agree with **ultrafilter** —I have never seen Cramer’s Rule used for anything but solving systems of linear equations, like it’s explained on [Treasure Troves entry: Cramer’s Rule](http://mathworld.wolfram.com/CramersRule.html). I didn’t want to say anything early, because I’m a neophyte here. I can’t even think of how it **would** be used to find an inverse…

[Next page](https://boards.straightdope.com/t/for-the-mathematically-inclined-why-determinants/109216.md?page=2)
