• Support PF! Buy your school textbooks, materials and every day products Here!

Fastest way to find inverse of 4x4 matrix?

  • Thread starter pyroknife
  • Start date
  • #1
613
3
What is the fastest way to find the inverse of a 4x4 matrix?

The only way I know is to set up the matrix with the 4x4 matrix and the identity matrix and row reduce. But that takes forever sometimes.
 

Answers and Replies

  • #2
gabbagabbahey
Homework Helper
Gold Member
5,002
6
What is the fastest way to find the inverse of a 4x4 matrix?

The only way I know is to set up the matrix with the 4x4 matrix and the identity matrix and row reduce. But that takes forever sometimes.
It is often (but not always) faster to use the determinant and the adjugate matrix.
 
  • #3
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,705
1,722
It is often (but not always) faster to use the determinant and the adjugate matrix.
It is hardly ever faster to use determinants. You would need to calculate 16 determinants, each of which is 3x3, so each involves 9 three-factor multiplications, plus keeping track of signs and worrying about roundoff error effects. Direct row-reduction is likely much faster in the vast majority of cases. And, yes, it can involve a lot of work, but that's life!

RGV
 
  • #4
HallsofIvy
Science Advisor
Homework Helper
41,770
911
Personally, I've always felt that row-reducing was faster than finding the determinant.
 

Related Threads for: Fastest way to find inverse of 4x4 matrix?

Replies
5
Views
8K
  • Last Post
Replies
1
Views
4K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
6
Views
2K
  • Last Post
Replies
13
Views
12K
  • Last Post
Replies
22
Views
3K
  • Last Post
Replies
8
Views
13K
  • Last Post
Replies
2
Views
1K
Top